tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: increase softint_bytes



>   It'll take a little time to write this change. And, it's low level
> and important code, so it will take a time to test the stability
> before sending pullup request. So,
> 
>   0) Apply the following change to -current.
> 
> --------------------------------
> Index: kern_softint.c
> ===================================================================
> RCS file: /cvsroot/src/sys/kern/kern_softint.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 kern_softint.c
> --- kern_softint.c	4 Jul 2016 04:20:14 -0000	1.43
> +++ kern_softint.c	21 Nov 2017 06:41:35 -0000
> @@ -217,7 +217,7 @@ typedef struct softcpu {
>   
>   static void	softint_thread(void *);
>   
> -u_int		softint_bytes = 8192;
> +u_int		softint_bytes = 16384;
>   u_int		softint_timing;
>   static u_int	softint_max;
>   static kmutex_t	softint_lock;
> --------------------------------
> 
>   1) Sent the pullup request to netbsd-8
> 
>   2) Write auto-resize code and commit.
> 
>   3) If it's stable, send the pullup request to netbsd-8.

sounds good to me.  i would even be ok with a switch
to 16k or even 32k (platform basis?)) for netbsd-8 or
earlier right now and allow the resize code to live in
-current until -9.

thanks!


.mrg.


Home | Main Index | Thread Index | Old Index