lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 23 Mar 2010 19:36:08 -0500
From:	holt@....com
To:	Ingo Molnar <mingo@...hat.com>, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>
Cc:	Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>,
	Venkatesh Pallipadi <venkatesh.pallipadi@...il.com>,
	Suresh Siddha <suresh.b.siddha@...el.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	x86@...nel.org, Rafael Wysocki <rjw@...ell.com>
Subject: [patch 0/2] x86,pat: Reduce contention on the memtype_lock -V4


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@...hat.com>
To: H. Peter Anvin <hpa@...or.com>
To: Thomas Gleixner <tglx@...utronix.de>
Signed-off-by: Robin Holt <holt@....com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@...el.com>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@...il.com>
Cc: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: x86@...nel.org
Cc: Rafael Wysocki <rjw@...ell.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ