Re: kernel_lock() profiling results

Stephen C. Tweedie (sct@redhat.com)
Wed, 26 May 1999 17:34:38 +0100 (BST)


Hi,

On Sun, 23 May 1999 16:30:52 +0200, Manfred Spraul
<manfreds@colorfullife.com> said:

> Shouldn't we change file_read_actor() [mm/filemap.c, the function which
> copies data from the page cache to user mode]:
> we could release the kernel lock if we copy more than 1024 bytes.
> (we currently do that only if the user mode memory is not paged in.)

ftp://ftp.uk.linux.org/pub/linux/sct/performance

contains a patch Dave Miller and I put together to drop the kernel lock
during a number of key user mode copies.

--Stephen

-
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/