percpu allocation failures

From: Luis Henriques
Date: Tue Sep 26 2017 - 11:37:58 EST


Hi,

Probably already reported, but I couldn't find anything so here it
goes:

starting with 4.14-rc1 I see the following during boot:

[ 25.199053] percpu: allocation failed, size=16 align=16 atomic=0, alloc from reserved chunk failed
[ 25.200195] CPU: 5 PID: 723 Comm: modprobe Tainted: G E 4.14.0-rc2 #103
[ 25.201290] Hardware name: Dell Inc. Precision 5510/0N8J4R, BIOS 1.2.25 05/07/2017
[ 25.202430] Call Trace:
[ 25.203509] dump_stack+0x63/0x89
[ 25.204364] pcpu_alloc+0x5cd/0x5f0
[ 25.205302] __alloc_reserved_percpu+0x18/0x20
[ 25.206355] load_module+0x733/0x2c00
[ 25.207444] ? kernel_read_file+0x1a3/0x1d0
[ 25.208596] SYSC_finit_module+0xfc/0x120
[ 25.209634] ? SYSC_finit_module+0xfc/0x120
[ 25.210733] SyS_finit_module+0xe/0x10
[ 25.211747] entry_SYSCALL_64_fastpath+0x1e/0xa9
[ 25.212763] RIP: 0033:0x7f70d9e86219
[ 25.213508] RSP: 002b:00007ffcd3ff8f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 25.214391] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f70d9e86219
[ 25.215107] RDX: 0000000000000000 RSI: 00005642ddf158cc RDI: 0000000000000000
[ 25.215949] RBP: 00007ffcd3ff7f30 R08: 0000000000000000 R09: 0000000000000001
[ 25.216592] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
[ 25.217194] R13: 00005642de3d65f0 R14: 00007ffcd3ff7f10 R15: 0000000000000005
[ 25.217812] nft_meta: Could not allocate 16 bytes percpu data

A few more failures follow.

A bisect ended up with the merge commit a7cbfd05f427 ("Merge branch
'for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu").

Cheers,
--
Luis