Re: increase softint_bytes

2017-11-17 Thread 6bone
On Thu, 16 Nov 2017, Masanobu SAITOH wrote: Hi, all. Some device drivers now allocate a lot of softints. See: http://mail-index.netbsd.org/current-users/2017/11/09/msg032581.html To avoid this panic, I wrote the following patch: http://www.netbsd.org/~msaitoh/softint-20171116

Re: increase softint_bytes

2017-11-17 Thread Masanobu SAITOH
Hi, all. On 2017/11/17 15:35, Masanobu SAITOH wrote: Hi, mrg. On 2017/11/17 5:05, matthew green wrote: Masanobu SAITOH writes:    Hi, all.    Some device drivers now allocate a lot of softints. See: http://mail-index.netbsd.org/current-users/2017/11/09/msg032581.html To avoid this pani

Re: increase softint_bytes

2017-11-17 Thread Manuel Bouyer
On Fri, Nov 17, 2017 at 03:35:48PM +0900, Masanobu SAITOH wrote: > bridge, agr, strip, sl, stf, ppp, l2tp, gre and maybe some other > pseudo interfaces which is created by ifconfig command allocate > softint. Some of them may be created tens, hundreds or more. > So I think it's worth to check the c

Re: increase softint_bytes

2017-11-17 Thread Martin Husemann
On Fri, Nov 17, 2017 at 03:43:57PM +0900, Masanobu SAITOH wrote: > Each driver which call softint_establish() keep the return value, so > it's very hard without big modification. We could make the "void *cookie" returned by softint_establish(9) an index (internally) instead (w/o changing ABI or A