kernel - Limit console message rate for swap-full warnings
commitb187502f7a61cbc4c385575dd23c14a887fe4721
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Apr 2019 04:45:35 +0000 (27 21:45 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Apr 2019 04:45:35 +0000 (27 21:45 -0700)
tree80cc8eadb7c3e3296d6c454282d5761e299f8601
parent8f191e54bf9325b543c571e261e8da44ed5accf0
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.
sys/vm/swap_pager.c