Re: mmap() bug in 2.1.106

Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
26 Jun 1998 13:15:21 +0200


Linus Torvalds <torvalds@transmeta.com> writes:

|> On 24 Jun 1998, Andreas Schwab wrote:
|> >
|> > What about the down() in the fault handler? It will usually be executed
|> > while the kernel lock is held. Or do i miss something?
|>
|> Actually, it will usually be executed with no lock held at all, as most
|> page faults by far happen from user mode..

This is true of course, what i wanted to say is that most of the
copy_{from,to}_user and {get,put}_user are executed while the kernel lock
is held.

Andreas.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu