* [akpm-mm:mm-unstable 26/52] mm/internal.h:1127:22: error: 'struct pglist_data' has no member named 'deferred_split_queue'
@ 2024-03-20 14:59 kernel test robot
2024-03-20 15:02 ` Zi Yan
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-03-20 14:59 UTC (permalink / raw)
To: Zi Yan; +Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head: a824831a082f1d8f9b51a4c0598e633d38555fcf
commit: 1166721383f8962e2c6c388b2adc7c6f1e9901d5 [26/52] mm/migrate: split source folio if it is on deferred split list
config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240320/202403202222.mfp1LH04-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240320/202403202222.mfp1LH04-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403202222.mfp1LH04-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from mm/filemap.c:51:
mm/internal.h: In function 'get_deferred_split_queue':
>> mm/internal.h:1127:22: error: 'struct pglist_data' has no member named 'deferred_split_queue'
1127 | return &pgdat->deferred_split_queue;
| ^~
vim +1127 mm/internal.h
1101
1102 /*
1103 * mm/huge_memory.c
1104 */
1105 struct page *follow_trans_huge_pmd(struct vm_area_struct *vma,
1106 unsigned long addr, pmd_t *pmd,
1107 unsigned int flags);
1108
1109 #ifdef CONFIG_MEMCG
1110 static inline
1111 struct deferred_split *get_deferred_split_queue(struct folio *folio)
1112 {
1113 struct mem_cgroup *memcg = folio_memcg(folio);
1114 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio));
1115
1116 if (memcg)
1117 return &memcg->deferred_split_queue;
1118 else
1119 return &pgdat->deferred_split_queue;
1120 }
1121 #else
1122 static inline
1123 struct deferred_split *get_deferred_split_queue(struct folio *folio)
1124 {
1125 struct pglist_data *pgdat = NODE_DATA(folio_nid(folio));
1126
> 1127 return &pgdat->deferred_split_queue;
1128 }
1129 #endif
1130
1131
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [akpm-mm:mm-unstable 26/52] mm/internal.h:1127:22: error: 'struct pglist_data' has no member named 'deferred_split_queue'
2024-03-20 14:59 [akpm-mm:mm-unstable 26/52] mm/internal.h:1127:22: error: 'struct pglist_data' has no member named 'deferred_split_queue' kernel test robot
@ 2024-03-20 15:02 ` Zi Yan
0 siblings, 0 replies; 2+ messages in thread
From: Zi Yan @ 2024-03-20 15:02 UTC (permalink / raw)
To: kernel test robot
Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]
On 20 Mar 2024, at 10:59, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
> head: a824831a082f1d8f9b51a4c0598e633d38555fcf
> commit: 1166721383f8962e2c6c388b2adc7c6f1e9901d5 [26/52] mm/migrate: split source folio if it is on deferred split list
> config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240320/202403202222.mfp1LH04-lkp@intel.com/config)
> compiler: or1k-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240320/202403202222.mfp1LH04-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@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202403202222.mfp1LH04-lkp@intel.com/
Thanks for the report. A new version[1] fixes the issue.
[1] https://lore.kernel.org/linux-mm/20240320014511.306128-1-zi.yan@sent.com/
--
Best Regards,
Yan, Zi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-20 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 14:59 [akpm-mm:mm-unstable 26/52] mm/internal.h:1127:22: error: 'struct pglist_data' has no member named 'deferred_split_queue' kernel test robot
2024-03-20 15:02 ` Zi Yan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox