Messages in this thread | | | Date | Fri, 18 Dec 2009 16:13:42 +0200 | From | Avi Kivity <> | Subject | Re: [PATCH v2] vmscan: limit concurrent reclaimers in shrink_zone |
| |
On 12/18/2009 04:12 PM, Rik van Riel wrote: > On 12/18/2009 08:38 AM, Avi Kivity wrote: > >>> + /* Number of processes running page reclaim code on this zone. */ >>> + atomic_t concurrent_reclaimers; >>> + wait_queue_head_t reclaim_wait; >>> + >> >> Counting semaphore? > > I don't see a safe way to adjust a counting semaphore > through /proc/sys.
True. Maybe it's worthwhile to add such a way if this pattern has more uses.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
| |