Messages in this thread | | | Subject | Re: [patch 0/2] x86,pat: Reduce contention on the memtype_lock -V4 | From | Andi Kleen <> | Date | Wed, 24 Mar 2010 03:16:14 +0100 |
| |
holt@sgi.com writes:
> Tracking memtype on x86 uses a single global spin_lock for either reading > or changing the memory type. This includes changes made to page flags > which is perfectly parallel. > > Part one of the patchset makes the page-based tracking use cmpxchg > without a need for a lock. > > Part two of the patchset converts the spin_lock into a read/write lock.
I'm curious: in what workloads did you see contention?
For any scalability patches it would be always good to have a description of the workload.
-Andi
-- ak@linux.intel.com -- Speaking for myself only.
| |