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

From: Greg Kroah-Hartman
Date: Mon Jul 30 2012 - 11:38:04 EST


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} on set_mems_allowed for the case with
> > CONFIG_CPUSETS, like in the original patch:
> >
> > static inline void set_mems_allowed(nodemask_t nodemask)
> > {
> > task_lock(current);
> > + write_seqcount_begin(&current->mems_allowed_seq);
> > current->mems_allowed = nodemask;
> > + write_seqcount_end(&current->mems_allowed_seq);
> > task_unlock(current);
> > }
> >
>
> Ok, but that's not in a patch format that I can apply :(
>
> Care to redo it so I can add it to the existing patch?

Oh nevermind, Mel already did it.

Time for more coffee...

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/