linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] 2.4 and stack reduction patches
@ 2005-01-07 15:48 Badari Pulavarty
  2005-01-07 14:12 ` Marcelo Tosatti
  0 siblings, 1 reply; 8+ messages in thread
From: Badari Pulavarty @ 2005-01-07 15:48 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Linux Kernel Mailing List

Hi Marcelo,

Few of the product groups are running into stack overflow problems
on latest 2.4 distribution releases, especially on z-Series.

While poking thro the 2.4 code, I realized the 2.6 stack reduction
work did not get merged into 2.4. 

Biggest offender seems to be "struct linux_binprm" in do_execve().
Converting structure on the stack to malloc() (like 2.6 does)
solved majority of problems. There are other places, but savings
are smaller. (But after bunch of changes, we were able to reduce
stack by 1K).

I am wondering, if there is any interest in merging stack reduction
patches into 2.4 mainline ? If so, I will rework the patches on
latest 2.4 and submit them. 

Thanks,
Badari


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-01-09 20:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 15:48 [RFC] 2.4 and stack reduction patches Badari Pulavarty
2005-01-07 14:12 ` Marcelo Tosatti
2005-01-07 21:42   ` Badari Pulavarty
2005-01-07 22:40     ` Trond Myklebust
2005-01-07 22:50       ` Badari Pulavarty
2005-01-08  0:55       ` Badari Pulavarty
2005-01-09  4:08         ` Trond Myklebust
2005-01-08 21:34     ` Denis Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).