[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120415142116.GB2566@tassilo.jf.intel.com>
Date: Sun, 15 Apr 2012 07:21:16 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, penberg@...nel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists