FYI, we noticed the following commit: commit: 4db18597f8c0dca7b853ca2d3cf29cc98e8c8dd5 ("mm: prevent double decrease of nr_reserved_highatomic") https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master in testcase: vm-scalability with following parameters: runtime: 300 thp_enabled: always thp_defrag: never nr_task: 16 nr_ssd: 1 test: swap-w-seq cpufreq_governor: performance test-description: The motivation behind this suite is to exercise functions and regions of the mm/ of the Linux kernel which are of interest to us. test-url: https://git.kernel.org/cgit/linux/kernel/git/wfg/vm-scalability.git/ on test machine: 72 threads Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz with 128G memory caused below changes: +------------------------------------------------------------------+------------+------------+ | | ae52af6e8e | 4db18597f8 | +------------------------------------------------------------------+------------+------------+ | boot_successes | 3 | 0 | | boot_failures | 1 | 2 | | WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 1 | | | calltrace:parport_pc_init | 1 | | | calltrace:SyS_finit_module | 1 | | | WARNING:at_lib/kobject.c:#kobject_add_internal | 1 | | | invoked_oom-killer:gfp_mask=0x | 0 | 2 | | Mem-Info | 0 | 2 | | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 | +------------------------------------------------------------------+------------+------------+ kern :info : [ 130.318393] perf: interrupt took too long (4058 > 4055), lowering kernel.perf_event_max_sample_rate to 49000 kern :warn : [ 208.577841] numa-numastat: page allocation stalls for 10001ms, order:2, mode:0x26040c0(GFP_KERNEL|__GFP_COMP|__GFP_NOTRACK) kern :warn : [ 208.591467] CPU: 7 PID: 1116 Comm: numa-numastat Not tainted 4.9.0-rc8-00095-g4db1859 #1 kern :warn : [ 208.601377] Hardware name: Intel Corporation S2600WTT/S2600WTT, BIOS SE5C610.86B.01.01.0008.021120151325 02/11/2015 kern :warn : [ 208.613918] ffffc9000f12b9a8 ffffffff81465ed9 ffffffff81c9a878 0000000000000001 kern :warn : [ 208.623132] ffffc9000f12ba28 ffffffff8118baa6 026040c0026040c0 ffffffff81c9a878 kern :warn : [ 208.632337] ffffc9000f12b9d0 0000000000000010 ffffc9000f12ba38 ffffc9000f12b9e8 kern :warn : [ 208.641518] Call Trace: kern :warn : [ 208.645106] [] dump_stack+0x63/0x8a kern :warn : [ 208.651711] [] warn_alloc+0x116/0x140 kern :warn : [ 208.658496] [] ? __alloc_pages_direct_compact+0x46/0x100 kern :warn : [ 208.667140] [] __alloc_pages_slowpath+0x8ff/0xb70 kern :warn : [ 208.675104] [] __alloc_pages_nodemask+0x2ab/0x2f0 kern :warn : [ 208.683072] [] alloc_pages_current+0x95/0x140 kern :warn : [ 208.690597] [] new_slab+0x3a5/0x5a0 kern :warn : [ 208.697137] [] ___slab_alloc+0x3a0/0x4b0 kern :warn : [ 208.704145] [] ? vsnprintf+0x1e3/0x4d0 kern :warn : [ 208.710942] [] ? copy_process+0xfd/0x1c20 kern :warn : [ 208.718792] [] ? __dequeue_signal+0xf7/0x190 kern :warn : [ 208.726139] [] __slab_alloc+0x20/0x40 kern :warn : [ 208.732788] [] kmem_cache_alloc_node+0x91/0x1d0 kern :warn : [ 208.740376] [] ? current_has_perm+0x4d/0x50 kern :warn : [ 208.747576] [] ? copy_process+0xfd/0x1c20 kern :warn : [ 208.755351] [] copy_process+0xfd/0x1c20 kern :warn : [ 208.762928] [] ? handle_mm_fault+0x8f6/0x1430 kern :warn : [ 208.770298] [] ? __fpu__restore_sig+0x9e/0x5e0 kern :warn : [ 208.777756] [] _do_fork+0xca/0x3f0 kern :warn : [ 208.784040] [] SyS_clone+0x19/0x20 kern :warn : [ 208.790310] [] do_syscall_64+0x67/0x180 kern :warn : [ 208.797060] [] entry_SYSCALL64_slow_path+0x25/0x25 kern :warn : [ 208.805427] Mem-Info: kern :warn : [ 208.808601] active_anon:30919709 inactive_anon:1288880 isolated_anon:1635 active_file:3334 inactive_file:11902 isolated_file:0 unevictable:159531 dirty:0 writeback:180458 unstable:0 slab_reclaimable:14771 slab_unreclaimable:40200 mapped:3798 shmem:3410 pagetables:203131 bounce:0 free:89054 free_pcp:109 free_cma:852 kern :warn : [ 208.851813] Node 0 active_anon:61959528kB inactive_anon:2588768kB active_file:56kB inactive_file:100kB unevictable:348280kB isolated(anon):2204kB isolated(file):0kB mapped:7628kB dirty:0kB writeback:202516kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 3827712kB anon_thp: 13636kB writeback_tmp:0kB unstable:0kB pages_scanned:77 all_unreclaimable? no kern :warn : [ 208.887904] Node 1 active_anon:61716140kB inactive_anon:2570976kB active_file:13280kB inactive_file:47508kB unevictable:289844kB isolated(anon):2880kB isolated(file):0kB mapped:7564kB dirty:4kB writeback:519396kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 108544kB anon_thp: 4kB writeback_tmp:0kB unstable:4kB pages_scanned:0 all_unreclaimable? no kern :warn : [ 208.923942] Node 0 DMA free:15888kB min:8kB low:20kB high:32kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15984kB managed:15896kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB kern :warn : [ 208.959037] lowmem_reserve[]: 0 1643 64102 64102 64102 kern :warn : [ 208.965589] Node 0 DMA32 free:251128kB min:1296kB low:3196kB high:5096kB active_anon:1646460kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:1983804kB managed:1900900kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:4kB kernel_stack:12kB pagetables:3264kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB kern :warn : [ 209.003097] lowmem_reserve[]: 0 0 62458 62458 62458 kern :warn : [ 209.009359] Node 0 Normal free:43148kB min:43684kB low:107640kB high:171596kB active_anon:60319912kB inactive_anon:2582252kB active_file:56kB inactive_file:100kB unevictable:348280kB writepending:195324kB present:65011712kB managed:63957740kB mlocked:0kB slab_reclaimable:31376kB slab_unreclaimable:94180kB kernel_stack:9628kB pagetables:362876kB bounce:0kB free_pcp:352kB local_pcp:0kB free_cma:0kB kern :warn : [ 209.051722] lowmem_reserve[]: 0 0 0 0 0 kern :warn : [ 209.056869] Node 1 Normal free:46660kB min:45116kB low:111168kB high:177220kB active_anon:61715440kB inactive_anon:2570820kB active_file:13280kB inactive_file:47508kB unevictable:289844kB writepending:529116kB present:67108864kB managed:66053436kB mlocked:0kB slab_reclaimable:27612kB slab_unreclaimable:66660kB kernel_stack:6232kB pagetables:447244kB bounce:0kB free_pcp:124kB local_pcp:0kB free_cma:3408kB kern :warn : [ 209.100197] lowmem_reserve[]: 0 0 0 0 0 kern :warn : [ 209.105416] Node 0 DMA: 0*4kB 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15888kB kern :warn : [ 209.122081] Node 0 DMA32: 8*4kB (UM) 25*8kB (UM) 17*16kB (UM) 20*32kB (UM) 10*64kB (UM) 4*128kB (UM) 2*256kB (U) 1*512kB (U) 0*1024kB 1*2048kB (U) 60*4096kB (M) = 251128kB To reproduce: git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git cd lkp-tests bin/lkp install job.yaml # job file is attached in this email bin/lkp run job.yaml Thanks, Ying Huang