From patchwork Thu Aug 18 10:57:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: haoxin X-Patchwork-Id: 12946933 Return-Path: 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 DD778C00140 for ; Thu, 18 Aug 2022 11:18:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 77D376B0073; Thu, 18 Aug 2022 07:18:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 72AB58D0001; Thu, 18 Aug 2022 07:18:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6196C6B0075; Thu, 18 Aug 2022 07:18:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 578ED6B0073 for ; Thu, 18 Aug 2022 07:18:51 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 353AB1C6314 for ; Thu, 18 Aug 2022 11:18:51 +0000 (UTC) X-FDA: 79812466062.03.D7ECE4A Received: from out30-56.freemail.mail.aliyun.com (out30-56.freemail.mail.aliyun.com [115.124.30.56]) by imf01.hostedemail.com (Postfix) with ESMTP id 89E54410A5 for ; Thu, 18 Aug 2022 10:57:38 +0000 (UTC) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=xhao@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VMaUrG7_1660820254; Received: from localhost.localdomain(mailfrom:xhao@linux.alibaba.com fp:SMTPD_---0VMaUrG7_1660820254) by smtp.aliyun-inc.com; Thu, 18 Aug 2022 18:57:35 +0800 From: Xin Hao To: sj@kernel.org Cc: akpm@linux-foundation.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, xhao@linux.alibaba.com Subject: [PATCH V2 0/2] mm/damon: A few fixup with lru_sort Date: Thu, 18 Aug 2022 18:57:30 +0800 Message-Id: <20220818105732.34492-1-xhao@linux.alibaba.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660820262; a=rsa-sha256; cv=none; b=Q1LYPerh2NR73ZUpVZ7wh8Ud0/vRqyDahWl3ra0DIYD35rCwELgh247EODtzZr9KofCoTa frP3UhM1r7ffspps2qAN0xqc9unQvl5XdecsW/nWseXkee6kU9lZBXGzza8Fmger/EYzSM 9B5cVRFQuPp18evA94phGehMdR3iDik= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none; spf=pass (imf01.hostedemail.com: domain of xhao@linux.alibaba.com designates 115.124.30.56 as permitted sender) smtp.mailfrom=xhao@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660820262; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=TBQ0o8iqqAmCxsVEUoUE9DYB+xZyyf362dl1t6MXTLg=; b=P/CISQQl3iGTC9s0xh7CsngQI9jL+g77T3EHdqn6oE0nckzm2w95pPTQ1SxbnrGbRR2/Ap 0+yVwmuEqfp3q6WqV/jj49TJIQ1wwTqe6gEFtECCxSIQrTcBONA3FLTH9iUIrCYvZTB3CG fVEo9X7XguHsmiQ7CsPdN60++recxbk= X-Stat-Signature: qqtppiz6djsq79sdejadorrf7edk1sb9 X-Rspamd-Queue-Id: 89E54410A5 X-Rspam-User: Authentication-Results: imf01.hostedemail.com; dkim=none; spf=pass (imf01.hostedemail.com: domain of xhao@linux.alibaba.com designates 115.124.30.56 as permitted sender) smtp.mailfrom=xhao@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com X-Rspamd-Server: rspam11 X-HE-Tag: 1660820258-984147 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000004, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: v1: https://lore.kernel.org/damon/20220818082538.67825-1-xhao@linux.alibaba.com/ Xin Hao (2): mm/damon/lru_sort: Move target memory region check to head of func mm/damon/lru_sort: Remove struct of damon_lru_sort_ram_walk_arg mm/damon/lru_sort.c | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) --- 2.27.0