Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp91057lqk; Wed, 13 Mar 2024 17:54:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfMlOazo9PRXy34/dm7OOmZMPP6tUIKuaMX+vaQ6EtXyTeL401VyCcHPKClDe1pbPyn5hiiCdIeq1Ykyom06bUIQNlhmpJdOcK2dMCtw== X-Google-Smtp-Source: AGHT+IErEJxgwzdPKP9C8JVR1NvXqGJFeArCYeM35sGG9CjZqLPANZUBU8MZVvMLV2k5/v/zuq1T X-Received: by 2002:a81:8397:0:b0:60a:297c:4c4d with SMTP id t145-20020a818397000000b0060a297c4c4dmr248252ywf.33.1710377694303; Wed, 13 Mar 2024 17:54:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710377694; cv=pass; d=google.com; s=arc-20160816; b=FXt8YRaKTreVvf1DTOJX+RH4YP/t37DTszvjQ74oFVnKHHdYxghfI41C1QHHbPqXbK dxaDf03g7LOs29GwR+7pzep2ykrwPCeHVqx6jmGK6m4AG4U9gRnSijOElbfzuFOAmkCI 9XGpQWwUB7mZJS0/M36eYntnGqDsU+QI/US32kRd1ihbq/KioPT3KPgLWWxTeM509Tos 8EEvcQPrt24pve2uiw87c7tCQemehu64kKBZERIv9QhF6HObezU/TGV5Saw5slC4CV1u AWgZ3hgY4G1UWNaIOkNiL5g/wtxMdtKXb0xFep7NrO74tvsZqH0S+6YIoVRDeqhqSERT bXhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=V+ZVRZICTWAfdlng4uK3SLZO/6XHiTftuTJ5tPtJc5c=; fh=4o9ju8uW9tMUTrj362tSKuZawyKTvPM2ZAEJFdvfDvU=; b=KX2hfuUT3IOcuQuh3Sz+qvvR6MhPllP47OYnEpkMJo+clQhP5qcZoJejBIaYhxnupY mwU6VCPjrJ6++S9Mhx599ILrv8Dz21r/B75f43Bs559q5idsMgKmXz68fNCqdZF7nCif uOZyY1GOVy/6TkJcUYIzS57TDE89N1Q4jDVKd0QDPLuhfXGWdC3HGiEP6aydgUq+Ar7F PYm2tGQa0KoKWE1ZqED4v+9mEThhgmztXIrvlBdcbunEUhyoZXpJy0vwym2UDK7FtABq vhR9CEiY2sJhSVdOqZ23QK7tNdHj2Uv+mHf4kO+5FvOd+Z22tXHLivV8qD+/xBF537Ry YCEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=35u0CG1V; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-102687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o10-20020a05622a138a00b0042ee1cfc39bsi358330qtk.568.2024.03.13.17.54.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 17:54:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=35u0CG1V; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-102687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C81E1C2137A for ; Thu, 14 Mar 2024 00:54:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42A04BA29; Thu, 14 Mar 2024 00:54:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="35u0CG1V" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C39A58F58 for ; Thu, 14 Mar 2024 00:54:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710377682; cv=none; b=u4afXvnD5a4cRqs8R+GFqnj80GyTcKte0WKwLDgtT/oJjI9xV4yghS/2ux3udn7pl4LxXuX2/wFqE5idG5gMm9BQPTajTp/m4rlQRJVWLyngGAoYUecF0sYlHD3ISskjsT0sWcEuBGPOS4F3W8IsyETZ5SDc75hWqwJRI90mnuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710377682; c=relaxed/simple; bh=hEd7yGTTgtoEWtR7Df37a3dG03idlQkuKsP6d6crYbo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D1jtR9s88XHBHZsjmeNRm+rT7O3hLM+0RcCVmK/p4Sluzlsqom3YNyF1ewyyFkvfY8NWacETHl8y80DUwmWfXbVUcrbQQ+XSj/DI4CYcwYh1wFl9vgCWbaro9yD/kcVq+i/yQm0F9eKg6Qnh+fdg9kfAlAguPB5vQuPs0UE5b+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=35u0CG1V; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=V+ZVRZICTWAfdlng4uK3SLZO/6XHiTftuTJ5tPtJc5c=; b=35u0CG1Vu/wTheLe79swQh6gUb RBRP7gE0uw5ozHsWFkLpj9pW+P/H28fdcshMKtrYzslZ7Jw1+J915AH73GINTcuhBJn1Qn1q407bN tINR5A6o67crJvrkaPLq956p+JaPeVvOIs8jyY+4ypS3SRr7wCQqjRBCsAhoH4SMcmNH7Tjvz3I3g wBwjeEcdF/ArYxHRUC9j9zrv9vofHiVUFc66QN/hAlRMmJ2kp0LWEq13pS26omxtvlkGu8ATQhhe0 foc5DWD6L/ZbM/0nwUs2VDnnzz5AtPYsiiktHaMfH1hWOr8uC6VxMOCD4VHsLJpY4FwLJraOgxutu NvKAd1lg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkZMj-0000000CQny-0Oiw; Thu, 14 Mar 2024 00:54:37 +0000 From: Luis Chamberlain To: akpm@linux-foundation.org, jhubbard@nvidia.com, vbabka@suse.cz, mgorman@suse.de, linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, dave@stgolabs.net, p.raghav@samsung.com, da.gomez@samsung.com, mcgrof@kernel.org Subject: [PATCH 0/3] mm: random cleanups Date: Wed, 13 Mar 2024 17:54:32 -0700 Message-ID: <20240314005436.2962962-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Here's a few random minor cleanups I spotted while reviewing a few mm/*.c files. No functional changes. Luis Chamberlain (3): mm/show_mem: simplify ifdef on si_meminfo_node() mm/compaction: add and use for_each_populated_zone_pgdat() helper mm/vmstat: simplfy extfrag_show_print with fragmentation_index() include/linux/mmzone.h | 8 ++++++++ mm/compaction.c | 9 ++------- mm/show_mem.c | 5 +---- mm/vmstat.c | 11 +++++------ 4 files changed, 16 insertions(+), 17 deletions(-) -- 2.43.0