[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240630062916.GA11898@redhat.com>
Date: Sun, 30 Jun 2024 08:29:16 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Huacai Chen <chenhuacai@...nel.org>
Cc: Tiezhu Yang <yangtiezhu@...ngson.cn>, andrii.nakryiko@...il.com,
andrii@...nel.org, bpf@...r.kernel.org, jolsa@...nel.org,
kernel@...0n.name, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, loongarch@...ts.linux.dev,
mhiramat@...nel.org, nathan@...nel.org, rostedt@...dmis.org
Subject: Re: [PATCH] LoongArch: make the users of larch_insn_gen_break()
constant
On 06/30, Huacai Chen wrote:
>
> > +static __init int check_emit_break(void)
> > +{
> > + BUG_ON(UPROBE_SWBP_INSN != larch_insn_gen_break(BRK_UPROBE_BP));
> > + BUG_ON(UPROBE_XOLBP_INSN != larch_insn_gen_break(BRK_UPROBE_XOLBP));
> > + return 0;
> > +}
> > +arch_initcall(check_emit_break);
> Do you mind if I remove the runtime checking after Tiezhu tests the correctness?
Sure, please remove, thanks.
Oleg.
Powered by blists - more mailing lists