Re: Accessing Pagetable of a process

2006-01-17 Thread Pranav Sawargaonkar
Hello, I wanted to save the whole context of the process, thats why I want the access to each page allocated to the process of our interest. And further I want to write all these pages on to swap. The final objective is to save the context of a stopped process on the swap and

Re: Accessing Pagetable of a process

2006-01-17 Thread Kamal R. Prasad
there is some code in dragonflybsd to checkpoint a process. It will write the pagetable to disk. Since the internal data structures aren't much different -you should be able to copy over that code to freebsd. But you will run into problems with file descriptors that are not of type vnode (eg

Accessing Pagetable of a process

2006-01-16 Thread Pranav Sawargaonkar
Hi I want to access pagetable of a perticular process. How i should get it?Is it possible to access by using pointer of type 'struct proc'? Also i want to access each page referenced in pagetable of that process by writing my module how i can achieve this? Thanks in advance.

Re: Accessing Pagetable of a process

2006-01-16 Thread Kamal R. Prasad
On 1/16/06, Pranav Sawargaonkar [EMAIL PROTECTED] wrote: Hi I want to access pagetable of a perticular process. How i should get it?Is it possible to access by using pointer of type 'struct proc'? by accessimg the vmspace for the process. Also i want to access each page referenced in