Ralf Baechle wrote:
> On Thu, Dec 27, 2001 at 12:51:22PM +0900, Atsushi Nemoto wrote:
> > >>>>> On Thu, 27 Dec 2001 01:12:22 -0200, Ralf Baechle <email@example.com>
> > >>>>> said:
> > ralf> Yes, you're right as for the cache. But there is no reason for
> > ralf> the TLB flush, right?
> > Yes, I agree.
> Ok, I'll make a patch for Marcelo. Being in Brazil right now is useful,
> I can beat him into accepting it ;-)
Great! But please make sure that the cache is flushed after the pages
are allocated instead of before.
With 2.4.9 that still had the cache-flushing in vmalloc_area_pages(), I
got cache aliasing problems in low memory situations (since alloc_page()
will re-schedule when no pages are available).