Skip to content
Commit f2badb0c authored by Tejun Heo's avatar Tejun Heo
Browse files

percpu: make allocation failures more verbose



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>
parent 635b75fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment