linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: Nick Piggin <npiggin@suse.de>,
	linuxppc-dev list <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH] powerpc/mm: Lockless get_user_pages_fast()
Date: Thu, 31 Jul 2008 08:26:12 +1000	[thread overview]
Message-ID: <1217456772.11188.342.camel@pasglop> (raw)
In-Reply-To: <C8EC8414-A033-46FE-AFEC-8C2A6AB5B4F7@kernel.crashing.org>


> > Index: linux-work/arch/powerpc/Kconfig
> > ===================================================================
> > --- linux-work.orig/arch/powerpc/Kconfig	2008-07-30  
> > 13:17:06.000000000 +1000
> > +++ linux-work/arch/powerpc/Kconfig	2008-07-30 13:27:40.000000000  
> > +1000
> > @@ -42,6 +42,9 @@ config GENERIC_HARDIRQS
> > 	bool
> > 	default y
> >
> > +config HAVE_GET_USER_PAGES_FAST
> > +	def_bool PPC64
> > +
> > config HAVE_SETUP_PER_CPU_AREA
> > 	def_bool PPC64
> 
> what's ppc64 specific here?

Mostly _PAGE_SPECIAL (which I do plan to add to embedded which is why
I've been trying hard to free a PTE bit :-) and the way we synchronize
with the freeing of page tables (ppc64 uses RCU, ppc32 doesn't, we'd
have to find something to keep fast gup in sync).

Ben.

  parent reply	other threads:[~2008-07-30 22:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30  3:37 [PATCH] powerpc/mm: Lockless get_user_pages_fast() Benjamin Herrenschmidt
2008-07-30  4:20 ` Benjamin Herrenschmidt
2008-07-30  5:06   ` Michael Ellerman
2008-07-30  5:08     ` Benjamin Herrenschmidt
2008-07-30  7:26       ` Nick Piggin
2008-07-30 12:33 ` Kumar Gala
2008-07-30 13:17   ` Nick Piggin
2008-07-30 13:39     ` Kumar Gala
2008-07-30 22:26   ` Benjamin Herrenschmidt [this message]
2008-07-30 22:35     ` Kumar Gala
2008-07-30 23:15       ` Kumar Gala

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=1217456772.11188.342.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=npiggin@suse.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;
as well as URLs for NNTP newsgroup(s).