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/