Message ID | 20230109213335.62525-1-sj@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2392248wrt; Mon, 9 Jan 2023 13:35:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXvq0Dhcv1P+TRtcuYThbAqYNuPYWn3cFigpgxkaZ47teTiSRYVG5GKgop8FxtHlVfDEeVts X-Received: by 2002:a17:902:fe0c:b0:193:38b3:530d with SMTP id g12-20020a170902fe0c00b0019338b3530dmr2778118plj.36.1673300114841; Mon, 09 Jan 2023 13:35:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673300114; cv=none; d=google.com; s=arc-20160816; b=VL6yXmP3gOnQ1tq+9lzURTs9Yxxe3yL4qn0IWEmoXDBJNRLzvsb8t31Q6Ky6V4Nwa3 BpVPJfOtoMXpTgeuXgWMDN2kCb6VaO56EHzGMA4mjnw8w44GRjWs+GADOcYBPAYQ9cfe agttK4gewPnNN9nrCptXXplrbkNPJjPIdhu0cf8My+mAEvzvdcRG3H8SKRg9m3zDNgmQ PdQJDu9Iho6HOpGMfpSfw7g8GrqqBPyiCP+NI0TghXZ+faKsgHJ/OwM3uKxzFGDTKZD4 S6LD4uPFtFGTVtH205RR3v2oDK1u2qesZqYDxOVBS0/4XfAsy76aerHQrEU0m1uhSBBO Tlgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=O9YDCE3yqhyiYglKL2I6NDPS5aJHtFp7EE+5CIycKq0=; b=fcBtlGccYVOqKugDhekb8ThDCEHu5J+TA56uuj84E/U20Q7bmm4szF6acd94xT4sjn f87vEcUNev0eBVi/1dM2BFTfz4qg/BJRsur+PzMG3UeWcKeg7DRqeAUrJeWkVzQx/swP nH8kaO6Ad0iVDMMGC1/rsFHu5C/dykrsW+i8KIfKyzNjXSmGWqtS2c9qjl5BTBkDL373 S13IX59/bHEZR30+VJbl6Q+LYnAG6P35Yx+I9+yYSMHhXj/5KEJSrj7vUa3K8rQet5ZD wqcLQDTBVL4HKGOV7MYhzgTs5vt/DUvqij5lw2mOlY22HG492O5D8lgrP7oZDWcOzsAV 60hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tG9V3TNB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b3-20020a170902e94300b0019338acc12bsi1717100pll.343.2023.01.09.13.35.00; Mon, 09 Jan 2023 13:35:14 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tG9V3TNB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237654AbjAIVeK (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Mon, 9 Jan 2023 16:34:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234337AbjAIVdv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 9 Jan 2023 16:33:51 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1AD3C7D for <linux-kernel@vger.kernel.org>; Mon, 9 Jan 2023 13:33:46 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8511A613EF for <linux-kernel@vger.kernel.org>; Mon, 9 Jan 2023 21:33:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62D46C433D2; Mon, 9 Jan 2023 21:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673300025; bh=YoH2tR8NLH+QbhLgJ/r04bzOqFDeQdgriWy2NASAc0k=; h=From:To:Cc:Subject:Date:From; b=tG9V3TNBUY0/wfoUfLXTIpTeXPSAFHZ2Zw+oAXdW09R0hULHv4cAPV9k5vMXA42c3 dAatgxDxPlenTlDWEi8/LepR1AfAT7h//7FTkXFtw83bJHvdw7qyF7EV/OIFRP/5AP dMzN9hmFgX7xkX7IwIE/tDvM2M8SiVvPeEFvHEkMScUjOquZS09Sojdd00gVHCtT6j 5Y7aI/HVmWKVmWkDAhxmJllGVt5IBxketV3RIIzzUK2uqsN35a2/8C6yyIYBjclN/r qjYDQs5jQaNR7EzINZ/64L3j/qOz4peyjij6wChVy8XccpurVH4f5CDxY3+nDg1UgO wdwj3/v6L/RJw== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] mm/damon/{v,p}addr: misc fixups for folio usage Date: Mon, 9 Jan 2023 21:33:29 +0000 Message-Id: <20230109213335.62525-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754582341270447928?= X-GMAIL-MSGID: =?utf-8?q?1754582341270447928?= |
Series |
mm/damon/{v,p}addr: misc fixups for folio usage
|
|
Message
SeongJae Park
Jan. 9, 2023, 9:33 p.m. UTC
DAMON's monitoring operations set for the virtual and the physical address spaces use folio now, but some code is not reflecting the fact. Further cleanup the code for folio usage. SeongJae Park (6): mm/damon/vaddr: rename 'damon_young_walk_private->page_sz' to 'folio_sz' mm/damon/vaddr: support folio of neither HPAGE_PMD_SIZE nor PAGE_SIZE mm/damon/vaddr: record appropriate folio size when the access is not found mm/damon/paddr: rename 'damon_pa_access_chk_result->page_sz' to 'folio_sz' mm/damon/paddr: remove folio_sz filed from damon_pa_access_chk_result mm/damon/paddr: remove damon_pa_access_chk_result struct mm/damon/paddr.c | 44 +++++++++++++++++--------------------------- mm/damon/vaddr.c | 30 ++++++++++++++---------------- 2 files changed, 31 insertions(+), 43 deletions(-)