SMP locking for add_to_swap_cache()

Manfred Spraul (manfreds@colorfullife.com)
Thu, 11 Nov 1999 15:37:57 +0100


can I call add_to_swap_cache() without the big kernel lock, and with a
normal spinlock? This would simplify shm_swap().
AFAICS, 2.3.26 does not sleep in add_to_swap_cache, and it does not need
the big kernel lock.

--
	Manfred

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