• Tejun Heo's avatar
    percpu: make allocation failures more verbose · f2badb0c
    Tejun Heo authored
    Warn and dump stack when percpu allocation fails.  percpu allocator is
    still young and unchecked NULL percpu pointer usage can result in
    random memory corruption when combined with the pointer shifting in
    access macros.  Allocation failures should be rare and the warning
    message will be disabled after certain times.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    f2badb0c
percpu.c 60.8 KB