From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by kanga.kvack.org (Postfix) with ESMTP id 9803B6B0138 for ; Tue, 10 Jun 2014 22:41:05 -0400 (EDT) Received: by mail-pd0-f175.google.com with SMTP id z10so6708965pdj.6 for ; Tue, 10 Jun 2014 19:41:05 -0700 (PDT) Received: from lgeamrelo02.lge.com (lgeamrelo02.lge.com. [156.147.1.126]) by mx.google.com with ESMTP id c8si4925697pat.56.2014.06.10.19.41.03 for ; Tue, 10 Jun 2014 19:41:04 -0700 (PDT) Date: Wed, 11 Jun 2014 11:41:09 +0900 From: Minchan Kim Subject: Re: [PATCH 07/10] mm: rename allocflags_to_migratetype for clarity Message-ID: <20140611024109.GG15630@bbox> References: <1402305982-6928-1-git-send-email-vbabka@suse.cz> <1402305982-6928-7-git-send-email-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1402305982-6928-7-git-send-email-vbabka@suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: David Rientjes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Greg Thelen , Mel Gorman , Joonsoo Kim , Michal Nazarewicz , Naoya Horiguchi , Christoph Lameter , Rik van Riel On Mon, Jun 09, 2014 at 11:26:19AM +0200, Vlastimil Babka wrote: > From: David Rientjes > > 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 > Signed-off-by: Vlastimil Babka I was one of person who got confused sometime. Acked-by: Minchan Kim -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org