Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1566057rwn; Thu, 15 Sep 2022 18:56:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Cca3u9QbM+Z2LssM9TBu9FxTMwgcMNVQgA+1n24cUaR+iurZ5tXNa9rXKYr3UEPH7uiUb X-Received: by 2002:a63:8341:0:b0:439:429c:1dee with SMTP id h62-20020a638341000000b00439429c1deemr2406814pge.237.1663293395429; Thu, 15 Sep 2022 18:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663293395; cv=none; d=google.com; s=arc-20160816; b=vXu+m4tPLCBjQfpT1dbyQJEh/PPSeY7jmzjjGc0Q0PRbyXz7KCBkE20bj2o4gpT2O2 +Cn39StBhCUoTntyqNUwAWwdvU/lFb43Ju6rl89jqz3OmNgNNTNx7hdYTPVpabiG68fJ CeQrQWWRCRUZDN9S83LD4r80UjgauGXQggRFlYf/JpJWm89HgZt2SEkLiAQ+KuAdGq+e CM6U0awScHmqcos5pGFESnU63b2ggZ7W0bHnFxdF2lyFCd7/JCLlEbW3wqnMGF544wQP LLTz3foovqZEVpN88kjVm78IiEGM2BPFkZ9W7gZseZZcw0m0Kbndgqmrp/xAQm3v7/qo /dNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=AX8O4TdQ0xpkavpd1YTeqGLs/bytlMo/MbLp4aKFKZc=; b=hfkLfAR1e1uxEtVfLFRFjv8DDbH2L8HM02OMUiDLR6A9PVpy4TrhKNzeyaMqsZRN9g t9UGYL+KMifLROlg82moR003m5XaMEM5VvjlQPpDzLIiX+98IHejm5wrh3/p/DvOLMIp M1LPtLIIAicrPI9u+8krQiXujYI55eB909ElbbESpXCWSOUdHTrSsW9z/5sKpCcXOiXu jnqGYjF0se5lFXn7m+BMeieTCqOpG2x7XStPcce13DrEblfrPDxcEDHb4zPMBA0RUDAY lhCNBSTTNQscUC5LUSztjRMgVHiuoM3VvaSA+3oP1X/t3nPskwB1N7PDsD3T/Vlqph2K Ozkg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f188-20020a636ac5000000b0043980f3cf24si5158992pgc.296.2022.09.15.18.56.22; Thu, 15 Sep 2022 18:56: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbiIPBhm (ORCPT + 99 others); Thu, 15 Sep 2022 21:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229636AbiIPBhk (ORCPT ); Thu, 15 Sep 2022 21:37:40 -0400 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D02C04054F for ; Thu, 15 Sep 2022 18:37:38 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R921e4;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=8;SR=0;TI=SMTPD_---0VPupV65_1663292254; Received: from 30.240.97.224(mailfrom:xhao@linux.alibaba.com fp:SMTPD_---0VPupV65_1663292254) by smtp.aliyun-inc.com; Fri, 16 Sep 2022 09:37:35 +0800 Message-ID: <891e03e1-1071-d1a4-a40c-fe537105b402@linux.alibaba.com> Date: Fri, 16 Sep 2022 09:37:33 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH V1 2/2] mm/damon/core: remove duplicate check about THP To: Andrew Morton , kernel test robot Cc: sj@kernel.org, llvm@lists.linux.dev, kbuild-all@lists.01.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20220915142237.92529-2-xhao@linux.alibaba.com> <202209160528.6z2rUbjZ-lkp@intel.com> <20220915152618.a050c7b55bf786c9e2c823ea@linux-foundation.org> From: haoxin In-Reply-To: <20220915152618.a050c7b55bf786c9e2c823ea@linux-foundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL 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 在 2022/9/16 上午6:26, Andrew Morton 写道: > On Fri, 16 Sep 2022 05:54:56 +0800 kernel test robot wrote: > >> Hi Xin, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on akpm-mm/mm-everything] >> >> url: https://github.com/intel-lab-lkp/linux/commits/Xin-Hao/mm-damon-sysfs-avoid-call-damon_target_has_pid-repeatedly/20220915-230635 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything >> config: hexagon-randconfig-r002-20220915 (https://download.01.org/0day-ci/archive/20220916/202209160528.6z2rUbjZ-lkp@intel.com/config) >> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) >> reproduce (this is a W=1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # https://github.com/intel-lab-lkp/linux/commit/7902790b04d0eb74686b55218e8ead191ba5c003 >> git remote add linux-review https://github.com/intel-lab-lkp/linux >> git fetch --no-tags linux-review Xin-Hao/mm-damon-sysfs-avoid-call-damon_target_has_pid-repeatedly/20220915-230635 >> git checkout 7902790b04d0eb74686b55218e8ead191ba5c003 >> # save the config file >> mkdir build_dir && cp config build_dir/.config >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash mm/damon/ >> >> If you fix the issue, kindly add following tag where applicable >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> mm/damon/vaddr.c:451:7: error: call to undeclared function 'pmd_young'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >> if (pmd_young(*pmd) || !page_is_idle(page) || >> ^ >> mm/damon/vaddr.c:451:7: note: did you mean 'pte_young'? >> arch/hexagon/include/asm/pgtable.h:273:19: note: 'pte_young' declared here >> static inline int pte_young(pte_t pte) >> ^ > Thanks. I guess the arch needn't implement pmd_young() if it doesn't > implement THP. > > I dropped the patch. Oh, my bad,  thanks.