Use the current page not he first page when working out whether to deactivate pages after syncing.
Use the current page not he first page when working out whether to
deactivate pages after syncing.

While here, don't check flags for PQ_INACTIVE (this is the only place
outside uvm_page.c where this is done) because pagedeactivate does this
already.

First part from Christian Ehrhart, second from me.

Both ok ariane@.

I meant to commit this about a week ago, but accidentally commited to my
local cvs mirror then forgot about it.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars