Messages in this thread | | | Date | Mon, 16 Aug 1999 22:54:45 +0200 (CEST) | From | Andrea Arcangeli <> | Subject | Re: [bigmem-patch] 4GB with Linux on IA32 |
| |
On Mon, 16 Aug 1999, Alan Cox wrote:
>> a range of user pages that were in bigmem area? Also, debuggers >> want to look at user memory, so they would also need to map the >> pages. Are there any other cases where a driver might want to > >That is the tricky one. What occurs if I mmap a high memory page of >another process via /proc/pid/mem ? then write it
IMO Kanoj was talking about another thing (ptrace).
About the /proc/pid/mem I noticed there are two kmap missing in mem_write and mem_read (so to read and write from /proc/pid/mem).
The mmap over a /proc/pid/mem instead seems just fine. The only thing you must care is when you write to the page _inside_ the kernel, if you touch pages from userspace you'll be fine as usual. For userspace bigmem pages are completly equal to regular pages and no kernel change is necessary in such user-map places like mem_mmap in fs/proc/mem.c.
Andrea
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |