Messages in this thread |  | | | Subject | Re: [RFC] Arch option to touch newly allocated pages | | Date | Wed, 06 Mar 2002 19:28:46 -0500 | | From | Jeff Dike <> |
| |
alan@lxorguk.ukuu.org.uk said: > and also enforcing a "must be able to fill in the pages between start > and end of file" for the tmpfs file size itself is not hard from > inspection.
So if I mapped a single page from file offset 65M on a 64M tmpfs, that would fail?
I'd prefer maps to fail when they make the total maps exceed the tmpfs limit.
Then I can map in smaller chunks, PAGE_SIZE if necessary. That has the disadvantage that the vmas in the host would be even uglier than they are now because we don't have vma merging any more.
UML would still need that page_alloc hook, except it would map the allocated pages instead of touching them.
Jeff
- 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/
|  |