mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	tglx@linutronix.de, linux-kernel@vger.kernel.org,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [x86.git] new CPA implementation
Date: Sat, 26 Jan 2008 08:30:19 -0800	[thread overview]
Message-ID: <20080126083019.6b280d6c@laptopd505.fenrus.org> (raw)
In-Reply-To: <p73myqu7yc9.fsf@bingen.suse.de>

On Fri, 25 Jan 2008 15:51:18 +0100
Andi Kleen <andi@firstfloor.org> wrote:

> Ingo Molnar <mingo@elte.hu> writes:
> 
> > * Andi Kleen <ak@novell.com> wrote:
> >
> >> > - the new implementation is much more scalable, because it is 
> >> > lockless
> >> >   in the fastpath
> >> 
> >> What fast path?  This should not really be called that often, 
> >> especially not when DEBUG_PAGEALLOC has its own simple
> >> implementation.
> 
> > that's a point you are still missing badly in all these discussions 
> > about unification and sound design practices: code reuse and a
> > clean, layered design.
> 
> kernel_map_pages does its own thing for flushes. I must admit I always
> considered that abuse because it gives a somewhat fragile special case
> where c_p_a() is not allowed to set up any state for g_f_t() for some
> specific cases. Clean layering looks different to me.
> 
> > PAGEALLOC now uses change_page_attr() again and that 
> > approach is working really well.
> 
> I don't really see any attempt to stop the
> 
> allocation -> kernel_map_pages -> split -> allocation ->
> kernel_map_pages -> other split -> allocation -> ....
> 

but.. if you start out with everything not split, and only split on free....
well arguably that's the same thing yeah.. but it could be done such that you can use the
page you just freed for the split ;-)

      reply	other threads:[~2008-01-26 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-25  0:24 Ingo Molnar
2008-01-25  8:01 ` Andi Kleen
2008-01-25 13:30   ` Ingo Molnar
2008-01-25 14:51     ` Andi Kleen
2008-01-26 16:30       ` Arjan van de Ven [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=20080126083019.6b280d6c@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=andi@firstfloor.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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

all inboxes | Powered by JetHome®