HomeFreeBSD

vm: stop trylocking page queues in vm_page_pqbatch_submit

Description

vm: stop trylocking page queues in vm_page_pqbatch_submit

About 11 minutes of poudriere -s -j 104 and probing on return value of
trylocks reveals that over 10% of attempts fail, which in turn means
there are more atomics performed than necessary.

Trylocking was there to try preventing migration, but it's not very likely
to happen if the lock is uncontested.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21925

Details

Provenance
mjgAuthored on Oct 7 2019, 11:19 PM
Parents
rGb8a6e03fac92: Widen NET_EPOCH coverage.
Branches
Unknown
Tags
Unknown

Event Timeline