All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC][PATCH] mm: Split page_has_private() in two to better handle PG_private_2
Date: Sat, 10 Apr 2021 03:01:06 +0800	[thread overview]
Message-ID: <202104100235.PG0Qvf7y-lkp@intel.com> (raw)
In-Reply-To: <136646.1617916529@warthog.procyon.org.uk>

[-- Attachment #1: Type: text/plain, Size: 4743 bytes --]

Hi David,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on kdave/for-next]
[also build test ERROR on ext4/dev fuse/for-next xfs-linux/for-next tip/perf/core linux/master linus/master v5.12-rc6 next-20210409]
[cannot apply to hnaz-linux-mm/master]
[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/0day-ci/linux/commits/David-Howells/mm-Split-page_has_private-in-two-to-better-handle-PG_private_2/20210409-051632
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
config: x86_64-randconfig-a005-20210409 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dd453a1389b6a7e6d9214b449d3c54981b1a89b6)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/a00a255f7bf637156368e8545b2c64e39c93718b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-Howells/mm-Split-page_has_private-in-two-to-better-handle-PG_private_2/20210409-051632
        git checkout a00a255f7bf637156368e8545b2c64e39c93718b
        # 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 <lkp@intel.com>

All errors (new ones prefixed by >>):

>> mm/memory-failure.c:632:14: error: implicit declaration of function 'page_has_private' [-Werror,-Wimplicit-function-declaration]
                   } else if (page_has_private(p) &&
                              ^
   1 error generated.


vim +/page_has_private +632 mm/memory-failure.c

dc2a1cbf7d862e9 Wu Fengguang    2009-12-16  620  
78bb920344b8a6f Naoya Horiguchi 2017-07-10  621  static int truncate_error_page(struct page *p, unsigned long pfn,
78bb920344b8a6f Naoya Horiguchi 2017-07-10  622  				struct address_space *mapping)
78bb920344b8a6f Naoya Horiguchi 2017-07-10  623  {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  624  	int ret = MF_FAILED;
78bb920344b8a6f Naoya Horiguchi 2017-07-10  625  
78bb920344b8a6f Naoya Horiguchi 2017-07-10  626  	if (mapping->a_ops->error_remove_page) {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  627  		int err = mapping->a_ops->error_remove_page(mapping, p);
78bb920344b8a6f Naoya Horiguchi 2017-07-10  628  
78bb920344b8a6f Naoya Horiguchi 2017-07-10  629  		if (err != 0) {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  630  			pr_info("Memory failure: %#lx: Failed to punch page: %d\n",
78bb920344b8a6f Naoya Horiguchi 2017-07-10  631  				pfn, err);
78bb920344b8a6f Naoya Horiguchi 2017-07-10 @632  		} else if (page_has_private(p) &&
78bb920344b8a6f Naoya Horiguchi 2017-07-10  633  			   !try_to_release_page(p, GFP_NOIO)) {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  634  			pr_info("Memory failure: %#lx: failed to release buffers\n",
78bb920344b8a6f Naoya Horiguchi 2017-07-10  635  				pfn);
78bb920344b8a6f Naoya Horiguchi 2017-07-10  636  		} else {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  637  			ret = MF_RECOVERED;
78bb920344b8a6f Naoya Horiguchi 2017-07-10  638  		}
78bb920344b8a6f Naoya Horiguchi 2017-07-10  639  	} else {
78bb920344b8a6f Naoya Horiguchi 2017-07-10  640  		/*
78bb920344b8a6f Naoya Horiguchi 2017-07-10  641  		 * If the file system doesn't support it just invalidate
78bb920344b8a6f Naoya Horiguchi 2017-07-10  642  		 * This fails on dirty or anything with private pages
78bb920344b8a6f Naoya Horiguchi 2017-07-10  643  		 */
78bb920344b8a6f Naoya Horiguchi 2017-07-10  644  		if (invalidate_inode_page(p))
78bb920344b8a6f Naoya Horiguchi 2017-07-10  645  			ret = MF_RECOVERED;
78bb920344b8a6f Naoya Horiguchi 2017-07-10  646  		else
78bb920344b8a6f Naoya Horiguchi 2017-07-10  647  			pr_info("Memory failure: %#lx: Failed to invalidate\n",
78bb920344b8a6f Naoya Horiguchi 2017-07-10  648  				pfn);
78bb920344b8a6f Naoya Horiguchi 2017-07-10  649  	}
78bb920344b8a6f Naoya Horiguchi 2017-07-10  650  
78bb920344b8a6f Naoya Horiguchi 2017-07-10  651  	return ret;
78bb920344b8a6f Naoya Horiguchi 2017-07-10  652  }
78bb920344b8a6f Naoya Horiguchi 2017-07-10  653  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39175 bytes --]

  parent reply	other threads:[~2021-04-09 19:01 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-08 14:03 [PATCH v6 00/30] Network fs helper library & fscache kiocb API David Howells
2021-04-08 14:04 ` [PATCH v6 01/30] iov_iter: Add ITER_XARRAY David Howells
2021-04-09  1:24   ` Al Viro
2021-04-09 18:10     ` [RFC PATCH 1/2] iov_iter: Remove iov_iter_for_each_range() David Howells
2021-04-09 18:11     ` [RFC PATCH 2/2] iov_iter: Drop the X argument from iterate_all_kinds() and use B instead David Howells
2021-04-09  9:09   ` [PATCH v6 01/30] iov_iter: Add ITER_XARRAY David Howells
2021-04-09 11:44     ` Matthew Wilcox
2021-04-22 13:35   ` Jeff Layton
2021-04-22 13:35     ` Jeff Layton
2021-04-22 13:51   ` David Howells
2021-04-22 14:51     ` Jeff Layton
2021-04-22 14:51       ` Jeff Layton
2021-04-08 14:04 ` [PATCH v6 02/30] mm: Add set/end/wait functions for PG_private_2 David Howells
2021-04-08 14:50   ` Matthew Wilcox
2021-04-08 15:25   ` David Howells
2021-04-08 15:57   ` David Howells
2021-04-08 21:15   ` [RFC][PATCH] mm: Split page_has_private() in two to better handle PG_private_2 David Howells
2021-04-08 23:50     ` Linus Torvalds
2021-04-08 23:50       ` Linus Torvalds
2021-04-09 10:59       ` [RFC PATCH 1/3] Make the generic bitops return bool David Howells
2021-04-09 10:59       ` [RFC PATCH 2/3] mm: Return bool from pagebit test functions David Howells
2021-04-09 11:16         ` Matthew Wilcox
2021-04-09 12:00         ` David Howells
2021-04-09 12:35         ` David Howells
2021-04-09 16:03         ` David Howells
2021-04-09 16:03           ` David Howells
2021-04-09 10:59       ` [RFC PATCH 3/3] mm: Split page_has_private() in two to better handle PG_private_2 David Howells
2021-04-09 11:24         ` Matthew Wilcox
2021-04-09  2:25     ` [RFC][PATCH] " kernel test robot
2021-04-09  8:14     ` David Howells
2021-04-09 19:01     ` kernel test robot [this message]
2021-04-13 15:11   ` [PATCH v7] mm: Add set/end/wait functions for PG_private_2 David Howells
2021-04-13 15:22     ` Matthew Wilcox
2021-04-08 14:04 ` [PATCH v6 03/30] mm/filemap: Pass the file_ra_state in the ractl David Howells
2021-04-08 14:04 ` [PATCH v6 04/30] fs: Document file_ra_state David Howells
2021-04-08 14:04 ` [PATCH v6 05/30] mm: Implement readahead_control pageset expansion David Howells
2021-04-08 14:55   ` Matthew Wilcox
2021-04-08 14:05 ` [PATCH v6 06/30] netfs: Make a netfs helper module David Howells
2021-04-08 14:05 ` [PATCH v6 07/30] netfs: Documentation for helper library David Howells
2021-04-08 14:05 ` [PATCH v6 08/30] netfs, mm: Move PG_fscache helper funcs to linux/netfs.h David Howells
2021-04-08 14:05 ` [PATCH v6 09/30] netfs, mm: Add set/end/wait_on_page_fscache() aliases David Howells
2021-04-08 14:06 ` [PATCH v6 10/30] netfs: Provide readahead and readpage netfs helpers David Howells
2021-04-08 14:06 ` [PATCH v6 11/30] netfs: Add tracepoints David Howells
2021-04-08 14:06 ` [PATCH v6 12/30] netfs: Gather stats David Howells
2021-04-08 14:06 ` [PATCH v6 13/30] netfs: Add write_begin helper David Howells
2021-04-08 14:06 ` [PATCH v6 14/30] netfs: Define an interface to talk to a cache David Howells
2021-04-08 14:07 ` [PATCH v6 15/30] netfs: Add a tracepoint to log failures that would be otherwise unseen David Howells
2021-04-08 14:07 ` [PATCH v6 16/30] fscache, cachefiles: Add alternate API to use kiocb for read/write to cache David Howells
2021-04-08 14:07 ` [PATCH v6 17/30] afs: Disable use of the fscache I/O routines David Howells
2021-04-08 14:07 ` [PATCH v6 18/30] afs: Pass page into dirty region helpers to provide THP size David Howells
2021-04-08 14:08 ` [PATCH v6 19/30] afs: Print the operation debug_id when logging an unexpected data version David Howells
2021-04-08 14:08 ` [PATCH v6 20/30] afs: Move key to afs_read struct David Howells
2021-04-08 14:08 ` [PATCH v6 21/30] afs: Don't truncate iter during data fetch David Howells
2021-04-08 14:08 ` [PATCH v6 22/30] afs: Log remote unmarshalling errors David Howells
2021-04-08 14:08 ` [PATCH v6 23/30] afs: Set up the iov_iter before calling afs_extract_data() David Howells
2021-04-08 14:09 ` [PATCH v6 24/30] afs: Use ITER_XARRAY for writing David Howells
2021-04-08 14:09 ` [PATCH v6 25/30] afs: Wait on PG_fscache before modifying/releasing a page David Howells
2021-04-08 14:09 ` [PATCH v6 26/30] afs: Extract writeback extension into its own function David Howells
2021-04-08 14:09 ` [PATCH v6 27/30] afs: Prepare for use of THPs David Howells
2021-04-08 14:09 ` [PATCH v6 28/30] afs: Use the fs operation ops to handle FetchData completion David Howells
2021-04-08 14:10 ` [PATCH v6 29/30] afs: Use new netfs lib read helper API David Howells
2021-04-08 14:10 ` [PATCH v6 30/30] afs: Use the netfs_write_begin() helper David Howells
2021-04-08 15:40 ` [PATCH v6 00/30] Network fs helper library & fscache kiocb API Jeff Layton
2021-04-08 15:40   ` Jeff Layton
2021-04-09 12:04 ` David Wysochanski
2021-04-09 12:04   ` David Wysochanski
2021-04-13 14:56   ` David Wysochanski
2021-04-13 14:56     ` David Wysochanski
2021-04-13 16:21 ` Marc Dionne
2021-04-13 16:21   ` Marc Dionne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104100235.PG0Qvf7y-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.