]> 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)
commit5e555034b3555133afb7b8683af137465b3c1a3a
treefb6f832c85f8da56fdc1a09d557010eeb197043c
parentff8aa56217009751a4ed4c5233cfb4d886d103f5
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