All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] objtool: Constify most of the instruction decoding loop
@ 2020-04-22 10:32 Ingo Molnar
  2020-04-22 10:32 ` [PATCH 1/3] objtool: Constify 'struct elf *' parameters Ingo Molnar
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ingo Molnar @ 2020-04-22 10:32 UTC (permalink / raw)
  To: linux-kernel
  Cc: Peter Zijlstra, Josh Poimboeuf, Sami Tolvanen, Borislav Petkov,
	Linus Torvalds, Thomas Gleixner

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-04-23  7:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 10:32 [PATCH 0/3] objtool: Constify most of the instruction decoding loop Ingo Molnar
2020-04-22 10:32 ` [PATCH 1/3] objtool: Constify 'struct elf *' parameters Ingo Molnar
2020-04-23  7:49   ` [tip: objtool/core] " tip-bot2 for Ingo Molnar
2020-04-22 10:32 ` [PATCH 2/3] objtool: Rename elf_read() to elf_open_read() Ingo Molnar
2020-04-22 11:43   ` Peter Zijlstra
2020-04-22 14:22     ` Ingo Molnar
2020-04-22 17:00       ` Matt Helsley
2020-04-22 19:22         ` Ingo Molnar
2020-04-23  7:49   ` [tip: objtool/core] " tip-bot2 for Ingo Molnar
2020-04-22 10:32 ` [PATCH 3/3] objtool: Constify arch_decode_instruction() Ingo Molnar
2020-04-23  7:49   ` [tip: objtool/core] " tip-bot2 for Ingo Molnar
2020-04-22 20:49 ` [PATCH 0/3] objtool: Constify most of the instruction decoding loop Josh Poimboeuf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.