HomeFreeBSD

arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE

Description

arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE

We do not consider the space reserved for the pcb to be part of the
total kstack size, so it should not be included in the calculation of
the used stack size.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
mhorneAuthored on Nov 30 2021, 3:15 PM
Parents
rG8bc792b3845e: i386: take pcb and fpu area into account in GET_STACK_USAGE
Branches
Unknown
Tags
Unknown