[lkml]   [2006]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC 1/7] Remove declaration of sighand_cachep from slab.h
On Mon, 20 Nov 2006 08:20:13 -0800 (PST)
Christoph Lameter <> wrote:

> On Sat, 18 Nov 2006, Stephen Rothwell wrote:
> > Is there no suitable header file to put this in?
> There is only a single file that uses sighand_cachep apart from where it
> was defined. If we would add it to signal.h then we would also have to
> add an include for slab.h just for this statement.

That's one of the reasons why typedefs are bad.

Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can
forward-declare it in the header file without having to include slab.h.

Patches which rid us of kmem_cache_t are always welcome..
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-21 09:11    [W:0.056 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site