- Release the rmap list lock also, if the address is in kernel space.

svn path=/trunk/; revision=4727
This commit is contained in:
Hartmut Birr 2003-05-19 15:58:09 +00:00
parent 7e921a40c1
commit 58781325ac

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: rmap.c,v 1.16 2003/05/17 13:46:05 hbirr Exp $
/* $Id: rmap.c,v 1.17 2003/05/19 15:58:09 hbirr Exp $
*
* COPYRIGHT: See COPYING in the top directory
* PROJECT: ReactOS kernel
@ -109,6 +109,7 @@ MmWritePagePhysicalAddress(PHYSICAL_ADDRESS PhysicalAddress)
}
else
{
ExReleaseFastMutex(&RmapListLock);
AddressSpace = MmGetKernelAddressSpace();
}
@ -247,6 +248,7 @@ MmPageOutPhysicalAddress(PHYSICAL_ADDRESS PhysicalAddress)
}
else
{
ExReleaseFastMutex(&RmapListLock);
AddressSpace = MmGetKernelAddressSpace();
}