Re: multicast.4: drop unneeded (void *) casts

2018-10-19 Thread Klemens Nanni
OK kn with guenther's suggestions in.

Re: bypass support for iommu on sparc64

2018-10-19 Thread Mark Kettenis
> Date: Fri, 19 Oct 2018 10:22:30 +1000 > From: David Gwynne > > On Wed, May 10, 2017 at 10:09:59PM +1000, David Gwynne wrote: > > On Mon, May 08, 2017 at 11:03:58AM +1000, David Gwynne wrote: > > > on modern sparc64s (think fire or sparc enterprise Mx000 boxes), > > > setting up and tearing down

Re: bypass support for iommu on sparc64

2018-10-19 Thread Andrew Grillet
Is the setup and teardown per transfer or when file is opened and closed? Or is it set up once per context switch of task? I am partly interested cos I would like to improve mt one day (as user of tape and Sparc64 Txxx) if I get the time. Andrew On Fri, 19 Oct 2018 at 10:22, Mark Kettenis wro

Re: multicast.4: drop unneeded (void *) casts

2018-10-19 Thread Scott Cheloha
On Thu, Oct 18, 2018 at 05:38:42PM -0900, Philip Guenther wrote: > On Thu, Oct 18, 2018 at 4:00 PM wrote: > > > getsockopt(2) and setsockopt(2) take a void pointer for the third > > parameter so there is no need for any of these casts. > > > > Yep. > > > > I can do other style(9)-type cleanup

Re: bgpd throttling for peers

2018-10-19 Thread Claudio Jeker
On Wed, Oct 17, 2018 at 02:37:48PM +0200, Claudio Jeker wrote: > I noticed that the throttling for peers which was added some time ago is > incomplete. The following diff solved these issues. > > In rde_update_queue_runner() only process peers which are currently not > throttled. Additionally only

igmp_slowtimo: drop NETLOCK

2018-10-19 Thread Scott Cheloha
Hi, If we introduce a mutex for the igmp module we can drop the NETLOCK from igmp_slowtimo(). The router_info list, rti_head, and its entries are only ever accessed within the igmp module. The mutex also needs to protect igmp_timers_are_running. This is largely a monkey-see-monkey-do imitation

Re: vmd: servicing virtio devices from separate processes

2018-10-19 Thread Sergio Lopez
On Wed, Oct 17, 2018 at 02:04:46PM -0700, Mike Larkin wrote: > On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: > > Right now, vmd already features an excellent privsep model to ensure > > the process servicing the VM requests to the outside world is running > > with the lowest possibl

Re: bgpd throttling for peers

2018-10-19 Thread Denis Fondras
On Fri, Oct 19, 2018 at 05:51:20PM +0200, Claudio Jeker wrote: > On Wed, Oct 17, 2018 at 02:37:48PM +0200, Claudio Jeker wrote: > > I noticed that the throttling for peers which was added some time ago is > > incomplete. The following diff solved these issues. > > > > In rde_update_queue_runner()

Re: [RFC PATCH] [vmm] Lightweight mechanism to kick virtio VQs

2018-10-19 Thread Sergio Lopez
On Wed, Oct 17, 2018 at 02:22:23PM -0700, Mike Larkin wrote: > On Fri, Oct 05, 2018 at 12:07:13PM +0200, Sergio Lopez wrote: > > Hi, > > > > This patch implements a mechanism to allow users register an I/O port > > with a special file descriptor (kickfd) which can be monitored for > > events using

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Rian Hunter
Gentle bump on this. Would be nice if this were fixed for the next release. On 2018-10-07 10:55, Rian Hunter wrote: (re-posting because I realized the last patch didn't apply cleanly) lib/libfuse/fuse.c was using a EINTR return from kevent() to detect when a signal had occurred, but in a multi

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Klemens Nanni
On Fri, Oct 19, 2018 at 02:03:59PM -0700, Rian Hunter wrote: > Gentle bump on this. Would be nice if this were fixed for the next release. > > On 2018-10-07 10:55, Rian Hunter wrote: > > (re-posting because I realized the last patch didn't apply cleanly) Your patch does not apply due to whitespace

Re: bypass support for iommu on sparc64

2018-10-19 Thread David Gwynne
> On 19 Oct 2018, at 7:15 pm, Mark Kettenis wrote: > >> Date: Fri, 19 Oct 2018 10:22:30 +1000 >> From: David Gwynne >> >> On Wed, May 10, 2017 at 10:09:59PM +1000, David Gwynne wrote: >>> On Mon, May 08, 2017 at 11:03:58AM +1000, David Gwynne wrote: on modern sparc64s (think fire or spa

Re: bypass support for iommu on sparc64

2018-10-19 Thread David Gwynne
> On 19 Oct 2018, at 9:59 pm, Andrew Grillet wrote: > > Is the setup and teardown per transfer or when file is opened and closed? > Or is it set up once per context switch of task? > > I am partly interested cos I would like to improve mt one day (as user of > tape > and Sparc64 Txxx) if I ge

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-19 Thread Rian Hunter
On Fri, Oct 19 2018, at 4:02 PM, Klemens Nanni wrote: > On Fri, Oct 19, 2018 at 02:03:59PM -0700, Rian Hunter wrote: >> Gentle bump on this. Would be nice if this were fixed for the next release. >> >> On 2018-10-07 10:55, Rian Hunter wrote: >> > (re-posting because I realized the last patch didn

Re: bypass support for iommu on sparc64

2018-10-19 Thread Joseph Mayer
‐‐‐ Original Message ‐‐‐ On Friday, October 19, 2018 5:15 PM, Mark Kettenis wrote: > > Date: Fri, 19 Oct 2018 10:22:30 +1000 > > From: David Gwynne da...@gwynne.id.au > > On Wed, May 10, 2017 at 10:09:59PM +1000, David Gwynne wrote: > > > > > On Mon, May 08, 2017 at 11:03:58AM +1000, Dav

Re: bypass support for iommu on sparc64

2018-10-19 Thread David Gwynne
> On 20 Oct 2018, at 11:56 am, Joseph Mayer wrote: > > ‐‐‐ Original Message ‐‐‐ > On Friday, October 19, 2018 5:15 PM, Mark Kettenis > wrote: > >>> Date: Fri, 19 Oct 2018 10:22:30 +1000 >>> From: David Gwynne da...@gwynne.id.au >>> On Wed, May 10, 2017 at 10:09:59PM +1000, David Gwy

Re: vmd: servicing virtio devices from separate processes

2018-10-19 Thread David Gwynne
> On 20 Oct 2018, at 4:01 am, Sergio Lopez wrote: > > On Wed, Oct 17, 2018 at 02:04:46PM -0700, Mike Larkin wrote: >> On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: >>> Right now, vmd already features an excellent privsep model to ensure >>> the process servicing the VM requests

Re: bypass support for iommu on sparc64

2018-10-19 Thread Joseph Mayer
On Saturday, October 20, 2018 10:14 AM, David Gwynne wrote: > > On 20 Oct 2018, at 11:56 am, Joseph Mayer joseph.ma...@protonmail.com wrote: > > ‐‐‐ Original Message ‐‐‐ > > On Friday, October 19, 2018 5:15 PM, Mark Kettenis mark.kette...@xs4all.nl > > wrote: > > > > > > Date: Fri, 19 Oc

Re: bypass support for iommu on sparc64

2018-10-19 Thread David Gwynne
On Sat, Oct 20, 2018 at 02:44:29AM +, Joseph Mayer wrote: > > Last iteration from me on this one. > > Why is this not a problem on some other architectures? It is a problem, it's just that other archs don't have an iommu like sparc64. > I'd have thought DMA and hardware being assigned trans

Re: multicast.4: drop unneeded (void *) casts

2018-10-19 Thread Philip Guenther
On Fri, Oct 19, 2018 at 6:20 AM Scott Cheloha wrote: ... > Sure, looks cleaner. ok? ok guenther@