projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vmscan: split LRU lists into anon & file sets
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
readahead.c
diff --git
a/mm/readahead.c
b/mm/readahead.c
index
6cbd9a7
..
bec83c1
100644
(file)
--- a/
mm/readahead.c
+++ b/
mm/readahead.c
@@
-229,7
+229,7
@@
int do_page_cache_readahead(struct address_space *mapping, struct file *filp,
*/
unsigned long max_sane_readahead(unsigned long nr)
{
- return min(nr, (node_page_state(numa_node_id(), NR_INACTIVE)
+ return min(nr, (node_page_state(numa_node_id(), NR_INACTIVE
_FILE
)
+ node_page_state(numa_node_id(), NR_FREE_PAGES)) / 2);
}