rtld_malloc: increase overhead index to uint16

Reorder it with magic, to keep alignment.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D41150
This commit is contained in:
Konstantin Belousov 2023-07-25 15:54:45 +03:00
parent 6bb7f05850
commit d60130bf32

View file

@ -75,8 +75,8 @@ static caddr_t pagepool_start, pagepool_end;
union overhead {
union overhead *ov_next; /* when free */
struct {
u_char ovu_magic; /* magic number */
u_char ovu_index; /* bucket # */
uint16_t ovu_index; /* bucket # */
uint8_t ovu_magic; /* magic number */
} ovu;
#define ov_magic ovu.ovu_magic
#define ov_index ovu.ovu_index