Thomas Gleixner 74fe1ad413 debugobjects: Prepare for batching
Move the debug_obj::object pointer into a union and add a pointer to the
last node in a batch. That allows to implement batch processing efficiently
by utilizing the stack property of hlist:

When the first object of a batch is added to the list, then the batch
pointer is set to the hlist node of the object itself. Any subsequent add
retrieves the pointer to the last node from the first object in the list
and uses that for storing the last node pointer in the newly added object.

Add the pointer to the data structure and ensure that all relevant pool
sizes are strictly batch sized. The actual batching implementation follows
in subsequent changes.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/all/20241007164914.139204961@linutronix.de
2024-10-15 17:30:32 +02:00
..
2024-09-26 11:54:40 -07:00
2024-09-19 10:18:15 +02:00
2024-09-20 18:28:26 +03:00
2024-10-15 17:30:32 +02:00
2024-09-19 11:28:51 +02:00
2024-09-17 10:48:09 +02:00
2024-09-14 09:09:59 +02:00
2024-09-29 09:35:10 -07:00
2024-09-27 12:10:45 -07:00
2024-09-25 14:15:04 +02:00