From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933290AbdBHP0N (ORCPT ); Wed, 8 Feb 2017 10:26:13 -0500 Received: from resqmta-ch2-09v.sys.comcast.net ([69.252.207.41]:36540 "EHLO resqmta-ch2-09v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531AbdBHP0J (ORCPT ); Wed, 8 Feb 2017 10:26:09 -0500 Date: Wed, 8 Feb 2017 09:13:14 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@east.gentwo.org To: Vlastimil Babka cc: Andrew Morton , kbuild test robot , kbuild-all@01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim , David Rientjes , Pekka Enberg , Matthew Wilcox Subject: Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc- In-Reply-To: Message-ID: References: <20170203181008.24898-1-vbabka@suse.cz> <201702080139.e2GzXRQt%fengguang.wu@intel.com> <20170207133839.f6b1f1befe4468770991f5e0@linux-foundation.org> Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfDJjktbfJfy6ccWlzNZEvnXjkHFx3kpIqCtJ9jiJotxpFoReMkHvqiQbUjLqH4Zj4xy6bCBFEWOIbpvThxBPFg5eGfoXDCUWDWUle/1ZVRIz2EvyLkyt xZkQTmz/L+j3yKevdbiWD7lmpHxHVIlAY3Rg+UtUGNUeH+Phtj8mvXsyNOcYDRifTyDU3jJn3C83RqRshzyldimpI0YcVcVMD+8fo4sKST5rqRvADLGjqxlm FGwZXjmNjWcSgK4/kZ92OmVYLUeWYMA+4pBIbPd68kYDJ2MMK5XJv+O9GVg3LHwvSLSZVLh8JQzVNhZB/iXWrCwYoWMImc/luzN02jpggFRnk584VjSmF5dr NhNtS6R523qSm0H65rktxFcN94KgbiZQIBZolg6+JcxsACd+BRvcuZ6w4Cl9nj5DsVLZplStS482TUgOzlmBicWC/l1Nrg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 8 Feb 2017, Vlastimil Babka wrote: > I was going to implement Christoph's suggestion and export the whole structure > in mm/slab.h, but gcc was complaining that I'm redefining it, until I created a > typedef first. Is it worth the trouble? Below is how it would look like. Looks good to me. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f199.google.com (mail-io0-f199.google.com [209.85.223.199]) by kanga.kvack.org (Postfix) with ESMTP id 28B196B0069 for ; Wed, 8 Feb 2017 10:13:16 -0500 (EST) Received: by mail-io0-f199.google.com with SMTP id m98so147399092iod.2 for ; Wed, 08 Feb 2017 07:13:16 -0800 (PST) Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net. [2001:558:fe21:29:69:252:207:38]) by mx.google.com with ESMTPS id j4si14989781iob.29.2017.02.08.07.13.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Feb 2017 07:13:15 -0800 (PST) Date: Wed, 8 Feb 2017 09:13:14 -0600 (CST) From: Christoph Lameter Subject: Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc- In-Reply-To: Message-ID: References: <20170203181008.24898-1-vbabka@suse.cz> <201702080139.e2GzXRQt%fengguang.wu@intel.com> <20170207133839.f6b1f1befe4468770991f5e0@linux-foundation.org> Content-Type: text/plain; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: Andrew Morton , kbuild test robot , kbuild-all@01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim , David Rientjes , Pekka Enberg , Matthew Wilcox On Wed, 8 Feb 2017, Vlastimil Babka wrote: > I was going to implement Christoph's suggestion and export the whole structure > in mm/slab.h, but gcc was complaining that I'm redefining it, until I created a > typedef first. Is it worth the trouble? Below is how it would look like. Looks good to me. -- 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