lkml.org 
[lkml]   [1998]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmap() bug in 2.1.106
From
Date
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

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