git: kernel - Do not spam all cpus for ipfrag_slowtimo()

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 12 08:21:41 PDT 2016


commit 87ff894ba1f87110e19b0fe0312d39a88bc250bd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 11 12:19:20 2016 -0700

    kernel - Do not spam all cpus for ipfrag_slowtimo()
    
    * Only issue the ipfrag_slowtimo() to cpus with non-empty ip fragment
      queues.  This will not impact performance but significantly reduces
      unnecessary IPIs to idle cpus.  It makes for better systat -pv 1
      eye-candy.
    
    * Only allow one ipfrag timeout IPI to be in-flight to any particular target
      cpu.  This will not impact performance but may help reduce degenerate
      ipiq-full conditions if the target cpu becomes cpu-bound in a critical
      section.

Summary of changes:
 sys/netinet/ip_input.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/87ff894ba1f87110e19b0fe0312d39a88bc250bd


-- 
DragonFly BSD source repository



More information about the Commits mailing list