[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel_lock() profiling results



Hi,

On Wed, 26 May 1999 19:41:11 +0200, Manfred Spraul
<manfreds@colorfullife.com> said:

> 1) Andrea noticed that 'unlock_kernel()' only releases the kernel lock
> if the lock was obtained once.

Yes, but in all the places we are currently doing the copy_*_user, we
only hold the lock once.  In general we might want to do a true
save/restore of lock_depth for a new, self-unlocking copy_*_user, but
right now the droplock diffs still do the right thing the simple way.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/