diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-19 17:52:52 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-19 21:19:10 +0200 |
commit | 06963f96b363680380f83ccbb073d7e42f811afd (patch) | |
tree | f4281dd0e8e12e6af88776157924f902df920526 /lib/string.h | |
parent | 67fe3d096d57760af5f412240aaf79d63f5bbb44 (diff) |
Typed lists keep an explicit pointer to the list head.
This change adds one pointer worth of memory to every list node.
Keeping this information helps auditing the lists, checking that the
node indeed is outside of list or inside the right one.
The typed lists shouldn't be used anywhere with memory pressure anyway,
thus the one added pointer isn't significant.
Diffstat (limited to 'lib/string.h')
0 files changed, 0 insertions, 0 deletions