It seems in -current pmap_activate() is called for the same lwp several times (actually I see it mostly called twice). Some pmaps optimize this case in MD code and avoid the heavy work. Should we expect/require this MD optimization, or could this better be avoided in MD code? Martin