Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934146Ab2EXVWb (ORCPT ); Thu, 24 May 2012 17:22:31 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:46567 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934104Ab2EXVW3 (ORCPT ); Thu, 24 May 2012 17:22:29 -0400 Date: Thu, 24 May 2012 14:22:27 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: "Aneesh Kumar K.V" cc: linux-mm@kvack.org, mgorman@suse.de, kamezawa.hiroyu@jp.fujitsu.com, dhillf@gmail.com, aarcange@redhat.com, mhocko@suse.cz, akpm@linux-foundation.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH -V6 03/14] hugetlbfs: Add an inline helper for finding hstate index In-Reply-To: <1334573091-18602-4-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Message-ID: References: <1334573091-18602-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> <1334573091-18602-4-git-send-email-aneesh.kumar@linux.vnet.ibm.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 654 Lines: 17 On Mon, 16 Apr 2012, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Add an inline helper and use it in the code. > > Acked-by: Michal Hocko > Reviewed-by: KAMEZAWA Hiroyuki > Signed-off-by: Aneesh Kumar K.V I like the helper function, but you missed using it in hugetlb_init(). -- 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/