arm L_PTE_XXX entry addition for Debugging purpose

Mulyadi Santosa mulyadi.santosa at gmail.com
Wed Aug 1 04:42:51 EDT 2012


Hi....

On Wed, Aug 1, 2012 at 1:17 PM, Dhyan <linuxdhyan at gmail.com> wrote:
> Dear  mulyadi santosa,
>
> I think you are mentioning the about  PG_dirty flag.But in my case i want to
> clear the written flag of the user process from my kernel thread after each
> dump.

Oh, sorry then, I misunderstood your goal...

> So that next time when kernel thread runs it will dump only the pages
> written after last dump.

Sounds like what you need could be implemented using a time stamp.
Could be named like "last_written" and "last_dump". Both stores
jiffies values, consecutively when last time it is written out and
last time it is dumped out.

And since they are jiffies_t, they probably better attached to "page_t".

CMIIW...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list