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    [W:0.034 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site