lkml.org 
[lkml]   [2014]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 07/10] mm: rename allocflags_to_migratetype for clarity
    On Mon, Jun 09, 2014 at 11:26:19AM +0200, Vlastimil Babka wrote:
    > From: David Rientjes <rientjes@google.com>
    >
    > The page allocator has gfp flags (like __GFP_WAIT) and alloc flags (like
    > ALLOC_CPUSET) that have separate semantics.
    >
    > The function allocflags_to_migratetype() actually takes gfp flags, not alloc
    > flags, and returns a migratetype. Rename it to gfpflags_to_migratetype().
    >
    > Signed-off-by: David Rientjes <rientjes@google.com>
    > Signed-off-by: Vlastimil Babka <vbabka@suse.cz>

    I was one of person who got confused sometime.

    Acked-by: Minchan Kim <minchan@kernel.org>

    --
    Kind regards,
    Minchan Kim


    \
     
     \ /
      Last update: 2014-06-11 05:21    [W:4.445 / U:0.448 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site