Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-22 Thread Jason Wang
- 原始邮件 - > Hi Jason. > > On Tue, Feb 9, 2021 at 5:47 AM Jason Wang wrote: > > > > > On 2021/2/9 上午1:28, Paolo Bonzini wrote: > > > On 08/02/21 18:17, Cornelia Huck wrote: > > >> On Fri, 29 Jan 2021 16:27:19 +0100 > > >> Cornelia Huck wrote: > > >> > > >>> On Fri, 22 Jan 2021 19:00:29

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-22 Thread Marcel Apfelbaum
Hi Jason. On Tue, Feb 9, 2021 at 5:47 AM Jason Wang wrote: > > On 2021/2/9 上午1:28, Paolo Bonzini wrote: > > On 08/02/21 18:17, Cornelia Huck wrote: > >> On Fri, 29 Jan 2021 16:27:19 +0100 > >> Cornelia Huck wrote: > >> > >>> On Fri, 22 Jan 2021 19:00:29 +0100 > >>> Cornelia Huck wrote: > >>> >

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-10 Thread Yuval Shaia
On Fri, 22 Jan 2021 at 20:00, Cornelia Huck wrote: > The pvrdma code relies on the pvrdma_ring.h kernel header for some > basic ring buffer handling. The content of that header isn't very > exciting, but contains some (q)atomic_*() invocations that (a) > cause manual massaging when doing a header

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-09 Thread Cornelia Huck
On Mon, 8 Feb 2021 13:29:53 -0500 "Michael S. Tsirkin" wrote: > On Fri, Jan 22, 2021 at 07:00:29PM +0100, Cornelia Huck wrote: > > The pvrdma code relies on the pvrdma_ring.h kernel header for some > > basic ring buffer handling. The content of that header isn't very > > exciting, but contains so

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-08 Thread Jason Wang
On 2021/2/9 上午1:28, Paolo Bonzini wrote: On 08/02/21 18:17, Cornelia Huck wrote: On Fri, 29 Jan 2021 16:27:19 +0100 Cornelia Huck wrote: On Fri, 22 Jan 2021 19:00:29 +0100 Cornelia Huck wrote: The pvrdma code relies on the pvrdma_ring.h kernel header for some basic ring buffer handling.

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-08 Thread Michael S. Tsirkin
On Fri, Jan 22, 2021 at 07:00:29PM +0100, Cornelia Huck wrote: > The pvrdma code relies on the pvrdma_ring.h kernel header for some > basic ring buffer handling. The content of that header isn't very > exciting, but contains some (q)atomic_*() invocations that (a) > cause manual massaging when doin

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-08 Thread Cornelia Huck
On Fri, 29 Jan 2021 16:27:19 +0100 Cornelia Huck wrote: > On Fri, 22 Jan 2021 19:00:29 +0100 > Cornelia Huck wrote: > > > The pvrdma code relies on the pvrdma_ring.h kernel header for some > > basic ring buffer handling. The content of that header isn't very > > exciting, but contains some (q)a

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-02-08 Thread Paolo Bonzini
On 08/02/21 18:17, Cornelia Huck wrote: On Fri, 29 Jan 2021 16:27:19 +0100 Cornelia Huck wrote: On Fri, 22 Jan 2021 19:00:29 +0100 Cornelia Huck wrote: The pvrdma code relies on the pvrdma_ring.h kernel header for some basic ring buffer handling. The content of that header isn't very exciti

Re: [PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-01-29 Thread Cornelia Huck
On Fri, 22 Jan 2021 19:00:29 +0100 Cornelia Huck wrote: > The pvrdma code relies on the pvrdma_ring.h kernel header for some > basic ring buffer handling. The content of that header isn't very > exciting, but contains some (q)atomic_*() invocations that (a) > cause manual massaging when doing a h

[PATCH RFC] pvrdma: wean code off pvrdma_ring.h kernel header

2021-01-22 Thread Cornelia Huck
The pvrdma code relies on the pvrdma_ring.h kernel header for some basic ring buffer handling. The content of that header isn't very exciting, but contains some (q)atomic_*() invocations that (a) cause manual massaging when doing a headers update, and (b) are an indication that we probably should n