aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAnthony Romano <[email protected]>2016-06-24 14:48:43 -0700
committerLinus Torvalds <[email protected]>2016-06-24 17:23:52 -0700
commitb9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe (patch)
tree876ddeec4c6f173304dc30a16ecaadca6eca23b8 /tools/perf/scripts/python/sched-migration.py
parenta7b50abc90afb2e3c27e1bd212643cc53eaf0b60 (diff)
tmpfs: don't undo fallocate past its last page
When fallocate is interrupted it will undo a range that extends one byte past its range of allocated pages. This can corrupt an in-use page by zeroing out its first byte. Instead, undo using the inclusive byte range. Fixes: 1635f6a74152f1d ("tmpfs: undo fallocation on failure") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Anthony Romano <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Brandon Philips <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions