From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Mitchell Erblich <erblichs@earthlink.net>
Cc: Peter Zijlstra <peterz@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
mingo@elte.hu, linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [RFC] : mm : / Patch / code : Suggestion :snip kswapd & get_page_from_freelist() : No more no page failures.
Date: Sun, 26 Aug 2007 16:53:01 +1000 [thread overview]
Message-ID: <46D1234D.4090300@yahoo.com.au> (raw)
In-Reply-To: <000601c7e6ae$db887680$6501a8c0@earthlink.net>
Mitchell@kvack.org wrote:
> linux-mm@kvack.org
> Sent: Friday, August 24, 2007 3:11 PM
> Subject: Re: [RFC] : mm : / Patch / code : Suggestion :snip kswapd &
> get_page_from_freelist() : No more no page failures.
>
> Mailer added a HTML subpart and chopped the earlier email.... :^(
Hi Mitchell,
Is it possible to send suggestions in the form of a unified diff, even
if you haven't even compiled it (just add a note to let people know).
Secondly, we already have a (supposedly working) system of asynch
reclaim, with buffering and hysteresis. I don't exactly understand
what problem you think it has that would be solved by rechecking
watermarks after allocating a page.
When we're in the (min,low) watermark range, we'll wake up kswapd
_before_ allocating anything, so what is better about the change to
wake up kswapd after allocating? Can you perhaps come up with an
example situation also to make this more clear?
Overhead of wakeup_kswapd isn't too much of a problem: if we _should_
be waking it up when we currently aren't, then we should be calling
it. However the extra checking in the allocator fastpath is something
we want to avoid if possible, because this can be a really hot path.
Thanks,
Nick
--
SUSE Labs, Novell Inc.
--
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>
prev parent reply other threads:[~2007-08-26 6:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-25 0:28 Mitchell Erblich, Mitchell, Erblich
2007-08-26 6:53 ` Nick Piggin [this message]
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=46D1234D.4090300@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@linux-foundation.org \
--cc=erblichs@earthlink.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
/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