Re: [PATCH] VM routine fixes

From: David Howells
Date: Thu Nov 11 2004 - 07:04:11 EST



> > No, it isn't. munmap() is prohibited from releasing anything other than a
> > complete mmap() on uClinux.
>
> hrm. I'd have thought that such a restriction would be unnecessary if we
> get the page refcounting done right. With, say, compound pages!

I don't think you want to go there. Don't forget in a lot of cases you're
dealing with shared objects, and so you can't just go punching holes in the
middle thereof.

> Compound pages are just a way of handling refcounting of a higher-order
> page. Nothing to do with TLBs at all.

In that case, I'll look at making compound pages mandatory if you wish. I'd
rather avoid doing so because they incur additional overheads, and it'll be on
MMU and !MMU both, but it does make multi-order page handling appear more
robust.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/