summaryrefslogtreecommitdiff
path: root/scripts/header.tk
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-01-14 00:20:32 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-14 00:20:32 -0800
commitdaebe5ee58fa9985c257a1ce5df29fcb258f06d3 (patch)
treeb99fa22dee6cff613303b752626fc15eac0c8f9b /scripts/header.tk
parent42f834c3df4fbd9ca503942555d26ecf9d28e8f7 (diff)
[PATCH] factor free memory into max_sane_readahead()
max_sane_readahead() permits the user to readahead up to half-the-inactive-list's worth of pages. Which is totally wrong if most of memory is free. So make the limit be (nr_inactive + nr_free) / 2
Diffstat (limited to 'scripts/header.tk')
0 files changed, 0 insertions, 0 deletions