lkml.org 
[lkml]   [2008]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/7] convert semaphore to mutex in struct class
On Jan 7, 2008 4:45 PM, Greg KH <gregkh@suse.de> wrote:
> On Mon, Jan 07, 2008 at 10:09:44AM +0800, Dave Young wrote:
> >
> > Thanks for your comment, I rewrite it for 2.6.24-rc7 as a all-in-one
> > patch, please see following. Drop i2c maintainer and list in cc
> > because there's no changes about i2c in this patch:
> >
> > Convert semaphore to mutex in struct class
>
> Most of the non-driver core code should be converted to not use the
> lock in the class at all. They should use a local lock instead.
>
> So how about a patch series that removes the usage of the current
> semaphore from the different drivers, and then, a single patch that
> converts the semaphore to mutex in the class code, it should not touch
> anything outside of the drivers/base/ directory (not including the
> driver.h file.)
>
> Sound reasonable?

looks like a better aproach, let me take a look ...

>
> thanks,
>
> greg k-h
>


\
 
 \ /
  Last update: 2008-01-07 11:03    [W:0.063 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site