PATCH for displaying pages [was: Re: PATCH: [olh at kdb and softirqs]]

Christoph Hellwig hch at
Wed Mar 24 05:22:15 EST 2004

On Tue, Mar 23, 2004 at 12:07:35PM -0600, linas at wrote:
> > linuxppc64-2.5/kdb/modules/kdbm_pg.c, around line 500.
> You want to leave that one in.  It enables a kdb command
> that enables the display of of memmap pages.   I added that;
> I think I sent a patch for it to the kdb list, but if not,
> below is a pseudo-patch that should be applied to KDB.
> I tried to make the patch be 'minimal'; I think this command
> works fine for all arches, and so the CONFIG_X86 is a red herring.

In Linux 2.6 it works for all arches _if_ CONFIG_DISCONTIGMEM is not set.

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list