Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2373093rwr; Fri, 21 Apr 2023 08:04:36 -0700 (PDT) X-Google-Smtp-Source: AKy350bLwGeA7RDE9FJ7X0xFk0+4KF/t3ZWelAj1MaLQsY/HBAHAyFuNgCD2J15eP972TrsolEu+ X-Received: by 2002:a05:6a20:12cc:b0:ee:b7ea:5d9c with SMTP id v12-20020a056a2012cc00b000eeb7ea5d9cmr8418136pzg.0.1682089475881; Fri, 21 Apr 2023 08:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682089475; cv=none; d=google.com; s=arc-20160816; b=cONlAFPemJ0/etgoLF0WKKUY3WYB/LsLmWFTeG+KXLyYsmH4Sa8u+XzRpKauXwlK+U 1ailWXpAtM2ZVwPW/zEWLyQyr/1xCQcbiWI0TMh9utW9Y+TwFjHvnubZkT3kR8TAmkCQ XSRgynfNDVDZqjmQpdLl9DvaE7Bg45calPV8xeSI4hJWHh+mHeNavYJ+27+zH/KTk2eQ qKRhTNmi6EE/Uylj3YciuinSwrPZjmGrs7Rw2b9RNq1BZO2vWbsnsWT3k0yKLEc8//mX 723lGd4CGrMPjLXyKZ/BV9D9K7qwTQumRZYFGC05XFSLeunPMKUb8qJE3k0mRNagqoL8 KVmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1H6gZ6CUpg5q93avmSnkTgrk475ac9oCIYGefmfeAXI=; b=SHBJ7fIC/nQ+YtOQwA0BoW2jpbTkn85hMYso1iuVwreGFnXx/YB1bIQr2a8l0k66L9 jPLSaW36DgZUn9Ra6laS9oh6GpbQ1tTqUAA7bLV4U4V31cAQYRj4rFQYZPQKQRX7/i08 fQv4NrqeOygop8kkgfSbLLOkXBjKjoalgj+aaTA1CKbD/LHn6pLBz9wxCh68l6aGzKQ+ oPurvJLivlxd8L43cukbOOiag9sKba56xNgNnlNTtPLdM8YGPSqKr2ITRioxxBXzaytM hXprxHk/hxcl9i51CCwdhqFg7Je6vikDVRW0en4qhkRtdlBIULs5N1Hme54KInt59lv7 qRrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k27-20020a63561b000000b0051b52bacc82si4126063pgb.243.2023.04.21.08.04.13; Fri, 21 Apr 2023 08:04:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232749AbjDUOyA (ORCPT + 99 others); Fri, 21 Apr 2023 10:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231396AbjDUOx6 (ORCPT ); Fri, 21 Apr 2023 10:53:58 -0400 Received: from outbound-smtp29.blacknight.com (outbound-smtp29.blacknight.com [81.17.249.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0EC4AF20 for ; Fri, 21 Apr 2023 07:53:57 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp29.blacknight.com (Postfix) with ESMTPS id 33029BED8C for ; Fri, 21 Apr 2023 15:39:31 +0100 (IST) Received: (qmail 27573 invoked from network); 21 Apr 2023 14:39:31 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.21.103]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 21 Apr 2023 14:39:31 -0000 Date: Fri, 21 Apr 2023 15:39:29 +0100 From: Mel Gorman To: Johannes Weiner Cc: linux-mm@kvack.org, Kaiyang Zhao , Vlastimil Babka , David Rientjes , linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [RFC PATCH 15/26] mm: compaction: simplify free block check in suitable_migration_target() Message-ID: <20230421143929.riofzlnmn2dgqfc7@techsingularity.net> References: <20230418191313.268131-1-hannes@cmpxchg.org> <20230418191313.268131-16-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20230418191313.268131-16-hannes@cmpxchg.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 18, 2023 at 03:13:02PM -0400, Johannes Weiner wrote: > Free page blocks are now marked MIGRATE_FREE. Consult that directly. > > Signed-off-by: Johannes Weiner Justification for patch depends on whether MIGRATE_FREE is itself necessaary. Even then, it's a micro-optimisation but maybe it matters more later. -- Mel Gorman SUSE Labs