[lkml]   [2010]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.



 \ /
  Last update: 2010-03-13 02:11    [W:0.092 / U:18.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site