freebsd-dev/sys/cddl/contrib/opensolaris
Alexander Motin 35251e9c28 Fix comparison signedness in arc_is_overflowing().
When ARC size is very small, aggsum_lower_bound(&arc_size) may return
negative values, that due to unsigned comparison caused delays, waiting
for arc_adjust() to "fix" it by calling aggsum_value(&arc_size).  Use
of signed comparison there fixes the problem.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2019-06-07 20:59:24 +00:00
..
common MFV/ZoL: Implement large_dnode pool feature 2018-08-12 00:45:53 +00:00
uts Fix comparison signedness in arc_is_overflowing(). 2019-06-07 20:59:24 +00:00
OPENSOLARIS.LICENSE