Messages in this thread | | | Subject | Re: The question come again. | From | Valdis.Kletnieks@vt ... | Date | Sat, 09 Jul 2005 23:53:51 -0400 |
| |
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] | |