Kernel lock order

Zoltan Menyhart (Zoltan.Menyhart@bull.net)
Fri, 28 Jun 2002 15:29:33 +0200


Is there a list describing the lock hierarchy ?
If not:
Does do_swap_page() (in mm/memory.c) release mm->page_table_lock because
one cannot hold this lock when lookup_swap_cache() ... __find_get_page()
takes pagecache_lock ? Or does it do only for shorten the locked path ?
(Can I keep mm->page_table_lock when I call __find_get_page() ?)

Thanks,

Zoltan Menyhart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/