diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-28 11:28:02 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-03 08:38:17 -0600 |
commit | 0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c (patch) | |
tree | f76ff2360a128f87ff4bc4e76efe65a2d88738b8 /mm/process_vm_access.c | |
parent | 595043e5f9ef1d8263bd9fda215cade489227491 (diff) | |
download | linux-0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c.tar.gz linux-0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c.tar.bz2 linux-0ab29fd0accf6e5b6ef5dbe2e0335da6687ce60c.zip |
writeback: pass in '0' for nr_pages writeback in laptop mode
Laptop mode really wants to writeback the number of dirty
pages and inodes. Instead of calculating this in the caller,
just pass in 0 and let wakeup_flusher_threads() handle it.
Use the new wakeup_flusher_threads_bdi() instead of rolling
our own.
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Tested-by: Chris Mason <clm@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/process_vm_access.c')
0 files changed, 0 insertions, 0 deletions