Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: Disable highmem with SMP if no h/w TLB broadcasting
Date: Mon, 28 Sep 2009 11:11:15 +0100	[thread overview]
Message-ID: <20090928101115.GF6715@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <alpine.LFD.2.00.0909272029030.4997@xanadu.home>

On Sun, Sep 27, 2009 at 09:37:22PM -0400, Nicolas Pitre wrote:
> On Sun, 27 Sep 2009, Russell King - ARM Linux wrote:
> 
> > We suffer an unfortunate combination of "features" which makes highmem
> > support on platforms without hardware TLB maintainence broadcast difficult:
> > 
> > - we need kmap_high_get() support for DMA cache coherence
> > - this requires kmap_high() to take a spinlock with IRQs disabled
> > - kmap_high() occasionally calls flush_all_zero_pkmaps() to clear
> >   out old mappings
> 
> Hmmm...  I guess there could be a way to work around this limitation by 
> replacing flush_tlb_kernel_range() with something that would set a per 
> CPU flag on all CPUs to schedule TLB flushing the next time they call 
> kmap_high().

Until we have a solution that's acceptable to everyone, I suggest that
the patch I attached is merged.

  reply	other threads:[~2009-09-28 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27 20:29 Disable highmem with SMP if no h/w TLB broadcasting Russell King - ARM Linux
2009-09-28  1:37 ` Nicolas Pitre
2009-09-28 10:11   ` Russell King - ARM Linux [this message]
2009-09-28 13:53     ` Nicolas Pitre
2009-09-28 16:50 ` Catalin Marinas

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=20090928101115.GF6715@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.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