Re: sparse using insane amounts of memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 8 Mar 2007, Pavel Roskin wrote:
> 
> Reducing the file may be tricky, since there is no definite way to say
> if the problem exists once the code becomes shorter.  But I'll try.

I would guess at

	static inline __attribute__((always_inline)) void device_rate_entry(..)

because while that function *looks* really simple ("Hey, it's just ten 
lines"), those lines expand to some nested compile-time constant macros 
from hell, and the end result is hundreds and hundreds of lines of really 
dense code because the macros are set up to be able to handle constant 
arguments asa constant.

That thing is a thing from hell.

			Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux