Re: Why does sys_fsync have a lock_kernel around it?

Andrea Arcangeli (andrea@suse.de)
Mon, 25 Oct 1999 03:09:43 +0200 (CEST)


On Sun, 24 Oct 1999, Hans Reiser wrote:

>Since we are moving to an SMP kernel, and since we dropped locks in
>other places around other FS operations, wouldn't it be more consistent
>and cleaner coding to not lock any call before the FS gets passed it?

Definitely. This because to drop the lock in the right way you can't
simply unlock_kernel() (as the kernel lock is recursive).

Andrea

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