MFC r259244:
Allow pmap_remove_pages() to be called for physical maps not
associated with the current thread.
MFC r259441:
Properly drain the TTY when both revoke(2) and close(2) end up closing
the TTY.