[Bug 210315] panic: destroying non-empty racct: 2113536 allocated for resource 4
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 21 21:02:11 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210315
--- Comment #6 from Andriy Gapon <avg at 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.
More information about the freebsd-bugs
mailing list