[lkml]   [2012]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] propagate gfp_t to page table alloc functions
    On Fri, 27 Apr 2012 11:24:32 +0900 Minchan Kim <> wrote:

    > I was about to add warning in __vmalloc internal if caller uses GFP_NOIO, GFP_NOFS, GFP_ATOMIC
    > with Nick's comment and let them make to fix it. But it seems Andrew doesn't agree.

    I do, actually.

    > Andrew, please tell me your opinion for fixing this problem.

    Only call vmalloc() from GFP_KERNEL contexts. Go ahead, add the
    WARN_ONCE() and let's see what happens.

     \ /
      Last update: 2012-04-27 06:21    [W:0.020 / U:6.796 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site