[Mesa-dev] [PATCH] os: add spinlocks
baggett.patrick at gmail.com
Wed Dec 15 00:42:52 PST 2010
UP = Uniprocessor system, (S)MP = (Symmetric) multiprocessor system.
On Wed, Dec 15, 2010 at 2:23 AM, Marek Olšák <maraeo at gmail.com> wrote:
> 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
>> 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?
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev