Re: [PATCH net-next] net: ethtool: silence kmalloc warning

2017-01-30 Thread David Miller
From: Alexei Starovoitov Date: Sat, 28 Jan 2017 17:17:05 -0800 > under memory pressure 'ethtool -S' command may warn: > [ 2374.385195] ethtool: page allocation failure: order:4, mode:0x242c0c0 ... > ~1160 mlx5 counters ~= order 4 allocation which is unlikely to succeed > under memory pressure.

[PATCH net-next] net: ethtool: silence kmalloc warning

2017-01-28 Thread Alexei Starovoitov
under memory pressure 'ethtool -S' command may warn: [ 2374.385195] ethtool: page allocation failure: order:4, mode:0x242c0c0 [ 2374.405573] CPU: 12 PID: 40211 Comm: ethtool Not tainted [ 2374.423071] Call Trace: [ 2374.423076] [] dump_stack+0x4d/0x64 [ 2374.423080] [] warn_alloc_failed+0xeb/0x15