lkml.org 
[lkml]   [1999]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] releasing kernel lock during copy_from/to_user
On Mon, 24 May 1999, Manfred Spraul wrote:
> My current guess:
> - the string routines are to fast--> do not unlock
> - clear_page(): 4000-6000 ticks --> unlock
> - copy_to/from_user(): release if more than (n) bytes
> - clear_user(): ??
> - cksum...(): probably, perhaps if more than (x) bytes.

would it be safe/useful to unlock temporarily in the COW routines, like
do_wp_page() ?

- Chuck Lever
--
corporate: <chuckl@netscape.com>
personal: <chucklever@netscape.net> or <cel@monkey.org>

The Linux Scalability project:
http://www.citi.umich.edu/projects/linux-scalability/


-
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:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog