Re: [patch] Yenta module race condition

From: David Hinds (dhinds@valinux.com)
Date: Thu May 04 2000 - 15:47:19 EST


> No, the right solution (in my opinion) is to
> - link yenta.o and pci_socket.o into _one_ object file (somewhat like the
> other pcmcia object files are packaged together)

Agreed.

> - 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.

-- Dave

-
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:15 EST