[Top] [All Lists]

Re: BUG? linux-mips flush_dcache_page

To: Ralf Baechle <>
Subject: Re: BUG? linux-mips flush_dcache_page
From: Minchan Kim <>
Date: Fri, 16 Oct 2009 19:43:20 +0900
Cc: Atsushi Nemoto <>, lkml <>, linux-mips <>, Chungki woo <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=D72b1dgqmtS+vGA2HW/TAWOB7JJV43GsEFTqXjsCJzg=; b=bLUu1L9EEVTZ+1Zj5djjPqZ9xIT60VNiNYYfHNDuhA4foue7hg9JYqeZmrVRY+grVO srJ2w1tal7TMwXXP5ODlcbdcpaifx1A4TLCnvGVn6TwUciUubfEAen3oHnJesmPW+1O3 pGDTHHl+5KKeixhSCAmkFwn2Tt3yHxPEaB4b8=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=EyK5gybDF6cNb8G3j5JFjOtOycww8HZHPA/DQeAj5Z5QUfKJuZ/NycQBf9Nd5QOiS0 uSSICkUUao3uFU4VVuiYm3yqErw7Xti0+PJ6ZkAFCS7mJuHsDEcP9rEpk24yCfo0u4iM PwxLdNFZSRjlX6v2yME8aAkQRHojzX9V03c8A=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
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?

Chungki. Could you anwer this question ?

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

Thansk for good explanation.
Chungki. Please let us know your machine(processor and cache configuration)

>  Ralf

Kind regards,
Minchan Kim

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