Re: [patch] Yenta module race condition

From: Keith Owens (kaos@ocs.com.au)
Date: Thu May 04 2000 - 20:15:33 EST


On Thu, 4 May 2000 13:47:19 -0700,
David Hinds <dhinds@valinux.com> wrote:
>> - make the threads increment the module counters on entry, and
>> decrement them on exit
>
>It would be nice if "rmmod" could trigger the threads to exit. Maybe
>yenta_close() could sleep on a semaphore until the threads are dead.

Would a post-remove action in /etc/modules.conf do the trick?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:16 EST