diff options
author | Liu Shixin <[email protected]> | 2023-10-23 10:51:25 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-10-25 16:47:13 -0700 |
commit | 245245c2fffd0050772a3f30ba50e2be92537a32 (patch) | |
tree | d1dda12ec9c4f239beb7c8fe3f8f0035dcd5147e /tools/perf/scripts/python/gecko.py | |
parent | 5e4fc577db2514fee3cc2729415d0e2589d5d056 (diff) |
mm/kmemleak: move the initialisation of object to __link_object
In patch (mm: kmemleak: split __create_object into two functions), the
initialisation of object has been splited in two places. Catalin said it
feels a bit weird and error prone. So leave __alloc_object() to just do
the actual allocation and let __link_object() do the full initialisation.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liu Shixin <[email protected]>
Suggested-by: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions