Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761286AbYCWLaY (ORCPT ); Sun, 23 Mar 2008 07:30:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755479AbYCWLaN (ORCPT ); Sun, 23 Mar 2008 07:30:13 -0400 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:55591 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755825AbYCWLaM (ORCPT ); Sun, 23 Mar 2008 07:30:12 -0400 Date: Sun, 23 Mar 2008 20:30:31 +0900 From: KOSAKI Motohiro To: Andi Kleen Subject: Re: [PATCH] [2/18] Add basic support for more than one hstate in hugetlbfs Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org, pj@sgi.com, linux-mm@kvack.org, nickpiggin@yahoo.com.au In-Reply-To: <20080323112829.GA1619@one.firstfloor.org> References: <20080323193340.B31D.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080323112829.GA1619@one.firstfloor.org> Message-Id: <20080323203010.B323.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.42 [ja] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 560 Lines: 15 > > this function is called once by one boot parameter, right? > > if so, this function cause panic when stupid user write many > > hugepagesz boot parameter. > > A later patch fixes that up by looking up the hstate explicitely. Also it > is bisect safe because the callers are only added later. Oops, sorry. -- 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/