Re: 4k stacks in 2.6

From: Andrea Arcangeli (andrea_at_suse.de)
Date: 05/27/04

  • Next message: Bill Davidsen: "Re: Hot plug vs. reliability"
    Date:	Thu, 27 May 2004 16:50:33 +0200
    To: Brian Gerst <bgerst@didntduck.org>
    
    

    On Thu, May 27, 2004 at 10:18:40AM -0400, Brian Gerst wrote:
    > The problem on i386 (unlike x86-64) is that the thread_info struct sits
    > at the bottom of the stack and is referenced by masking bits off %esp.
    > So the stack size must be constant whether in process context or IRQ
    > context.

    so what, that's a minor implementation detail, pda is a software thing.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Bill Davidsen: "Re: Hot plug vs. reliability"

    Relevant Pages

    • Re: [x86] Access off the bottom of stack causes a segfault?
      ... > My compiler is generating accesses off the bottom of the stack (address ... > below %esp). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [x86] Access off the bottom of stack causes a segfault?
      ... Why exactly is accessing the stack below %esp always a bug? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Kernel stack
      ... All of these 160K always occupy the kernel (kernel memory ... When a process actives, ESP would switch to ... point to the corresponding stack. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel stack challenge
      ... > having current stack pointer. ... > interrupt occures. ... so with the proper masking of %esp you can get to the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] cleanup patches for strings
      ... larger, slower, and uses more stack. ... If the array is declared const makes ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)