lkml.org 
[lkml]   [2004]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: switch ide-proc to use the ide_key functionality
On Tue, Aug 17, 2004 at 08:06:22AM -0400, Alan Cox wrote:
> I'll have a look at what occurs if we make the ->key functions ref count
> and add "put" functions. I think that can be made to work cleanly without
> changing the rest of the code to refcounts at the same time. It'll still need
> some locking because of the memset. We would still have keys but we'd
> refcount usage off them as a starting point.

Ok fixed this by using the cfg_sem. refcounting breaks the non refcounted
code and its assumptions (good bad or otherwise). I've dropped the locking
in in such a way as switching to refcounts later is easier.

Alan

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

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.038 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site