]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Increase parisc_cache_flush_threshold setting
authorJohn David Anglin <dave.anglin@bell.net>
Fri, 11 Mar 2022 18:59:12 +0000 (18:59 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 11 Mar 2022 19:19:41 +0000 (20:19 +0100)
commit88c88a2d30163e9ffc95f67842495584acd42334
treefb6f832c85f8da56fdc1a09d557010eeb197043c
parenta7bf59f4ae8cb95fe59e6e6ccf8f587be0069199
parisc: Increase parisc_cache_flush_threshold setting

In testing the "Fix non-access data TLB cache flush faults" change,
I noticed a significant improvement in glibc build and check times.
This led me to investigate the parisc_cache_flush_threshold setting.
It determines when we switch from line flushing to whole cache flushing.

It turned out that the parisc_cache_flush_threshold setting on
mako and mako2 machines (PA8800 and PA8900 processors) was way too
small. Adjusting this setting provided almost a factor two improvement
in the glibc build and check time.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/cache.c