[Mesa-dev] [PATCH] os: add spinlocks

Patrick Baggett 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:
>
>> Hmm,
>>
>> 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?
>
> Marek
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101215/715b2596/attachment.htm>


More information about the mesa-dev mailing list