Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 21 Jun 2012 17:46:52 -0700 | Subject | Re: [patch 3.5-rc3] mm, mempolicy: fix mbind() to do synchronous migration |
| |
On Thu, Jun 21, 2012 at 4:46 PM, Andrew Morton <akpm@linux-foundation.org> 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
| |