Re: [PATCH v2 -tip] x86/percpu: Use C for arch_raw_cpu_ptr()

From: Ingo Molnar
Date: Fri Oct 13 2023 - 06:52:18 EST



* Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> Right now my preference would be to leave the existing interface as-is,
> and then graft optional subcommands on top. If no subcommand is
> specified then it would default to the "run" subcommand. It's a little
> funky, but it would work well for the common case, where ~99% of the
> functionality lives. And it doesn't break existing setups and
> backports.
>
> For example:
>
> # current interface (no changes)
> objtool --mcount --orc --retpoline --uaccess vmlinux.o
>
> # same, with optional explicit "run" subcommand
> objtool run --mcount --orc --retpoline --uaccess vmlinux.o
>
> # new "size" subcommand
> obtool size [options] vmlinux.o.before vmlinux.o.after

Yeah, sounds good!

Thanks,

Ingo