From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 35/37] mm: spf statistics
Date: Wed, 07 Apr 2021 20:48:33 +0800 [thread overview]
Message-ID: <202104072036.jGllTlta-lkp@intel.com> (raw)
In-Reply-To: <20210407014502.24091-36-michel@lespinasse.org>
[-- Attachment #1: Type: text/plain, Size: 15154 bytes --]
Hi Michel,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on tip/x86/mm]
[also build test WARNING on ext4/dev arm64/for-next/core linus/master v5.12-rc6]
[cannot apply to hnaz-linux-mm/master next-20210407]
[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/Michel-Lespinasse/Speculative-page-faults/20210407-095517
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git a500fc918f7b8dc3dff2e6c74f3e73e856c18248
config: nds32-randconfig-r035-20210407 (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.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/0day-ci/linux/commit/a33160a546dc6172617d527966214ae88d335253
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Michel-Lespinasse/Speculative-page-faults/20210407-095517
git checkout a33160a546dc6172617d527966214ae88d335253
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from kernel/printk/printk.c:23:
include/linux/vmstat.h: In function '__inc_zone_page_state':
include/linux/vmstat.h:362:19: error: implicit declaration of function 'page_zone' [-Werror=implicit-function-declaration]
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~
include/linux/vmstat.h:362:19: warning: passing argument 1 of '__inc_zone_state' makes pointer from integer without a cast [-Wint-conversion]
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:335:50: note: expected 'struct zone *' but argument is of type 'int'
335 | static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__inc_node_page_state':
include/linux/vmstat.h:368:19: error: implicit declaration of function 'page_pgdat'; did you mean 'page_private'? [-Werror=implicit-function-declaration]
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~
| page_private
include/linux/vmstat.h:368:19: warning: passing argument 1 of '__inc_node_state' makes pointer from integer without a cast [-Wint-conversion]
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:341:57: note: expected 'struct pglist_data *' but argument is of type 'int'
341 | static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function '__dec_zone_page_state':
include/linux/vmstat.h:375:19: warning: passing argument 1 of '__dec_zone_state' makes pointer from integer without a cast [-Wint-conversion]
375 | __dec_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:347:50: note: expected 'struct zone *' but argument is of type 'int'
347 | static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__dec_node_page_state':
include/linux/vmstat.h:381:19: warning: passing argument 1 of '__dec_node_state' makes pointer from integer without a cast [-Wint-conversion]
381 | __dec_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:353:57: note: expected 'struct pglist_data *' but argument is of type 'int'
353 | static inline void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function '__mod_lruvec_page_state':
>> include/linux/vmstat.h:510:24: warning: passing argument 1 of '__mod_node_page_state' makes pointer from integer without a cast [-Wint-conversion]
510 | __mod_node_page_state(page_pgdat(page), idx, val);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:318:62: note: expected 'struct pglist_data *' but argument is of type 'int'
318 | static inline void __mod_node_page_state(struct pglist_data *pgdat,
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function 'mod_lruvec_page_state':
include/linux/vmstat.h:516:22: warning: passing argument 1 of '__mod_node_page_state' makes pointer from integer without a cast [-Wint-conversion]
516 | mod_node_page_state(page_pgdat(page), idx, val);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:318:62: note: expected 'struct pglist_data *' but argument is of type 'int'
318 | static inline void __mod_node_page_state(struct pglist_data *pgdat,
| ~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from kernel/printk/printk.c:23:
include/linux/mm.h: At top level:
include/linux/mm.h:1504:28: error: conflicting types for 'page_zone'
1504 | static inline struct zone *page_zone(const struct page *page)
| ^~~~~~~~~
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from kernel/printk/printk.c:23:
include/linux/vmstat.h:362:19: note: previous implicit declaration of 'page_zone' was here
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~
In file included from kernel/printk/printk.c:23:
include/linux/mm.h:1509:26: error: conflicting types for 'page_pgdat'
1509 | static inline pg_data_t *page_pgdat(const struct page *page)
| ^~~~~~~~~~
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from kernel/printk/printk.c:23:
include/linux/vmstat.h:368:19: note: previous implicit declaration of 'page_pgdat' was here
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~
kernel/printk/printk.c: In function 'printk_sprint':
kernel/printk/printk.c:1936:2: warning: function 'printk_sprint' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]
1936 | text_len = vscnprintf(text, size, fmt, args);
| ^~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:12,
from include/linux/kprobes.h:29,
from kernel/printk/printk_safe.c:14:
include/linux/vmstat.h: In function '__inc_zone_page_state':
include/linux/vmstat.h:362:19: error: implicit declaration of function 'page_zone'; did you mean 'pgd_none'? [-Werror=implicit-function-declaration]
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~
| pgd_none
include/linux/vmstat.h:362:19: warning: passing argument 1 of '__inc_zone_state' makes pointer from integer without a cast [-Wint-conversion]
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:335:50: note: expected 'struct zone *' but argument is of type 'int'
335 | static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__inc_node_page_state':
include/linux/vmstat.h:368:19: error: implicit declaration of function 'page_pgdat'; did you mean 'page_private'? [-Werror=implicit-function-declaration]
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~
| page_private
include/linux/vmstat.h:368:19: warning: passing argument 1 of '__inc_node_state' makes pointer from integer without a cast [-Wint-conversion]
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:341:57: note: expected 'struct pglist_data *' but argument is of type 'int'
341 | static inline void __inc_node_state(struct pglist_data *pgdat, enum node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function '__dec_zone_page_state':
include/linux/vmstat.h:375:19: warning: passing argument 1 of '__dec_zone_state' makes pointer from integer without a cast [-Wint-conversion]
375 | __dec_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:347:50: note: expected 'struct zone *' but argument is of type 'int'
347 | static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__dec_node_page_state':
include/linux/vmstat.h:381:19: warning: passing argument 1 of '__dec_node_state' makes pointer from integer without a cast [-Wint-conversion]
381 | __dec_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:353:57: note: expected 'struct pglist_data *' but argument is of type 'int'
353 | static inline void __dec_node_state(struct pglist_data *pgdat, enum node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function '__mod_lruvec_page_state':
>> include/linux/vmstat.h:510:24: warning: passing argument 1 of '__mod_node_page_state' makes pointer from integer without a cast [-Wint-conversion]
510 | __mod_node_page_state(page_pgdat(page), idx, val);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:318:62: note: expected 'struct pglist_data *' but argument is of type 'int'
318 | static inline void __mod_node_page_state(struct pglist_data *pgdat,
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function 'mod_lruvec_page_state':
include/linux/vmstat.h:516:22: warning: passing argument 1 of '__mod_node_page_state' makes pointer from integer without a cast [-Wint-conversion]
516 | mod_node_page_state(page_pgdat(page), idx, val);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:318:62: note: expected 'struct pglist_data *' but argument is of type 'int'
318 | static inline void __mod_node_page_state(struct pglist_data *pgdat,
| ~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:12,
from include/linux/kprobes.h:29,
from kernel/printk/printk_safe.c:14:
include/linux/mm.h: At top level:
include/linux/mm.h:1504:28: error: conflicting types for 'page_zone'
1504 | static inline struct zone *page_zone(const struct page *page)
| ^~~~~~~~~
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:12,
from include/linux/kprobes.h:29,
from kernel/printk/printk_safe.c:14:
include/linux/vmstat.h:362:19: note: previous implicit declaration of 'page_zone' was here
362 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~
In file included from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:12,
from include/linux/kprobes.h:29,
from kernel/printk/printk_safe.c:14:
include/linux/mm.h:1509:26: error: conflicting types for 'page_pgdat'
1509 | static inline pg_data_t *page_pgdat(const struct page *page)
| ^~~~~~~~~~
In file included from include/linux/mmap_lock.h:10,
from include/linux/mm.h:18,
from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:12,
from include/linux/kprobes.h:29,
from kernel/printk/printk_safe.c:14:
include/linux/vmstat.h:368:19: note: previous implicit declaration of 'page_pgdat' was here
368 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/__mod_node_page_state +510 include/linux/vmstat.h
c47d5032ed3002 Shakeel Butt 2020-12-14 506
c47d5032ed3002 Shakeel Butt 2020-12-14 507 static inline void __mod_lruvec_page_state(struct page *page,
c47d5032ed3002 Shakeel Butt 2020-12-14 508 enum node_stat_item idx, int val)
c47d5032ed3002 Shakeel Butt 2020-12-14 509 {
c47d5032ed3002 Shakeel Butt 2020-12-14 @510 __mod_node_page_state(page_pgdat(page), idx, val);
c47d5032ed3002 Shakeel Butt 2020-12-14 511 }
c47d5032ed3002 Shakeel Butt 2020-12-14 512
---
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: 31062 bytes --]
next prev parent reply other threads:[~2021-04-07 12:48 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-07 1:44 [RFC PATCH 00/37] Speculative page faults Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 01/37] mmap locking API: mmap_lock_is_contended returns a bool Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 02/37] mmap locking API: name the return values Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 03/37] do_anonymous_page: use update_mmu_tlb() Michel Lespinasse
2021-04-07 2:06 ` Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 04/37] do_anonymous_page: reduce code duplication Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 05/37] mm: introduce CONFIG_SPECULATIVE_PAGE_FAULT Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 06/37] x86/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 07/37] mm: add FAULT_FLAG_SPECULATIVE flag Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 08/37] mm: add do_handle_mm_fault() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 09/37] mm: add per-mm mmap sequence counter for speculative page fault handling Michel Lespinasse
2021-04-07 12:48 ` kernel test robot
2021-04-07 14:47 ` Peter Zijlstra
2021-04-07 20:50 ` Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 10/37] mm: rcu safe vma freeing Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 11/37] x86/mm: attempt speculative mm faults first Michel Lespinasse
2021-04-07 14:48 ` Peter Zijlstra
2021-04-07 15:35 ` Matthew Wilcox
2021-04-07 20:32 ` Michel Lespinasse
2021-04-07 20:14 ` Michel Lespinasse
2021-04-07 20:18 ` Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 12/37] mm: refactor __handle_mm_fault() / handle_pte_fault() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 13/37] mm: implement speculative handling in __handle_mm_fault() Michel Lespinasse
2021-04-07 15:36 ` Andy Lutomirski
2021-04-28 14:58 ` Michel Lespinasse
2021-04-28 15:13 ` Andy Lutomirski
2021-04-28 16:11 ` Paul E. McKenney
2021-04-29 0:02 ` Michel Lespinasse
2021-04-29 0:05 ` Andy Lutomirski
2021-04-29 16:12 ` Matthew Wilcox
2021-04-29 18:04 ` Andy Lutomirski
2021-04-29 19:14 ` Michel Lespinasse
2021-04-29 19:34 ` Matthew Wilcox
2021-04-29 23:56 ` Michel Lespinasse
2021-04-29 15:52 ` Paul E. McKenney
2021-04-29 18:34 ` Paul E. McKenney
2021-04-29 18:49 ` Matthew Wilcox
2021-05-03 3:14 ` Paul E. McKenney
2021-04-29 21:17 ` Michel Lespinasse
2021-05-03 3:40 ` Paul E. McKenney
2021-05-03 4:34 ` Michel Lespinasse
2021-05-03 16:32 ` Paul E. McKenney
2021-04-07 1:44 ` [RFC PATCH 14/37] mm: add pte_map_lock() and pte_spinlock() Michel Lespinasse
2021-04-07 4:21 ` kernel test robot
2021-04-07 5:08 ` kernel test robot
2021-04-07 1:44 ` [RFC PATCH 15/37] mm: implement speculative handling in do_anonymous_page() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 16/37] mm: enable speculative fault handling through do_anonymous_page() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 17/37] mm: implement speculative handling in do_numa_page() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 18/37] mm: enable speculative fault " Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 19/37] mm: implement speculative handling in wp_page_copy() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 20/37] mm: implement and enable speculative fault handling in handle_pte_fault() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 21/37] mm: implement speculative handling in do_swap_page() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 22/37] mm: enable speculative fault handling through do_swap_page() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 23/37] mm: rcu safe vma->vm_file freeing Michel Lespinasse
2021-04-08 5:12 ` [mm] 87b1c39af4: nvml.blk_rw_mt_TEST0_check_pmem_debug.fail kernel test robot
2021-04-08 5:12 ` kernel test robot
2021-04-07 1:44 ` [RFC PATCH 24/37] mm: implement speculative handling in __do_fault() Michel Lespinasse
2021-04-07 2:35 ` Matthew Wilcox
2021-04-07 2:53 ` Michel Lespinasse
2021-04-07 3:01 ` Matthew Wilcox
2021-04-07 14:40 ` Peter Zijlstra
2021-04-07 21:20 ` Michel Lespinasse
2021-04-07 21:27 ` Matthew Wilcox
2021-04-08 7:00 ` Peter Zijlstra
2021-04-08 7:13 ` Matthew Wilcox
2021-04-08 8:18 ` Peter Zijlstra
2021-04-08 8:37 ` Michel Lespinasse
2021-04-08 11:28 ` Matthew Wilcox
2021-04-07 1:44 ` [RFC PATCH 25/37] mm: implement speculative handling in filemap_fault() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 26/37] mm: implement speculative fault handling in finish_fault() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 27/37] mm: implement speculative handling in do_fault_around() Michel Lespinasse
2021-04-07 2:37 ` Matthew Wilcox
2021-04-07 1:44 ` [RFC PATCH 28/37] mm: implement speculative handling in filemap_map_pages() Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 29/37] fs: list file types that support speculative faults Michel Lespinasse
2021-04-07 2:39 ` Matthew Wilcox
2021-04-07 1:44 ` [RFC PATCH 30/37] mm: enable speculative fault handling for supported file types Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 31/37] ext4: implement speculative fault handling Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 32/37] f2fs: " Michel Lespinasse
2021-04-07 1:44 ` [RFC PATCH 33/37] mm: enable speculative fault handling only for multithreaded user space Michel Lespinasse
2021-04-07 2:48 ` Matthew Wilcox
2021-04-07 1:44 ` [RFC PATCH 34/37] mm: rcu safe vma freeing " Michel Lespinasse
2021-04-07 2:50 ` Matthew Wilcox
2021-04-08 7:53 ` Michel Lespinasse
2021-04-07 1:45 ` [RFC PATCH 35/37] mm: spf statistics Michel Lespinasse
2021-04-07 5:08 ` kernel test robot
2021-04-07 12:48 ` kernel test robot [this message]
2021-04-07 1:45 ` [RFC PATCH 36/37] arm64/mm: define ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT Michel Lespinasse
2021-04-07 1:45 ` [RFC PATCH 37/37] arm64/mm: attempt speculative mm faults first Michel Lespinasse
2021-04-21 1:44 ` [RFC PATCH 00/37] Speculative page faults Chinwen Chang
2021-06-28 22:14 ` Axel Rasmussen
2021-07-21 11:33 ` vjitta
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=202104072036.jGllTlta-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.