I am porting 'kdb' to omap3430 platform.
for command 'mdp arg' [mdp is memory dump physical and  arg is any physical
address]  this code gets executed. I dint test for every address b/w
0-0xc0000000
but lots of them randomnly. The other 'md' commands do work for kernel high
memory address.[ie. > 0xc0000000] But mdp fails for all the addresses.

this piece of code is part of architecture independant patch of kdb; [for
2.6.24 kernel]
kdb community is very inactive and moreover this question is related to
memory management part of the kernel, so I thought i will ask it here

On Mon, Aug 10, 2009 at 8:10 AM, Mulyadi Santosa
<[email protected]>wrote:

>  On 8/10/09, Basavaraj Dengi <[email protected]> wrote:
> > Hi
> >
> > In the piece of code below
> >
> > pfn = (addr >> PAGE_SHIFT);
> > if (!pfn_valid(pfn))
> >
> > [Where PAGE_SHIFT is 12; and addr I tried from 0x0 to > 0xc0000000]
> > pfn_valid always fails;
> >
> > What is wrong? Am I missing something?
>
> Next time, please start fresh new thread instead of being a part of
> another discussion. At least in my Gmail thread's view, your post is
> placed under Himanshu's.
>

Sorry abt that; i will take care of this next time onwards

>
> About your question, I find that a bit strange. In what condition do
> you test those codes? And do you see it fail for all addresses in
> 0-0xc0000000 range or just few of them?
>
> And btw, we're talking about x86 32 bit, right?
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer
> blog: the-hydra.blogspot.com
>

Reply via email to