Loading kernel/smpboot.c +3 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <linux/percpu.h> #include <linux/kthread.h> #include <linux/smpboot.h> #include <linux/kmemleak.h> #include "smpboot.h" Loading Loading @@ -174,6 +175,8 @@ __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); if (!td) return -ENOMEM; kmemleak_not_leak(td); td->cpu = cpu; td->ht = ht; Loading Loading
kernel/smpboot.c +3 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ #include <linux/percpu.h> #include <linux/kthread.h> #include <linux/smpboot.h> #include <linux/kmemleak.h> #include "smpboot.h" Loading Loading @@ -174,6 +175,8 @@ __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); if (!td) return -ENOMEM; kmemleak_not_leak(td); td->cpu = cpu; td->ht = ht; Loading