linux-mips
[Top] [All Lists]

BUG? linux-mips flush_dcache_page

To: Ralf Baechle <ralf@linux-mips.org>, Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: BUG? linux-mips flush_dcache_page
From: Minchan Kim <minchan.kim@gmail.com>
Date: Fri, 16 Oct 2009 14:17:19 +0900
Cc: lkml <linux-kernel@vger.kernel.org>, linux-mips <linux-mips@linux-mips.org>, Chungki woo <chungki.woo@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=ki0aw3mXT+5IghXuEZsNlh06USD201RpcZbEdeiGTYg=; b=X4HUa9d9WOqZLgfBQmjYlp05OR2i4ImLyHLGaf0dz1AytvX2lGu4ks1Z/Yb54omE7l Y2uI6FBGyqgvTBW70epf4IqqWxgnlBXgYwAwI0IFo+WtX84HUHZhxpZ/JGcqjyAyYjVb 4drYLbJ99nMuiSCUTPQuWmL9mfPXJi7NLJ7U8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=gFOUIi3TzjycyAfh5degw4Cey3xhQA6UEMAUizKdw4IS7YQCkv7nf+lUvVadvIa2MV E2AOjujdvFX4YRGeqhJ8OwDVniRJsoCNuJi/mZAZCuk88T47y+cxDKNJYshNN/pzfG0K WMQk4HihZ7T5B5C/vcKLbLWveiiEjMVQ0Zn3s=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
                        
Hi, Ralf. 

I suffered form data consistency problem. 

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. 

I found it's by you and Atsushi-san on 585fa724. 
Why do we need the check?
Could you elaborte please? 

-- 
Kind regards,
Minchan Kim

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