Re: [linux-usb-devel] Re: Linux 2.6.16-rc3



On Wed, Feb 15, 2006 at 04:52:43PM -0500, Alan Stern wrote:
On Wed, 15 Feb 2006, Greg KH wrote:

On Wed, Feb 15, 2006 at 05:35:08PM +0100, Arjan van de Ven wrote:
On Wed, 2006-02-15 at 08:27 -0800, Greg KH wrote:

Nah, I don't think it's a good idea. James's patch should work just
fine.

another option is to have a "kill list" which you put the thing on, and
then wake up a thread. only 2 pointers in the object ;(

Hm, that's almost what James's patch is trying to do. Care to mock up a
patch that shows this? It might be a simpler solution.

It won't work. You might have to do 2 put_device calls on the same
structure. That's why I suggested the "pending puts" counter; something
can't go on a list more than once.

It would only go on the list if the "put" was the last one. Otherwise
it would not make any sense to put it on any list.

thanks,

greg k-h
-
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/



Relevant Pages

  • ANN: Mock 0.4.0 released
    ... Mock 0.4.0 has just been released, the first release in about ten ... Mock makes simple mocking trivially easy. ... qualified name of the object you wish to patch, ... patch decorator split into two decorators: ...
    (comp.lang.python)
  • ANN: Mock 0.4.0 released
    ... Mock 0.4.0 has just been released, the first release in about ten ... Mock makes simple mocking trivially easy. ... qualified name of the object you wish to patch, ... patch decorator split into two decorators: ...
    (comp.lang.python.announce)
  • Re: [linux-usb-devel] Re: Linux 2.6.16-rc3
    ... that's almost what James's patch is trying to do. ... Care to mock up a ... That's why I suggested the "pending puts" counter; ... The underlying kobject can "know" that the put was the last one, ...
    (Linux-Kernel)
  • Re: [2.6.21 patch] unconditionally enable SYSFS_DEPRECATED
    ... how about the following patch. ... I proposed one such wording which some people took as a slam against ... There had been need of rain for many days. ...
    (Linux-Kernel)
  • Re: 2.6.24-rc4-mm1 kobject changes broken with hvcs driver on powerpc
    ... This patch does not seem correct. ... But 2.6.24-rc4-mm1 doesn't boot, ... ipr 0000:d0:01.0: Starting IOA initialization sequence. ...
    (Linux-Kernel)