Re: top stack (l)users for 2.5.69

From: Timothy Miller (miller@techsource.com)
Date: Wed May 07 2003 - 15:42:26 EST


Richard B. Johnson wrote:
>
> When a caller executes int 0x80, this is a software interrupt,
> called a 'trap'. It enters the trap handler on the kernel stack,
> with the segment selectors set up as defined for that trap-handler.
> It happens because software told hardware what to do ahead of time.
> Software doesn't do it during the trap event. In the trap handler,
> no context switch normally occurs.

On typical processors, when one gets an interrupt, the current program
counter and processor state flags are pushed onto a stack. Which stack
gets used for this?

-
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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:33 EST