summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-12-02 13:52:59 +0300
committerIngo Molnar <mingo@kernel.org>2024-12-02 13:52:59 +0300
commitbcfd5f644c5b933cfb3c488220e40a03e011e8a4 (patch)
tree66717ce2352b3e9a14b94ffe804db93b073eb525 /include/linux/debugobjects.h
parentfaac6f105ef169e2e5678c14e1ffebf2a7d780b6 (diff)
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
downloadlinux-bcfd5f644c5b933cfb3c488220e40a03e011e8a4.tar.xz
Merge tag 'v6.13-rc1' into perf/core, to refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
-rw-r--r--include/linux/debugobjects.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/debugobjects.h b/include/linux/debugobjects.h
index 32444686b6ff..8b95545e7924 100644
--- a/include/linux/debugobjects.h
+++ b/include/linux/debugobjects.h
@@ -23,13 +23,17 @@ struct debug_obj_descr;
* @state: tracked object state
* @astate: current active state
* @object: pointer to the real object
+ * @batch_last: pointer to the last hlist node in a batch
* @descr: pointer to an object type specific debug description structure
*/
struct debug_obj {
- struct hlist_node node;
- enum debug_obj_state state;
- unsigned int astate;
- void *object;
+ struct hlist_node node;
+ enum debug_obj_state state;
+ unsigned int astate;
+ union {
+ void *object;
+ struct hlist_node *batch_last;
+ };
const struct debug_obj_descr *descr;
};