Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp968987iob; Fri, 13 May 2022 18:04:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWTL/mGrsqWTxd7VYJUomJQymJri2RlVPi/V2m4FS/ArtqahmviK666jEysLFKwgZDp43A X-Received: by 2002:a5d:4b89:0:b0:20c:52e3:3073 with SMTP id b9-20020a5d4b89000000b0020c52e33073mr6091429wrt.140.1652490250954; Fri, 13 May 2022 18:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652490250; cv=none; d=google.com; s=arc-20160816; b=f0PO0EOM0+VDcrqgFsRRqqlAJ1gRJhlGpJ9Y55ResWim9Xn/Xamb399I8Z5pn7mqOe P2V3XN5s8+vmAHm7pG6+PYsyn88FsDePYzT3gtZfMeaVKr66j8XF11PBVHhd8iuq08BI RrrySFy+/mfCwKHQEqub6tgQE1RWkaaeS3U58gH4CX9vSAGhtEPGAHF12DlSZQsZHd95 R3CTzllOb/bN5PyqTKW3nVaFaVcb6felqmRxW3HH6FvHz4+14hG64dC5nougl+b1FN0M TMfzC4tG+6WOtNUw96ltosUlfbgO83PKWZZVTb1fkk+aoTDKP6td3IClZiM9cOhqb9BC neAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9Ag3NNaazKRDXq/DYGLdw9Vnl7huy8HCsDckdgu1Oqw=; b=nPjDZIF2aqpp28r+Nd7qIqYOLpx+K60xhwFLibcoMEvst/CyqoEJwXEcSTrQFU6AwF GTeh1dwQOwGfcRuoPqE6ly4i64UoBTry3doPS+bQUtpXE9/7B1oRZDxH5vSXPrj4EAWZ E54guvwGzCxCPL1s9DQ8Q6AF8bXkT9mWMoxk9A+0eEM17JUTWDDD53jZmvBzPolZi23G lGjh0aFOmGCreUR+BWSWEWs1MLQ3K9pbe8LSGET3Kic/Nb9sJ4B27+drjlvkNUOIHNv8 n/TUX4x/EJjLmkiBiWuS6YedGPokoVU+RjQydA5xdhCmHmrJi0dew3WJ93Xjrovp0mus yCEQ== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x12-20020a5d6b4c000000b0020a95717e07si3307554wrw.975.2022.05.13.18.04.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:04:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0AC6D375C0B; Fri, 13 May 2022 16:37:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351793AbiELJEq (ORCPT + 99 others); Thu, 12 May 2022 05:04:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351776AbiELJEo (ORCPT ); Thu, 12 May 2022 05:04:44 -0400 Received: from outbound-smtp14.blacknight.com (outbound-smtp14.blacknight.com [46.22.139.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D3D41C9678 for ; Thu, 12 May 2022 02:04:41 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp14.blacknight.com (Postfix) with ESMTPS id 98E481C5606 for ; Thu, 12 May 2022 10:04:39 +0100 (IST) Received: (qmail 31775 invoked from network); 12 May 2022 09:04:39 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 12 May 2022 09:04:39 -0000 Date: Thu, 12 May 2022 10:04:38 +0100 From: Mel Gorman To: Rei Yamamoto Cc: akpm@linux-foundation.org, vvghjk1234@gmail.com, aquini@redhat.com, ddutile@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm, compaction: fast_find_migrateblock() should return pfn in the target zone Message-ID: <20220512090438.GG3441@techsingularity.net> References: <20220511044300.4069-1-yamamoto.rei@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20220511044300.4069-1-yamamoto.rei@jp.fujitsu.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, May 11, 2022 at 01:43:00PM +0900, Rei Yamamoto wrote: > Prevent returning a pfn outside the target zone in case that not > aligned with pageblock boundary. > Otherwise isolate_migratepages_block() would handle pages not in > the target zone. > > Signed-off-by: Rei Yamamoto Acked-by: Mel Gorman -- Mel Gorman SUSE Labs