Messages in this thread | | | Date | Sun, 15 Apr 2012 07:21:16 -0700 | From | Andi Kleen <> | Subject | Re: [PATCH] slab/mempolicy: always use local policy from interrupt context |
| |
> * such protection. > */ > -unsigned slab_node(struct mempolicy *policy) > +unsigned slab_node(void) > { > + struct mempolicy *policy = in_interrupt() ? current->policy : NULL;
Oops I sent the wrong version of the patch. This should be !in_interrupt() of course. Resend coming.
-Andi
| |