linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Kumar Gala <kumar.gala@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Add SMP support to no-hash TLB handling v3
Date: Wed, 10 Dec 2008 07:07:47 +1100	[thread overview]
Message-ID: <1228853267.22413.0.camel@pasglop> (raw)
In-Reply-To: <1F81A57A-19A9-4A1A-AE71-51BEFF8D8192@freescale.com>

On Tue, 2008-12-09 at 07:10 -0600, Kumar Gala wrote:
> > +void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long  
> > vmaddr)
> > +{
> > +	unsigned int pid;
> > +
> > +	preempt_disable();
> > +	pid = vma ? vma->vm_mm->context.id : 0;
> > +	if (pid != MMU_NO_CONTEXT)
> > +		_tlbil_va(vmaddr, pid);
> > +	preempt_enable();
> > +}
> > +EXPORT_SYMBOL(local_flush_tlb_page);
> 
> We are using this in highmem.h for kmap_atomic.. So you need to fix  
> that call site.

Ah yes, I forgot, will fix, thanks.

Cheers,
Ben.

      reply	other threads:[~2008-12-09 20:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09  6:51 [PATCH] powerpc: Add SMP support to no-hash TLB handling v3 Benjamin Herrenschmidt
2008-12-09 13:10 ` Kumar Gala
2008-12-09 20:07   ` Benjamin Herrenschmidt [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=1228853267.22413.0.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=kumar.gala@freescale.com \
    --cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).