Commit e157633
committed
Merge: selftests/mm: fix va_high_addr_switch.sh failure
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7653
JIRA: https://issues.redhat.com/browse/RHEL-130531
The series is for fixing kselftest hugevm va_high_addr_switch test failure caused by two issues, one issue is no enough hugepage caused failure, the other issues is the unaligned hint addr caused test failure.
Added several more commits to resolve the dependency or reduce the conflict context. As the run_vmtests.sh is the entrypoint of all sub tests and some setups are done there,and because of the far distance between the 5.14 and 6.17, there're conflicts on the file in two of the commits.
And patch one is a RHEL-only fix, could help to reduce some conflict on vm_runtests.sh.
We don't have guard pages feature as no 662df3e ("mm: madvise: implement lightweight guard page mechanism") in rhel9, which is added in v6.13-rc1, and in this version the the guard-pages.c/guard-regions.c test are added. So ignored the commit 6d21130 ("selftests/mm: skip guard_regions.uffd tests when uffd is not present") in the dependency series.
Commit cc92882 ("mm: drop hugetlb_get_unmapped_area{_*} functions") is not in the rhel9, in which commit the hint addr round way changed and breaks the test. Commit c563252 ("selftests/mm: fix va_high_addr_switch.sh failure on x86_64") is originally for fixing the broken, using hugepage aligned hint address independent of the align (round up or down) direction being used in the kernel, making it portable, so add it together with the series.
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: Luiz Capitulino <luizcap@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Patrick Talbert <ptalbert@redhat.com>File tree
3 files changed
+331
-258
lines changed- tools/testing/selftests/mm
3 files changed
+331
-258
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| 185 | + | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
212 | 214 | | |
213 | 215 | | |
214 | 216 | | |
215 | | - | |
| 217 | + | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
223 | 231 | | |
224 | 232 | | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
230 | | - | |
231 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
232 | 244 | | |
233 | 245 | | |
234 | 246 | | |
| |||
265 | 277 | | |
266 | 278 | | |
267 | 279 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
275 | 289 | | |
276 | 290 | | |
277 | 291 | | |
| |||
371 | 385 | | |
372 | 386 | | |
373 | 387 | | |
374 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
375 | 391 | | |
376 | 392 | | |
377 | 393 | | |
| |||
420 | 436 | | |
421 | 437 | | |
422 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
423 | 443 | | |
424 | 444 | | |
425 | 445 | | |
| |||
0 commit comments