Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp76975lqj; Sat, 1 Jun 2024 08:38:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuRKi2s9JYBrzoGDC9HGZvH+18+ZZRDlpkaaXAkzonoNHxdjaTQRUNq6row4hX1pPl++zDcWgHxC4BKxaNCx2CxyptCxm5O9ovMYxgEw== X-Google-Smtp-Source: AGHT+IFE2+lrHUC8vYq5VHMWkLAVHRJgP0Nssrp2wu1+EsgGlLnydesJN3Op80jcJlqUQN7SyfzO X-Received: by 2002:a05:6e02:16cd:b0:36c:5120:941 with SMTP id e9e14a558f8ab-3748b99d0c2mr70509965ab.6.1717256303013; Sat, 01 Jun 2024 08:38:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717256302; cv=pass; d=google.com; s=arc-20160816; b=pKe9gw8noCWR2N8twVZSTr9XH1Ee9HEl9MBpO5XWA39zZAyaqE5uGjvuIyPDH6NrCf 87gBK6jraLeaUaBVNyypWMdVi9Th4jJkmMA8NlGzz4XZEI1INahY+786kKv6Jb2WUBZL ZuSdv1h+XB5liTjk0Jsp/39YsXxc4B651fs6i6tkHdh5quBq4ab7C22zuM+Z0Yks5k3p U2Zg95uaADQa+yjcWstkLrGm4FeQkTUiGRScHM8+ZJY0Kh4Zrwec3bH0RjNSoWKR0v0c 4yCTmmKHjZQZ6zJDFgKtqfeCeiHIoq/LK9hzJZ2fpZEXa/QnE9Xhi2heSGmDdsfvzRBv yWsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=jh2GJuW9QbJ96XxMyegQnI4EqW1e76u3PBYm+bYYEnM=; fh=rbFHgN7Kt1HpOjSvNKwyOkRvfVowTtl7TDEwyIUkHNY=; b=TAveF39ej2nE/TTmydW9ol4kT3TWHtiKVKk5/jvRi1A3KuAJJ3ZLj3aj2HcMpYqqtu 65hUkUqTLEwEwhin7RY1MIdUR23PuIkwfIsnxlvIepaXH9Bgr6/YdcjnSGTFoDWy0vmg druSLhHW4IIm/Xl0dIQMTQn2dIPiW6oMwFe1DLO9Mw2IQJgglGlkL75Fu6kIm9XFBryf W/MgFxBRjOYKKS0kbZjla1HH2RI48fNKVAxIXDBrI3Tmuk1kGQaDvkLoiQ/Qjr6qPBF2 INVasQrHZcTaY19+4iJaZ3CpnikoFDSrVOZwLQ117OMHrS+B7QbbJi8xC/f9+fV6w8o3 AgeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Vb5cteSE; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-197937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242613144si3547485b3a.139.2024.06.01.08.38.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 08:38:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Vb5cteSE; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-197937-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F3062B22104 for ; Sat, 1 Jun 2024 15:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC94F152DFA; Sat, 1 Jun 2024 15:37:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Vb5cteSE" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2159615251C for ; Sat, 1 Jun 2024 15:37:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717256231; cv=none; b=lBSfst3HBKRhZG1EQ3t8LPsfMPRiFqqD/f+kPLnyewP00tY65iM2ZhcqpS/r5eOn9cAwMcIQQ8IOq5ezLG9cm7wec4Uxd1fksJ6UHMTsMESkSL8M3X0dGR9QL9hx9i49FYdt9FAZlRCsbDgTD5kgzv4E6YQSSeX0tcSGZokb3do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717256231; c=relaxed/simple; bh=JtWA+xznvYpJcBpT7sE+f3qc8tSIW62VzanYN0JEIDw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qhNG2tNVHrVUKFdnlwPj9GPo9/9YKkLwE931CLGJfP8T258HuGFvhhLUqtocs4FrXMvTzYdwoMVVeKARYtRM98gD8pxs6gC+JlNoBuo2zzOXPYZAsliuXJ1NdZJJVO0ejXnswLwGxr2TdAvBC6mZHfw+S2I/cNEfbmcuykFDhus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Vb5cteSE; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717256228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=jh2GJuW9QbJ96XxMyegQnI4EqW1e76u3PBYm+bYYEnM=; b=Vb5cteSEMiMwWBq9NlF0J0iimFGUCgp8J/loUcCi1t6YgliN4SjjlDC5KQxWnwDWVLJoS7 mhpZJI3N4hj1Nt5k9a3qY22S2depVBlv7dx5xStHjcsyotIx477zfAhDSZn1sIM7L4wId1 bFcx0g1WYjEFzgKAFo+BLlpiN4sPp3I= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-327-mHRmH8zpMVOz0506zjMJBw-1; Sat, 01 Jun 2024 11:37:06 -0400 X-MC-Unique: mHRmH8zpMVOz0506zjMJBw-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2eaa5fbaf56so2386381fa.1 for ; Sat, 01 Jun 2024 08:37:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717256225; x=1717861025; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=jh2GJuW9QbJ96XxMyegQnI4EqW1e76u3PBYm+bYYEnM=; b=W1rpUvEarjmfG6w82hQ1ft2j2WifDqK0wpNMjrIvzHHO+UoA0leRldI1QFGO7PP7Bl 02/913vw+oITOWB1tvPG/+OyTP2iPgOvTGs1J7nk5tGCQyztZ372OunbN1FMBwDKs6rV pV0jQhnQslp9xm90QeUrMnfsf5FiQ1zSGksoyW0szI7zvA5ef/aOOoVePzg79zBpSowi pU4uEW8HS6dc8a0OVdNbubJG6v8ml09qp21/Oe0M1rwZyYdvySj34BlhGHtyup0tKjlF jkd4S1JP7p79lWgnI/umfFKhnQywnAtxGOwc0dCrw2w74EnNxPDpHHVkKtlESuN0Pe+W 20IA== X-Forwarded-Encrypted: i=1; AJvYcCWLAXG/dUPMkgrlPQ0NcL9urOko01PxMpM6Bko+CrNbqxEJj2qGOyGkTIVQsBcVbfZ6MUVJU3cjvdBYUJtKeIbrVjaKK1yLMYK/tqUd X-Gm-Message-State: AOJu0Yz7gNI4NY3OKp+vsCF8zJ2aHjPTP4izsahhHb4gp/D7LHgZhGHm 182TyTVdUizEJBBdh8ccxUMqLIOFRuT5sT5hXXa6Y5Rc08jLxsqum6ymCJJ+VSGLj9SxgAMbvgA mgnuYONJ2FCsQCCbK5SwXTm5qq4rjl4lC4ZXKChrCFjD4CgxrW03TZcMkxy5/Bw== X-Received: by 2002:a2e:994b:0:b0:2ea:7e5b:98db with SMTP id 38308e7fff4ca-2ea951f9657mr30714111fa.51.1717256224588; Sat, 01 Jun 2024 08:37:04 -0700 (PDT) X-Received: by 2002:a2e:994b:0:b0:2ea:7e5b:98db with SMTP id 38308e7fff4ca-2ea951f9657mr30713901fa.51.1717256223896; Sat, 01 Jun 2024 08:37:03 -0700 (PDT) Received: from ?IPV6:2003:cb:c71f:b300:1d59:157a:ba27:f7e0? (p200300cbc71fb3001d59157aba27f7e0.dip0.t-ipconnect.de. [2003:cb:c71f:b300:1d59:157a:ba27:f7e0]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd062eda6sm4278829f8f.86.2024.06.01.08.37.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Jun 2024 08:37:03 -0700 (PDT) Message-ID: <45fc081c-ee8d-4774-a597-708d2924f812@redhat.com> Date: Sat, 1 Jun 2024 17:37:02 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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: Yu Zhao , Erhard Furtner Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <20240508202111.768b7a4d@yea> <20240515224524.1c8befbe@yea> From: David Hildenbrand Content-Language: en-US Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXF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uo06XMaY7UHS341ozXUUI7wC7iKfoUTv03iO9El5f XpNMx/YrIMduZ2+nd9Di7o5+KIwlb2mAB9sTNHdMrXesX8eBL6T9b+MZJk+mZuPxKNVfEQMQ a5SxUEADIPQTPNvBewdeI80yeOCrN+Zzwy/Mrx9EPeu59Y5vSJOx/z6OUImD/GhX7Xvkt3kq Er5KTrJz3++B6SH9pum9PuoE/k+nntJkNMmQpR4MCBaV/J9gIOPGodDKnjdng+mXliF3Ptu6 3oxc2RCyGzTlxyMwuc2U5Q7KtUNTdDe8T0uE+9b8BLMVQDDfJjqY0VVqSUwImzTDLX9S4g/8 kC4HRcclk8hpyhY2jKGluZO0awwTIMgVEzmTyBphDg/Gx7dZU1Xf8HFuE+UZ5UDHDTnwgv7E th6RC9+WrhDNspZ9fJjKWRbveQgUFCpe1sa77LAw+XFrKmBHXp9ZVIe90RMe2tRL06BGiRZr jPrnvUsUUsjRoRNJjKKA/REq+sAnhkNPPZ/NNMjaZ5b8Tovi8C0tmxiCHaQYqj7G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 01.06.24 08:01, Yu Zhao wrote: > On Wed, May 15, 2024 at 4:06 PM Yu Zhao wrote: >> >> On Wed, May 15, 2024 at 2:45 PM 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 not happen every time at bootup though: >>>> >>>> [...] >>>> kswapd0: page allocation failure: order:0, mode:0x820(GFP_ATOMIC), nodemask=(null),cpuset=/,mems_allowed=0 >>>> 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. "stress-ng --vm 2 --vm-bytes 1930M --verify -v": >>> >>> [...] >>> kswapd0: page allocation failure: order:0, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 >>> 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=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 15, objs: 225, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O 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 inactive_file:10024kB unevictable:16kB isolated(anon):0kB isolated(file):0kB mapped:27216kB dirty:4kB writeback:72kB shmem:448kB writeback_tmp:0kB kernel_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 managed:746644kB mlocked:0kB bounce:0kB free_pcp:28kB local_pcp:28kB 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 = 0kB >>> 63943 total pagecache pages >>> 53024 pages in swap cache >>> Free swap = 8057248kB >>> Total swap = 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), nodemask=(null),cpuset=/,mems_allowed=0 >>> 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=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O 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 inactive_file:8324kB unevictable:16kB isolated(anon):0kB isolated(file):0kB mapped:21436kB dirty:4kB writeback:156kB shmem:84kB writeback_tmp:0kB kernel_stack:1552kB pagetables:3760kB sec_pagetables:0kB all_unreclaimable? no >>> DMA free:0kB boost:7756kB min:11208kB low:12068kB high:12928kB reserved_highatomic:0KB active_anon:199336kB inactive_anon:491432kB active_file:4612kB 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 = 0kB >>> 45961 total pagecache pages >>> 39207 pages in swap cache >>> Free swap = 8093096kB >>> Total swap = 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), nodemask=(null),cpuset=/,mems_allowed=0 >>> 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=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O to disable. >>> node 0: slabs: 33, objs: 165, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(GFP_ATOMIC) >>> cache: skbuff_small_head, object size: 480, buffer size: 544, default order: 1, min order: 0 >>> node 0: slabs: 18, objs: 270, free: 0 >>> SLUB: Unable to allocate memory on node -1, gfp=0x820(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=O 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 inactive_file:10204kB unevictable:16kB isolated(anon):0kB isolated(file):0kB mapped:22404kB dirty:28kB writeback:76kB shmem:84kB writeback_tmp:0kB kernel_stack:1552kB pagetables:3756kB sec_pagetables:0kB all_unreclaimable? no >>> DMA free:0kB boost:7756kB min:11208kB low:12068kB high:12928kB reserved_highatomic:0KB active_anon:644060kB inactive_anon:36332kB active_file:5276kB inactive_file:5516kB unevictable:0kB writepending:348kB present:786432kB managed:746644kB mlocked:0kB bounce:0kB free_pcp:92kB local_pcp:92kB 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 = 0kB >>> 116345 total pagecache pages >>> 109413 pages in swap cache >>> Free swap = 7819300kB >>> Total swap = 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. > > Hi Erhard, > > The OOM kills on both kernel versions seem to be reasonable to me. > > Your system has 2GB memory and it uses zswap with zsmalloc (which is > good since it can allocate from the highmem zone) and zstd/lzo (which > doesn't matter much). Somehow -- I couldn't figure out why -- it > splits the 2GB into a 0.25GB DMA zone and a 1.75GB highmem zone: > > [ 0.000000] Zone ranges: > [ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff] > [ 0.000000] Normal empty > [ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff] That's really odd. But we are messing with "PowerMac3,6", so I don't really know what's right or wrong ... -- Cheers, David / dhildenb