From: Linus Torvalds <torvalds@linux-foundation.org>
To: Roman Gushchin <klamm@yandex-team.ru>
Cc: linux-mm <linux-mm@kvack.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>,
Jan Kara <jack@suse.cz>, Wu Fengguang <fengguang.wu@intel.com>,
David Rientjes <rientjes@google.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] mm/readahead.c: fix regression caused by small readahead limit
Date: Thu, 20 Aug 2015 12:23:53 -0700 [thread overview]
Message-ID: <CA+55aFz64=vB5vRDj0N0jukWBNnVDd5vf27GL4is6vbYrM17LQ@mail.gmail.com> (raw)
In-Reply-To: <1440087598-27185-1-git-send-email-klamm@yandex-team.ru>
On Thu, Aug 20, 2015 at 9:19 AM, Roman Gushchin <klamm@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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-08-20 19:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 16:19 Roman Gushchin
2015-08-20 19:23 ` Linus Torvalds [this message]
2015-08-21 17:12 ` [PATCH] mm: use only per-device " Roman Gushchin
2015-08-21 18:17 ` Linus Torvalds
2015-08-21 20:21 ` Roman Gushchin
2015-08-21 20:44 ` Linus Torvalds
2015-08-24 11:57 ` [PATCH v2] " Roman Gushchin
2015-08-24 12:41 ` Konstantin Khlebnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+55aFz64=vB5vRDj0N0jukWBNnVDd5vf27GL4is6vbYrM17LQ@mail.gmail.com' \
--to=torvalds@linux-foundation.org \
--cc=akpm@linux-foundation.org \
--cc=fengguang.wu@intel.com \
--cc=jack@suse.cz \
--cc=klamm@yandex-team.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=raghavendra.kt@linux.vnet.ibm.com \
--cc=rientjes@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox