git: kernel - Limit console message rate for swap-full warnings

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 27 21:47:04 PDT 2019


commit b187502f7a61cbc4c385575dd23c14a887fe4721
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 27 21:45:35 2019 -0700

    kernel - Limit console message rate for swap-full warnings
    
    * Limit the message rate on the console for swap-full warnings
      to 1hz.  This prevents console spam due to a swap-full condition
      from making the system unusable.

Summary of changes:
 sys/vm/swap_pager.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b187502f7a61cbc4c385575dd23c14a887fe4721


-- 
DragonFly BSD source repository



More information about the Commits mailing list