Could not allocate 40960 bytes percpu data

Posted mull

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not allocate 40960 bytes percpu data相关的知识,希望对你有一定的参考价值。

2017-10-01 21:40:56
[  176.700091] vif: Could not allocate 40960 bytes percpu data
[  263.762812] percpu: allocation failed, size=16384 align=32 atomic=0, alloc from reserved chunk failed
[  263.762829] CPU: 0 PID: 717 Comm: insmod Tainted: P        W  O    4.9.51-1300 #69
[  263.762831] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, Bios 6.00 07/31/2013
[  263.762836]  0000000000000000 ffffffffad22516b ffff9cb3bb410d98 ffff9cb3bb7fe640
[  263.762843]  ffffffffad737c20 ffffffffad106b11 ffff9cb337532e18 00000000000007f8
[  263.762848]  0000000000000246 0000000000000020 ffffb3b540fdf2c8 ffffb3b540f99880
[  263.762853] Call Trace:
[  263.762888]  [<ffffffffad22516b>] ? dump_stack+0x47/0x5c
[  263.762899]  [<ffffffffad106b11>] ? pcpu_alloc+0x581/0x600
[  263.762907]  [<ffffffffad03a608>] ? module_alloc+0x78/0xc0
[  263.762913]  [<ffffffffad0acfd7>] ? load_module+0xb17/0x20c0
[  263.762918]  [<ffffffffad11b714>] ? map_vm_area+0x34/0x50
[  263.762923]  [<ffffffffad11c189>] ? __vmalloc_node_range+0x149/0x210
[  263.762926]  [<ffffffffad0ae63d>] ? SyS_init_module+0xbd/0x140
[  263.762929]  [<ffffffffad0ae6a6>] ? SyS_init_module+0x126/0x140
[  263.762943]  [<ffffffffad589ae0>] ? entry_SYSCALL_64_fastpath+0x13/0x94
[  263.762947] vif: Could not allocate 16384 bytes percpu data
~ #
http://www.360doc.com/content/15/0916/18/97538_499571595.shtml

ko中如何有如下:
DEFINE_PER_CPU(int[0x1000], my_per_cpu);
则报如上:oops
改为:
static PER_CPU(int[0x1000], my_per_cpu);
则不在报

以上是关于Could not allocate 40960 bytes percpu data的主要内容,如果未能解决你的问题,请参考以下文章

Query Errors ‘ORA-12850: Could Not Allocate Slaves On All Specified Instances‘ (Doc ID 2388821.1)

Unity 报错之 打包安卓闪退 Could not allocate memory: System out of memory

Unity 报错之 打包安卓闪退 Could not allocate memory: System out of memory

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac‘ Could not resolve all

IO 异常:The Network Adapter could not establish the connection 怎么解决