Generic Linux architectural discussions
 help / color / mirror / Atom feed
From: Nick Piggin <npiggin@suse.de>
To: David Howells <dhowells@redhat.com>
Cc: linux-arch@vger.kernel.org
Subject: Re: [rfc] vmalloc: lazy, batched vunmapping
Date: Fri, 24 Aug 2007 13:24:13 +0200	[thread overview]
Message-ID: <20070824112413.GB12412@wotan.suse.de> (raw)
In-Reply-To: <14030.1187945965@redhat.com>

On Fri, Aug 24, 2007 at 09:59:25AM +0100, David Howells wrote:
> Nick Piggin <npiggin@suse.de> wrote:
> 
> > I'm working on a bit of code that vmaps/vunmaps a bit more often than
> > I'd like. I've implemented a frontend to cache commonly used mappings,
> > which solves most of the problem, but in looking various other ways to
> > get the last bit of performance, I thought might be generally helpful
> > to batch up vunmap driven TLB flushes. So I'll just throw the idea
> > out there (is anyone else doing a lot of vmapping? I'd like to hear
> > from you!).
> 
> Can the OOM handler force a purge?

You could, it would be just one function call from a process context.
I didn't really bother at this stage, because it's just a couple of K
of physical memory really -- the virtual space purge is obviously the
critical thing.


      reply	other threads:[~2007-08-24 11:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24  3:26 [rfc] vmalloc: lazy, batched vunmapping Nick Piggin
2007-08-24  8:59 ` David Howells
2007-08-24 11:24   ` 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=20070824112413.GB12412@wotan.suse.de \
    --to=npiggin@suse.de \
    --cc=dhowells@redhat.com \
    --cc=linux-arch@vger.kernel.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