Messages in this thread | | | Date | Thu, 11 Nov 1999 20:19:09 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: SMP locking for add_to_swap_cache() |
| |
On Thu, 11 Nov 1999, Manfred Spraul wrote:
> 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.
yes - i believe this should be done as part of threading the swapping code completely: protect the swap map with a spinlock, etc.
-- mingo
- 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/
| |