Re: Question about memory mapping mechanism

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Drab
Date: Thursday, March 8, 2007 - 5:07 pm

On Thu, 8 Mar 2007, Martin Drab wrote:


I seem to get it now. So instead of setting PG_reserved upon allocation of 
the buffer pages, I should increase the referrence of the pages by calling 
get_page() on them and that would prevent the pages to get on the lru list 
and thus preventing them to be swapped out. Is that it?

Martin
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Question about memory mapping mechanism, Martin Drab, (Thu Mar 8, 2:36 pm)
Re: Question about memory mapping mechanism, Martin Drab, (Thu Mar 8, 5:07 pm)
Re: Question about memory mapping mechanism, Martin Drab, (Thu Mar 8, 6:31 pm)
Re: Question about memory mapping mechanism, Hugh Dickins, (Tue Mar 13, 1:49 pm)
Re: Question about memory mapping mechanism, Martin Drab, (Mon May 21, 11:39 am)
Re: Question about memory mapping mechanism, Hugh Dickins, (Tue May 29, 10:58 am)