Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp922538rwb; Fri, 28 Jul 2023 01:45:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFIoVAVMZT1ufu6WmtGnVSIB9zMXHb33b6R0CDlGlaqAMup4AlD3q1uaOcECFVwpyRjkKEB X-Received: by 2002:a17:90b:1b49:b0:267:6ea5:61dd with SMTP id nv9-20020a17090b1b4900b002676ea561ddmr688386pjb.15.1690533909251; Fri, 28 Jul 2023 01:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690533909; cv=none; d=google.com; s=arc-20160816; b=fFGNebYnENXrDS9dlxdhHs1WXvEfmLgy75w8aK2bF1+elPntnK9EBPb5OqdKmPzjMp rKlHiXEkcNVF6ctJdrkD7R8crGaOgJjcCK20pPTGsEj37dCvasWyll4wT3LlPJM+p3G9 lyZoYS6GQTmXztwNt1LmZj5kAHHRnSs8+flS1W9gWfm+EwE0jmfjwh7n6zPWYZMi8I3z NqEO08OC4xOoDCKfdLVw1ZzlCs5iqXxvui3VgExGK/oxOlUS9UFMxv84+CgMz9QnLIl0 s2rO8og55km0ICWQ1nWZyVHUry3g6l82wu4kYFzFhQp+N9bANuBLGKWMRQObScE03h4q b9tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=o6cirw1FEkCs0UFapxliUJRvhCFx7ayk/EAB6b5XJMc=; fh=ztaCwcRSqxCn7tZp2xI7dipaaGvoPlF5yOkIrpSeJGs=; b=CKaDYjoB/dykZ4L5g+3R++mu9VwkqDOAVsuqZr+/pJWoABM7Xvdqq94Lwp+xya7Nim GaAEku4dRgsUReofNIwIKXO3GD+caNpIMQ0gOFvs0nu33TPCs2o3gS3QfXB23hgfE5CW nIsCwuAF2XAeI9cfWiSykOcDbSqiif4EOU9xPh0KiubmAOuJEczjQoxN+3SVssKROgYw h492LTTGNZfRYzyqahBgxSkx3zZAsA/NFWryU5Zyspn/8Gb07Er80SAPGeOqLGmjstya WmbjAuC5HfONIG+2/IGT3jxjKDIuTpuxvvj0/gLfbdcsNYS/k9uwUpkuSColgLSCbx+5 1v9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KYGB69fi; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi10-20020a17090b1e4a00b00263c48abf8asi4559540pjb.31.2023.07.28.01.44.56; Fri, 28 Jul 2023 01:45:09 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=KYGB69fi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234808AbjG1IS4 (ORCPT + 99 others); Fri, 28 Jul 2023 04:18:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234820AbjG1ISh (ORCPT ); Fri, 28 Jul 2023 04:18:37 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A95551BF4 for ; Fri, 28 Jul 2023 01:18:36 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-26814f65d7fso1082172a91.0 for ; Fri, 28 Jul 2023 01:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690532316; x=1691137116; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=o6cirw1FEkCs0UFapxliUJRvhCFx7ayk/EAB6b5XJMc=; b=KYGB69fibv3PnjpeJY9meN0zIhVGg04Vi/Xujei0Kw3lMa/nPPiKek8hwJj9xzDsXM qm0VLveFbtL9GIGKZheCrCqTSPmNSbMgFfh+e7DjO9ANXZbkZWSVM6zD6bPJZym6Y2p6 KT8pnL5RH0EXEb0whhQAAVr723+Z5m62sIxN1xJnS0GwZC7irO0fo4FMs2BdE1mx1aq3 4iwnNyfztMp26DOVWpQRr8tpLxEU0jJaiiSM5NzNVz3yxTqTd7yFnu7mNN2fNhouwU7C tGbssS5EVgwVMLXbSLAxLgxAB3eWRdknrqIPROa3Bps3TMv101+Zlib6oc/In+xyz+yF Q0nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690532316; x=1691137116; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o6cirw1FEkCs0UFapxliUJRvhCFx7ayk/EAB6b5XJMc=; b=AAs3ACJs6o7/gZOup+zBXcAnXTqu5UCeGwpsT7MMPDltHcihSYxTTAUxihmlFC/fQp muCj0pHYgCSfgjqi+yacRZebAsqbi/+vuimm0BPV61W2CvxKbQoXbsUfqCOW/OR1KJNa 07S/M1YHspRxLeS5zZfSRMcBhCqqkAmwxJYQuxlu17O1bja89GYtThi/ozEj0x2Wgny5 gCCsj7mCR2e4YHr3ngSAXOt0LF5idsnff49srFtyUwyuyQEH21Ak/h1LmNC30BG5/IE7 o/VMU+wPjpJSdbH0noJ6LBpAToOwfQJbDtdUmH2Jt3MPndeW8H+RZKD/07KIPrl0zGZ3 zH7g== X-Gm-Message-State: ABy/qLYcWjZWOofi6LESPYHMXo6lSzmlh5X3QKHDtxQQKMJDy+lguU3Y kFU81SBsrUyi/zwqlChKESuk1kKwMEsuNKDPf5O+TI+DkcM= X-Received: by 2002:a17:90b:3b8a:b0:268:420:2e04 with SMTP id pc10-20020a17090b3b8a00b0026804202e04mr540791pjb.49.1690532315768; Fri, 28 Jul 2023 01:18:35 -0700 (PDT) MIME-Version: 1.0 References: <20230727183745.682880-1-ppbuk5246@gmail.com> <202307281532.pVsrTsL2-lkp@intel.com> In-Reply-To: <202307281532.pVsrTsL2-lkp@intel.com> From: Yun Levi Date: Fri, 28 Jul 2023 09:18:24 +0100 Message-ID: Subject: Re: [PATCH] damon: Use pmdp_get instead of drect dereferencing pmd. To: kernel test robot Cc: sj@kernel.org, akpm@linux-foundation.org, oe-kbuild-all@lists.linux.dev, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 This build warning is fixed in v2: https://lore.kernel.org/all/20230727212157.2985025-1-ppbuk5246@gmail.co= m/ On Fri, Jul 28, 2023 at 9:09=E2=80=AFAM kernel test robot w= rote: > > Hi Levi, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on akpm-mm/mm-everything] > [also build test WARNING on linus/master v6.5-rc3 next-20230728] > [cannot apply to sj/damon/next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Levi-Yun/damon-Use= -pmdp_get-instead-of-drect-dereferencing-pmd/20230728-024044 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-ev= erything > patch link: https://lore.kernel.org/r/20230727183745.682880-1-ppbuk524= 6%40gmail.com > patch subject: [PATCH] damon: Use pmdp_get instead of drect dereferencing= pmd. > config: i386-randconfig-i016-20230727 (https://download.01.org/0day-ci/ar= chive/20230728/202307281532.pVsrTsL2-lkp@intel.com/config) > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281532= .pVsrTsL2-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202307281532.pVsrTsL2-lkp= @intel.com/ > > All warnings (new ones prefixed by >>): > > mm/damon/vaddr.c: In function 'damon_young_pmd_entry': > >> mm/damon/vaddr.c:440:15: warning: unused variable 'pmde' [-Wunused-var= iable] > 440 | pmd_t pmde; > | ^~~~ > > > vim +/pmde +440 mm/damon/vaddr.c > > 434 > 435 static int damon_young_pmd_entry(pmd_t *pmd, unsigned long addr, > 436 unsigned long next, struct mm_walk *walk) > 437 { > 438 pte_t *pte; > 439 pte_t ptent; > > 440 pmd_t pmde; > 441 spinlock_t *ptl; > 442 struct folio *folio; > 443 struct damon_young_walk_private *priv =3D walk->private; > 444 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki >