Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754544Ab3GAPsY (ORCPT ); Mon, 1 Jul 2013 11:48:24 -0400 Received: from a9-62.smtp-out.amazonses.com ([54.240.9.62]:51339 "EHLO a9-62.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754099Ab3GAPsL (ORCPT ); Mon, 1 Jul 2013 11:48:11 -0400 Date: Mon, 1 Jul 2013 15:48:09 +0000 From: Christoph Lameter X-X-Sender: cl@gentwo.org To: David Rientjes cc: Wanpeng Li , Pekka Enberg , Matt Mackall , Glauber Costa , Andrew Morton , Joonsoo Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] mm/slab: Sharing s_next and s_stop between slab and slub In-Reply-To: Message-ID: <0000013f9aeb70c6-f6dad22c-bb88-4313-8602-538a3f5cedf5-000000@email.amazonses.com> References: <1372069394-26167-1-git-send-email-liwanp@linux.vnet.ibm.com> <1372069394-26167-2-git-send-email-liwanp@linux.vnet.ibm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SES-Outgoing: 2013.07.01-54.240.9.62 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 649 Lines: 18 On Mon, 24 Jun 2013, David Rientjes wrote: > On Mon, 24 Jun 2013, Wanpeng Li wrote: > > > This patch shares s_next and s_stop between slab and slub. > > > > Just about the entire kernel includes slab.h, so I think you'll need to > give these slab-specific names instead of exporting "s_next" and "s_stop" > to everybody. He put the export into mm/slab.h. The headerfile is only included by mm/sl?b.c . -- 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/