Merge yamt-pf42 branch. (import newer pf from OpenBSD 4.2) ok'ed by peter@. requested by core@ [YAMAMOTO Takashi]
Don't try to standby on a lid_switch pressed event, this has a few problems: [Jared D.
McNeill]
1. ACPI S1 doesn't work properly for many people on NetBSD
2. It prevents someone from using their laptop with an external display
Make pmap_extract() lockless.
Reviewed by chs@ who reports a ~1% reduction in system time during a kernel build on a quad core amd64 system.
[Andrew Doran]