Willy Tarreau 004b445c58 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.

(cherry picked from commit 6df10d872b84121b4d0e1fbd7bf91fd8defb3680)
Signed-off-by: Willy Tarreau <w@1wt.eu>
2022-09-01 08:38:18 +02:00
..