[PATCH 009/013] kexec-tools: Introduce kexec-iomem.c and /proc/iomem parsing code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 11/21/06, Horms <horms at verge.net.au> wrote:
> On Mon, Nov 20, 2006 at 10:36:18AM -0500, Vivek Goyal wrote:
> > On Fri, Nov 17, 2006 at 07:57:24PM +0900, Magnus Damm wrote:
> > > kexec-tools: Introduce kexec-iomem.c and /proc/iomem parsing code
> > >
> > > This patch adds the new file kexec-iomem.c that implements code to parse
> > > /proc/iomem line-by-line. The following patches make use of this code
> > > - especially the Xen-code that use /proc/iomem to get crash note information.
> > >
> >
> > Not every arch uses /proc/iomem to parse the info (like ppc64) still if
> > significant number of arch are using iommem, then not a bad idea to
> > introduce common code.
>
> I looked over this, and it seems to me that enough arches are using
> /proc/iomem to make generic code worthwhile.

I think so too. On top of this code I think it should be possible to
build new shared code that can replace or at least implement the code
of the arch-specific get_crash_memory_ranges() functions...

Thanks!

/ magnus


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux