HomeFreeBSD

amd64: implement pagezero using rep stos

Description

amd64: implement pagezero using rep stos

The current implementation uses non-temporal writes. This turns out to
be detrimental to performance if the page is used shortly after, which
is the typical case with page faults.

Switch to rep stos.

Reviewed by: kib
MFC after: 1 week

Details

Provenance
mjgAuthored on
Reviewer
kib
Parents
rS303582: Direct commit of adapted r303581.
Branches
Unknown
Tags
Unknown