summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.4/021-bcma-from-4.6.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-04-02 14:36:10 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-06-26 18:22:23 +0200
commitbf32177a1df123aa9b33c105d8895c81be81167a (patch)
tree9e9bfd212c7bdd6205697dcb8254a928a2000d5c /target/linux/generic/patches-4.4/021-bcma-from-4.6.patch
parent2abb02419d3c79d3ee8e732bccfd96a7fc959347 (diff)
downloadmtk-20170518-bf32177a1df123aa9b33c105d8895c81be81167a.zip
mtk-20170518-bf32177a1df123aa9b33c105d8895c81be81167a.tar.gz
mtk-20170518-bf32177a1df123aa9b33c105d8895c81be81167a.tar.bz2
kernel: remove full cache flush in fuse_copy_do() for MIPS
This patch was introduced in commit r16412 for the brcm47xx target only and then moved to generic in commit r32395. It was initially added because of ticket #5186 and should fix some problems with fuse file systems and MIPS caches. The commit comment in r32395 says that this a generic problem in MIPS CPUs, but does not name any specifics about that. There was a fix added to kernel 2.6.21 in commit commit 7575a49f20 "[MIPS] Implement flush_anon_page()." that should fix this problem, but that was already available before both commits were done to OpenWrt. I just tested fuse with ntfs.3g without this patch on a BCM4704 (BMIPS3300 V0.6) SoC and haven't seen any problems. Someone reported that removing this patch improves some fuse operations by 5 times on some modern MIPS cores. My test was only a simple "dd if=/dev/zero of=/mnt/zero bs=5000" to an USB stick. This patch removes the patch to OpenWrt, because I assume that it is not needed any more and Felix, the orginal author, also thinks so. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/patches-4.4/021-bcma-from-4.6.patch')
0 files changed, 0 insertions, 0 deletions