Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp297029lqo; Wed, 15 May 2024 15:07:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX1gr2uNl+sf586KuHZ0odgFsOAB2m8shNZab+Mj7Mz/XOgcKVn8E2yRelKfXGi/KU9AFxV2sOq//vC5hJy/oUA7uG/EgFa8OEP/NYq1g== X-Google-Smtp-Source: AGHT+IE5CBpU1QC4phNvBdTdYOYsq/i4/aV1XCjjOHngFkliqnqTPo1PDyfWCZqgo5eKMgjmxXJ9 X-Received: by 2002:a05:6102:2ad0:b0:47e:cdce:b760 with SMTP id ada2fe7eead31-48077e8407dmr17931337137.22.1715810860118; Wed, 15 May 2024 15:07:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715810860; cv=pass; d=google.com; s=arc-20160816; b=uyw8kCDhD8nFzkm/axfOsDlv6Hz8d0RG4nRdk1vdIXsOWlfWotOwMYE+JON/1zKp64 yoDP39IJOYxsmL1WMVyjt90VsG9KwM3EKKgOHM/Q8LZvVmvCfSwYCTrG7OEO0y1JQXil mOHDpMfcU9awVuE4U7rueBQ08ddvVdGSq0vNFPVK1fEncwo8dBGoBBT1i1WwLLWbjOf3 3Xe5O9Mm9L6vEgy+rVXU8sA2dz6BVP2jDdtDL/K+A1gityYnH9Shqrfe5Rnfc+EFc/DS LRpHzf44Pcler8z9yyY2nqa6KR0zlw2GgGwWGaDEvsy19hAQMJcZDCtCLXro1ezPtCh9 7gFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=OscmHwMONkjYXaXcy4YkhdqQvq8LZLvZAntCwp0ktck=; fh=DWw5juwl1aQlf4vMPPZ/zW4HH9/gs3nTDsrnGjoQI3k=; b=md227AItOOYFjC10CQYXZJqPiYKrYswknAcUqcnv01oa9bfIMLclO5/tY+TxJQZTCb AkoXzZfpncTLn/BAb5/OChCby6ZMZ4qaGEtEyfhiV8tbtrWFTchhA/+eR8xX4rDHsUUb d6FfVJZuSJuSoFjdMvvq76yKG9EISJcj6MSskNJD6gB5GA3mdgE0ZKfnR8w8XQIDT9+q bKxfO3Rlu615nJ7AoTViD0aUn+Ql/Y5WAaivNXBLh4PKvClWOg2sKWgAtIMFBEI4QHWc iNeAAJNZu9hlnOCw+hbPbTVe+bUYtBDkrk9Bq6aWxVZMNbRe2FmJzP715IMLrw8Rob2a 5eLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=w9sNIJ3y; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-180414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ada2fe7eead31-4806cc90949si2508686137.602.2024.05.15.15.07.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 15:07:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=w9sNIJ3y; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-180414-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180414-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 04FB71C2298F for ; Wed, 15 May 2024 22:07:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8308015B56D; Wed, 15 May 2024 22:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="w9sNIJ3y" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03D4E3BBEA for ; Wed, 15 May 2024 22:07:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715810837; cv=none; b=WaI2puavILg76Vwm/ZvvbQkGqXweeAL20dhUkVJHT4kFyKxSXCeD+hJTxSAl9CU1YHSih5EKJDdg6bjtHkZtSpqsX5ekMj31N1mVNvgFSJ6/odW/XZTflyKEBq1oOU09JPFL7pte9vsoU2v5zxXQluZ3VgO0d7FyBPnimHY9qnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715810837; c=relaxed/simple; bh=jsilqE3efpKVc6XIFDIXXvj8zuPLADsovku0CYo3qPA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LbiPnmJJ54fSwcqauxVs1ioP86xupPGp/IBHgRrYGK+3ZHALwSI9Z7mZqXvjXGhYEdegJZEdHkM2gfFYHHnm7YrJ0DF32qBnJcdCwDtliLF5LVTKEUikGb+YGYQinaATozJeC18iCNev5Fqq9vMY2vPJbZgWo7dQgf+8ycerb6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=w9sNIJ3y; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42012c85e61so317575e9.0 for ; Wed, 15 May 2024 15:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715810833; x=1716415633; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OscmHwMONkjYXaXcy4YkhdqQvq8LZLvZAntCwp0ktck=; b=w9sNIJ3ya75OexANQCI44F5evoiiR00TOnKP9hMi7DU0YscKzI+KyOZmTmcR+BmYxd fD4REn/ID7DLt8RaYCOodAiKrJjXnM23HC5YEBQmUT6zVym0MrPp0It1z7Fx8IXCAkYh GLElAV+vkTnXQkwzeqrAuObKgVrDiZoccwwuUYxilcD/EyQZYa5S845EDiSbGfdAq7XT Xsl/EAS8tnUqXkZCV4xNnPlH/yCyg8KSYV2VH1e7QaDpNoXBBrzCRxNSHJ8ZCmd0CFzj 7LH6+6ZUM4F506TxZidO8cXxgYj/qTK8B3f44dLP8yMYd3fhiAH61n+VN5LfPPiIkUbA EsRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715810833; x=1716415633; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OscmHwMONkjYXaXcy4YkhdqQvq8LZLvZAntCwp0ktck=; b=xN9Y+xvi/JGmlZHV6Rvxe89AZEmDzmbHNDahOCPJxvaoZIAN0+f+BvkVX21ZlzWiLB u5mCbKeMategcbM1AJrL0d2RrvAIlKlX0W5wmNkQR0aeA4E2qfzb6Y26cWVe8TTdwCFc Sw7TCLzSaunJT9HY09sTrFLBCVADHuLfWI7jQKoip7W1ksIQbUKTgKw32xJuCQbC/0Pn C7jJvhdOpBe/XuYoUTghPj15qH3ZMs3oWw/ybw7f+/LEZQ3mVPQ/rqNb9ksJzmScwcyF ePfLCosLCcdoFrb+c+oSahS0ra1Q9g88pzSRO8T1m7OnYvm9c9iLWyHw4IvVZWqJ8PbT 4iXQ== X-Forwarded-Encrypted: i=1; AJvYcCU18n2CRKYdO0uym/6vDxkurIf0MIAtHgNZqI0MRIP2SdK+8X5IqX+hU+009xtCZsIwuB8DmHPIue/H7dAW8La8KOcPvmBbBS2oAO5a X-Gm-Message-State: AOJu0YwXMT19mDoQokWbS1KoTWZ0Y9bNqB4XCQehDgcJWeYSJgF/6scC 65fvHtESBQhl/R5yWkXeA0f001SSZby6KHFx9wqQnCKFkfDCo9/x0JEttbgl9iy9+X6szmbVRmq //R3Cf5k5F6gka20FHW3n4IJ+HOYorURxiQ2gXx6KNALqjfROCg== X-Received: by 2002:a05:600c:3d9a:b0:41f:a15d:2228 with SMTP id 5b1f17b1804b1-4200ebea389mr10040285e9.0.1715810832956; Wed, 15 May 2024 15:07:12 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240508202111.768b7a4d@yea> <20240515224524.1c8befbe@yea> In-Reply-To: <20240515224524.1c8befbe@yea> From: Yu Zhao Date: Wed, 15 May 2024 16:06:35 -0600 Message-ID: Subject: Re: kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 (Kernel v6.5.9, 32bit ppc) To: Erhard Furtner Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2024 at 2:45=E2=80=AFPM Erhard Furtner wrote: > > On Wed, 8 May 2024 20:21:11 +0200 > Erhard Furtner wrote: > > > Greetings! > > > > Got that on my dual CPU PowerMac G4 DP shortly after boot. This does no= t happen every time at bootup though: > > > > [...] > > kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), node= mask=3D(null),cpuset=3D/,mems_allowed=3D0 > > CPU: 1 PID: 40 Comm: kswapd0 Not tainted 6.8.9-gentoo-PMacG4 #1 > > Hardware name: PowerMac3,6 7455 0x80010303 PowerMac > > Very similar page allocation failure on the same machine on kernel 6.9.0 = too. Seems it can easily be provoked by running a memory stressor, e.g. "st= ress-ng --vm 2 --vm-bytes 1930M --verify -v": > > [...] > kswapd0: page allocation failure: order:0, mode:0xcc0(GFP_KERNEL), nodema= sk=3D(null),cpuset=3D/,mems_allowed=3D0 > CPU: 0 PID: 41 Comm: kswapd0 Not tainted 6.9.0-gentoo-PMacG4 #1 > Hardware name: PowerMac3,6 7455 0x80010303 PowerMac > Call Trace: > [c1c65940] [c07926d4] dump_stack_lvl+0x80/0xac (unreliable) > [c1c65960] [c01b6234] warn_alloc+0x100/0x178 > [c1c659c0] [c01b661c] __alloc_pages+0x370/0x8d0 > [c1c65a80] [c01c4854] __read_swap_cache_async+0xc0/0x1cc > [c1c65ad0] [c01cb580] zswap_writeback_entry+0x50/0x154 > [c1c65be0] [c01cb6f4] shrink_memcg_cb+0x70/0xec > [c1c65c10] [c019518c] __list_lru_walk_one+0xa0/0x154 > [c1c65c70] [c01952a4] list_lru_walk_one+0x64/0x7c > [c1c65ca0] [c01cad00] zswap_shrinker_scan+0xac/0xc4 > [c1c65cd0] [c018052c] do_shrink_slab+0x18c/0x304 > [c1c65d20] [c0180a40] shrink_slab+0x174/0x260 > [c1c65da0] [c017cb0c] shrink_one+0xbc/0x134 > [c1c65dd0] [c017e3e4] shrink_node+0x238/0x84c > [c1c65e50] [c017ed38] balance_pgdat+0x340/0x650 > [c1c65f50] [c017f270] kswapd+0x228/0x25c > [c1c65fc0] [c006bbac] kthread+0xe4/0xe8 > [c1c65ff0] [c0015304] start_kernel_thread+0x10/0x14 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 15, objs: 225, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > Mem-Info: > active_anon:340071 inactive_anon:139179 isolated_anon:0 > active_file:8297 inactive_file:2506 isolated_file:0 > unevictable:4 dirty:1 writeback:18 > slab_reclaimable:1377 slab_unreclaimable:7426 > mapped:6804 shmem:112 pagetables:946 > sec_pagetables:0 bounce:0 > kernel_misc_reclaimable:0 > free:1141 free_pcp:7 free_cma:0 > Node 0 active_anon:1360284kB inactive_anon:556716kB active_file:33188kB i= nactive_file:10024kB unevictable:16kB isolated(anon):0kB isolated(file):0kB= mapped:27216kB dirty:4kB writeback:72kB shmem:448kB writeback_tmp:0kB kern= el_stack:1560kB pagetables:3784kB sec_pagetables:0kB all_unreclaimable? no > DMA free:56kB boost:7756kB min:11208kB low:12068kB high:12928kB reserved_= highatomic:0KB active_anon:635128kB inactive_anon:58260kB active_file:268kB= inactive_file:3000kB unevictable:0kB writepending:324kB present:786432kB m= anaged:746644kB mlocked:0kB bounce:0kB free_pcp:28kB local_pcp:28kB free_cm= a:0kB > lowmem_reserve[]: 0 0 1280 1280 > DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*= 2048kB 0*4096kB =3D 0kB > 63943 total pagecache pages > 53024 pages in swap cache > Free swap =3D 8057248kB > Total swap =3D 8388604kB > 524288 pages RAM > 327680 pages HighMem/MovableOnly > 9947 pages reserved > warn_alloc: 396 callbacks suppressed > kswapd0: page allocation failure: order:0, mode:0xcc0(GFP_KERNEL), nodema= sk=3D(null),cpuset=3D/,mems_allowed=3D0 > CPU: 1 PID: 41 Comm: kswapd0 Not tainted 6.9.0-gentoo-PMacG4 #1 > Hardware name: PowerMac3,6 7455 0x80010303 PowerMac > Call Trace: > [c1c65940] [c07926d4] dump_stack_lvl+0x80/0xac (unreliable) > [c1c65960] [c01b6234] warn_alloc+0x100/0x178 > [c1c659c0] [c01b661c] __alloc_pages+0x370/0x8d0 > [c1c65a80] [c01c4854] __read_swap_cache_async+0xc0/0x1cc > [c1c65ad0] [c01cb580] zswap_writeback_entry+0x50/0x154 > [c1c65be0] [c01cb6f4] shrink_memcg_cb+0x70/0xec > [c1c65c10] [c019518c] __list_lru_walk_one+0xa0/0x154 > [c1c65c70] [c01952a4] list_lru_walk_one+0x64/0x7c > [c1c65ca0] [c01cad00] zswap_shrinker_scan+0xac/0xc4 > [c1c65cd0] [c018052c] do_shrink_slab+0x18c/0x304 > [c1c65d20] [c0180a40] shrink_slab+0x174/0x260 > [c1c65da0] [c017cb0c] shrink_one+0xbc/0x134 > [c1c65dd0] [c017e3e4] shrink_node+0x238/0x84c > [c1c65e50] [c017ed38] balance_pgdat+0x340/0x650 > [c1c65f50] [c017f270] kswapd+0x228/0x25c > slab_out_of_memory: 53 callbacks suppressed > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > [c1c65fc0] [c006bbac] kthread+0xe4/0xe8 > [c1c65ff0] [c0015304] start_kernel_thread+0x10/0x14 > Mem-Info: > active_anon:351976 inactive_anon:123514 isolated_anon:0 > active_file:4648 inactive_file:2081 isolated_file:0 > unevictable:4 dirty:1 writeback:39 > slab_reclaimable:918 slab_unreclaimable:7222 > mapped:5359 shmem:21 pagetables:940 > sec_pagetables:0 bounce:0 > kernel_misc_reclaimable:0 > free:2563 free_pcp:142 free_cma:0 > Node 0 active_anon:1407904kB inactive_anon:494056kB active_file:18592kB i= nactive_file:8324kB unevictable:16kB isolated(anon):0kB isolated(file):0kB = mapped:21436kB dirty:4kB writeback:156kB shmem:84kB writeback_tmp:0kB kerne= l_stack:1552kB pagetables:3760kB sec_pagetables:0kB all_unreclaimable? no > DMA free:0kB boost:7756kB min:11208kB low:12068kB high:12928kB reserved_h= ighatomic:0KB active_anon:199336kB inactive_anon:491432kB active_file:4612k= B inactive_file:5980kB unevictable:0kB writepending:660kB present:786432kB = managed:746644kB mlocked:0kB bounce:0kB free_pcp:568kB local_pcp:20kB free_= cma:0kB > lowmem_reserve[]: 0 0 1280 1280 > DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*= 2048kB 0*4096kB =3D 0kB > 45961 total pagecache pages > 39207 pages in swap cache > Free swap =3D 8093096kB > Total swap =3D 8388604kB > 524288 pages RAM > 327680 pages HighMem/MovableOnly > 9947 pages reserved > warn_alloc: 343 callbacks suppressed > kswapd0: page allocation failure: order:0, mode:0xcc0(GFP_KERNEL), nodema= sk=3D(null),cpuset=3D/,mems_allowed=3D0 > CPU: 0 PID: 41 Comm: kswapd0 Not tainted 6.9.0-gentoo-PMacG4 #1 > Hardware name: PowerMac3,6 7455 0x80010303 PowerMac > Call Trace: > [c1c65940] [c07926d4] dump_stack_lvl+0x80/0xac (unreliable) > [c1c65960] [c01b6234] warn_alloc+0x100/0x178 > [c1c659c0] [c01b661c] __alloc_pages+0x370/0x8d0 > [c1c65a80] [c01c4854] __read_swap_cache_async+0xc0/0x1cc > [c1c65ad0] [c01cb580] zswap_writeback_entry+0x50/0x154 > [c1c65be0] [c01cb6f4] shrink_memcg_cb+0x70/0xec > [c1c65c10] [c019518c] __list_lru_walk_one+0xa0/0x154 > slab_out_of_memory: 59 callbacks suppressed > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: skbuff_small_head, object size: 480, buffer size: 544, default o= rder: 1, min order: 0 > node 0: slabs: 18, objs: 270, free: 0 > SLUB: Unable to allocate memory on node -1, gfp=3D0x820(GFP_ATOMIC) > cache: kmalloc-rnd-15-2k, object size: 2048, buffer size: 6144, default= order: 3, min order: 1 > kmalloc-rnd-15-2k debugging increased min order, use slab_debug=3DO to = disable. > node 0: slabs: 33, objs: 165, free: 0 > [c1c65c70] [c01952a4] list_lru_walk_one+0x64/0x7c > [c1c65ca0] [c01cad00] zswap_shrinker_scan+0xac/0xc4 > [c1c65cd0] [c018052c] do_shrink_slab+0x18c/0x304 > [c1c65d20] [c0180a40] shrink_slab+0x174/0x260 > [c1c65da0] [c017cb0c] shrink_one+0xbc/0x134 > [c1c65dd0] [c017e3e4] shrink_node+0x238/0x84c > [c1c65e50] [c017ed38] balance_pgdat+0x340/0x650 > [c1c65f50] [c017f270] kswapd+0x228/0x25c > [c1c65fc0] [c006bbac] kthread+0xe4/0xe8 > [c1c65ff0] [c0015304] start_kernel_thread+0x10/0x14 > Mem-Info: > active_anon:235002 inactive_anon:240975 isolated_anon:0 > active_file:4356 inactive_file:2551 isolated_file:0 > unevictable:4 dirty:7 writeback:19 > slab_reclaimable:1008 slab_unreclaimable:7218 > mapped:5601 shmem:21 pagetables:939 > sec_pagetables:0 bounce:0 > kernel_misc_reclaimable:0 > free:1340 free_pcp:23 free_cma:0 > Node 0 active_anon:940008kB inactive_anon:963900kB active_file:17424kB in= active_file:10204kB unevictable:16kB isolated(anon):0kB isolated(file):0kB = mapped:22404kB dirty:28kB writeback:76kB shmem:84kB writeback_tmp:0kB kerne= l_stack:1552kB pagetables:3756kB sec_pagetables:0kB all_unreclaimable? no > DMA free:0kB boost:7756kB min:11208kB low:12068kB high:12928kB reserved_h= ighatomic:0KB active_anon:644060kB inactive_anon:36332kB active_file:5276kB= inactive_file:5516kB unevictable:0kB writepending:348kB present:786432kB m= anaged:746644kB mlocked:0kB bounce:0kB free_pcp:92kB local_pcp:92kB free_cm= a:0kB > lowmem_reserve[]: 0 0 1280 1280 > DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*= 2048kB 0*4096kB =3D 0kB > 116345 total pagecache pages > 109413 pages in swap cache > Free swap =3D 7819300kB > Total swap =3D 8388604kB > 524288 pages RAM > 327680 pages HighMem/MovableOnly > 9947 pages reserved > > > I switched from zstd to lzo as zswap default compressor so zstd does not = show up on the dmesg. But the rest looks pretty similar. > > Full dmesg and kernel .config attached. > > Regards, > Erhard Hi Erhard, Thanks for the reports. I'll take a look at them and get back to you in a few days.