[ros-kernel] TEB offsets wrong - suggested fix - feedback pls

Mike Nordell tamlin at algonet.se
Thu Feb 5 18:52:31 CET 2004


Royce Mitchell III wrote:

> The merits of the opengl function table being in the TEB has been argued
> in great detail in linux circles, and I don't wish to engage in it here.

Fair enough. Could you share a pointer or two, just for reference?

> It's how MS does it, and opengl performance is important because gaming
> is going to be a large market for ReactOS.

Should the function pointer vector not be "inlined" into the TEB, an extra
indirection is probably (note I leave a door open here for uncertainty) not
even measurable in context of the time an average OpenGL call uses.

I'd love to be proved wrong - with empirical data. :-)

But, what the hey, we're still within one single page, why designing it
otherwise wouldn't result in a smaller memory fotprint - just a more clean
design.

/Mike



More information about the Ros-kernel mailing list