public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Rik van Riel <riel@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	Dave McCracken <dmccr@us.ibm.com>,
	"Martin J. Bligh" <mbligh@aracnet.com>,
	linux-kernel@vger.kernel.org
Subject: Re: 230-objrmap fixes for 2.6.3-mjb2
Date: Thu, 4 Mar 2004 11:03:05 -0600	[thread overview]
Message-ID: <20040304170305.GL3883@waste.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0403041040310.20043-100000@chimarrao.boston.redhat.com>

On Thu, Mar 04, 2004 at 10:41:51AM -0500, Rik van Riel wrote:
> On Wed, 3 Mar 2004, Christoph Hellwig wrote:
> > On Wed, Mar 03, 2004 at 09:58:44AM -0600, Dave McCracken wrote:
> > > It'd mean the page struct would have to have a count of the number of
> > > mlock()ed regions it belongs to, and we'd have to update all the pages each
> > > time we call it.
> > 
> > That would add another atomic_t to struct pages..
> 
> No need for that.  If a page is mlocked, it shouldn't be on any
> of the LRU lists (since it can't be swapped out yadda yadda).
> 
> That means the locked count can share space in the struct page
> with the list head used for the lru.

And we can drop the VM_RESERVED flag, which is currently used in a
bunch of places where it's not on lists already.

-- 
Matt Mackall : http://www.selenic.com : Linux development and consulting

  parent reply	other threads:[~2004-03-04 17:03 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-03  7:09 230-objrmap fixes for 2.6.3-mjb2 Andrea Arcangeli
2004-03-03 10:58 ` Andrew Morton
2004-03-03 15:46   ` Martin J. Bligh
2004-03-03 15:58     ` Dave McCracken
2004-03-03 16:08       ` Christoph Hellwig
2004-03-03 19:04         ` Mike Kravetz
2004-03-04 15:41         ` Rik van Riel
2004-03-04 15:47           ` Christoph Hellwig
2004-03-04 16:21             ` Rik van Riel
2004-03-04 17:03           ` Matt Mackall [this message]
2004-03-03 16:57     ` Andrea Arcangeli
2004-03-03 17:07       ` Dave McCracken
2004-03-03 18:39         ` Andrea Arcangeli
2004-03-03 18:44           ` Dave McCracken
2004-03-03 18:51             ` Andrea Arcangeli
2004-03-03 19:01               ` Dave McCracken
2004-03-03 21:05                 ` Andrea Arcangeli
2004-03-03 21:39               ` Martin J. Bligh
2004-03-03 23:16                 ` Andrea Arcangeli
2004-03-03 17:06   ` Andrea Arcangeli
2004-03-03 15:54 ` Martin J. Bligh
2004-03-03 16:14   ` Andrea Arcangeli
2004-03-25 21:45 ` Andrea Arcangeli
2004-03-26 11:57   ` Hugh Dickins
2004-03-26 18:02     ` Andrea Arcangeli
2004-03-26 23:25       ` Andrew Morton
2004-03-27 14:24         ` Andrea Arcangeli
2004-03-27 15:29         ` Dave McCracken

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=20040304170305.GL3883@waste.org \
    --to=mpm@selenic.com \
    --cc=dmccr@us.ibm.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=riel@redhat.com \
    /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