Prev: sched: Generate trace points only if scheduler tracing is enabled
Next: [patch 2/2] x86,pat Convert memtype_lock into an rw_lock.
From: holt on 23 Mar 2010 20:40 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. To: Ingo Molnar <mingo(a)redhat.com> To: H. Peter Anvin <hpa(a)zytor.com> To: Thomas Gleixner <tglx(a)linutronix.de> Signed-off-by: Robin Holt <holt(a)sgi.com> Cc: Venkatesh Pallipadi <venkatesh.pallipadi(a)intel.com> Cc: Venkatesh Pallipadi <venkatesh.pallipadi(a)gmail.com> Cc: Suresh Siddha <suresh.b.siddha(a)intel.com> Cc: Linux Kernel Mailing List <linux-kernel(a)vger.kernel.org> Cc: x86(a)kernel.org Cc: Rafael Wysocki <rjw(a)novell.com> --- arch/x86/include/asm/cacheflush.h | 44 +++++++++++++++++++++----------------- arch/x86/mm/pat.c | 30 +++++++++---------------- 2 files changed, 36 insertions(+), 38 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |