Re: request_module rehash

From: David Woodhouse (dwmw2@infradead.org)
Date: Sun Jan 16 2000 - 13:56:49 EST


tigran@sco.COM said:
> see, the above does the second check only if the module successfully
> loaded because there is no way for some feature to be added to the
> kernel otherwise.

What if another CPU loads the module between the first check and the
request_module()? Then request_module() will fail because the module's already
loaded, won't it?

--
dwmw2

- 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 Jan 23 2000 - 21:00:14 EST