Re: [PATCH 2.5.63] Teach page_mapped about the anon flag

Dave McCracken
2003-03-03T21:14:32Z

--On Monday, March 03, 2003 13:12:10 -0800 Andrew Morton <akpm@digeo.com>
wrote:

> It is. All callers which need to be 100% accurate are under
> pte_chain_lock().

Hmm, good point. Some places may not need perfect accuracy. Also, if it
gives a false positive it means someone else is doing an atomic op on it,
so it's likely to be in transition to/from true anyway.

Ok, you've convinced me. Please ignore the patch. I'll hang onto it in
case we get proved wrong at some point.

Dave

======================================================================
Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
dmccr@us.ibm.com T/L 678-3059