All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] objtool: Avoid pointless modifications
@ 2021-10-07 21:22 Peter Zijlstra
  2021-10-07 21:22 ` [PATCH 1/2] objtool: Optimize re-writing jump_label Peter Zijlstra
  2021-10-07 21:22 ` [PATCH 2/2] objtool: Optimize/fix retpoline alternative generation Peter Zijlstra
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Zijlstra @ 2021-10-07 21:22 UTC (permalink / raw)
  To: jpoimboe; +Cc: linux-kernel, peterz, mbenes

While chasing that libelf warning, I started wondering why we're re-writing the
elf file to begin with, the second/noinstr pass shouldn't modify the image, so
we shouldn't end up in elf_write() in the first place.

These here two patches seem to cure this and should thereby also improve
performance somewhat.


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

end of thread, other threads:[~2021-10-09 10:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 21:22 [PATCH 0/2] objtool: Avoid pointless modifications Peter Zijlstra
2021-10-07 21:22 ` [PATCH 1/2] objtool: Optimize re-writing jump_label Peter Zijlstra
2021-10-08  6:55   ` Josh Poimboeuf
2021-10-08 10:03     ` Peter Zijlstra
2021-10-08 16:28       ` Josh Poimboeuf
2021-10-07 21:22 ` [PATCH 2/2] objtool: Optimize/fix retpoline alternative generation Peter Zijlstra
2021-10-08  7:23   ` Josh Poimboeuf
2021-10-08 10:35     ` Peter Zijlstra
2021-10-08 16:39       ` Josh Poimboeuf
2021-10-09 10:42         ` Peter Zijlstra

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.