[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW5mdL6CHSCqqwQnm3V4URONoaamPCGUD9zHSz84h3X2GA@mail.gmail.com>
Date: Tue, 25 Feb 2020 14:56:00 -0800
From: Song Liu <song@...nel.org>
To: Luke Nelson <lukenels@...washington.edu>
Cc: Albert Ou <aou@...s.berkeley.edu>,
Alexei Starovoitov <ast@...nel.org>,
Andrii Nakryiko <andriin@...com>,
Björn Töpel <bjorn.topel@...il.com>,
Daniel Borkmann <daniel@...earbox.net>,
Jiong Wang <jiong.wang@...ronome.com>,
Martin KaFai Lau <kafai@...com>,
Networking <netdev@...r.kernel.org>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Song Liu <songliubraving@...com>, Xi Wang <xi.wang@...il.com>,
Yonghong Song <yhs@...com>, bpf <bpf@...r.kernel.org>,
linux-riscv@...ts.infradead.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 bpf-next] RV32G eBPF JIT
On Tue, Feb 25, 2020 at 10:37 AM Luke Nelson <lukenels@...washington.edu> wrote:
>
>
> > I found a lot of common code between RV32G and RV64G. Can we move
> > these code into a header file?
>
> Certainly! I was planning on doing this in a separate patch to minimize the changes
> to the RV64 JIT. I can also do it in another revision of this patch if that seems like a better idea.
I would recommend expand this patch into two patches: one patch moves
common code
to a header, the other adds logic for RV32G.
Thanks,
Song
Powered by blists - more mailing lists