Re: x86: 4kstacks default
From: Arjan van de Ven
Date: Sun Apr 20 2008 - 02:12:01 EST
On Sat, 19 Apr 2008 21:36:16 -0500
Eric Sandeen <sandeen@xxxxxxxxxxx> wrote:
> > For 1), we need to know which they are, and then solve them,
> > because even on x86-64 with 8k stacks they can be a problem (just
> > because the stack frames are bigger, although not quite double,
> > there).
>
> Except, apparently, not, at least in my experience.
if you actually go over on x86, it's not unlikely that you're getting close to the edge on 64 bit.
At minimum we really do want to fix these things...
> I've personally never seen common stack problems with xfs on x86_64,
> but it's very common on x86. I don't have a great answer for why, but
> that's my anecdotal evidence.
One thing I've learned with the kerneloops.org work is that people don't read
their dmesg.....
>
> > I've not seen any recent reports, I'll try to extend the
> > kerneloops.org client to collect the "stack is getting low" warning
> > to be able to see how much this really happens.
>
> That sounds like a very good thing to collect, and maybe if I re-send
> a "clearly state stack overflows at oops time" patch you can easily
> keep tabs.
... which makes me think we need to strengthen this part of the kernel.
(and then have kerneloops.org collect the issues)
If there's a clear pattern in the backtraces we will find it.
And then we can fix it... which is absolutely the right thing,
I don't think anyone disagrees with that.
So yes if you can dig up your patch, yes please!
--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/