Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?



Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
On Thu, 19 Jul 2007 03:33:58 +0200
Andrea Arcangeli <andrea@xxxxxxx> wrote:

8K stacks without IRQ stacks are not "safer" so I don't understand your
comment ?

Ouch, see the reports about 4k stack crashes. I agree they're not
safe w/o irq stacks (like on x86-64), but they're generally safer.

Still don't follow. How is "exceeds stack space but less likely to be
noticed" safer.

If there is a tree in the forest, is it as likely to fall as the three
that's being chopped in front of our eyes? It is, because each tree will
fall eventually, but you'd still not allow your kids to play on the
tree being chopped, but you'd probably allow them to climb that other tree
like all the other kids do.

The same applies to the stack: We don't know if or when we'll see all
possible interrupts fire and kill the 8K stack, but we know for sure the
8K stack has been climbed for years and there is an axe on that 4K stack.
So where do you send the users to play?
--
What's worse than a Male Chauvinist Pig?
A woman that won't do what she's told.

Friß, Spammer: Fq@xxxxxxxxxxxxxxxxxxxxxxxx od1Gkubx@xxxxxxxxxxxxxxxxxxxxxxxx
-
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/



Relevant Pages

  • Re: Self-join question
    ... There are many ways to represent a tree or hierarchy in SQL. ... CREATE TABLE OrgChart ... rgt INTEGER NOT NULL UNIQUE CHECK, ... Here is version with a stack in SQL/PSM. ...
    (microsoft.public.sqlserver.programming)
  • Re: deep list recursion
    ... on system stack usage, it's worthwhile to use the heap instead. ... Now, since we're building a new tree, when we're processing a leaf on ... track the structure of the tree to know how to cons them. ... (define (map-tree-i fun tree stack result) ...
    (comp.lang.scheme)
  • [patch] i386: restore ESP value on return to userspace
    ... exporting the high word of kernel's stack ... Attached patch checks if the userspace ... then kernel switches to the "small" ... done against the Linus tree and/or -mm tree. ...
    (Linux-Kernel)
  • Re: iterative binary tree traversal
    ... >> A stack isn't strictly necessary, ... >> into a heap; the heap lets you backtrack to scan down branches you ... pointer to a node in the tree. ... // iterate repeatedly over heap until we have no more entries to add ...
    (comp.programming)
  • Re: Adjacency List and nested set -- J celko example -- Guru needed
    ... To convert an adjacency list to a nested set model, ... Here is version with a stack in SQL/PSM which is easy to ... CREATE TABLE Tree ... LANGUAGE SQL ...
    (microsoft.public.sqlserver.programming)