Re: [PATCH -mm 16/25] SHM_LOCKED pages are non-reclaimable

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lee Schermerhorn
Date: Tuesday, June 10, 2008 - 2:22 pm

On Tue, 2008-06-10 at 17:03 -0400, Rik van Riel wrote:

So, we're making a global change of "[no[n]]reclaim[able]" =>
"[un]evictable"?


Shall I take a cut at renaming and updating the document once the code
renames are complete?


Yes, if we get a run of pages from the same zone [likely, I think],
we'll hold the lock over a full "batch" of  PAGEVEC_SIZE [14] pages.  I
haven't measured the hold time, but can do.


I could use some advice on the batch size.  E.g., I could cycle the lock
for each page in the mapping, or choose a batch size somewhat less than
PAGEVEC_SIZE, but > 1.  Thoughts?  Is there a target "max hold time"?

Lee

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

Messages in current thread:
[PATCH -mm 16/25] SHM_LOCKED pages are non-reclaimable, Rik van Riel, (Fri Jun 6, 1:28 pm)
Re: [PATCH -mm 16/25] SHM_LOCKED pages are non-reclaimable, KOSAKI Motohiro, (Fri Jun 6, 10:21 pm)
Re: [PATCH -mm 16/25] SHM_LOCKED pages are non-reclaimable, Lee Schermerhorn, (Tue Jun 10, 2:22 pm)