Searched hist:b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/arm/include/asm/ |
H A D | page.h | diff b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd Mon Sep 07 09:06:42 CDT 2009 Russell King <rmk@dyn-67.arm.linux.org.uk> ARM: Fix pfn_valid() for sparse memory
On OMAP platforms, some people want to declare to segment up the memory between the kernel and a separate application such that there is a hole in the middle of the memory as far as Linux is concerned. However, they want to be able to mmap() the hole.
This currently causes problems, because update_mmu_cache() thinks that there are valid struct pages for the "hole". Fix this by making pfn_valid() slightly more expensive, by checking whether the PFN is contained within the meminfo array.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Khasim Syed Mohammed <khasim@ti.com>
|
H A D | memory.h | diff b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd Mon Sep 07 09:06:42 CDT 2009 Russell King <rmk@dyn-67.arm.linux.org.uk> ARM: Fix pfn_valid() for sparse memory
On OMAP platforms, some people want to declare to segment up the memory between the kernel and a separate application such that there is a hole in the middle of the memory as far as Linux is concerned. However, they want to be able to mmap() the hole.
This currently causes problems, because update_mmu_cache() thinks that there are valid struct pages for the "hole". Fix this by making pfn_valid() slightly more expensive, by checking whether the PFN is contained within the meminfo array.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Khasim Syed Mohammed <khasim@ti.com>
|
/openbmc/linux/arch/arm/mm/ |
H A D | init.c | diff b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd Mon Sep 07 09:06:42 CDT 2009 Russell King <rmk@dyn-67.arm.linux.org.uk> ARM: Fix pfn_valid() for sparse memory
On OMAP platforms, some people want to declare to segment up the memory between the kernel and a separate application such that there is a hole in the middle of the memory as far as Linux is concerned. However, they want to be able to mmap() the hole.
This currently causes problems, because update_mmu_cache() thinks that there are valid struct pages for the "hole". Fix this by making pfn_valid() slightly more expensive, by checking whether the PFN is contained within the meminfo array.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Tested-by: Khasim Syed Mohammed <khasim@ti.com>
|