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

Re: [bigmem-patch] 4GB with Linux on IA32



Andrea,

I believe you are on the right track, by marking bigmem pages in
the flags, and requiring a mapping call before the kernel can access
the contents of the page. I have a few issues though. I haven't looked
at your code yet, so it is possible that you may have taken care
of some of this already.

For example, driver and fs code which operate on user pages might
need to be changed. I hear that Stephen's rawio code made it into
2.3.13, so would your patch work if a rawio request was made to
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 
look at such bigmem user pages (probably not in the context of
the process, in which case the uaccess functions are usable?).
Basically, any code that does a pte_page and similar calls is suspect, 
right?

Kanoj
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/