diff options
author | Jayachandran C <jchandra@broadcom.com> | 2013-01-14 15:12:00 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-17 00:15:21 +0100 |
commit | 37a7059bc4228613867645be50120aff17a162a1 (patch) | |
tree | 2079e8eeecc7947dd804fbe520326dfa72d4ce99 /security | |
parent | 5a4cbe381122e41749cadf24d59cd63ed84f41c0 (diff) | |
download | linux-37a7059bc4228613867645be50120aff17a162a1.tar.bz2 |
MIPS: Netlogic: use preset loops per jiffy
Doing calibrate delay on a hardware thread will be inaccurate since
it depends on the load on other threads in the core. It will also
slow down the boot process when done for 128 hardware threads. Switch
to a pre-computed loops per jiffy based on the core frequency. The
value is computed based on the core frequency and roughly matches the
value calculated by calibrate_delay().
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Patchwork: http://patchwork.linux-mips.org/patch/4791/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions