* [PATCH] mm mremap freeze
@ 2002-10-21 16:14 Hugh Dickins
0 siblings, 0 replies; only message in thread
From: Hugh Dickins @ 2002-10-21 16:14 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-mm
mremap's move_one_page tried to lock src_page twice
#ifndef CONFIG_SHAREPTE (do I hear you hissing my disloyalty?)
--- 2.5.44-mm2/mm/mremap.c Mon Oct 21 12:57:53 2002
+++ linux/mm/mremap.c Mon Oct 21 16:46:58 2002
@@ -43,8 +43,8 @@
goto out_unlock;
src_page = pmd_page(*src_pmd);
- pte_page_lock(src_page);
#ifdef CONFIG_SHAREPTE
+ pte_page_lock(src_page);
/*
* Unshare if necessary. We unmap the return
* pointer because we may need to map it nested later.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-21 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 16:14 [PATCH] mm mremap freeze Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox