[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46264201.3060007@gmail.com>
Date: Thu, 19 Apr 2007 01:06:25 +0900
From: Tejun Heo <htejun@...il.com>
To: Cornelia Huck <cornelia.huck@...ibm.com>
CC: linux-kernel <linux-kernel@...r.kernel.org>,
Alan Stern <stern@...land.harvard.edu>,
Greg K-H <greg@...ah.com>,
Rusty Russell <rusty@...tcorp.com.au>,
dmitry.torokhov@...il.com
Subject: Re: [PATCH RFD] alternative kobject release wait mechanism
Cornelia Huck wrote:
> On Wed, 18 Apr 2007 03:41:10 +0900,
> Tejun Heo <htejun@...il.com> wrote:
>
> <patch>
>
> OK, I hit a bit on the code. Once I saved a reference to the completion
> in kobject_cleanup, it seemed to survive a load/unload testloop for a
> module registering a device. However, I still dislike this "list of
> waiters" approach, it looks too complex...
Heh heh, I'm amazed it actually works. Agreed that the list walking
isn't pretty but adding completion to each kobject still feels like too
much of overhead just for release waiting. Any better ideas?
Thanks.
--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists