lkml.org 
[lkml]   [2012]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] slab/mempolicy: always use local policy from interrupt context v3
    >> > +       if (!in_interrupt() || !policy || policy->flags & MPOL_F_LOCAL)
    >> >                return numa_node_id();
    >>
    >> I think your patch is correct. but I don't like interrupt context
    >> dereference current task.
    >> It would be nice if we only see current->mempolicy when !in_interrupt.
    >>
    >> But this doesn't mean NAK anyway.
    >>
    >>  Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    >
    > Sigh, this was acked by Christoph and KOSAKI when the logic is reversed
    > and does the exact opposite of what's intended?

    Ahhh, Good catch!
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-05-09 10:41    [W:0.022 / U:1.292 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site