login
Header Space

 
 

Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: LKML <linux-kernel@...>, Mauro Carvalho Chehab <mchehab@...>, <i2c@...>, <video4linux-list@...>
Date: Wednesday, February 27, 2008 - 6:23 am

On Tue, Feb 26, 2008 at 11:23:20PM +0100, Jean Delvare wrote:
Hi
 
That won't work. Variables at beginning of function take only ~600 bytes,
so the rest must be from inner blocks and inlines (probably).

There's "noinline" attribute in linux/compiler.h (compiler-gcc.h actually)
for these situations.
 
Nice idea.

I'll try 2nd and 4th approaches.

Marcin Slusarz
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] video: limit stack usage of ir-kbd-i2c.c, Marcin Slusarz, (Mon Feb 25, 4:51 pm)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Jean Delvare, (Tue Feb 26, 8:32 am)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Marcin Slusarz, (Tue Feb 26, 5:03 pm)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Jean Delvare, (Tue Feb 26, 6:23 pm)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Marcin Slusarz, (Wed Feb 27, 6:23 am)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Jean Delvare, (Thu Feb 28, 2:29 pm)
Re: [PATCH] video: limit stack usage of ir-kbd-i2c.c, Mauro Carvalho Chehab, (Wed Feb 27, 6:33 am)
speck-geostationary