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]
Message-Id: <20100315132103.228021253@gulag1.americas.sgi.com>
Date:	Mon, 15 Mar 2010 08:21:03 -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
Subject: [patch 0/2] x86,pat: Reduce contention on the memtype_lock -V3


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

---

 arch/x86/include/asm/cacheflush.h |   44 +++++++++++++++++++++-----------------
 arch/x86/mm/pat.c                 |   28 ++++++++----------------
 2 files changed, 35 insertions(+), 37 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