Re: How to get a physical address from a linear one using a different pgd

2008-02-06 Thread Martin Candurra
On Feb 5, 2008 11:42 PM, Mulyadi Santosa <[EMAIL PROTECTED]> wrote: > Hi... > > On 2/6/08, Martin Candurra <[EMAIL PROTECTED]> wrote: > > I had to get some data from a user process within a kernel module. That > > process wasn't the "current" so the process pgd was not the same as the > > current

Re: How to get a physical address from a linear one using a different pgd

2008-02-05 Thread Mulyadi Santosa
Hi... On 2/6/08, Martin Candurra <[EMAIL PROTECTED]> wrote: > I had to get some data from a user process within a kernel module. That > process wasn't the "current" so the process pgd was not the same as the > current pgd (for this reason I couldn't use copy_from_user function). > > I had been loo

How to get a physical address from a linear one using a different pgd

2008-02-05 Thread Martin Candurra
I had to get some data from a user process within a kernel module. That process wasn't the "current" so the process pgd was not the same as the current pgd (for this reason I couldn't use copy_from_user function). I had been looking for some straight method (or function) to do it, but I could not