lkml.org 
[lkml]   [2007]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFD] alternative kobject release wait mechanism
    On Wed, 18 Apr 2007 03:49:01 +0900,
    Tejun Heo <htejun@gmail.com> wrote:

    > Oh, one more thing, with proper code audit, we can just make
    > device_unregister() do the waiting instead of adding separate
    > device_unregister_wait(). I think that will be a good step toward
    > immediate-detach driver model.

    Do we really want that? If the release function doesn't sit in the
    module, or if the device_unregister() is done for other reasons in a
    non-module, we don't care about lingering references. There's no need
    to wait (and possibly lock up) there.
    -
    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: 2007-04-18 10:11    [W:2.870 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site