[parisc-linux] Re: Trap handler

Grant Grundler grundler@dsl2.external.hp.com
Mon, 9 Dec 2002 11:03:16 -0700


On Mon, Dec 09, 2002 at 12:54:16PM +0000, Matthew Wilcox wrote:
> x86 will potentially reschedule on successfully handling a page fault.

ok.

> softirqs seem to only get run if we're returning to userspace,
> unless we're switching tasks.  That might be a bug in the x86 code.

ok.

> Judging from the use of cli & sti in the x86 asm, I would venture to
> suggest that the I bit should be cleared.  It makes sense anyway --
> you can't expect interrupts to be disabled over a page fault.

The above two statements don't make sense to me.
Clearing I-bit (ie rsm) will disable interrupts.
The second sentence suggests the opposite.
Or did I read it wrong?

thanks,
grant