aboutsummaryrefslogtreecommitdiffstats
path: root/mm/swap_state.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2019-09-23 15:34:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-24 15:54:08 -0700
commit875d91b11a201276ac3a9ab79f8b0fa3dc4ee8fd (patch)
tree3a74f57e68611b86acf4addb674aca8220dfaa64 /mm/swap_state.c
parentmm/filemap.c: don't initiate writeback if mapping has no dirty pages (diff)
downloadlinux-dev-875d91b11a201276ac3a9ab79f8b0fa3dc4ee8fd.tar.xz
linux-dev-875d91b11a201276ac3a9ab79f8b0fa3dc4ee8fd.zip
mm/filemap.c: rewrite mapping_needs_writeback in less fancy manner
This actually checks that writeback is needed or in progress. Link: http://lkml.kernel.org/r/156378817069.1087.1302816672037672488.stgit@buzz Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions