Re: [PATCH 1/2] Video: fb, add true ref_count atomicity

From: Denis Oliver Kropp
Date: Thu Feb 08 2007 - 18:27:33 EST


Jiri Slaby wrote:
video/fb, add true ref_count atomicity

Some of fb drivers uses atomic_t in bad manner, since there are still some
race-prone gaps. Use mutexes to protect open/close code sections with
ref_count testing and finally use simple uint.

Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>

Acked-by: Denis Oliver Kropp <dok@xxxxxxxxxxxx>

--
Best regards,
Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
'------------------------------------------'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/