Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread Vladimir Murzin
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 Sent

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread Dhyan
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

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread Mulyadi Santosa
Hi... Sorry for crossing in... On Wed, Aug 1, 2012 at 11:53 AM, Dhyan wrote: > Sorry to ask,but is there any other good way to find the written pages of a > user process? by "written", you mean "dirty" pages? if yes, IIRC there's a flag that marks sobut that is for x86 and I forgot the nam

Re: system stucks in run_init_process

2012-07-31 Thread Mulyadi Santosa
Dear Rahul :) On Tue, Jul 31, 2012 at 12:48 PM, Rahul Bedarkar wrote: > But it (devtmpfs) is maintaining default devices, I have static > devices to be created in CPIO root file system whose path is given in > INITRAMFS SOURCE. So devtmpfs is overriding my static devices. Any > ways I could

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread Dhyan
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 u

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread bill4carson
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 o

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread Dhyan
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 handle_p

Re: arm L_PTE_XXX entry addition for Debugging purpose

2012-07-31 Thread bill4carson
On 2012年07月30日 17:39, Dhyan wrote: > Dear All, > > From linux(2.6.35) arm page table architecture i can see we have one > hardware page table and there is corresponding Linux page table Entry > (L_PTE_*).The "Linux" PTE definitions are as like below from > arch/arm/include/asm/pgtable.h. > > |#