lkml.org 
[lkml]   [2006]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slab: optimize constant-size kzalloc calls
On Tue, Mar 28, 2006 at 06:06:05PM -0800, David S. Miller wrote:
> From: Horms <horms@verge.net.au>
> Date: Wed, 29 Mar 2006 10:57:46 +0900
>
> > I feel like I mist be dreaming, but this patch, which was inlcuded
> > in Linus' tree as 40c07ae8daa659b8feb149c84731629386873c16 calls
> > __you_cannot_kzalloc_that_much(), but that does not seem to exist.
> >
> > On i386 at least that causes a build failure
>
> It's a purposeful build time error introduced so that invalid calls
> that specify too large kzalloc() length arguments are caught at build
> time.

Thanks, I knew that I had to be missing the point somewhere.
I'll focus my attention on the caller.

--
Horms
-
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: 2006-03-29 06:37    [W:0.048 / U:14.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site