lkml.org 
[lkml]   [1999]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: What protects cleanup_module() from open()?
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.700 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site