Re: GGI and cli/sti in X

Pavel Machek (pavel@elf.ucw.cz)
Sun, 29 Mar 1998 14:10:51 +0200


Hi!

> > I get 5 or 6 ughs everytime somone runs X onmy system so I'd say your
> > correct, the ughs are allways in do_page_fault. The ughs are normal on
> > any system I've seen with < 16 megs ram. The every once and a while
>
> The "Ugh" is logging the fact someone attempted to handle a page fault while
> having interrupts disabled. This is an extremely bad thing. There are two causes
>
> 1. Incorrect kernel code (I think most of these are now dead)
> 2. Some user process as root which has the misguided idea it can disable
> interrupts after using the iopl() syscall. Well it can't. Not unless
> its prepaged everything it needs and mlock()'d those pages

XF86 3.1.2 (latest I have convient access to) does *not* do *any*
cli()/sti()'s. At least in os-dependend section disable_interrupts()
is empty function.

> so its either a kernel or an X bug.

...so I doubt this is X bug. It would be nice if some X hacker joined
this debate...

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu