Re: [patch 3.5-rc3] mm, mempolicy: fix mbind() to do synchronous migration

From: Linus Torvalds
Date: Thu Jun 21 2012 - 20:47:36 EST


On Thu, Jun 21, 2012 at 4:46 PM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I can't really do anything with this patch - it's a bug added by
> Peter's "mm/mpol: Simplify do_mbind()" and added to linux-next via one
> of Ingo's trees.
>
> And I can't cleanly take the patch over as it's all bound up with the
> other changes for sched/numa balancing.

I took the patch, it looked obviously correct (passing in a boolean
was clearly crap).

I wonder if I should make sparse warn about any casts to/from enums.
They tend to always be wrong.

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