Messages in this thread | | | Date | Thu, 18 Mar 2021 12:42:25 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check |
| |
On Thu, Mar 18, 2021 at 12:31:59PM +0100, Peter Zijlstra wrote: > Sites that match init_section_contains() get marked as INIT. For > built-in code init_sections contains both __init and __exit text. OTOH > kernel_text_address() only explicitly includes __init text (and there > are no __exit text markers). > > Match what jump_label already does and ignore the warning for INIT > sites. Also see the excellent changelog for commit: 8f35eaa5f2de > ("jump_label: Don't warn on __exit jump entries")
Note that I initially had a different fix and thought jump_label was broken for not patching, but then found the above commit.
| |