From: Andrew Morton <akpm@zip.com.au>
To: Bulent Abali <abali@us.ibm.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] struct page shrinkage
Date: Wed, 06 Mar 2002 09:33:02 -0800 [thread overview]
Message-ID: <3C8652CE.47182A24@zip.com.au> (raw)
In-Reply-To: <OF8A6868F1.312B7C40-ON85256B74.005CB22E@pok.ibm.com>
Bulent Abali wrote:
>
> >Rik van Riel wrote:
> >>
> >> + clear_bit(PG_locked, &p->flags);
> >
> >Please don't do this. Please use the macros. If they're not
> >there, please create them.
> >
> >Bypassing the abstractions in this manner confounds people
> >who are implementing global locked-page accounting.
> >
>
> Andrew,
> I have an application which needs to know the total number of locked and
> dirtied pages at any given time. In which application locked-page
> accounting is done? I don't see it in base 2.5.5. Are there any patches
> or such that you can give pointers to?
This is in the ebulliently growing delayed-allocate and
buffer_head-bypass patches at
http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.6-pre2/
The implementation you're looking for is in dalloc-10-core.patch:
mm.h and mm/page_alloc.c
-
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2002-03-06 17:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-06 16:58 Bulent Abali
2002-03-06 17:33 ` Andrew Morton [this message]
2002-03-06 18:09 ` Rik van Riel
-- strict thread matches above, loose matches on Subject: below --
2002-03-06 18:41 Bulent Abali
2002-03-06 18:50 ` Mike Fedyk
2002-03-06 19:12 ` Andrew Morton
2002-03-06 19:04 ` Andrew Morton
2002-02-26 1:47 Rik van Riel
2002-02-26 1:49 ` David S. Miller
2002-02-26 1:57 ` Rik van Riel
2002-02-26 2:01 ` David S. Miller
2002-02-26 2:07 ` Rik van Riel
2002-02-26 2:54 ` William Lee Irwin III
2002-02-26 2:16 ` Andrew Morton
2002-02-26 2:46 ` William Lee Irwin III
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=3C8652CE.47182A24@zip.com.au \
--to=akpm@zip.com.au \
--cc=abali@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.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