diff options
author | Tejun Heo <tj@kernel.org> | 2009-09-28 20:17:58 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-09-28 20:17:58 -0400 |
commit | f2badb0c950ed308be9b321203b9c8d341690cd4 (patch) | |
tree | 5da0e7493192f97be604e257fd10847ae3a27504 /mm/init-mm.c | |
parent | 635b75fc18858d3522e481c043de764766db923c (diff) |
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: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions