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 D8482C433F5 for ; Sat, 7 May 2022 04:34:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 35F296B0071; Sat, 7 May 2022 00:34:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 312916B0073; Sat, 7 May 2022 00:34:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1D6C86B0074; Sat, 7 May 2022 00:34: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 0B5B76B0071 for ; Sat, 7 May 2022 00:34:10 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C198D376 for ; Sat, 7 May 2022 04:34:09 +0000 (UTC) X-FDA: 79437679818.08.FD72B5A Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf23.hostedemail.com (Postfix) with ESMTP id 810CD140026 for ; Sat, 7 May 2022 04:33:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651898046; x=1683434046; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OKcHYO1LwvnDmPe+0JelqjqAsho2N3yrYYHr1TvoAyg=; b=PAurHAR4+dX3LZkReWjkPoc8sYmDSBCyisnx97xj8YCCCCZbbL2A+0Jm 7kNR/5pSXtpHUlRrc6Pre+EMGNZ9V+zc6ZuuZBGw/WVClrxVn9wHMVMcc CVcznojFyGj/FrsdR/yM3WjBuW2cbJM/Fhx26YgwKYdk0qbiPF9KlrOhP 65BjBcL1WLeLv9PTcDL8stEMhBMSk44WAiIjS+ESznKsk9aCA+Hy6gMci OGk8cDaDndtXNj7ZVFTqWpk1vDxxJ6sNYeuZePKMDIfp+rK5R24SjPaay nY7I8Gx0f5uL80T5i46vX0QvPg2PtIDHwz85nkdxgi2naO4Bnq3SaTYPD w==; X-IronPort-AV: E=McAfee;i="6400,9594,10339"; a="249185653" X-IronPort-AV: E=Sophos;i="5.91,206,1647327600"; d="scan'208";a="249185653" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2022 21:34:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,206,1647327600"; d="scan'208";a="550151171" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 06 May 2022 21:34:00 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nnC8l-000ECu-SY; Sat, 07 May 2022 04:33:59 +0000 Date: Sat, 7 May 2022 12:33:23 +0800 From: kernel test robot To: cgel.zte@gmail.com, akpm@linux-foundation.org Cc: 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: <202205071213.kLZzW7OV-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-Server: rspam10 X-Rspamd-Queue-Id: 810CD140026 Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=PAurHAR4; 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-Rspam-User: X-Stat-Signature: agq8snwugqfj1cht9tjrxm5pp6j99q1o X-HE-Tag: 1651898035-426961 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: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220507/202205071213.kLZzW7OV-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 11.3.0 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=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc 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: In function 'ksm_vma_check': >> mm/ksm.c:343:17: error: 'turn' undeclared (first use in this function) 343 | turn false; | ^~~~ mm/ksm.c:343:17: note: each undeclared identifier is reported only once for each function it appears in >> mm/ksm.c:343:21: error: expected ';' before 'false' 343 | turn false; | ^~~~~~ | ; 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