Repository navigation
Commit 9291799
mm/memory_hotplug: drop valid_start/valid_end from test_pages_in_a_zone()
The callers are only interested in the actual zone, they don't care about
boundaries. Return the zone instead to simplify.
Link: http://lkml.kernel.org/r/20200110183308.11849-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 52fb87c commit 9291799
3 files changed
Lines changed: 15 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | 379 | | |
381 | 380 | | |
382 | 381 | | |
| |||
389 | 388 | | |
390 | 389 | | |
391 | 390 | | |
392 | | - | |
393 | | - | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
394 | 394 | | |
395 | | - | |
396 | | - | |
| 395 | + | |
397 | 396 | | |
398 | 397 | | |
399 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
1175 | | - | |
1176 | | - | |
| 1175 | + | |
| 1176 | + | |
1177 | 1177 | | |
1178 | | - | |
1179 | | - | |
| 1178 | + | |
| 1179 | + | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | | - | |
1183 | 1182 | | |
1184 | 1183 | | |
1185 | 1184 | | |
| |||
1200 | 1199 | | |
1201 | 1200 | | |
1202 | 1201 | | |
1203 | | - | |
| 1202 | + | |
1204 | 1203 | | |
1205 | 1204 | | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
| 1205 | + | |
1209 | 1206 | | |
1210 | | - | |
1211 | 1207 | | |
1212 | 1208 | | |
1213 | 1209 | | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
| 1210 | + | |
1221 | 1211 | | |
1222 | 1212 | | |
1223 | 1213 | | |
| |||
1462 | 1452 | | |
1463 | 1453 | | |
1464 | 1454 | | |
1465 | | - | |
1466 | 1455 | | |
1467 | 1456 | | |
1468 | 1457 | | |
| |||
1487 | 1476 | | |
1488 | 1477 | | |
1489 | 1478 | | |
1490 | | - | |
1491 | | - | |
| 1479 | + | |
| 1480 | + | |
1492 | 1481 | | |
1493 | 1482 | | |
1494 | 1483 | | |
1495 | 1484 | | |
1496 | | - | |
1497 | | - | |
1498 | 1485 | | |
1499 | 1486 | | |
1500 | 1487 | | |
| |||
0 commit comments