From: Kouya Shimura Subject: Re: [PATCH][RFC] Serialize scrubbing pages Date: Mon, 11 Aug 2008 20:07:58 +0900 Message-ID: <7kod3zx10x.fsf@pingu.sky.yk.fujitsu.co.jp> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi Keir, I'm afraid that cset18305:f10d436d9a9e makes free_domheap_page freeze. Inner loop of page_scrub_softirq which keeps page_scrub_lock takes at least 1 millisec. Is it OK? That's why I prepare a new spinlock. Thanks, Kouya Keir Fraser writes: > On 11/8/08 11:12, "Keir Fraser" wrote: > > > 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. > > I've simplified the patch and then checked it in. There was no need for a > new spinlock as it strictly dominated the old one.