[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Concept: Active/busy "reverse" mapping



On Fridayen den 21 December 2001 02.45, Benjamin LaHaise wrote:
> On Fri, Dec 21, 2001 at 02:05:26AM +0100, Roger Larsson wrote:
> > The goal of this code is to make sure that used pages are marked as such.
> >
> > This is accomplished by:
> >
> > * When a process is descheduled - look in its mm for used pages - update
> > corresponding page. (Done at most once per tick)
>
> Interesting.  The same effect is acheived by the reverse mapping code on
> a global scale while addressing the issue of how to figure out what extent
> memory pressure is needed on the page tables.
>
> 		-ben

There are other ways too...
Link all used mm:s and check them with kswapd...
etc... etc...

It should be possible to optimize away most performance problems...

/RogerL

PS
  I will be away for some days...
DS

-- 
Roger Larsson
Skellefteċ
Sweden
--
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/