lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506281519.wHSXE6l0-lkp@intel.com>
Date: Sat, 28 Jun 2025 15:32:08 +0800
From: kernel test robot <lkp@...el.com>
To: zhongjinji@...or.com, linux-mm@...ck.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	akpm@...ux-foundation.org, yuzhao@...gle.com,
	linux-kernel@...r.kernel.org, yipengxiang@...or.com,
	liulu.liu@...or.com, feng.han@...or.com
Subject: Re: [PATCH] mm: vmscan: Page scanning depends on swappiness and
 refault

Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.16-rc3]
[cannot apply to akpm-mm/mm-everything next-20250627]
[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/zhongjinji-honor-com/mm-vmscan-Page-scanning-depends-on-swappiness-and-refault/20250628-002820
base:   linus/master
patch link:    https://lore.kernel.org/r/20250627162606.30609-1-zhongjinji%40honor.com
patch subject: [PATCH] mm: vmscan: Page scanning depends on swappiness and refault
config: x86_64-buildonly-randconfig-005-20250628 (https://download.01.org/0day-ci/archive/20250628/202506281519.wHSXE6l0-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250628/202506281519.wHSXE6l0-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506281519.wHSXE6l0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/vmscan.c:2783:24: error: use of undeclared identifier 'swappiness'
    2783 |         if ((!sc->priority && swappiness) || sc->file_is_tiny)
         |                               ^
>> mm/vmscan.c:4100:33: error: expected identifier
    4100 |         if (seq <= READ_ONCE(mm_state->.seq))
         |                                        ^
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4100:33: error: expected identifier
>> mm/vmscan.c:4154:3: error: call to undeclared function 'for_each_age_able_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    4154 |                 for_each_age_able_type(type, can_age) {
         |                 ^
>> mm/vmscan.c:4154:40: error: expected ';' after expression
    4154 |                 for_each_age_able_type(type, can_age) {
         |                                                      ^
         |                                                      ;
   10 errors generated.


vim +/swappiness +2783 mm/vmscan.c

  2770	
  2771	static int get_swappiness(struct lruvec *lruvec, struct scan_control *sc)
  2772	{
  2773		struct mem_cgroup *memcg = lruvec_memcg(lruvec);
  2774		struct pglist_data *pgdat = lruvec_pgdat(lruvec);
  2775	
  2776		if (!sc->may_swap)
  2777			return 0;
  2778	
  2779		if (!can_demote(pgdat->node_id, sc, memcg) &&
  2780		    mem_cgroup_get_nr_swap_pages(memcg) < MIN_LRU_BATCH)
  2781			return 0;
  2782	
> 2783		if ((!sc->priority && swappiness) || sc->file_is_tiny)
  2784			return BALACNCE_SWAPPINESS;
  2785	
  2786		return sc_swappiness(sc, memcg);
  2787	}
  2788	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ