[Mesa-dev] [PATCH] os: add spinlocks
maraeo at gmail.com
Wed Dec 15 00:23:51 PST 2010
On Tue, Dec 14, 2010 at 8:10 PM, Thomas Hellstrom <thellstrom at vmware.com>wrote:
> for the uninformed, where do we need to use spinlocks in gallium and how do
> we avoid using them on an UP system?
I plan to use spinlocks to guard very simple code like the macro
remove_from_list, which might be, under some circumstances, called too
often. Entering and leaving a mutex is quite visible in callgrind.
What does UP stand for?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev