summaryrefslogtreecommitdiffstats
path: root/net/can/Makefile
diff options
context:
space:
mode:
authorRik van Riel2008-02-07 09:14:08 +0100
committerLinus Torvalds2008-02-07 17:42:19 +0100
commitf1a9ee758de7de1e040de849fdef46e6802ea117 (patch)
tree99dfac0c81de111025e12546d97aaebd3d8d576c /net/can/Makefile
parentoom: add sysctl to enable task memory dump (diff)
downloadkernel-qcow2-linux-f1a9ee758de7de1e040de849fdef46e6802ea117.tar.gz
kernel-qcow2-linux-f1a9ee758de7de1e040de849fdef46e6802ea117.tar.xz
kernel-qcow2-linux-f1a9ee758de7de1e040de849fdef46e6802ea117.zip
kswapd should only wait on IO if there is IO
The current kswapd (and try_to_free_pages) code has an oddity where the code will wait on IO, even if there is no IO in flight. This problem is notable especially when the system scans through many unfreeable pages, causing unnecessary stalls in the VM. Additionally, tasks without __GFP_FS or __GFP_IO in the direct reclaim path will sleep if a significant number of pages are encountered that should be written out. This gives kswapd a chance to write out those pages, while the direct reclaim task sleeps. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/can/Makefile')
0 files changed, 0 insertions, 0 deletions