how can the kernel read from a processes pages ?

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

 



Hi,

I want to do the following from a kernel module or kernel code :

Read a byte from any page in physical memory. It doesn't matter if
that page is being used by a process or not.

>From an earlier post someone recommended I use ioremap() to map the
pages (build page tables) into the kernel and then read a byte from
the page.

I wanted to know if its ok for the kernel to map to a page that is
being used by a process ? Also is this page any different after the
mapping , i.e. does it have any different characteristics when
compared to a process' page that has not been mapped by the kernel ?

thanks
Arjun

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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