Re: large page patch

David Mosberger (davidm@napali.hpl.hp.com)
Fri, 2 Aug 2002 08:27:00 -0700


>>>>> On Fri, 02 Aug 2002 01:20:40 -0700 (PDT), "David S. Miller" <davem@redhat.com> said:

Dave.M> A "hint" to use superpages? That's absurd.

Dave.M> Any time you are able to translate N pages instead of 1 page
Dave.M> with 1 TLB entry it's always preferable.

Yeah, right. So you think a 256MB page-size is optimal for all apps?

What you're missing is how you *get* to the point where you can map N
pages with a single TLB entry. For that to happen, you need to
allocate physically contiguous and properly aligned memory (at least
given the hw that's common today). Doing has certain costs, no matter
what your approach is.

--david
-
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/