Re: 2.6.26-rc: nfsd hangs for a few sec

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Sunday, June 22, 2008 - 10:07 am

On (21/06/08 21:13), Christoph Lameter didst pronounce:

Well, the mask is not totally ignored, it's part of the scan_control and
used later when deciding what can and can't be done as part of reclaim.
However, you are right in that it is apparently ignored for zone
selection.

However, try_to_free_pages() received a struct zone **zones which was
a zonelist which is a zonelist->zones selected based on the gfp_mask in
__alloc_pages. By the time shrink_zones() is called, it can ignore the
mask because only relevant zones are in there. For GFP_KERNEL, that would
exclude HIGHMEM.



-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.26-rc: nfsd hangs for a few sec, Alexander Beregalov, (Sat Jun 21, 5:57 am)
Re: 2.6.26-rc: nfsd hangs for a few sec, Linus Torvalds, (Sat Jun 21, 11:36 am)
Re: 2.6.26-rc: nfsd hangs for a few sec, Mel Gorman, (Sat Jun 21, 3:41 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Christoph Lameter, (Sat Jun 21, 4:46 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Linus Torvalds, (Sat Jun 21, 4:54 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Christoph Lameter, (Sat Jun 21, 5:18 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Mel Gorman, (Sat Jun 21, 6:38 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Alexander Beregalov, (Sat Jun 21, 7:10 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Christoph Lameter, (Sat Jun 21, 9:13 pm)
Re: 2.6.26-rc: nfsd hangs for a few sec, Mel Gorman, (Sun Jun 22, 10:07 am)