Re: arm L_PTE_XXX entry addition for Debugging purpose

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

 



Hi....

On Wed, Aug 1, 2012 at 1:17 PM, Dhyan <linuxdhyan@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux