Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - bisected

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Parag Warudkar <parag.lkml@...>
Cc: Adrian Bunk <bunk@...>, Rusty Russell <rusty@...>, Alan D. Brunelle <Alan.Brunelle@...>, Rafael J. Wysocki <rjw@...>, Linux Kernel Mailing List <linux-kernel@...>, Kernel Testers List <kernel-testers@...>, Andrew Morton <akpm@...>, Arjan van de Ven <arjan@...>, Ingo Molnar <mingo@...>, <linux-embedded@...>
Date: Tuesday, August 26, 2008 - 9:49 pm

On Tue, 26 Aug 2008, Parag Warudkar wrote:

Umm. How long?

4kB used to be the _only_ choice. And no, there weren't even irq stacks. 
So that 4kB was not just the whole kernel call-chain, it was also all the 
irq nesting above it.

And yes, we've gotten much worse over time, and no, I can't really suggest 
going back to that in general. The code bloat has certainly been 
accompanied by a stack bloat too.

But part of it is definitely gcc. Some versions of gcc used to be 
absolutely _horrid_ when it came to stack usage, especially with some 
flags, and especially with the crazy inlining that module-at-a-time 
caused.

But I'd be really happy if some embedded people tried to take some of that 
bloat back, and aim for 4kB stacks. Because it's definitely not 
unrealistic. At least it _shouldn't_ be. And a lot of the cases of us 
having structures on the stack is actually not worth it, and tends to be 
about being lazy rather than anything else.

			Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc4-git1: Reported regressions from 2.6.26, Rafael J. Wysocki, (Sat Aug 23, 2:07 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Benjamin Herrenschmidt, (Sun Aug 24, 8:48 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Rafael J. Wysocki, (Mon Aug 25, 7:40 am)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Rafael J. Wysocki, (Sun Aug 24, 5:40 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 3:03 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Adrian Bunk, (Sun Aug 24, 3:23 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 2:52 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, H. Peter Anvin, (Sun Aug 24, 8:16 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 2:34 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Peter Osterlund, (Wed Aug 27, 4:17 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 6:38 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 7:00 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 7:12 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 8:35 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Alexey Dobriyan, (Wed Aug 27, 6:45 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, David Miller, (Wed Aug 27, 6:43 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 4:40 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Christoph Hellwig, (Thu Aug 28, 9:52 am)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Wed Aug 27, 4:45 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 2:03 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Vegard Nossum, (Sun Aug 24, 2:43 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 2:58 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Daniel J Blueman, (Mon Aug 25, 9:03 am)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 1:48 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, David Greaves, (Sun Aug 24, 3:23 pm)
Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26, Linus Torvalds, (Sun Aug 24, 8:51 pm)
[Bug #11414] Random crashes with 2.6.27-rc3 on PPC, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11413] get_rtc_time() triggers NMI watchdog in hpet_rt..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11409] build issue #564 for v2.6.27-rc4 : undefined re..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11407] suspend: unable to handle kernel paging request, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11410] SLUB list_lock vs obj_hash.lock..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11406] patch "x86: MOVE PCI IO ECS code to x86/pci" br..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11405] 2.6.27-rc3 segfault on cold boot; not on warm b..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11403] 2.6.27-rc2 USB suspend regression, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11402] skbuff bug?, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11404] BUG: in 2.6.23-rc3-git7 in do_cciss_intr, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11401] pktcdvd: BUG, NULL pointer dereference in pkt_i..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11398] hda_intel: IRQ timing workaround is activated f..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11388] 2.6.27-rc3 warns about MTRR range; only 3 of 16..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_map..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11379] char/tpm: tpm_infineon no longer loaded for HP ..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11379] char/tpm: tpm_infineon no longer loaded for..., Rafael J. Wysocki, (Sun Aug 24, 5:12 pm)
[Bug #11361] my servers with nvidia mcp55 nic don't work wit..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11360] mpc8xxx_wdt.c doesn't build modular, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11358] net: forcedeth call restore mac addr in nv_shut..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11357] Can not boot up with zd1211rw USB-Wlan Stick, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11356] Linux 2.6.27-rc3 - build failure: undefined ref..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11356] Linux 2.6.27-rc3 - build failure: undefined..., Rafael J. Wysocki, (Sun Aug 24, 5:10 pm)
[Bug #11355] Regression in 2.6.27-rc2 when cross-building th..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11355] Regression in 2.6.27-rc2 when cross-buildin..., Rafael J. Wysocki, (Sun Aug 24, 5:34 pm)
[Bug #11354] AMD Elan regression with 2.6.27-rc3, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c - ..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Alan D. Brunelle, (Mon Aug 25, 10:05 am)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 4:34 am)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 5:00 am)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 9:17 am)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 12:38 pm)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 3:30 pm)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Linus Torvalds, (Tue Aug 26, 9:49 pm)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Bernd Petrovitsch, (Wed Aug 27, 4:44 am)
Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc...., Christoph Lameter, (Mon Aug 25, 6:07 pm)
Subject: [RFC 1/1] cpumask: Provide new cpumask API, Mike Travis, (Thu Sep 25, 4:59 pm)
[Bug #11340] LTP overnight run resulted in unusable box, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11343] SATA Cold Boot Problems with 2.6.27-rc[23] on n..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11334] myri10ge: use ioremap_wc: compilation failure o..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11334] myri10ge: use ioremap_wc: compilation failu..., Rafael J. Wysocki, (Sun Aug 24, 5:05 pm)
[Bug #11336] 2.6.27-rc2:stall while mounting root fs, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11335] 2.6.27-rc2-git5 BUG: unable to handle kernel pa..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11308] tbench regression on each kernel release from ..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11282] Please fix x86 defconfig regression, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11279] 2.6.27-rc0 Power Bugs with HP/Compaq Laptops, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y causes ..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11237] corrupt PMD after resume, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11272] BUG: parport_serial in 2.6.27-rc1 for NetMos Te..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11271] BUG: fealnx in 2.6.27-rc1, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11271] BUG: fealnx in 2.6.27-rc1, Jeff Garzik, (Sat Aug 23, 6:26 pm)
[Bug #11264] Invalid op opcode in kernel/workqueue, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11224] Only three cores found on quad-core machine., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11254] KVM: fix userspace ABI breakage, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11254] KVM: fix userspace ABI breakage, Adrian Bunk, (Sun Aug 24, 3:27 pm)
Re: [Bug #11254] KVM: fix userspace ABI breakage, Avi Kivity, (Mon Aug 25, 6:23 am)
[Bug #11230] Kconfig no longer outputs a .config with freshl..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11220] Screen stays black after resume, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11219] KVM modules break emergency reboot, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11215] INFO: possible recursive locking detected ps2_c..., Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11210] libata badness, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
Re: [Bug #11210] libata badness, Jeff Garzik, (Sat Aug 23, 6:23 pm)
Re: [Bug #11210] libata badness, Rafael J. Wysocki, (Sun Aug 24, 5:04 pm)
[Bug #11209] 2.6.27-rc1 process time accounting, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11191] 2.6.26-git8: spinlock lockup in c1e_idle(), Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11207] VolanoMark regression with 2.6.27-rc1, Rafael J. Wysocki, (Sat Aug 23, 2:10 pm)
[Bug #11141] no battery or DC status - Dell i1501, Rafael J. Wysocki, (Sat Aug 23, 2:07 pm)