Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model core

From: Linus Torvalds (torvalds_at_osdl.org)
Date: 01/23/04

  • Next message: Pascal Schmidt: "Re: [PATCH] make ide-cd handle non-2kB sector sizes"
    Date:	Fri, 23 Jan 2004 09:42:09 -0800 (PST)
    To: Alan Stern <stern@rowland.harvard.edu>
    
    

    On Fri, 23 Jan 2004, Alan Stern wrote:
    >
    > Since I haven't seen any progress towards implementing the
    > class_device_unregister_wait() and platform_device_unregister_wait()
    > functions, here is my attempt.

    So why would this not deadlock?

    The reason we don't wait on things like this is that it's basically
    impossible not to deadlock.

    There are damn good reasons why the kernel uses reference counting
    everywhere. Any other approach is broken.

                    Linus
    -
    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/


  • Next message: Pascal Schmidt: "Re: [PATCH] make ide-cd handle non-2kB sector sizes"

    Relevant Pages