Messages in this thread | | | Subject | Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end | From | Eric Dumazet <> | Date | Thu, 23 Mar 2017 21:38:16 -0700 |
| |
On Thu, 2017-03-23 at 21:27 -0700, Eric Dumazet wrote:
> If you believe min/max values should be added to the sysctls, because we > do not trust root anymore, please send patches only addressing that.
extern unsigned int sysctl_net_busy_read; extern unsigned int sysctl_net_busy_poll; ... unsigned int sk_ll_usec;
These are unsigned values, so no min/max would be required, only maybe use proc_douintvec() instead of proc_dointvec() as most sysctls use because we were lazy and had to wait linux-4.8 to actually get proc_douintvec() in the kernel ;)
| |