[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200422103205.61900-1-mingo@kernel.org>
Date: Wed, 22 Apr 2020 12:32:02 +0200
From: Ingo Molnar <mingo@...nel.org>
To: linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Borislav Petkov <bp@...en8.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH 0/3] objtool: Constify most of the instruction decoding loop
Constify some of the decoding primitives, to ascertain and enforce that
arch_decode_instructions() is a read-only consumer of the various ELF data
structures. (Which it is.)
This is in preparation to parallelize the most expensive parts of objtool,
but makes sense independently as well.
These bits can also be found at:
git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/objtool
(Subject to rebasing.)
Thanks,
Ingo
====
Ingo Molnar (3):
objtool: Constify 'struct elf *' parameters
objtool: Rename elf_read() to elf_open_read()
objtool: Constify arch_decode_instruction()
tools/objtool/arch.h | 2 +-
tools/objtool/arch/x86/decode.c | 6 +++---
tools/objtool/check.c | 2 +-
tools/objtool/elf.c | 12 ++++++------
tools/objtool/elf.h | 22 +++++++++++-----------
5 files changed, 22 insertions(+), 22 deletions(-)
--
2.20.1
Powered by blists - more mailing lists