lkml.org 
[lkml]   [2007]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] add a kmem_cache for nsproxy objects
On Tue, 19 Jun 2007, Christoph Hellwig wrote:

> Hmm, I must have missed the macro going in. Frankly speaking I plain hate
> it. It's a rather useless obsfucation.

It makes the code easier to review and reduces errors by establishing a
standard way of defining a slab with minimal effort. You can
still do the old style and create the kmem_cache_create parameter
monsters that span lots of lines.

KMEM_CACHE can do it just by specifying two parameters.

-
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/

\
 
 \ /
  Last update: 2007-06-19 21:29    [W:2.314 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site