summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc3.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-11 23:18:04 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-11 23:18:04 -0700
commit80b1573f2a01c5138a4f87d46fde2148864cb312 (patch)
treee09160d69648e20161860a0917b092faa0884bd4 /include/linux/compiler-gcc3.h
parent26f14a5727b9447f87ba4cdd8e83fb9e8af79631 (diff)
[PATCH] Honour the readahead tunable in filemap_nopage()
Remove the hardwired pagefault readaround distance in filemap_nopage() and use the per-file readahead setting. The main reason for this is in fact laptop-mode. If you want to prevent the disk from spinning up then you want all of your application's pages to be pulled into memory in one hit. Otherwise the disk will spin up each time you use a new part of whatever application(s) you are running.
Diffstat (limited to 'include/linux/compiler-gcc3.h')
0 files changed, 0 insertions, 0 deletions