Google
  Web www.spinics.net

Dispatching and scheduling--basic questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello,

I have pulled the Xorg code from Git, and am trying to get oriented,
and get an idea of what I might be getting myself into. :-)

In response to Adam and Tiago's emails, I'm looking at the dispatching
and scheduling code, respectively. The most relevant file *seems* to
be xserver/dix/dispatch.c, though grep pulls up some stuff under
xserver/Xext and xserver/Xi. Any other relevant code I'm missing?

I believe it was mentioned that XCB has some examples of what the
re-written dispatch code should look like; I need to pull that down
next.

I have to ask, though: Why does Xorg even have its own scheduler?
Unless I am completely misunderstanding its purpose, it seems like
this should be pushed off to the OS via pthread. Is this a way of
sidestepping concurrency issues by forcing everything to run in one
thread at the kernel level?

The more I look at X11, the more it looks like a second kernel in userspace. :-)

Finally, is there any good documentation that I don't know about?
There are some decent docs on Mesa and DRI if you dig a bit, but I'm
not seeing a whole lot on the server itself. I'll happily shut up and
RTFM if I can just find the "FM". :-)

Thanks for your time.

-- 
William Tracy
afishionado@xxxxxxxxx -- wtracy@xxxxxxxxxxx

"We need a special holiday to honor the countless kind souls with
unsecured networks named 'linksys'."
 -- Randall Munroe
_______________________________________________
xorg mailing list
xorg@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/xorg

[X Forum]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux