[11407.174501] ppp_policy_timer_handle:helcfg ok
[12573.704375] ppp_policy_timer_handle:helcfg ok
[36442.147191] ppp_policy_timer_handle:helcfg ok
[36442.283160] BUG: scheduling while atomic: xxagent/79028/0x10000200
[36442.294891] Modules linked in: xxdefend(OE) tcp_lp fuse xt_addrtype br_netfilter xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun devlink ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat iptable_mangle iptable_security iptable_raw nf_conntrack ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter vmw_vsock_vmci_transport vsock overlay(T) sunrpc snd_seq_midi snd_seq_midi_event snd_ens1371 snd_rawmidi ppdev snd_ac97_codec ac97_bus snd_seq vmw_balloon snd_seq_device snd_pcm iosf_mbi snd_timer crc32_pclmul snd ghash_clmulni_intel
[36442.294926] cryptd joydev soundcore pcspkr sg parport_pc parport vmw_vmci i2c_piix4 shpchp ip_tables xfs libcrc32c vmwgfx sr_mod drm_kms_helper cdrom sd_mod crc_t10dif crct10dif_generic ata_generic pata_acpi syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm crct10dif_pclmul crct10dif_common crc32c_intel serio_raw mptspi scsi_transport_spi nfit mptscsih libnvdimm e1000 ata_piix libata mptbase i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: xxdefend]
[36442.300624] Kernel panic - not syncing: scheduling while atomic
[36442.303139] CPU: 0 PID: 79028 Comm: xxagent Kdump: loaded Tainted: G OE ------------ T 3.10.0-862.el7.x86_64 #1
[36442.303144] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/13/2018
[36442.303145] Call Trace:
[36442.388085] [<ffffffff9930d768>] dump_stack+0x19/0x1b
[36442.388097] [<ffffffff99307a6a>] panic+0xe8/0x21f
[36442.388100] [<ffffffff99308028>] __schedule_bug+0x5f/0x72
[36442.388457] [<ffffffff99312efb>] __schedule+0x9fb/0xa20
[36442.405133] [<ffffffff98ccb9e6>] __cond_resched+0x26/0x30
[36442.405171] [<ffffffff993131ea>] _cond_resched+0x3a/0x50
[36442.406474] [<ffffffff98df746c>] kmem_cache_alloc_trace+0x3c/0x200
[36442.444079] [<ffffffffc0d57f1f>] ? ppp_alloc_trie_node+0x1f/0x60 [xxdefend]
[36442.444096] [<ffffffffc0d57f1f>] ppp_alloc_trie_node+0x1f/0x60 [xxdefend]
[36442.444147] [<ffffffffc0d58ab5>] ppp_insert_trie_node+0x105/0x1a0 [xxdefend]
[36442.444191] [<ffffffffc0d5a0c0>] ? ppp_logfilter_show+0xd0/0xd0 [xxdefend]
[36442.444199] [<ffffffffc0d58bb2>] ppp_insert_trie_head+0x62/0xc0 [xxdefend]
[36442.444205] [<ffffffffc0d58e4f>] ppp_filemap_filter_parse+0x5f/0x80 [xxdefend]
[36442.444212] [<ffffffffc0d5a183>] ppp_logfilter_parse+0xc3/0x570 [xxdefend]
[36442.444271] [<ffffffff98e1ab98>] ? vfs_read+0xf8/0x170
[36442.444279] [<ffffffffc0d5a0c0>] ? ppp_logfilter_show+0xd0/0xd0 [xxdefend]
[36442.444288] [<ffffffffc0d4d366>] ppp_policy_parse+0xa6/0x120 [xxdefend]
[36442.444297] [<ffffffffc0d4d55e>] ppp_policy_timer_handle+0x14e/0x230 [xxdefend]
[36442.444301] [<ffffffff9931ab1f>] notifier_call_chain+0x4f/0x70
[36442.444306] [<ffffffff98cc0fbd>] __blocking_notifier_call_chain+0x4d/0x70
[36442.444309] [<ffffffff98cc0ff6>] blocking_notifier_call_chain+0x16/0x20
[36442.444318] [<ffffffffc0d46b5b>] ppp_call_notify+0x1b/0x20 [xxdefend]
[36442.444326] [<ffffffffc0d4d055>] default_nelk_timer+0xa5/0x110 [xxdefend]
[36442.444332] [<ffffffffc0d59b30>] ppp_nelk_iterate+0x80/0x90 [xxdefend]
[36442.444341] [<ffffffffc0d466d8>] _nelk_recv+0x58/0x80 [xxdefend]
[36442.444348] [<ffffffffc0d4670e>] nelk_recv+0xe/0x10 [xxdefend]
[36442.445422] [<ffffffff99224850>] netlink_unicast+0x170/0x210
[36442.445431] [<ffffffff99224bf8>] netlink_sendmsg+0x308/0x420
[36442.445462] [<ffffffff991cc396>] sock_sendmsg+0xb6/0xf0
[36442.445699] [<ffffffff98dda4fd>] ? free_pages_and_swap_cache+0xad/0xd0
[36442.445737] [<ffffffff991ccaa1>] SYSC_sendto+0x121/0x1c0
[36442.445745] [<ffffffff991ce42e>] SyS_sendto+0xe/0x10
[36442.445779] [<ffffffff9931f7d5>] system_call_fastpath+0x1c/0x21
解决方案:
node = kzlloc(sizeof(*node), GFP_KERNEL);中GFP_KERNEL改成GFP_ATOMIC