Re: [PATCH v12 2/3] cachestat: implement cachestat syscall

From: kernel test robot
Date: Fri Apr 28 2023 - 04:43:49 EST


Hi Nhat,

kernel test robot noticed the following build warnings:

[auto build test WARNING on akpm-mm/mm-everything]
[cannot apply to shuah-kselftest/next shuah-kselftest/fixes linus/master tip/x86/asm v6.3-rc7 next-20230421]
[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/Nhat-Pham/workingset-refactor-LRU-refault-to-expose-refault-recency-check/20230422-071625
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230421231421.2401346-3-nphamcs%40gmail.com
patch subject: [PATCH v12 2/3] cachestat: implement cachestat syscall
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <yujie.liu@xxxxxxxxx>
| Link: https://lore.kernel.org/r/202304230337.Qd5oUtzU-lkp@xxxxxxxxx/

includecheck warnings: (new ones prefixed by >>)
>> mm/filemap.c: linux/mman.h is included more than once.

ffa65753c4314 (Alistair Popple 2022-01-21 22:10:46 -0800 24) #include <linux/swapops.h>
9691e4430fbb5 (Nhat Pham 2023-04-21 16:14:20 -0700 25) #include <linux/syscalls.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 @26) #include <linux/mman.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 27) #include <linux/pagemap.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 28) #include <linux/file.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 29) #include <linux/uio.h>
cfcbfb1382dba (Josef Bacik 2019-05-13 17:21:04 -0700 30) #include <linux/error-injection.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 31) #include <linux/hash.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 32) #include <linux/writeback.h>
53253383fde9e (Linus Torvalds 2007-10-18 14:47:32 -0700 33) #include <linux/backing-dev.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 34) #include <linux/pagevec.h>
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 35) #include <linux/security.h>
44110fe385af2 (Paul Jackson 2006-03-24 03:16:04 -0800 36) #include <linux/cpuset.h>
00501b531c472 (Johannes Weiner 2014-08-08 14:19:20 -0700 37) #include <linux/hugetlb.h>
8a9f3ccd24741 (Balbir Singh 2008-02-07 00:13:53 -0800 38) #include <linux/memcontrol.h>
c7df8ad2910e9 (Mel Gorman 2017-11-15 17:37:41 -0800 39) #include <linux/shmem_fs.h>
f1820361f83d5 (Kirill A. Shutemov 2014-04-07 15:37:19 -0700 40) #include <linux/rmap.h>
b1d29ba82cf2b (Johannes Weiner 2018-10-26 15:06:08 -0700 41) #include <linux/delayacct.h>
eb414681d5a07 (Johannes Weiner 2018-10-26 15:06:27 -0700 42) #include <linux/psi.h>
d0e6a5821cdf0 (Ben Dooks 2019-10-18 20:20:20 -0700 43) #include <linux/ramfs.h>
b9306a796cad8 (Yang Shi 2020-08-06 23:19:55 -0700 44) #include <linux/page_idle.h>
ffa65753c4314 (Alistair Popple 2022-01-21 22:10:46 -0800 45) #include <linux/migrate.h>
07073eb01c5f6 (David Howells 2023-02-14 15:01:42 +0000 46) #include <linux/pipe_fs_i.h>
07073eb01c5f6 (David Howells 2023-02-14 15:01:42 +0000 47) #include <linux/splice.h>
f9ce0be71d1fb (Kirill A. Shutemov 2020-12-19 15:19:23 +0300 48) #include <asm/pgalloc.h>
de591a82f41b6 (Will Deacon 2021-02-10 11:15:11 +0000 49) #include <asm/tlbflush.h>
0f8053a509ceb (Nicholas Piggin 2006-03-22 00:08:33 -0800 50) #include "internal.h"
0f8053a509ceb (Nicholas Piggin 2006-03-22 00:08:33 -0800 51)
fe0bfaaff8442 (Robert Jarzmik 2013-04-29 15:06:10 -0700 52) #define CREATE_TRACE_POINTS
fe0bfaaff8442 (Robert Jarzmik 2013-04-29 15:06:10 -0700 53) #include <trace/events/filemap.h>
fe0bfaaff8442 (Robert Jarzmik 2013-04-29 15:06:10 -0700 54)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 55) /*
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 56) * FIXME: remove all knowledge of the buffer layer from the core VM
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 57) */
148f948ba877f (Jan Kara 2009-08-17 19:52:36 +0200 58) #include <linux/buffer_head.h> /* for try_to_free_buffers */
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 59)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 60) #include <asm/mman.h>
9691e4430fbb5 (Nhat Pham 2023-04-21 16:14:20 -0700 @61) #include <linux/mman.h>
9691e4430fbb5 (Nhat Pham 2023-04-21 16:14:20 -0700 62)
9691e4430fbb5 (Nhat Pham 2023-04-21 16:14:20 -0700 63) #include "swap.h"


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