Serialize scrubbing pages
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 10:18:50 +0000 (11:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 10:18:50 +0000 (11:18 +0100)
commitb87e597231d4d625ee570003cb18efad5c0ae05c
treec8707af851d4fc11c6a6ac944c666090294d9a10
parentc3eade240902c2a420d202b5d9cd8434ef2e4b37
Serialize scrubbing pages

I noticed that parallel scrubbing pages is not efficient
due to spinlock contention. (also memory bandwidth?)
Actually heap_lock becomes a bottleneck.

In my investigation, it often takes 1 millisec just to acquire
the lock on ia64 with 8cpus. It's very wasteful.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
xen/common/page_alloc.c