[PATCH v2 00/19] objtool: vmlinux.o and noinstr validation

From: Peter Zijlstra
Date: Tue Mar 17 2020 - 13:12:47 EST


Hi all,

Moar patches. This implements the proposed objtool validation for the

noinstr -- function attribute
instr_{begin,end}() -- annotation

Who's purpose is to annotate such code that has constraints on instrumentation
-- such as early exception code. Specifically it makes it very hard to
accidentally add code to such regions.

I've left the whole noinstr naming in place, we'll bike-shed on that later.

This should address all feedback from RFC/v1.