lkml.org 
[lkml]   [2012]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-04-15 16:23    [from the cache]
©2003-2011 Jasper Spaans