Mailinglist Archive: opensuse-kernel (109 mails)

< Previous Next >
Re: [opensuse-kernel] novfs: replace MUTEX by sema functions
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Sun, 07 Mar 2010 16:18:55 -0500
  • Message-id: <4B94183F.8010009@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/07/2010 12:26 PM, Jean Delvare wrote:
On Sunday 07 March 2010 04:35:12 pm Jeff Mahoney wrote:
On 03/06/2010 02:21 PM, Jan Engelhardt wrote:
Avoid old MUTEX macros and use sema instead, which works
for both default and RT kernels.

No.

They aren't the "old MUTEX macros", they're used *everywhere* in the
regular kernel. If the RT kernel doesn't implement them, that's a bug in
the RT kernel, not novfs.

Err, no, DECLARE_MUTEX is for the old semaphore-backed-up mutexes, this _is_
old and deprecated and fortunately almost unused at this time, except in
staging drivers. I would love to see it die once and for all to remove all
the
remaining confusion. Definitely something for the kernel-janitors project.

Of course. You're right. I was thinking of DEFINE_MUTEX.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkuUGD8ACgkQLPWxlyuTD7KiVQCfdBjSzdR/jnrCQ5yr2QGC3p8K
bA0An3N2F+MLK0I9ex4+x26azzM+jCbo
=/81G
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >