On Thu, Aug 20, 2015 at 9:19 AM, Roman Gushchin <kl...@yandex-team.ru> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/