commit | 28976a80e961f491e51c1cb627311efc4981b69a | [log] [tgz] |
---|---|---|
author | Hanumant Singh <hanumant@codeaurora.org> | Wed Apr 18 14:14:21 2012 -0700 |
committer | Hanumant Singh <hanumant@codeaurora.org> | Wed Apr 18 14:14:21 2012 -0700 |
tree | be065d16c3a99c8666bc908d8806417c217a04de | |
parent | 2e9581fb01d6e7ae16d2e3d0547bb378d7f562a9 [diff] |
DMM: Fix for movable bytes near end of address space To prevent overflow near 4GB memory address, the rounding down of memory addresses needs to be propagated to the memory hotplug logic. Checking if a given pfn is part of physical ram allows us to do this. Also while walking through system ram, we need to take care of overflow at high memory address. Change-Id: Id962cf93906888783a807fe89f2be4ba91b2c5d6 Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>