[Top] [All Lists]

data consistency of high page

To: Ralf Baechle <>
Subject: data consistency of high page
From: Minchan Kim <>
Date: Tue, 23 Mar 2010 17:46:52 +0900
Cc: lkml <>, linux-mips <>, Namjae Jeon <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=62kfMJCg+laX2QqZFDZK2lCizXBLqqnohcpQpLJoJ/A=; b=tAOtxMbTBllvqVawJjvprT2EeW7ZM/bqefxdwkOu3ouVeLJayAehuJoCgRKwLQNWGT ATsgaaY9Xg0eshiKpPiJEQz/wQJm2PdXCUaCt6C2GpwcaT9hXwCxhC3QMpK/wOXZcn0s dr0l+4ny0AW1GABHUrop7luOQ500exkoxtudY=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=PJOhEaKRE+kMAb++2Yc3QphiaYKLC1UQk37gYC2u/zKSibSAO5RLZ5vZ1Nt3UJo6w9 +EhXkWEbWuM0Jisx2l/m79PDa66c+YNiXpNEGnIDL9pw7bGIutAJN4ba0+EL3s2n5HFi TKaQZY2F/uBnSsI+1ZKdRKnkad12LPv5WE7A4=
Original-recipient: rfc822;
Hi, Ralf.

Below is thread long time ago.
At that time, we can't end up the problem by some reason.
Sorry for that.

The problem would occur, again.

On Fri, Oct 16, 2009 at 6:24 PM, Ralf Baechle <> wrote:
> On Fri, Oct 16, 2009 at 02:17:19PM +0900, Minchan Kim wrote:
>> Many code of kernel fs usually allocate high page and flush.
>> But flush_dcache_page of mips checks PageHighMem to avoid flush
>> so that data consistency is broken, I think.
> What processor and cache configuration?
>> I found it's by you and Atsushi-san on 585fa724.
>> Why do we need the check?
>> Could you elaborte please?
> The if statement exists because __flush_dcache_page would crash if a page
> is not mapped.  This of course isn't correct but that wasn't a problem
> since highmem still is only supported on machines that don't have aliases.
>  Ralf

Our system is following as.

mips 34ke
primary i-cache 32kB VIPT 4way 32 byte line size.
primary d-cache 32kB 4way  32 bytes linesize

If you have further questions, Namjae, Could you follow question of Ralf?

Kind regards,
Minchan Kim

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