lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 25 Mar 2008 21:16:31 -0700
FromGreg KH <>
SubjectRe: Fixing the main programmer thinko with the device model
On Tue, Mar 25, 2008 at 10:57:32AM +0100, Andi Kleen wrote:
> James Bottomley <James.Bottomley@HansenPartnership.com> writes:
> > 
> > That's true, but irrelevant (and also soon to be untrue if we get rid of
> > the scsi_device class as you and Kay keep requesting).  The two calls
> > release references on the actual embedded generic device, it's nothing
> > to do with entangled lifetime rules.
> 
> <heretic thought>Has anybody ever considered just doing away with 
> the problematic and bug prone and tricky reference counts for kobjects 
> and switch to a simple garbage collector for them?

Sure, I have no objection to that.  It's just that the reference count
"issue" really doesn't seem to be one on sanely designed busses :)

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-03-26 05:51    [from the cache]
©2003-2008