Re: weird X problem - priority inversion?

From: Lee Revell
Date: Fri May 27 2005 - 09:08:18 EST


On Mon, 2005-05-23 at 01:11 -0700, David Lang wrote:
> remember that the low pri screensaver is just generating the image to be
> displayed, it's the high pri X server that's actually doing the work to
> display it.

Then there needs to be some mechanism to handle it, either in X or the
kernel. Other OSes do not require you to turn off the screensaver to
avoid a DoS - they do the obvious thing and run the screensaver at the
lowest priority.

The problem may be software 3D rendering (I did not have the VIA driver
enabled as I did not realize it was in the kernel yet). Maybe the X
server should do the work in a low priority thread. But it sure
shouldn't DoS the system. Other OSes do not have this problem.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/