HomeFreeBSD

Address the remaining integer overflow issues with the "skip" parameters

Description

Address the remaining integer overflow issues with the "skip" parameters
and "next_skip" variables. The "skip" value in struct blist has long been
a 64-bit quantity but various functions have implicitly truncated this
value to 32 bits. Now, all arithmetic involving the "skip" value is 64
bits wide. (This should allow us to relax the size limit on a swap device
in the swap pager.)

Maintain the ability to test this allocator as a user-space application by
including <stdbool.h>.

Remove an unused variable from blst_radix_print().

Reviewed by: kib, markj
MFC after: 4 weeks
Differential Revision: https://reviews.freebsd.org/D11358

Details

Provenance
alcAuthored on
Reviewer
kib
Differential Revision
D11358: Another round of subr_blist.c fixes
Parents
rS320416: cxgbe/t4_tom: sbspace on listening sockets is no longer supported (as of
Branches
Unknown
Tags
Unknown