Re: Kernel stack
From: Jan Hudec (bulb_at_ucw.cz)
Date: 10/12/04
- Previous message: Fabio Codecą: "Kernel Panic with 2.6.9-rc3-mm3 and 2.6.9-rc4-mm1"
- Maybe in reply to: suthambhara nagaraj: "Re: Kernel stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 12 Oct 2004 16:31:54 +0200 To: jonathan@jonmasters.org
On Tue, Oct 12, 2004 at 15:30:34 +0100, Jon Masters wrote:
> On Tue, 12 Oct 2004 11:41:04 +0200, Jan Hudec <bulb@ucw.cz> wrote:
>
> > The base of the stack does not have to be stored either, because it is
> > AT FIXED OFFSET from the task_struct! If you don't believe me, look at
> > definition of the current macro. It says just (%esp & ~8195) (it says it
> > in assembly, because you can't directly access registers from C, and it
> > uses some macros that mean "two pages" instead of 8195).
>
> The pedant in me wants to point out that 8K is 0-8191 and not 0-8195 :-)
OOPS, a braino ;-).
-------------------------------------------------------------------------------
Jan 'Bulb' Hudec <bulb@ucw.cz>
-
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/
- application/pgp-signature attachment: Digital signature
- Previous message: Fabio Codecą: "Kernel Panic with 2.6.9-rc3-mm3 and 2.6.9-rc4-mm1"
- Maybe in reply to: suthambhara nagaraj: "Re: Kernel stack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|