Messages in this thread | | | Subject | Re: What protects cleanup_module() from open()? | Date | Tue, 30 Nov 1999 19:28:16 +0000 (GMT) | From | Alan Cox <> |
| |
> How is it OK on 2.2? That was the source I was looking at, I couldn't see > anything that held the kernel lock during the open.
sys_open()
> It was most likely fine in 2.0, where everything was under one big kernel > lock. I just didn't see where 2.2 was protected.
In 2.2 sys_open and the module functions happen to do the needed locking
- 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/
| |