Re: [PATCH] struct page shrinkage

From: Andrew Morton (akpm@zip.com.au)
Date: Wed Mar 06 2002 - 12:33:02 EST


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:56 EST