From: kernel test robot <lkp@intel.com>
To: Zi Yan <ziy@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 5/5] test: add sysctl for folio copy tests and adjust NR_MAX_BATCHED_MIGRATION
Date: Sat, 4 Jan 2025 13:24:58 +0800 [thread overview]
Message-ID: <202501041307.zfuQDHd5-lkp@intel.com> (raw)
In-Reply-To: <20250103172419.4148674-6-ziy@nvidia.com>
Hi Zi,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master sysctl/sysctl-next v6.13-rc5 next-20241220]
[cannot apply to mcgrof/sysctl-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
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Zi-Yan/mm-separate-move-undo-doing-on-folio-list-from-migrate_pages_batch/20250104-012955
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20250103172419.4148674-6-ziy%40nvidia.com
patch subject: [RFC PATCH 5/5] test: add sysctl for folio copy tests and adjust NR_MAX_BATCHED_MIGRATION
config: i386-buildonly-randconfig-004-20250104 (https://download.01.org/0day-ci/archive/20250104/202501041307.zfuQDHd5-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250104/202501041307.zfuQDHd5-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/202501041307.zfuQDHd5-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/sysctl.c:2096:36: error: 'use_mt_copy' undeclared here (not in a function)
2096 | .data = &use_mt_copy,
| ^~~~~~~~~~~
>> kernel/sysctl.c:2105:36: error: 'limit_mt_num' undeclared here (not in a function)
2105 | .data = &limit_mt_num,
| ^~~~~~~~~~~~
>> kernel/sysctl.c:2114:36: error: 'push_0_pull_1' undeclared here (not in a function)
2114 | .data = &push_0_pull_1,
| ^~~~~~~~~~~~~
vim +/use_mt_copy +2096 kernel/sysctl.c
2032
2033 static struct ctl_table vm_table[] = {
2034 {
2035 .procname = "overcommit_memory",
2036 .data = &sysctl_overcommit_memory,
2037 .maxlen = sizeof(sysctl_overcommit_memory),
2038 .mode = 0644,
2039 .proc_handler = overcommit_policy_handler,
2040 .extra1 = SYSCTL_ZERO,
2041 .extra2 = SYSCTL_TWO,
2042 },
2043 {
2044 .procname = "overcommit_ratio",
2045 .data = &sysctl_overcommit_ratio,
2046 .maxlen = sizeof(sysctl_overcommit_ratio),
2047 .mode = 0644,
2048 .proc_handler = overcommit_ratio_handler,
2049 },
2050 {
2051 .procname = "overcommit_kbytes",
2052 .data = &sysctl_overcommit_kbytes,
2053 .maxlen = sizeof(sysctl_overcommit_kbytes),
2054 .mode = 0644,
2055 .proc_handler = overcommit_kbytes_handler,
2056 },
2057 {
2058 .procname = "page-cluster",
2059 .data = &page_cluster,
2060 .maxlen = sizeof(int),
2061 .mode = 0644,
2062 .proc_handler = proc_dointvec_minmax,
2063 .extra1 = SYSCTL_ZERO,
2064 .extra2 = (void *)&page_cluster_max,
2065 },
2066 {
2067 .procname = "dirtytime_expire_seconds",
2068 .data = &dirtytime_expire_interval,
2069 .maxlen = sizeof(dirtytime_expire_interval),
2070 .mode = 0644,
2071 .proc_handler = dirtytime_interval_handler,
2072 .extra1 = SYSCTL_ZERO,
2073 },
2074 {
2075 .procname = "swappiness",
2076 .data = &vm_swappiness,
2077 .maxlen = sizeof(vm_swappiness),
2078 .mode = 0644,
2079 .proc_handler = proc_dointvec_minmax,
2080 .extra1 = SYSCTL_ZERO,
2081 .extra2 = SYSCTL_TWO_HUNDRED,
2082 },
2083 #ifdef CONFIG_NUMA
2084 {
2085 .procname = "numa_stat",
2086 .data = &sysctl_vm_numa_stat,
2087 .maxlen = sizeof(int),
2088 .mode = 0644,
2089 .proc_handler = sysctl_vm_numa_stat_handler,
2090 .extra1 = SYSCTL_ZERO,
2091 .extra2 = SYSCTL_ONE,
2092 },
2093 #endif
2094 {
2095 .procname = "use_mt_copy",
> 2096 .data = &use_mt_copy,
2097 .maxlen = sizeof(use_mt_copy),
2098 .mode = 0644,
2099 .proc_handler = proc_dointvec_minmax,
2100 .extra1 = SYSCTL_ZERO,
2101 .extra2 = SYSCTL_ONE,
2102 },
2103 {
2104 .procname = "limit_mt_num",
> 2105 .data = &limit_mt_num,
2106 .maxlen = sizeof(limit_mt_num),
2107 .mode = 0644,
2108 .proc_handler = proc_dointvec_minmax,
2109 .extra1 = SYSCTL_ONE,
2110 .extra2 = SYSCTL_32,
2111 },
2112 {
2113 .procname = "push_0_pull_1",
> 2114 .data = &push_0_pull_1,
2115 .maxlen = sizeof(push_0_pull_1),
2116 .mode = 0644,
2117 .proc_handler = proc_dointvec_minmax,
2118 .extra1 = SYSCTL_ZERO,
2119 .extra2 = SYSCTL_ONE,
2120 },
2121 {
2122 .procname = "drop_caches",
2123 .data = &sysctl_drop_caches,
2124 .maxlen = sizeof(int),
2125 .mode = 0200,
2126 .proc_handler = drop_caches_sysctl_handler,
2127 .extra1 = SYSCTL_ONE,
2128 .extra2 = SYSCTL_FOUR,
2129 },
2130 {
2131 .procname = "page_lock_unfairness",
2132 .data = &sysctl_page_lock_unfairness,
2133 .maxlen = sizeof(sysctl_page_lock_unfairness),
2134 .mode = 0644,
2135 .proc_handler = proc_dointvec_minmax,
2136 .extra1 = SYSCTL_ZERO,
2137 },
2138 #ifdef CONFIG_MMU
2139 {
2140 .procname = "max_map_count",
2141 .data = &sysctl_max_map_count,
2142 .maxlen = sizeof(sysctl_max_map_count),
2143 .mode = 0644,
2144 .proc_handler = proc_dointvec_minmax,
2145 .extra1 = SYSCTL_ZERO,
2146 },
2147 #else
2148 {
2149 .procname = "nr_trim_pages",
2150 .data = &sysctl_nr_trim_pages,
2151 .maxlen = sizeof(sysctl_nr_trim_pages),
2152 .mode = 0644,
2153 .proc_handler = proc_dointvec_minmax,
2154 .extra1 = SYSCTL_ZERO,
2155 },
2156 #endif
2157 {
2158 .procname = "vfs_cache_pressure",
2159 .data = &sysctl_vfs_cache_pressure,
2160 .maxlen = sizeof(sysctl_vfs_cache_pressure),
2161 .mode = 0644,
2162 .proc_handler = proc_dointvec_minmax,
2163 .extra1 = SYSCTL_ZERO,
2164 },
2165 #if defined(HAVE_ARCH_PICK_MMAP_LAYOUT) || \
2166 defined(CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT)
2167 {
2168 .procname = "legacy_va_layout",
2169 .data = &sysctl_legacy_va_layout,
2170 .maxlen = sizeof(sysctl_legacy_va_layout),
2171 .mode = 0644,
2172 .proc_handler = proc_dointvec_minmax,
2173 .extra1 = SYSCTL_ZERO,
2174 },
2175 #endif
2176 #ifdef CONFIG_NUMA
2177 {
2178 .procname = "zone_reclaim_mode",
2179 .data = &node_reclaim_mode,
2180 .maxlen = sizeof(node_reclaim_mode),
2181 .mode = 0644,
2182 .proc_handler = proc_dointvec_minmax,
2183 .extra1 = SYSCTL_ZERO,
2184 },
2185 #endif
2186 #ifdef CONFIG_SMP
2187 {
2188 .procname = "stat_interval",
2189 .data = &sysctl_stat_interval,
2190 .maxlen = sizeof(sysctl_stat_interval),
2191 .mode = 0644,
2192 .proc_handler = proc_dointvec_jiffies,
2193 },
2194 {
2195 .procname = "stat_refresh",
2196 .data = NULL,
2197 .maxlen = 0,
2198 .mode = 0600,
2199 .proc_handler = vmstat_refresh,
2200 },
2201 #endif
2202 #ifdef CONFIG_MMU
2203 {
2204 .procname = "mmap_min_addr",
2205 .data = &dac_mmap_min_addr,
2206 .maxlen = sizeof(unsigned long),
2207 .mode = 0644,
2208 .proc_handler = mmap_min_addr_handler,
2209 },
2210 #endif
2211 #if (defined(CONFIG_X86_32) && !defined(CONFIG_UML))|| \
2212 (defined(CONFIG_SUPERH) && defined(CONFIG_VSYSCALL))
2213 {
2214 .procname = "vdso_enabled",
2215 #ifdef CONFIG_X86_32
2216 .data = &vdso32_enabled,
2217 .maxlen = sizeof(vdso32_enabled),
2218 #else
2219 .data = &vdso_enabled,
2220 .maxlen = sizeof(vdso_enabled),
2221 #endif
2222 .mode = 0644,
2223 .proc_handler = proc_dointvec,
2224 .extra1 = SYSCTL_ZERO,
2225 },
2226 #endif
2227 {
2228 .procname = "user_reserve_kbytes",
2229 .data = &sysctl_user_reserve_kbytes,
2230 .maxlen = sizeof(sysctl_user_reserve_kbytes),
2231 .mode = 0644,
2232 .proc_handler = proc_doulongvec_minmax,
2233 },
2234 {
2235 .procname = "admin_reserve_kbytes",
2236 .data = &sysctl_admin_reserve_kbytes,
2237 .maxlen = sizeof(sysctl_admin_reserve_kbytes),
2238 .mode = 0644,
2239 .proc_handler = proc_doulongvec_minmax,
2240 },
2241 #ifdef CONFIG_HAVE_ARCH_MMAP_RND_BITS
2242 {
2243 .procname = "mmap_rnd_bits",
2244 .data = &mmap_rnd_bits,
2245 .maxlen = sizeof(mmap_rnd_bits),
2246 .mode = 0600,
2247 .proc_handler = proc_dointvec_minmax,
2248 .extra1 = (void *)&mmap_rnd_bits_min,
2249 .extra2 = (void *)&mmap_rnd_bits_max,
2250 },
2251 #endif
2252 #ifdef CONFIG_HAVE_ARCH_MMAP_RND_COMPAT_BITS
2253 {
2254 .procname = "mmap_rnd_compat_bits",
2255 .data = &mmap_rnd_compat_bits,
2256 .maxlen = sizeof(mmap_rnd_compat_bits),
2257 .mode = 0600,
2258 .proc_handler = proc_dointvec_minmax,
2259 .extra1 = (void *)&mmap_rnd_compat_bits_min,
2260 .extra2 = (void *)&mmap_rnd_compat_bits_max,
2261 },
2262 #endif
2263 };
2264
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-01-04 5:26 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 17:24 [RFC PATCH 0/5] Accelerate page migration with batching and multi threads Zi Yan
2025-01-03 17:24 ` [RFC PATCH 1/5] mm: separate move/undo doing on folio list from migrate_pages_batch() Zi Yan
2025-01-03 17:24 ` [RFC PATCH 2/5] mm/migrate: factor out code in move_to_new_folio() and migrate_folio_move() Zi Yan
2025-01-03 17:24 ` [RFC PATCH 3/5] mm/migrate: add migrate_folios_batch_move to batch the folio move operations Zi Yan
2025-01-04 4:19 ` kernel test robot
2025-01-09 11:47 ` Shivank Garg
2025-01-09 14:08 ` Zi Yan
2025-01-03 17:24 ` [RFC PATCH 4/5] mm/migrate: introduce multi-threaded page copy routine Zi Yan
2025-01-06 1:18 ` Hyeonggon Yoo
2025-01-06 2:01 ` Zi Yan
2025-02-13 12:44 ` Byungchul Park
2025-02-13 15:34 ` Zi Yan
2025-02-13 21:34 ` Byungchul Park
2025-01-03 17:24 ` [RFC PATCH 5/5] test: add sysctl for folio copy tests and adjust NR_MAX_BATCHED_MIGRATION Zi Yan
2025-01-03 22:21 ` Gregory Price
2025-01-03 22:56 ` Zi Yan
2025-01-04 4:51 ` kernel test robot
2025-01-04 5:24 ` kernel test robot [this message]
2025-01-03 19:17 ` [RFC PATCH 0/5] Accelerate page migration with batching and multi threads Gregory Price
2025-01-03 19:32 ` Zi Yan
2025-01-03 22:09 ` Yang Shi
2025-01-06 2:33 ` Zi Yan
2025-01-09 11:47 ` Shivank Garg
2025-01-09 15:04 ` Zi Yan
2025-01-09 18:03 ` Shivank Garg
2025-01-09 19:32 ` Zi Yan
2025-01-10 17:05 ` Zi Yan
2025-01-10 19:51 ` Zi Yan
2025-01-16 4:57 ` Shivank Garg
2025-01-21 6:15 ` Shivank Garg
2025-02-13 8:17 ` Byungchul Park
2025-02-13 15:36 ` Zi Yan
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=202501041307.zfuQDHd5-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ziy@nvidia.com \
/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.