Re: large page patch (fwd) (fwd)

From: Hubertus Franke (
Date: Sat Aug 03 2002 - 13:41:29 EST

On Saturday 03 August 2002 12:39 am, David Mosberger wrote:
> >>>>> On Fri, 2 Aug 2002 21:26:52 -0700 (PDT), Linus Torvalds
> >>>>> <> said:
> >>
> >> I wasn't disagreeing with your case for separate large page
> >> syscalls. Those syscalls certainly simplify implementation and,
> >> as you point out, it well may be the case that a transparent
> >> superpage scheme never will be able to replace the former.
> Linus> Somebody already had patches for the transparent superpage
> Linus> thing for alpha, which supports it. I remember seeing numbers
> Linus> implying that helped noticeably.
> Yes, I saw those. I still like the Rice work a _lot_ better. It's
> just a thing of beauty, from a design point of view (disclaimer: I
> haven't seen the implementation, so there may be ugly things
> lurking...).

I agree, the Rice solution is ellegant in the promotion and demotion.

> Linus> But yes, that definitely doesn't work for humongous pages (or
> Linus> whatever we should call the multi-megabyte-special-case-thing
> Linus> ;).
> Yes, you're probably right. 2MB was reported to be fine in the Rice
> experiments, but I doubt 256MB (and much less 4GB, as supported by
> some CPUs) would fly.
> --david

As if the page coloring, it certainly helps.
But I'd like to point out that superpages are there to reduce the number of
TLB misses by providing larger coverage. Simply providing page coloring
will not get you there.

-- Hubertus Franke  (
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:22 EST