[Mesa-dev] [PATCH 1/4] i965: Convert brw_bufmgr to use C11 mutexes instead of pthreads.

Kenneth Graunke kenneth at whitecape.org
Sun Sep 24 17:37:25 UTC 2017


On Sunday, September 24, 2017 7:36:17 AM PDT Jason Ekstrand wrote:
> On September 24, 2017 01:02:21 Kenneth Graunke <kenneth at whitecape.org> wrote:
> > There's no real advantage or disadvantage here, it's just for stylistic
> > consistency with the rest of the codebase.
> 
> Didn't Kristian do a bunch of work done time ago to make mutexes faster by 
> not using pthread on Linux?  If so, this should be an unnoticeable 
> performance improvement.
> 
> --Jason

Kristian did a bunch of work that never landed.  krhmutex~1 of my tree
has his patch - IIRC it got review feedback that was never addressed.

Someone should probably revive that.  radeonsi might get more of a boost
at this point...

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170924/f9283bed/attachment.sig>


More information about the mesa-dev mailing list