gh-92953: Improve nextpool/prevpool comment. (gh-125545)

The meaning of these links depends on which list the pool is part of.
They are only the same size class if on the "usedpools" list.
This commit is contained in:
Neil Schemenauer 2024-10-15 11:47:20 -07:00 committed by GitHub
parent aac89b54c5
commit 206de4155b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -255,8 +255,8 @@ struct pool_header {
union { pymem_block *_padding;
uint count; } ref; /* number of allocated blocks */
pymem_block *freeblock; /* pool's free list head */
struct pool_header *nextpool; /* next pool of this size class */
struct pool_header *prevpool; /* previous pool "" */
struct pool_header *nextpool; /* see "Pool table" for meaning */
struct pool_header *prevpool; /* " */
uint arenaindex; /* index into arenas of base adr */
uint szidx; /* block size class index */
uint nextoffset; /* bytes to virgin block */