linux-mips
[Top] [All Lists]

The flush_cache_all() is empty, but it is still called by some function?

To: linux-mips@linux-mips.org
Subject: The flush_cache_all() is empty, but it is still called by some function? And what's the difference between flush_cache_all() and __flush_cache_all()?
From: "Lennox Wu" <lennox.wu@gmail.com>
Date: Fri, 7 Nov 2008 17:44:40 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=8whUIU07qyjAVlFkbQlFIid8J3OoT/MpL0/FHvOKCPE=; b=gB6Bn3mByUpU+nPBf++s0O4MqAIdhjkNoEpxNNE9M1gmKkkR6yVnRq9rlztyORfkl4 O9vP2C5qCFFsa9o6v4ZrW4ZYUwBy1N6tphFFwCLxRcgvTg9N0aRlrWBqW+65C7Y3sMAA HTijGCTdVcVDGrGR0pSF/oL9axCg8+4irfeCw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=EuS+BwAPlE/8ImX1OEfO4WENKsEPIfZa0bt2GYTRIz5Jsjfub4KDTTvpu10ZxomL6I y78U1ZscWiO5l3jeGSnqxY6aEM46XYmuRmX5zJfbJ0tP5uq+esdhLm8P4EH7F1v6yr7J WQ+lPDin60Mz0lqVt1t9V6T8l2im2ZtfB1l58=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org

Hi,
    I traced the cache operations of R3000 and R4000  (the Kernel version is 2.6.27).
I found the flush_cache_all() is empty, but it is still called by some function, e.g. remap_area_pages() .
I don't understand why the function is empty and what's the difference between flush_cache_all() and
__flush_cache_all(). Does calling a empty flush_cache_all() make some problem ?
   
Thanks,
Lennox

<Prev in Thread] Current Thread [Next in Thread>
  • The flush_cache_all() is empty, but it is still called by some function? And what's the difference between flush_cache_all() and __flush_cache_all()?, Lennox Wu <=