![]() | |||||||||||||
Messages in this thread |
On Wed, 28 Oct 1998, Linus Torvalds wrote: > Basically, anything that wants to do "large page" mappings of a frame > buffer needs to use something that isn't standard mmap(). Whether that's a > special flag to mmap() or something else is immaterial, but it needs to be > done on a VMA basis, not on a page table basis. Because we need to > disallow partial unmaps etc. is something like vma->granularity sufficient? default is 4k, but can be 4m (2m) too. (I dont think a single VM_LARGE_PAGE flag is enough, with 3 level paging we have a theoretical possibility of 4G pages too.) But putting this into the vma slows things down unnecessary i fear. Also, there is no place for an integer 'granularity' in the mmap interface, sigh. -- mingo - 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/ | ||||||||||||
| Last update: 2005-03-22 13:45 [from the cache] ©2003-2008 | |||||||||||||