diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-05-02 09:15:58 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-05-02 15:50:27 +0200 |
commit | e5d709bb5fb758281b5a5dbda50823bb68b3a066 (patch) | |
tree | 16c3c985549433a74b7e2e4d507a3bc51adb27f9 /drivers/s390 | |
parent | df1bd59c5cc247d1d02588ff0a4e86a0cc5f9733 (diff) | |
download | linux-e5d709bb5fb758281b5a5dbda50823bb68b3a066.tar.bz2 |
s390/memory hotplug: provide memory_block_size_bytes() function
Commit 0c2c99b1b "memory hotplug: Allow memory blocks to span
multiple memory sections" introduced a weak memory_block_size_bytes()
function which can be used to set the size of a memory block as
seen in sysfs.
Provide an s390 specific override which makes sure that each
memory block has at least a size of 256MB or the increment size of
of a memory increment, whatever is larger.
This way we can make sure that the number of memory sysfs objects
doesn't explode for very large memory configurations.
Reported-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions