git: pkill - Optimize pgrep -F

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Nov 9 09:09:48 PST 2013


commit 9a8c8446fd111593cffd64e6e10cac4dc87b0db7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Nov 9 09:08:47 2013 -0800

    pkill - Optimize pgrep -F
    
    * Ask for a specific process instead of pulling down all processes when
      -F <pidfile> is specified.  This is much much faster.

Summary of changes:
 usr.bin/pkill/pkill.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9a8c8446fd111593cffd64e6e10cac4dc87b0db7


-- 
DragonFly BSD source repository



More information about the Commits mailing list