Please sign in to comment.
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. Reviewed-by: Matt Ahrens <firstname.lastname@example.org> Reviewed-by: Brian Behlendorf <email@example.com> Reviewed-by: George Melikov <firstname.lastname@example.org> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Closes #8873
- Loading branch information...