On 2020-12-04 7:44 a.m., Matthew Wilcox wrote: > You'll > still need to allocate them separately if various debugging options > are enabled (see the ALLOC_SPLIT_PTLOCKS for details), but usually > this will save you a lot of memory. We need all we can get: (.mlocate): page allocation failure: order:5, mode:0x40cc0(GFP_KERNEL|__GFP_COMP), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 2 PID: 28271 Comm: (.mlocate) Not tainted 5.9.11+ #1 Hardware name: 9000/800/rp3440 Backtrace: [<000000004018d050>] show_stack+0x50/0x70 [<0000000040826354>] dump_stack+0xbc/0x130 [<000000004033dc14>] warn_alloc+0x144/0x1e0 [<000000004033e930>] __alloc_pages_slowpath.constprop.0+0xc80/0xcf8 [<000000004033ec48>] __alloc_pages_nodemask+0x2a0/0x2f0 [<0000000040351a2c>] cache_alloc_refill+0x6b4/0xe50 [<000000004035416c>] __kmalloc+0x5e4/0x740 [<00000000040ddbe8>] nfsd_reply_cache_init+0x1d0/0x360 [nfsd] [<00000000040d1118>] nfsd_init_net+0xb0/0x1c0 [nfsd] [<00000000406a5860>] ops_init+0x68/0x178 [<00000000406a5b24>] setup_net+0x1b4/0x348 [<00000000406a6e20>] copy_net_ns+0x1f0/0x450 [<00000000401e6578>] create_new_namespaces+0x1b0/0x418 [<00000000401e72ac>] unshare_nsproxy_namespaces+0x8c/0xf0 [<00000000401b6acc>] ksys_unshare+0x1bc/0x440 [<00000000401b6d70>] sys_unshare+0x20/0x38 [<0000000040188018>] syscall_exit+0x0/0x14 Mem-Info: active_anon:1209957 inactive_anon:438171 isolated_anon:0 active_file:38971 inactive_file:21741 isolated_file:0 unevictable:4662 dirty:144 writeback:0 slab_reclaimable:45748 slab_unreclaimable:51548 mapped:34940 shmem:1471859 pagetables:5429 bounce:0 free:213676 free_pcp:317 free_cma:0 Node 0 active_anon:4839828kB inactive_anon:1753200kB active_file:155884kB inactive_file:86964kB unevictable:18648kB isolated(anon):0kB isolated(file):0kB mapped:139760kB dirty:576kB writeback:0kB shmem:5887436kB writeback_tmp:0kB kernel_stack:6032kB all_unreclaimable? no Normal free:853948kB min:11448kB low:19636kB high:27824kB reserved_highatomic:0KB active_anon:4839828kB inactive_anon:1753544kB active_file:155884kB inactive_file:86964kB unevictable:18648kB writepending:576kB present:8386560kB managed:8211756kB mlocked:18648kB pagetables:21716kB bounce:0kB free_pcp:1168kB local_pcp:352kB free_cma:0kB lowmem_reserve[]: 0 0 Normal: 58860*4kB (UME) 48155*8kB (UME) 11414*16kB (UME) 1291*32kB (UME) 134*64kB (UME) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 853192kB 1607717 total pagecache pages 73822 pages in swap cache Swap cache stats: add 21252454, delete 21178083, find 5702723/6815498 Free swap = 33742652kB Total swap = 49758652kB 2096640 pages RAM 0 pages HighMem/MovableOnly 43701 pages reserved Cheers, Dave -- John David Anglin dave.anglin@xxxxxxxx