]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r344042:
authorpfg <pfg@FreeBSD.org>
Wed, 20 Feb 2019 14:12:25 +0000 (14:12 +0000)
committerpfg <pfg@FreeBSD.org>
Wed, 20 Feb 2019 14:12:25 +0000 (14:12 +0000)
commit214986293479574b25f4f9182d4f5a38f7216ad9
tree7998a81a62e5bbc2d97f03d7ed4053bf6c3db941
parent8a87b93aa95ade616b14d2f9348dbf70bfb9ae4a
MFC r344042:
UMA: unsign some variables related to allocation in hash_alloc().

As a followup to r343673, unsign some variables related to allocation
since the hashsize cannot be negative. This gives a bit more space to
handle bigger allocations and avoid some implicit casting.

While here also unsign uh_hashmask, it makes little sense to keep it
signed.

Differential Revision: https://reviews.freebsd.org/D19148
sys/vm/uma_core.c
sys/vm/uma_int.h