swp_pager_meta_build DoS printf

Dag-Erling Smørgrav des at des.no
Tue Aug 14 06:50:21 UTC 2012


Sergey Kandaurov <pluknet at gmail.com> writes:
> What about this patch? It enables to ratelimit the printf.

I have a different patch that just prints one message when swzone is
exhausted and another when more space becomes available.  However, we
might want to combine the two, so that it periodically prints a message
as long as swzone is exhausted.

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxswzone-exhausted.diff
Type: text/x-patch
Size: 1014 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120814/b45778e2/maxswzone-exhausted.bin


More information about the freebsd-current mailing list