From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 28 Nov 2006 23:41:04 -0800 From: Andrew Morton Subject: Re: Slab: Remove kmem_cache_t Message-Id: <20061128234104.9e23b4b1.akpm@osdl.org> In-Reply-To: <456D3576.2060109@yahoo.com.au> References: <456D0757.6050903@yahoo.com.au> <456D0FC4.4050704@yahoo.com.au> <20061128200619.67080e11.akpm@osdl.org> <456D1D82.3060001@yahoo.com.au> <20061128222409.cda8cd5e.akpm@osdl.org> <456D2B8E.4060802@yahoo.com.au> <20061128230837.48fcc34f.akpm@osdl.org> <456D3576.2060109@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Christoph Lameter , linux-mm@kvack.org, Linus Torvalds List-ID: On Wed, 29 Nov 2006 18:23:34 +1100 Nick Piggin wrote: > > Any module which calls kmem_cache_create() needs to save its return value > > into some storage. That storage has type `struct kmem_cache *', or > > kmem_cache_t *. > > And why can't it include linux/slab.h to get the proper definitions > (+/- typdefs)? argh. Because then you need to include slab.h in header files which don't otherwise need it. -- 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