From mboxrd@z Thu Jan 1 00:00:00 1970 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 13962C433F5 for ; Sat, 7 May 2022 04:50:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 461486B0071; Sat, 7 May 2022 00:50:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 40F666B0073; Sat, 7 May 2022 00:50:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2AFF66B0074; Sat, 7 May 2022 00:50:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 1772D6B0071 for ; Sat, 7 May 2022 00:50:10 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id D193980198 for ; Sat, 7 May 2022 04:50:09 +0000 (UTC) X-FDA: 79437720138.25.14B57E2 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf23.hostedemail.com (Postfix) with ESMTP id 643FD140046 for ; Sat, 7 May 2022 04:49:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651899007; x=1683435007; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=J/3K4Vwk1O/C7U6JgPB5V1dfiV3hQe4EsWkA0JGHPKQ=; b=D07Kkq91e37H42M60jN3Rrig/HNqTxUZ5qhR0HPgGILBdP2YeAIp9cYd NIJCCMnUdHJIs2xv5DMDd2WpZ2dSaQhIxaAEfSVRK17Q0IYHBaAAh4dhM ARrCv+tWeZnKnOQu6sWs/+Vu/2AJxUqw2SEYV0gUUW0evpy7WGenoaCan MUofycGngSlQbdp4I3JpY0o5/GuwL/h7IwWj7l6l5MZOH5gXibrXGDs1D j8FTE9DjQ+lf18mB/FVekVVJL8ap7y/xdaSZbF8uvjdBFMb0W7uIOg7+k 6w01I94tmo1USnm7r+d41mJzSZPlT/vAc5M97fT0XfOgddWziM71DlF03 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="249187351" X-IronPort-AV: E=Sophos;i="5.91,206,1647327600"; d="scan'208";a="249187351" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 21:50:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,206,1647327600"; d="scan'208";a="736067130" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 06 May 2022 21:50:01 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nnCOG-000EDc-Rm; Sat, 07 May 2022 04:50:00 +0000 Date: Sat, 7 May 2022 12:49:06 +0800 From: kernel test robot To: cgel.zte@gmail.com, akpm@linux-foundation.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, keescook@chromium.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, xu xin , Yang Yang , Ran Xiaokai , wangyong , Yunkai Zhang Subject: Re: [PATCH v2] mm/ksm: introduce ksm_force for each process Message-ID: <202205071229.7ltA0xmX-lkp@intel.com> References: <20220507014318.642353-1-xu.xin16@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220507014318.642353-1-xu.xin16@zte.com.cn> X-Rspamd-Queue-Id: 643FD140046 X-Stat-Signature: zerq81c6boytwyjzucjj3hgqsdsp1ykg X-Rspam-User: Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=D07Kkq91; spf=none (imf23.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam09 X-HE-Tag: 1651898996-188126 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on akpm-mm/mm-everything] [also build test ERROR on next-20220506] [cannot apply to hnaz-mm/master kees/for-next/pstore linus/master v5.18-rc5] [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] url: https://github.com/intel-lab-lkp/linux/commits/cgel-zte-gmail-com/mm-ksm-introduce-ksm_force-for-each-process/20220507-094557 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything config: hexagon-randconfig-r045-20220506 (https://download.01.org/0day-ci/archive/20220507/202205071229.7ltA0xmX-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project af4cf1c6b8ed0d8102fc5e69acdc2fcbbcdaa9a7) 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/bc6a122b9e10290755c811e7fa23dd60d39303e2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review cgel-zte-gmail-com/mm-ksm-introduce-ksm_force-for-each-process/20220507-094557 git checkout bc6a122b9e10290755c811e7fa23dd60d39303e2 # 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 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> mm/ksm.c:343:3: error: use of undeclared identifier 'turn' turn false; ^ 1 error generated. vim +/turn +343 mm/ksm.c 336 337 /* Check if vma is qualified for ksmd scanning */ 338 static bool ksm_vma_check(struct vm_area_struct *vma) 339 { 340 unsigned long vm_flags = vma->vm_flags; 341 342 if (!(vma->vm_flags & VM_MERGEABLE) && !(vma->vm_mm->ksm_force)) > 343 turn false; 344 345 if (vm_flags & (VM_SHARED | VM_MAYSHARE | 346 VM_PFNMAP | VM_IO | VM_DONTEXPAND | 347 VM_HUGETLB | VM_MIXEDMAP)) 348 return false; /* just ignore this vma*/ 349 350 if (vma_is_dax(vma)) 351 return false; 352 -- 0-DAY CI Kernel Test Service https://01.org/lkp