Re: [PATCH -mm] cpuset,mm: fix no node to alloc memory whenchanging cpuset's mems - fix2

From: Andrew Morton
Date: Thu May 13 2010 - 15:12:14 EST


On Thu, 13 May 2010 14:16:33 +0800
Miao Xie <miaox@xxxxxxxxxxxxxx> wrote:

> >
> > The code you have at present is fairly similar to sequence locks. I
> > wonder if there's some way of (ab)using sequence locks for this.
> > seqlocks don't have lockdep support either...
> >
>
> We can't use sequence locks here, because the read-side may read the data
> in changing, but it can't put off cleaning the old bits.

I don't understand that sentence. Can you expand on it please?
--
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/