Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1608118

Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end

From Eric Dumazet <eric.dumazet@gmail.com>
Newsgroups linux.kernel
Subject Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of when it should end
Date 2017-03-24 05:40 +0100
Message-ID <topb4-4vU-7@gated-at.bofh.it> (permalink)
References <toiCB-8g8-3@gated-at.bofh.it> <toiCC-8g8-19@gated-at.bofh.it> <tomdb-2rZ-3@gated-at.bofh.it> <toooF-3Yi-1@gated-at.bofh.it> <top1n-4qf-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 ;)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[net-next PATCH v2 5/8] net: Track start of busy loop instead of  when it should end Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-23 22:40 +0100
  Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead  of when it should end Eric Dumazet <eric.dumazet@gmail.com> - 2017-03-24 02:30 +0100
    Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of  when it should end Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-24 04:50 +0100
      Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead  of when it should end Eric Dumazet <eric.dumazet@gmail.com> - 2017-03-24 05:30 +0100
        Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead  of when it should end Eric Dumazet <eric.dumazet@gmail.com> - 2017-03-24 05:40 +0100
        Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of  when it should end Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-24 07:00 +0100
          Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead  of when it should end Eric Dumazet <eric.dumazet@gmail.com> - 2017-03-24 12:20 +0100
            Re: [net-next PATCH v2 5/8] net: Track start of busy loop instead of  when it should end Alexander Duyck <alexander.duyck@gmail.com> - 2017-03-24 16:50 +0100

csiph-web