[lkml]   [2021]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 5/9] mm: Introduce mf_dax_kill_procs() for fsdax case
Hi Shiyang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.13 next-20210625]
[cannot apply to hnaz-linux-mm/master xfs-linux/for-next dm/for-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]

base: 62fb9874f5da54fdb243003b386128037319b219
config: x86_64-randconfig-a006-20210628 (attached as .config)
compiler: clang version 13.0.0 ( 4c92e31dd0f1bd152eda883af20ff7fbcaa14945)
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add linux-review
git fetch --no-tags linux-review Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20210628-080346
git checkout dc92f6aa75da7bf5c6f974645a157759691ca36a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All errors (new ones prefixed by >>):

>> mm/memory-failure.c:1325:22: error: implicit declaration of function 'dax_load_pfn' [-Werror,-Wimplicit-function-declaration]
unsigned long pfn = dax_load_pfn(mapping, index);
1 error generated.

vim +/dax_load_pfn +1325 mm/memory-failure.c

1321 int mf_dax_kill_procs(struct address_space *mapping, pgoff_t index, int flags)
1322 {
1323 LIST_HEAD(to_kill);
1324 /* load the pfn of the dax mapping file */
> 1325 unsigned long pfn = dax_load_pfn(mapping, index);
1327 /*
1328 * Unlike System-RAM there is no possibility to swap in a
1329 * different physical page at a given virtual address, so all
1330 * userspace consumption of ZONE_DEVICE memory necessitates
1331 * SIGBUS (i.e. MF_MUST_KILL)
1332 */
1334 collect_procs_file(pfn_to_page(pfn), mapping, index, &to_kill,
1335 flags & MF_ACTION_REQUIRED);
1337 unmap_and_kill(&to_kill, pfn, mapping, index, flags);
1338 return 0;
1339 }
1340 EXPORT_SYMBOL_GPL(mf_dax_kill_procs);

0-DAY CI Kernel Test Service, Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2021-06-28 05:24    [W:0.094 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site