diff options
author | 2023-10-23 10:51:25 +0800 | |
---|---|---|
committer | 2023-10-25 16:47:13 -0700 | |
commit | 245245c2fffd0050772a3f30ba50e2be92537a32 (patch) | |
tree | d1dda12ec9c4f239beb7c8fe3f8f0035dcd5147e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/kmemleak: fix partially freeing unknown object warning (diff) | |
download | wireguard-linux-245245c2fffd0050772a3f30ba50e2be92537a32.tar.xz wireguard-linux-245245c2fffd0050772a3f30ba50e2be92537a32.zip |
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/20231023025125.90972-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions