Received: by 2002:ac8:7315:0:b0:429:955e:b7c6 with SMTP id x21csp213716qto; Fri, 26 Jan 2024 16:31:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFS/KJPjI6E/NUwH02V0qR6jo31p3QPaRymuOUU++EM2tM4EHfgKL3mlurw3F9amPl56Jfa X-Received: by 2002:a17:902:c94e:b0:1d7:78ed:4b7e with SMTP id i14-20020a170902c94e00b001d778ed4b7emr896753pla.35.1706315515303; Fri, 26 Jan 2024 16:31:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706315515; cv=pass; d=google.com; s=arc-20160816; b=vMiQkX5Pjo7qR+ngxXHtlfCt/mV9ADS6Ob4N53c5E9ocr2N35JxqQCfMU37e1GpbtA TV4SXPa0IxhyAEHq/U04+/EYnPpw36xxDaPrt0eWZenAgiaCtN7I5AvQJfai4MRpn0GB UgveJglIbK6hhZ2zI9muGmnJKcR5SIrL3bROub+WYWwgHFGH/YEIQBVgQ0XLgmF/G7lz woyhh2T8aW1GBHcgZaHR8/RnEkDpvbAlhmHL+s3ALrL0YcIIG775g5jzfmFo2l9m8a2E a+TS/gCpwVOzVPBPUNzT5HYQ+PQMJPhXhZO7ARJiBeorCyIX2X/3JMqDMLue9bnJtlnD T6mg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=knbdfgVePSVm8AW8NDfU6zlV1rJ44VE9GI+UrBeGRwc=; fh=Ur15ONO1OGiBtAbh0s9wwX/j86cOXAt+HdejDPcYOu8=; b=hbXWN4dzw2hSJJ42ZskFawBBSMbYKFw6RjQ18Cum7hfRTo3SSk+bCTUn1tZvWksIP+ ZyBSidBsCL93GEGfRNaki2lu2ErRt704xh/3QSTyHHDA0glUzE03ht1W6TxtdtekcpYV mIANycu0RC86LTicOanQBh8w0w2yHXwxpOz9qoT3vpQV63ovmfaBBM6ovoNI8c48IJjL tlT9FTFiIzz9rODwIBT0+ZzueUXxB2dWIOTA39nkerS7lQYcMhMXgNNqTUWRPLxUHwmn xDr2g0C+50hr2l63gqo7jc6To63X9PuSznA1sj4nBcxjP5Iyaa3VY+Bb8bR0xB7h6o/S 2N5Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hy4Szcyq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l18-20020a170902e2d200b001d76fb61944si1833826plc.151.2024.01.26.16.31.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 16:31:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hy4Szcyq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40937-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40937-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0D958285BD3 for ; Sat, 27 Jan 2024 00:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67F2BA55; Sat, 27 Jan 2024 00:31:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hy4Szcyq" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 81E8223D6; Sat, 27 Jan 2024 00:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706315506; cv=none; b=fpWHVeuT2vTB0Iat0klMLpwf5V3MV/LtYpgFJNMmeGYgUUgVQvrQPGEOQiBm/zFcUg68Ioh/CuL/YWFfJk+Pm9n29zHmmltmignr8eeUwjra44qIz7IgfabI1ExnTKVAONyf58J1iOZpmViupA9H3egaW/tpyNAPf6PycZE7Bf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706315506; c=relaxed/simple; bh=RaDKuFVZhN0vb+fPL3ijd0J96m8fpHt5sVQD+K/787s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cX3yw3ThoFb/F4Crm/E52s5A31TgN5DQQm4hddsvkvl7MQzUx5uyR4tT+eqtZGUxdYgJRlZYrcPukz78qzqZN8U3ajahI9Lvn/0lpFqZzCjc/I8Jvuup5zxrAQ7sQdltx+I+bpiffpvv+SJxv87o1tmKr2TnDWQdInvwuZ3Yjdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hy4Szcyq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDEFDC433F1; Sat, 27 Jan 2024 00:31:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706315506; bh=RaDKuFVZhN0vb+fPL3ijd0J96m8fpHt5sVQD+K/787s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hy4SzcyqDfyPcPSDeZEBcJ38qca/wNicOZrEybVUoHSIwtJygLHgV3fQWWYhi8KuR i2Ma4Sw5f8NwiIqa9eXF18gfZmEL/2W7/JlkGLmByqvbJKYJPBdj2J3xFb1A900cfj ro9qrL9Syj5sb7Pqj1CWFJBqwMsjvGvxYiUeAaYU= Date: Fri, 26 Jan 2024 16:31:45 -0800 From: "gregkh@linuxfoundation.org" To: Michal Hocko Cc: Joakim Tjernlund , "david@redhat.com" , "quic_pkondeti@quicinc.com" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "hannes@cmpxchg.org" , "mgorman@techsingularity.net" , "linux-kernel@vger.kernel.org" , "vbabka@suse.cz" , "quic_charante@quicinc.com" , "stable@vger.kernel.org" , "quic_cgoldswo@quicinc.com" Subject: Re: [RESEND PATCH V2] mm: page_alloc: unreserve highatomic page blocks before oom Message-ID: <2024012635-stoneware-backboned-2ca0@gregkh> References: <1700823445-27531-1-git-send-email-quic_charante@quicinc.com> <3fe3b3edd33cd784071dd9b459d20a79605ec918.camel@infinera.com> <2024012205-undrilled-those-2435@gregkh> <2024012210-outshoot-dragonish-fe8e@gregkh> <01010dd280badd149291cf4d2a4a88847113cf6d.camel@infinera.com> <98318c510e39cf83beaa07a4dbf33f18209eb358.camel@infinera.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 23, 2024 at 12:24:22PM +0100, Michal Hocko wrote: > On Tue 23-01-24 11:08:28, Joakim Tjernlund wrote: > [...] > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.001379] Mem-Info: > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.003665] active_anon:18 inactive_anon:2435 isolated_anon:0 > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.003665] active_file:1 inactive_file:0 isolated_file:0 > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.003665] unevictable:267 dirty:0 writeback:0 > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.003665] slab_reclaimable:384 slab_unreclaimable:2223 > > Mar 9 12:52:40 xr kern.warn kernel: [ 1066.003665] mapped:1 shmem:0 pagetables:309 bounce:0 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.003665] kernel_misc_reclaimable:0 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.003665] free:1054 free_pcp:24 free_cma:0 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.037938] Node 0 active_anon:72kB inactive_anon:9740kB active_file:4kB inactive_file:0kB unevictable:1068kB isolated(anon):0kB isolated(file):0kB mapped:4kB dirty:0kB writeback:0kB shmem:0kB writeback_tmp:0kB kernel_stack:9 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.061723] Normal free:4216kB min:128kB low:160kB high:192kB reserved_highatomic:4096KB active_anon:72kB inactive_anon:9740kB active_file:4kB inactive_file:0kB unevictable:1068kB writepending:0kB present:36864kB managed:2944 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.087595] lowmem_reserve[]: 0 0 > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.090918] Normal: 206*4kB (MEH) 198*8kB (UMEH) 79*16kB (UMEH) 13*32kB (H) 2*64kB (H) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4216kB > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.104104] 269 total pagecache pages > > Mar 9 12:52:41 xr kern.warn kernel: [ 1066.107768] 9216 pages RAM > > OK, so this is really a tiny system (36MB) and having 4MB in highatomic > reserves is clearly too much. So this matches the patch you are > referencing and it migh help you indeed. Ok, now queued up, thanks. greg k-h