Messages in this thread | | | Subject | Re: [RFC] Arch option to touch newly allocated pages | Date | Mon, 4 Mar 2002 22:51:11 +0000 (GMT) | From | Alan Cox <> |
| |
> hpa@zytor.com said: > > So why, then, phrase this as a feature request??? > > Because it requires a hook in the generic kernel allocator that UML can > use to make sure that all allocated pages are backed on the host.
At the point you actually allocate pages they are being allocated. No hook is needed. You seem to misunderstand the way the allocation works - we allocate address space not memory in things like mmap. We allocate pages on demand when referenced. The page allocator is only called after a page is referenced - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |