https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210315

--- Comment #6 from Andriy Gapon <a...@freebsd.org> ---
Disabling the checks would, of course, make the symptoms disappear.
But I still wonder what causes the problem(s).

In Larry's case it's especially strange, because starting with
racct_set_locked() all calculations are done under the lock.  So, how can it be
possible that we end up with any value other than zero in
racct_adjust_resource()?
Essentially we do:
delta = 0 - value;
value = value + delta;

It would be interesting to examine the coredump with kgdb.
maybe it would give some clues about how the impossible became possible.

FWIW, I was not able to find any write access to r_resources that was not
protected by racct_lock.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to