aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2018-10-26 22:10:55 +0000
committerLinus Torvalds <[email protected]>2018-10-26 23:38:15 +0000
commitaa8aa8a331d27fcef3e60dabb918eb8c5c9a2ad9 (patch)
tree5f200509a0bcf548126fc9abe385637924555853 /tools/perf/scripts/python
parentmm: split SWP_FILE into SWP_ACTIVATED and SWP_FS (diff)
downloadkernel-aa8aa8a331d27fcef3e60dabb918eb8c5c9a2ad9.tar.gz
kernel-aa8aa8a331d27fcef3e60dabb918eb8c5c9a2ad9.zip
mm: export add_swap_extent()
Btrfs currently does not support swap files because swap's use of bmap does not work with copy-on-write and multiple devices. See 35054394c4b3 ("Btrfs: stop providing a bmap operation to avoid swapfile corruptions"). However, the swap code has a mechanism for the filesystem to manually add swap extents using add_swap_extent() from the ->swap_activate() aop. iomap has done this since 67482129cdab ("iomap: add a swapfile activation function"). Btrfs will do the same in a later patch, so export add_swap_extent(). Link: http://lkml.kernel.org/r/bb1208575e02829aae51b538709476964f97b1ea.1536704650.git.osandov@fb.com Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: David Sterba <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Nikolay Borisov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions