From: Keir Fraser Subject: Re: [PATCH][RFC] Serialize scrubbing pages Date: Mon, 11 Aug 2008 11:12:14 +0100 Message-ID: References: <7kprofx43d.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7kprofx43d.fsf@pingu.sky.yk.fujitsu.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 11/8/08 11:01, "Kouya Shimura" wrote: > I noticed that parallel scrubbing pages is not efficient > due to spinlock contention. (also memory bandwidth?) > Actually heap_lock becomes a bottleneck. I've considered the possibility of moving this kind of thing into a service domain. Then it would be visible to the scheduler and be less of a hack. Anyhow, I hadn't considered the contention for the heap_lock. I think your patch is good and I will apply it for 3.3. -- Keir