Message ID | 20240327185736.GA7597@cmpxchg.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 831A9C47DD9 for <linux-mm@archiver.kernel.org>; Wed, 27 Mar 2024 18:57:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0F7986B0087; Wed, 27 Mar 2024 14:57:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0A7156B008A; Wed, 27 Mar 2024 14:57:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E8ABE6B008C; Wed, 27 Mar 2024 14:57:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id CAB3D6B0088 for <linux-mm@kvack.org>; Wed, 27 Mar 2024 14:57:44 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 92A1EA07C5 for <linux-mm@kvack.org>; Wed, 27 Mar 2024 18:57:44 +0000 (UTC) X-FDA: 81943728048.22.8CCC08E Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by imf04.hostedemail.com (Postfix) with ESMTP id BE29340007 for <linux-mm@kvack.org>; Wed, 27 Mar 2024 18:57:42 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=u+wzBzgc; spf=pass (imf04.hostedemail.com: domain of hannes@cmpxchg.org designates 209.85.219.54 as permitted sender) smtp.mailfrom=hannes@cmpxchg.org; dmarc=pass (policy=none) header.from=cmpxchg.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711565863; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=1l8LwEAqTqzUC45r7vgbxldnGKxvJq2VhJB7bphMGJc=; b=ca77mBUAeA4OYCTozDVFdp2SIUQ7TH2JAIe3V6G7P8TiiUMNNpgez6TGERfmlN3LlYKanP lUnirVuHiPAKljw1hLZH7DFBPLXS2nOFyG4x8sXmM/9Fbf8j7SlKynE3Q8D4c3FutXvOj1 KkPUnzKlJzWdYD8dEFe8Db9NW1mrZws= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711565863; a=rsa-sha256; cv=none; b=bHJGDwlD88Gj63Gm8HUKwWSKt09E4A3TSZX7IuIeT5Ymb5KpyIO3Ps3SqrjiGjX/Dhg76H DWYHT1UMhMvKRH81yvupL4hBqaHz/uurGAZrlestOOyn6jGSblM0hy6LVIk9ecte9UM1NF 4YexkgzseYhHOts/FiNOhRqZ2jP7/Is= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=cmpxchg-org.20230601.gappssmtp.com header.s=20230601 header.b=u+wzBzgc; spf=pass (imf04.hostedemail.com: domain of hannes@cmpxchg.org designates 209.85.219.54 as permitted sender) smtp.mailfrom=hannes@cmpxchg.org; dmarc=pass (policy=none) header.from=cmpxchg.org Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-696499bd61eso1639176d6.0 for <linux-mm@kvack.org>; Wed, 27 Mar 2024 11:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20230601.gappssmtp.com; s=20230601; t=1711565862; x=1712170662; darn=kvack.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1l8LwEAqTqzUC45r7vgbxldnGKxvJq2VhJB7bphMGJc=; b=u+wzBzgch/bel9ZmJIm+2wRhnF5f+vOUUrZ7tmst9++1UwnTRXS2+X6UOoRkSEu1Me HYF0q2jOLp1kGYN3+5Kke0pMjR2BkmT3fexI8C7nr6OHr40eQCgxkmLl/HfoRt/D5f6E hyJfROCQyUQw4wWpvbRuqaS2FZDp8abKm/Kv9Rnepc1csvlNZBC+kotVK0Bbr7hM1AJT 3hUkcl9ylCZ6FgrWCnRFRvdSDJ+SgCruRHnHdodhooTnhBeLxwU3a9XfJPPEWEBYcjuj OiR1QHx+ZHTk1hUdQy4ZYEix/U/oeCXazla5gMrsUbRJMBAtWRTbaG2PYWb9mbQZ8BHF Qt/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711565862; x=1712170662; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1l8LwEAqTqzUC45r7vgbxldnGKxvJq2VhJB7bphMGJc=; b=V8XWvjFRw5hn6yOX090SdYy7WEHYf1kcz4tF5it568cI4lP3haGqJi8SnHL8mx6LA5 PpALkzlbgxAyQcImdg2P2fAxv6LhXgeT/dxUdBoKTXmP6OdrY1Sev1PtZDzbg3ePazrx 68J9AiBclipwD3aQhfybhY1LpWXYOS6eoTJh40cBvJHPGWl6eFwC11vYhaIghs1n2xFO hnnnQgaYfXychB8GcV2FQy7l5PC5LfYETcofG4sxl0LBMUxnMX3kjXjlXDqk8xN/r48y CdawO1krq89MW8K4h/utqavt9jMDT5i6MIcqIksd0Q5caf8yz+9vZLtwM4YUBKCUn//8 GSJg== X-Forwarded-Encrypted: i=1; AJvYcCWKI1kLoOtiX9fgKWF/Hn8T0OD4+PKNGQdvhfdCbSJIdQhIFqbvLfLkLkgzGC59bHojqOQgyLYuF1nbVX9ogsg4KdY= X-Gm-Message-State: AOJu0Yw1CXXkFjTxe00rWwLVleKstk8zEDB1oNvuEqt3sdsd2HCu/ezt 35vvi4Uv2tXBeE+jacUV3ZLx2m4tLWBdSe+N6c1WYk6LhYnmZ5HRgFKap3wD/Qkqw5wzvdtEWXa 8 X-Google-Smtp-Source: AGHT+IEN8/WSSGf+HicRD3a4NBcuHxxIchLwLgRERsJP0K+obubQTmVi3qnRCMwz70vMLWE9Bgcvgw== X-Received: by 2002:a05:6214:519b:b0:691:57c4:b918 with SMTP id kl27-20020a056214519b00b0069157c4b918mr461268qvb.37.1711565861450; Wed, 27 Mar 2024 11:57:41 -0700 (PDT) Received: from localhost (2603-7000-0c01-2716-da5e-d3ff-fee7-26e7.res6.spectrum.com. [2603:7000:c01:2716:da5e:d3ff:fee7:26e7]) by smtp.gmail.com with ESMTPSA id fo15-20020ad45f0f000000b0069680284380sm4737449qvb.56.2024.03.27.11.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 11:57:41 -0700 (PDT) Date: Wed, 27 Mar 2024 14:57:36 -0400 From: Johannes Weiner <hannes@cmpxchg.org> To: Vlastimil Babka <vbabka@suse.cz> Cc: Andrew Morton <akpm@linux-foundation.org>, Mel Gorman <mgorman@techsingularity.net>, Zi Yan <ziy@nvidia.com>, "Huang, Ying" <ying.huang@intel.com>, David Hildenbrand <david@redhat.com>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] mm: page_alloc: consolidate free page accounting fix Message-ID: <20240327185736.GA7597@cmpxchg.org> References: <20240320180429.678181-1-hannes@cmpxchg.org> <20240320180429.678181-11-hannes@cmpxchg.org> <b5b09acc-8bca-4e8c-82d4-6542fc7e9aec@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <b5b09acc-8bca-4e8c-82d4-6542fc7e9aec@suse.cz> X-Stat-Signature: 8hpt6ga918eas8m5j7a995ancpwfb5s6 X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: BE29340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fJABO/6rd7nH2diGLcaq3YDZBEw0Cyz/0wRZP9+BVuM7oRbXmCuhYYh6G5MGb7gXq5UhqUhEm0zg6aq8SaBV3H1umpGlYZEXN0yX++2fCezD5/ZG30YDTh8QAaR4Kh5UNaP6cA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
[1/3] mm: page_alloc: consolidate free page accounting fix
|
expand
|
diff --git a/mm/page_isolation.c b/mm/page_isolation.c index 914a71c580d8..042937d5abe4 100644 --- a/mm/page_isolation.c +++ b/mm/page_isolation.c @@ -252,8 +252,7 @@ static void unset_migratetype_isolate(struct page *page, int migratetype) * Isolating this block already succeeded, so this * should not fail on zone boundaries. */ - WARN_ON_ONCE(!move_freepages_block_isolate(zone, page, - migratetype)); + WARN_ON_ONCE(!move_freepages_block_isolate(zone, page, migratetype)); } else { set_pageblock_migratetype(page, migratetype); __putback_isolated_page(page, order, migratetype);