<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/asm-generic/mutex-null.h, branch linux-2.6.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2006-01-09T23:59:17Z</updated>
<entry>
<title>[PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations</title>
<updated>2006-01-09T23:59:17Z</updated>
<author>
<name>Ingo Molnar</name>
</author>
<published>2006-01-09T23:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=620a6fd185c084aa617c411f711533f01ea673c9'/>
<id>urn:sha1:620a6fd185c084aa617c411f711533f01ea673c9</id>
<content type='text'>
Add three (generic) mutex fastpath implementations.

The mutex-xchg.h implementation is atomic_xchg() based, and should
work fine on every architecture.

The mutex-dec.h implementation is atomic_dec_return() based - this
one too should work on every architecture, but might not perform the
most optimally on architectures that have no atomic-dec/inc instructions.

The mutex-null.h implementation forces all calls into the slowpath. This
is used for mutex debugging, but it can also be used on platforms that do
not want (or need) a fastpath at all.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Arjan van de Ven &lt;arjan@infradead.org&gt;
</content>
</entry>
</feed>
