linux-mips
[Top] [All Lists]

Re: vmalloc bugs in 2.4.5???

To: "Tommy S. Christensen" <tommy.christensen@eicon.com>
Subject: Re: vmalloc bugs in 2.4.5???
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 27 Dec 2001 19:19:59 -0200
Cc: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>, dony.he@huawei.com, linux-mips@oss.sgi.com
In-reply-to: <3C2B45D3.B938CA44@eicon.com>; from tommy.christensen@eicon.com on Thu, Dec 27, 2001 at 05:01:23PM +0100
References: <20011226013221.A737@dea.linux-mips.net> <20011227.105518.74756316.nemoto@toshiba-tops.co.jp> <20011227011222.A16695@dea.linux-mips.net> <20011227.125122.71082554.nemoto@toshiba-tops.co.jp> <20011227022936.A19397@dea.linux-mips.net> <3C2B45D3.B938CA44@eicon.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Thu, Dec 27, 2001 at 05:01:23PM +0100, Tommy S. Christensen wrote:

> 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).

Correct; I fixed that one.  That's actually a nasty one, affects all
previous Linux releases.  I wonder how this one went unnoticed for so long.
Probably because loading modules is a relativly rare event or so.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>