Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

s390/sclp: Remove MHP_OFFLINE_INACCESSIBLE

mhp_flag MHP_OFFLINE_INACCESSIBLE was used to mark memory as not
accessible until memory hotplug online phase begins.

Earlier, standby memory blocks were added upfront during boottime and
MHP_OFFLINE_INACCESSIBLE flag avoided page_init_poison() on memmap
during mhp addition phase.

However with dynamic runtime configuration of memory, standby memory can
be brought to accessible state before performing add_memory(). Hence,
remove MHP_OFFLINE_INACCESSIBLE.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

authored by

Sumanth Korikkar and committed by
Heiko Carstens
ce2071e0 ff18dcb1

+1 -1
+1 -1
drivers/s390/char/sclp_mem.c
··· 224 224 __arch_set_page_nodat((void *)__va(addr), block_size >> PAGE_SHIFT); 225 225 rc = __add_memory(0, addr, block_size, 226 226 sclp_mem->memmap_on_memory ? 227 - MHP_MEMMAP_ON_MEMORY | MHP_OFFLINE_INACCESSIBLE : MHP_NONE); 227 + MHP_MEMMAP_ON_MEMORY : MHP_NONE); 228 228 if (rc) { 229 229 sclp_mem_change_state(addr, block_size, 0); 230 230 goto out_unlock;