[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8469b2d5-276b-9715-cf62-a5a724d438d7@huawei.com>
Date: Tue, 8 Nov 2022 08:52:54 +0800
From: Yang Jihong <yangjihong1@...wei.com>
To: "Russell King (Oracle)" <linux@...linux.org.uk>
CC: <ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
<martin.lau@...ux.dev>, <song@...nel.org>, <yhs@...com>,
<john.fastabend@...il.com>, <kpsingh@...nel.org>, <sdf@...gle.com>,
<haoluo@...gle.com>, <jolsa@...nel.org>,
<illusionist.neo@...il.com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<mykolal@...com>, <shuah@...nel.org>,
<benjamin.tissoires@...hat.com>, <memxor@...il.com>,
<asavkov@...hat.com>, <delyank@...com>, <bpf@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH bpf v2 4/5] bpf: Add kernel function call support in
32-bit ARM for EABI
Hello,
On 2022/11/7 20:33, Russell King (Oracle) wrote:
> On Mon, Nov 07, 2022 at 05:20:31PM +0800, Yang Jihong wrote:
>> +bool bpf_jit_supports_kfunc_call(void)
>> +{
>> + return true;
>
> It would be far cleaner to make this:
>
> return IS_ENABLED(CONFIG_AEABI);
>
> So userspace knows that it isn't supported on OABI.
>
Thanks for the suggestion, will change.
Thanks,
Yang
.
Powered by blists - more mailing lists