Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Sat, Jul 28, 2012 at 11:26:09AM +0100, Mel Gorman wrote: > On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: > > > Thanks, I've merged this with the "original" in the tree, so all should > > > be good now. > > > > Thanks. I saw what seems another issue now on the patch

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Mon, Jul 30, 2012 at 08:37:31AM -0700, Greg Kroah-Hartman wrote: > On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: > > Thanks. I saw what seems another issue now on the patch too, sorry for > > not noticing earlier: this backport is lacking the > >

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: > Thanks. I saw what seems another issue now on the patch too, sorry for > not noticing earlier: this backport is lacking the > write_seqcount_{begin,end} on set_mems_allowed for the case with > CONFIG_CPUSETS, like in the

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: Thanks. I saw what seems another issue now on the patch too, sorry for not noticing earlier: this backport is lacking the write_seqcount_{begin,end} on set_mems_allowed for the case with CONFIG_CPUSETS, like in the

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Mon, Jul 30, 2012 at 08:37:31AM -0700, Greg Kroah-Hartman wrote: On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: Thanks. I saw what seems another issue now on the patch too, sorry for not noticing earlier: this backport is lacking the write_seqcount_{begin,end}

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-30 Thread Greg Kroah-Hartman
On Sat, Jul 28, 2012 at 11:26:09AM +0100, Mel Gorman wrote: On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: Thanks, I've merged this with the original in the tree, so all should be good now. Thanks. I saw what seems another issue now on the patch too, sorry

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-28 Thread Mel Gorman
On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: > > Thanks, I've merged this with the "original" in the tree, so all should > > be good now. > > Thanks. I saw what seems another issue now on the patch too, sorry for > not noticing earlier: this backport is lacking the >

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-28 Thread Mel Gorman
On Sat, Jul 28, 2012 at 02:02:31AM -0300, Herton Ronaldo Krzesinski wrote: Thanks, I've merged this with the original in the tree, so all should be good now. Thanks. I saw what seems another issue now on the patch too, sorry for not noticing earlier: this backport is lacking the

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Herton Ronaldo Krzesinski
On Fri, Jul 27, 2012 at 12:01:16PM -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 27, 2012 at 04:23:47PM +0100, Mel Gorman wrote: > > > > --- a/mm/slub.c > > > > +++ b/mm/slub.c > > > > @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru > > > > struct zone *zone; > > > >

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Greg Kroah-Hartman
On Fri, Jul 27, 2012 at 04:23:47PM +0100, Mel Gorman wrote: > > > --- a/mm/slub.c > > > +++ b/mm/slub.c > > > @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru > > > struct zone *zone; > > > enum zone_type high_zoneidx = gfp_zone(flags); > > > struct page *page; > > > + unsigned

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Mel Gorman
> > --- a/mm/slub.c > > +++ b/mm/slub.c > > @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru > > struct zone *zone; > > enum zone_type high_zoneidx = gfp_zone(flags); > > struct page *page; > > + unsigned int cpuset_mems_cookie; > > > > /* > > * The defrag

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Herton Ronaldo Krzesinski
On Thu, Jul 26, 2012 at 02:29:57PM -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Mel Gorman > > commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream. > > Stable note: Not

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Herton Ronaldo Krzesinski
On Thu, Jul 26, 2012 at 02:29:57PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman mgor...@suse.de commit cc9a6c8776615f9c194ccf0b63a0aa5628235545

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Mel Gorman
--- a/mm/slub.c +++ b/mm/slub.c @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru struct zone *zone; enum zone_type high_zoneidx = gfp_zone(flags); struct page *page; + unsigned int cpuset_mems_cookie; /* * The defrag ratio allows a

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Greg Kroah-Hartman
On Fri, Jul 27, 2012 at 04:23:47PM +0100, Mel Gorman wrote: --- a/mm/slub.c +++ b/mm/slub.c @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru struct zone *zone; enum zone_type high_zoneidx = gfp_zone(flags); struct page *page; + unsigned int

Re: [ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-27 Thread Herton Ronaldo Krzesinski
On Fri, Jul 27, 2012 at 12:01:16PM -0700, Greg Kroah-Hartman wrote: On Fri, Jul 27, 2012 at 04:23:47PM +0100, Mel Gorman wrote: --- a/mm/slub.c +++ b/mm/slub.c @@ -1457,6 +1457,7 @@ static struct page *get_any_partial(stru struct zone *zone; enum zone_type

[ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is extremely expensive and severely

[ 39/40] cpuset: mm: reduce large amounts of memory barrier related damage v3

2012-07-26 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman mgor...@suse.de commit cc9a6c8776615f9c194ccf0b63a0aa5628235545 upstream. Stable note: Not tracked in Bugzilla. [get|put]_mems_allowed() is