diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2017-10-12 13:57:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-10-18 14:11:23 +0200 |
commit | 0dcd91a9e6cc0a401416bbdd34b0a255cde0aee1 (patch) | |
tree | 9a095afe44969df5b0a6ad4ee8a251257db78645 /kernel/printk | |
parent | 94158e544fd60c6a94af348790dae76578ed8dae (diff) | |
download | linux-0dcd91a9e6cc0a401416bbdd34b0a255cde0aee1.tar.gz linux-0dcd91a9e6cc0a401416bbdd34b0a255cde0aee1.tar.bz2 linux-0dcd91a9e6cc0a401416bbdd34b0a255cde0aee1.zip |
s390/debug: only write data once
debug_event_common memsets the active debug entry with zeros to
prevent stale data leakage. This is overwritten with the actual
debug data in the next step. Only write zeros to that part of the
debug entry that's not used by new debug data.
Micro benchmarks show a 2-10% reduction of cpu cycles with this
approach.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions