diff options
| author | Oscar Salvador <[email protected]> | 2021-05-05 01:39:36 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 18:27:26 +0000 |
| commit | dd8e2f230d82ecd60504fba48bb10bf3760b674e (patch) | |
| tree | c067c9fd2f962a71f017d76705024ae126a389d8 /mm/sparse.c | |
| parent | drivers/base/memory: introduce memory_block_{online,offline} (diff) | |
| download | kernel-dd8e2f230d82ecd60504fba48bb10bf3760b674e.tar.gz kernel-dd8e2f230d82ecd60504fba48bb10bf3760b674e.zip | |
mm,memory_hotplug: relax fully spanned sections check
We want {online,offline}_pages to operate on whole memblocks, but
memmap_on_memory will poke pageblock_nr_pages aligned holes in the
beginning, which is a special case we want to allow. Relax the check to
account for that case.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Oscar Salvador <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Pavel Tatashin <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
