commit | 6df10d872b84121b4d0e1fbd7bf91fd8defb3680 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 12 07:50:43 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 12 11:18:46 2022 +0200 |
tree | 55d2e5a10cacbd53e8405f36f9c57d270ed048f9 | |
parent | 8df098c2b1fb9d73b55c27a4b4dcd47690493d26 [diff] |
MINOR: ring: support creating a ring from a linear area Instead of allocating two parts, one for the ring struct itself and one for the storage area, ring_make_from_area() will arrange the two inside the same memory area, with the storage starting immediately after the struct. This will allow to store a complete ring state in shared memory areas for example.