From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755564AbZBKIW7 (ORCPT ); Wed, 11 Feb 2009 03:22:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752022AbZBKIWv (ORCPT ); Wed, 11 Feb 2009 03:22:51 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:38946 "EHLO fgwmail5.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbZBKIWu (ORCPT ); Wed, 11 Feb 2009 03:22:50 -0500 From: KOSAKI Motohiro To: Benjamin Herrenschmidt Subject: Re: [PATCH] vmalloc: Add __get_vm_area_caller() Cc: kosaki.motohiro@jp.fujitsu.com, Linux Memory Management , , , Andrew Morton In-Reply-To: <20090211044854.969CEDDDA9@ozlabs.org> References: <20090211044854.969CEDDDA9@ozlabs.org> Message-Id: <20090211171804.7021.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] Date: Wed, 11 Feb 2009 17:22:47 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > We have get_vm_area_caller() and __get_vm_area() but not __get_vm_area_caller() > > On powerpc, I use __get_vm_area() to separate the ranges of addresses given > to vmalloc vs. ioremap (various good reasons for that) so in order to be > able to implement the new caller tracking in /proc/vmallocinfo, I need > a "_caller" variant of it. > > Signed-off-by: Benjamin Herrenschmidt It seems reasonable reason and this patch looks good to me :) Reviewed-by: KOSAKI Motohiro > I want to put into powerpc-next patches relying into that, so if the > patch is ok with you guys, can I stick it in powerpc.git ? hm. Generally, all MM patch should merge into -mm tree at first. but I don't think this patch have conflict risk. Andrew, What do you think? From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id 2993D6B003D for ; Wed, 11 Feb 2009 03:22:52 -0500 (EST) Received: from mt1.gw.fujitsu.co.jp ([10.0.50.74]) by fgwmail7.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n1B8Mn30012744 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Wed, 11 Feb 2009 17:22:49 +0900 Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id D3F4B45DE4E for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 7486945DE4F for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 5665AE38006 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.249.87.105]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 07873E38001 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) From: KOSAKI Motohiro Subject: Re: [PATCH] vmalloc: Add __get_vm_area_caller() In-Reply-To: <20090211044854.969CEDDDA9@ozlabs.org> References: <20090211044854.969CEDDDA9@ozlabs.org> Message-Id: <20090211171804.7021.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 11 Feb 2009 17:22:47 +0900 (JST) Sender: owner-linux-mm@kvack.org To: Benjamin Herrenschmidt Cc: kosaki.motohiro@jp.fujitsu.com, Linux Memory Management , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org, Andrew Morton List-ID: > We have get_vm_area_caller() and __get_vm_area() but not __get_vm_area_caller() > > On powerpc, I use __get_vm_area() to separate the ranges of addresses given > to vmalloc vs. ioremap (various good reasons for that) so in order to be > able to implement the new caller tracking in /proc/vmallocinfo, I need > a "_caller" variant of it. > > Signed-off-by: Benjamin Herrenschmidt It seems reasonable reason and this patch looks good to me :) Reviewed-by: KOSAKI Motohiro > I want to put into powerpc-next patches relying into that, so if the > patch is ok with you guys, can I stick it in powerpc.git ? hm. Generally, all MM patch should merge into -mm tree at first. but I don't think this patch have conflict risk. Andrew, What do you think? -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fgwmail8.fujitsu.co.jp (fgwmail8.fujitsu.co.jp [192.51.44.38]) by ozlabs.org (Postfix) with ESMTP id 748FEDDD1B for ; Wed, 11 Feb 2009 19:32:02 +1100 (EST) Received: from fgwmail6.fujitsu.co.jp (fgwmail6.fujitsu.co.jp [192.51.44.36]) by fgwmail8.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n1B8Mpds020420 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Wed, 11 Feb 2009 17:22:51 +0900 Received: from mt1.gw.fujitsu.co.jp ([10.0.50.74]) by fgwmail6.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id n1B8Mnhn000865 for (envelope-from kosaki.motohiro@jp.fujitsu.com); Wed, 11 Feb 2009 17:22:49 +0900 Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id D602745DE52 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.fujitsu.co.jp [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 74DA745DE50 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 54D86E38005 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.249.87.105]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 0ACB7E38002 for ; Wed, 11 Feb 2009 17:22:48 +0900 (JST) From: KOSAKI Motohiro To: Benjamin Herrenschmidt Subject: Re: [PATCH] vmalloc: Add __get_vm_area_caller() In-Reply-To: <20090211044854.969CEDDDA9@ozlabs.org> References: <20090211044854.969CEDDDA9@ozlabs.org> Message-Id: <20090211171804.7021.KOSAKI.MOTOHIRO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Date: Wed, 11 Feb 2009 17:22:47 +0900 (JST) Cc: Linux Memory Management , Andrew Morton , linux-kernel@vger.kernel.org, kosaki.motohiro@jp.fujitsu.com, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > We have get_vm_area_caller() and __get_vm_area() but not __get_vm_area_caller() > > On powerpc, I use __get_vm_area() to separate the ranges of addresses given > to vmalloc vs. ioremap (various good reasons for that) so in order to be > able to implement the new caller tracking in /proc/vmallocinfo, I need > a "_caller" variant of it. > > Signed-off-by: Benjamin Herrenschmidt It seems reasonable reason and this patch looks good to me :) Reviewed-by: KOSAKI Motohiro > I want to put into powerpc-next patches relying into that, so if the > patch is ok with you guys, can I stick it in powerpc.git ? hm. Generally, all MM patch should merge into -mm tree at first. but I don't think this patch have conflict risk. Andrew, What do you think?