Re: [PATCH] slab/mempolicy: always use local policy from interruptcontext

From: Andi Kleen
Date: Sun Apr 15 2012 - 10:21:13 EST


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