From: Heiko Carstens Date: Thu, 19 Feb 2009 14:19:01 +0000 (+0100) Subject: [S390] fix "mem=" handling in case of standby memory X-Git-Tag: v2.6.29-rc6~38^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d75d9cadd79bc9fd6553857d57c679cf18d4cb;p=pandora-kernel.git [S390] fix "mem=" handling in case of standby memory Standby memory detected with the sclp interface gets always registered with add_memory calls without considering the limitationt that the "mem=" kernel paramater implies. So fix this and only register standby memory that is below the specified limit. This fixes zfcpdump since it uses "mem=32M". In case there is appr. 2GB standby memory present all of usable memory would be used for the struct pages needed for standby memory. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed