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

Andrea Arcangeli (andrea@suse.de)
Mon, 24 May 1999 16:27:54 +0200 (CEST)


On Mon, 24 May 1999, Manfred Spraul wrote:

>1) serving 1 131 byte file over the network.

I think that checking the size of the copy-user before release the lock
should fix the 131 testcase.

>3) serving 1 100 kB file (client & server on the same computer) - 2.2.9:
>300.000 kernel-lock's
> no clear max, one weak max at 2048
>- andrea: 1.5 million.
> max at ~ 400 ticks
>andrea was ~ 20% faster (2.2.9: 28 MByte/s transfer, andrea: 35)

Good.

Thanks.

Andrea Arcangeli

PS. Comparing 2.2.9 and 2.3.3_andrea4 is not fair though since there are
too much unrelated changes. I think I'll send you a patch to try out the
unlocking code alone.

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