Re: [patch] releasing kernel lock during copy_from/to_user

Chuck Lever (cel@monkey.org)
Mon, 24 May 1999 17:08:40 -0400 (EDT)


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/