mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
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:
parent
6bb7f05850
commit
d60130bf32
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue