lkml.org 
[lkml]   [2005]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: The question come again.
From
Date
On Sun, 10 Jul 2005 11:28:20 +0800, "liyu@WAN" said:

> But I found it may call __you_cannot_kmalloc_that_much(). but I can
> not get where is
> defined.

Note that you can only reach it if you have a *compile-time constant* of
over 32M or so in size. If it's smaller, it will catch the appropriate
if/then from kmalloc_sizes.h (and all the others removed by the optimizer).

And since there *isn't* a definition, you'll get a complaint when you
try to link vmlinux - and the complaint will tell you where it's referenced.


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-07-10 05:57    [W:0.030 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site