]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disable interrupts after using pmap_enter() to add the identity mapping.
authorNate Lawson <njl@FreeBSD.org>
Thu, 19 Aug 2004 18:48:17 +0000 (18:48 +0000)
committerNate Lawson <njl@FreeBSD.org>
Thu, 19 Aug 2004 18:48:17 +0000 (18:48 +0000)
commitd3bdd24ea9577d293cf2a9bba8a7640479b41ab3
tree2dbc80a05316cd2ecd618dc4ba492ee5fb172267
parent50ab727669fb0885f09b8c361e0a63b11ea23acd
Disable interrupts after using pmap_enter() to add the identity mapping.
Since pmap_enter() calls pmap_invalidate_page(), which needs interrupts
enabled in the SMP case, we defer the disable to right before saving the
register context.  This has been incorrect for about a year but caused no
real problems because the identity page never actually replaces a previously
mapped page and suspend/resume on SMP systems has been uncommon.

Tested by: sos
MFC after: 3 days
sys/i386/acpica/acpi_wakeup.c