[PATCH 2/2] arm/mm : Report actual image regions in /proc/iomem
Russell King (Oracle)
linux at armlinux.org.uk
Mon Mar 6 03:10:20 PST 2023
On Mon, Mar 06, 2023 at 02:51:55PM +0900, Jungseung Lee wrote:
> The resource reservations in /proc/iomem made for the kernel image did
> not reflect the gaps between text, rodata, and data.
> Add the "rodata" resource and update the start/end calculations.
>
> Before :
> 04000000-2f7fffff : System RAM
> 04100000-04cfffff : Kernel code
> 04e00000-05369a27 : Kernel data
>
> After :
> 04000000-2f7fffff : System RAM
> 04100000-049fffff : Kernel code
> 04a00000-04cb2fff : Kernel rodata
> 04e00000-05369a27 : Kernel data
NAK. This is API, and programs do read and parse this file. It is
important that this file reports these parameters in a similar way
to other architectures. Other architectures do not split up the
individual regions.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list