[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210702042838-mutt-send-email-mst@kernel.org>
Date: Fri, 2 Jul 2021 04:30:46 -0400
From: "Michael S. Tsirkin" <mst@...hat.com>
To: Yunsheng Lin <linyunsheng@...wei.com>
Cc: Jason Wang <jasowang@...hat.com>, davem@...emloft.net,
kuba@...nel.org, brouer@...hat.com, paulmck@...nel.org,
peterz@...radead.org, will@...nel.org, shuah@...nel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org, linuxarm@...neuler.org
Subject: Re: [PATCH net-next v3 1/3] selftests/ptr_ring: add benchmark
application for ptr_ring
On Fri, Jul 02, 2021 at 04:17:17PM +0800, Yunsheng Lin wrote:
> > Let's reuse ptr_ring.c in tools/virtio/ringtest. Nothing virt specific there.
>
> It *does* have some virtio specific at the end of ptr_ring.c.
> It can be argued that the ptr_ring.c in tools/virtio/ringtest
> could be refactored to remove the function related to virtio.
>
> But as mentioned in the previous disscusion [1], the tools/virtio/
> seems to have compile error in the latest kernel, it does not seems
> right to reuse that.
> And most of testcase in tools/virtio/ seems
> better be in tools/virtio/ringtest instead,so until the testcase
> in tools/virtio/ is compile-error-free and moved to tools/testing/
> selftests/, it seems better not to reuse it for now.
That's a great reason to reuse - so tools/virtio/ stays working.
Please just fix that.
--
MST
Powered by blists - more mailing lists