Re: [PATCH] mm/readahead.c: fix regression caused by small readahead limit
From: Linus Torvalds
Date: Thu Aug 20 2015 - 15:23:59 EST
On Thu, Aug 20, 2015 at 9:19 AM, Roman Gushchin <klamm@xxxxxxxxxxxxxx> wrote:
> + max_sane = max(MAX_READAHEAD,
> + (node_page_state(numa_node_id(), NR_INACTIVE_FILE) +
> + node_page_state(numa_node_id(), NR_FREE_PAGES)) / 2);
No, we're not re-introducing the idiotic and broken per-node logic.
There was a reason it was killed.
There have been other patches suggested that actually use _valid_
heuristics, this is not one of them.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/