[lkml]   [1999]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] releasing kernel lock during copy_from/to_user
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)



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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [W:0.208 / U:0.856 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site