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.
Attachment:
pgp0y8c0JoOGJ.pgp
Description: PGP signature
- References:
- The question come again.
- From: "liyu@WAN" <[email protected]>
- The question come again.
- Prev by Date: [PATCH 2.6.13-rc2] [RFD] Text section for "slow" code
- Next by Date: Re: XFS Oops Under 2.6.12.2
- Previous by thread: The question come again.
- Next by thread: [PATCH 2.6.13-rc2] [RFD] Text section for "slow" code
- Index(es):