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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 13 Mar 2010 02:08:51 +0100 (CET)
From:	Thomas Gleixner <tglx@...utronix.de>
To:	Suresh Siddha <suresh.b.siddha@...el.com>
cc:	Robin Holt <holt@....com>, Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>,
	"Pallipadi, Venkatesh" <venkatesh.pallipadi@...il.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"x86@...nel.org" <x86@...nel.org>
Subject: Re: [Patch] x86,pat Update the page flags for memtype atomically
 instead of using memtype_lock.

On Fri, 12 Mar 2010, Suresh Siddha wrote:
> On Thu, 2010-03-11 at 08:17 -0800, Robin Holt wrote:
> > Changes since -V1:
> > 1) Introduce atomically setting and clearing the page flags and not
> > using the global memtype_lock to protect page->flags.
> > 
> > 2) This allowed me the opportunity to convert the rwlock back into a
> > spinlock and not affect _MY_ tests performance as all the pages my test
> > was utilizing are tracked by struct pages.
> 
> Can you also include this spinlock to rwlock conversion, which can be
> used for non RAM pages as a second patch?

spinlock -> rwlock conversion ? I hope you meant it the other way
round as Robin said in #2 :)

And yes it should be a separate patch.

Thanks,

	tglx

--
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