lkml.org 
[lkml]   [1998]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: GGI and cli/sti in X
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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.203 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site