Dear Bill,
What i found from experimenting on arm Linux kernel is ,after every access
if i clear the _PG_ACCESS bit of the pte (using /proc/pid/clear_refs),the
next write also will come to kernel (handle_pte_fault).But I dont know
whether my clearing action causing any bad impact on any other
On 2012年08月01日 12:53, Dhyan wrote:
Dear Bill,
Thank you for spending your valuable time for understanding and
answering my queries !!!
I was trying to apply some garbage collection algorithm on this dumped
pages,thats why i want only the written pages.
Sorry to ask,but is there any
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.
So that next time when kernel thread runs it will dump only the pages
written after last dump.
--
Thanks
Dhyan
Hi!
AFAIK it's PG_dirty page flag.
Hope this helps!
Vladimir Murzin
--Original Message--
From: Mulyadi Santosa
Sender: kernelnewbies-boun...@kernelnewbies.org
To: Dhyan
Cc: bill4carson
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: arm L_PTE_XXX entry addition for Debugging purpose
Thank You Bill !!!
I dont know my approach is correct or not,But the actual purpose was to
dump only written pages of a user process using a kernel module.I have a
kernel thread which will dump user process memory in specific interval.So i
thought of updating this flag (L_PTE_DEBUG) from
On 2012年07月31日 17:20, Dhyan wrote:
Thank You Bill !!!
I dont know my approach is correct or not,But the actual purpose was to
dump only written pages of a user process using a kernel module.I have
a kernel thread which will dump user process memory in specific
interval.So i thought of
Dear Bill,
Thank you for spending your valuable time for understanding and answering
my queries !!!
I was trying to apply some garbage collection algorithm on this dumped
pages,thats why i want only the written pages.
Sorry to ask,but is there any other good way to find the written pages of a