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

2007-02-08 Thread Denis Oliver Kropp
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 <[EMAIL PROTECTED]>

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

2007-02-08 Thread Denis Oliver Kropp
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 [EMAIL PROTECTED]

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

2007-02-07 Thread Jiri Slaby
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 <[EMAIL PROTECTED]> --- commit

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

2007-02-07 Thread Jiri Slaby
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 [EMAIL PROTECTED] --- commit