On Sunday 20 April 2008 16:05, Eric Sandeen wrote:Some number has to be picked. Why fitting in 4k is "bad" and fitting in 8k is "not bad"? Look what happens when this number is too big: Windows is "generous", and as a result Windows drivers routinely need 12k, sometimes 16k of stack. We know it from ndiswrapper. We don't want to go that way, right? Forget about 50k threads. 4k of waste per process is a waste nevertheless. It's not at all unusual to have 250+ processes, and 250 processes with 8k stack each waste 1M. Do you think extra 1M won't be useful to have? It seems that 4k works for everybody sans xfs. Making it work took some effort, but it is already done. Why not use it after all? And since i386 is such a common architecture, other 32-bit arches will be relieved from the burden of hunting down stack overflows which happen only on those arches. (For example, different ABI or different gcc behavior may make $OTHER_ARCH slightly more stack-greedy). God knows non-mainstream arches have enough problems already. -- vda --
| Linus Torvalds | Linux 2.6.27-rc5 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Johannes Sixt | [PATCH 02/40] Compile some programs only conditionally. |
| Linus Torvalds | [PATCH 0/6] Initial subproject support (RFC?) |
| Jon Smirl | Figured out how to get Mozilla into git |
| Linus Torvalds | irc usage.. |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Tony Bruguier | [newbie] ssh and sftp timing out |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Doug Evans | Re: Stabilizing Linux |
| Joseph R. Pannon | Re: Ctrl-Alt-Del |
| Pat Rankin | Re: Nethack + Linux, Please Help! |
| Problem in Inserting a module | 33 minutes ago | Linux kernel |
| usb mic not detected | 1 hour ago | Applications and Utilities |
| Treason Uncloaked | 6 hours ago | Linux kernel |
| Shared swap partition | 17 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
