Re: [PATCH] struct page shrinkage

Bulent Abali
2002-03-06T16:58:43Z

>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?
Bulent