Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp394065ybz; Fri, 17 Apr 2020 03:09:16 -0700 (PDT) X-Google-Smtp-Source: APiQypJRcaRbwpWYTJYEuryCoLFimVD25P89shu6+2V5Wp4n/Olro8opaxzqrpmbswz/cpL+GbhU X-Received: by 2002:a17:906:8152:: with SMTP id z18mr2173001ejw.4.1587118156470; Fri, 17 Apr 2020 03:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587118156; cv=none; d=google.com; s=arc-20160816; b=Qtqv9KWBGn+0iM8Bj7y7Pir7yyRa9VJuE/XwhmVPwRiIHyxGNWMCjd4hWKp0Y0tlc/ HF3uyMpmuZ4d7OL9p7eC+zDentwTw6ixFP0MSRMiWHyqWQjYV5SZWW+fWrMaR9OPG59p zcT3tP96AfzjXxyhkSHpvCsfUffXfBJKKe3ASz/LImV2wF0K953Ri4AQ0+P1LhLNLash ynD44J0b6Y4hp05stbvn3/c3BqdzJ0w8ZlsdhUogu9wthiGQgFH52WopOtJWICCLL7+S WWg64s1aIdMC/6nl9ALz1Ch0p9NFZWw/ap0B5q0bbUhZeYJ1GBMqCFXKG8umJiiBDhlB kFZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=GVL6tgAFwgffDbhheeH49uz+J5xS7rxe9LbYjvob9SI=; b=kc39YYmkRtfo8GZJfgLxvGUGu24ftyABZE1xrUbazSGMoXaA9PLHF/WBiNP6SIukO6 7sdC2QjLdd+xDYnVPab+s2C5tmdT0Um2CpqhFnL6/fO4cfchOklsBPAcR85J+tqisLKr 6biBH25ENnngzmmZkAA14ivwH5nbx0jOGJ+xN7d88Jy/W+xqfMBPO0nCEbqBY/i/IuY2 4dlz3iIsQm/Img+P7nHXFPhLCXFMryHXetBf2mEeNYGgeOsjZzykFu20UqFvP5c27wUQ RSpzNBDNBIrzv71qITvhx2EDrIMLOA0bUsB/szkkcKPj1lRB/YT0YRBz7SiUVBpVrvVU 4L3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=DyT5X2yw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs25si12450619ejb.366.2020.04.17.03.08.53; Fri, 17 Apr 2020 03:09:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=DyT5X2yw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbgDQKFD (ORCPT + 99 others); Fri, 17 Apr 2020 06:05:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbgDQKFC (ORCPT ); Fri, 17 Apr 2020 06:05:02 -0400 Received: from merlin.infradead.org (unknown [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 545CFC061A0C for ; Fri, 17 Apr 2020 03:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GVL6tgAFwgffDbhheeH49uz+J5xS7rxe9LbYjvob9SI=; b=DyT5X2ywxTKZXaAlPBbRhvJa5b qJswAbTkoXJhlMCc3mwsLtxcmc0wulm9BuvH4g4svEPKyQIpdW6mcq2CfQLmeYJ8ocVptbJQjU909 kGFdPLM9QOEsH46r4juwUcVB/vrs/MkYRDbAbqbc+8y47W2d2QEN9ENLYyMfYBvPgqiBVe8sJ1Tso AzsNCXjHCw0TAOKbCCLY90M8N8c4TrCMKSCmZ11Baj3Ozdrv60M6oZeJmfN5AjhavyPpoRpeOzNx3 dau6rrsisCeRholRRndwScMlHyb/+1qb7z2ZuIOP6/lQ20EHXtFUn5BZOUBm2h2fXZi+mdtFYR1qt Xjvd4EMw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jPNrB-0004aT-Kn; Fri, 17 Apr 2020 10:04:21 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id C10D930477A; Fri, 17 Apr 2020 12:04:17 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9829F2B1213AA; Fri, 17 Apr 2020 12:04:17 +0200 (CEST) Date: Fri, 17 Apr 2020 12:04:17 +0200 From: Peter Zijlstra To: SeongJae Park Cc: "Huang, Ying" , Mel Gorman , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Ingo Molnar , Mel Gorman , Rik van Riel , Daniel Jordan , Tejun Heo , Dave Hansen , Tim Chen , Aubrey Li Subject: Re: Re: [RFC] autonuma: Support to scan page table asynchronously Message-ID: <20200417100417.GT20730@hirez.programming.kicks-ass.net> References: <87eespyxld.fsf@yhuang-dev.intel.com> <20200417070508.32243-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200417070508.32243-1-sjpark@amazon.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 17, 2020 at 09:05:08AM +0200, SeongJae Park wrote: > I think the main idea of DAMON[1] might be able to applied here. Have you > considered it? > > [1] https://lore.kernel.org/linux-mm/20200406130938.14066-1-sjpark@amazon.com/ I've ignored that entire thing after you said the information it provides was already available through the PMU.