[Bug 262633] Missing mtx protecting variable prison->pr_prison_racct
Date: Fri, 18 Mar 2022 18:45:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262633 firk@cantconnect.ru changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #232558|text/x-csrc |text/plain mime type| | --- Comment #3 from firk@cantconnect.ru --- Created attachment 232558 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232558&action=edit test program Added a test program. How to use: ./bug-262633-test 100000 3 Second value: 0 = fake run; 1 = only spam racct increment/decrement; 2 = only spam jail renaming (may be used to verify time consumed in LIST_FOREACH()); 3 = do both - will lead to panic First value: number of prison_racct structs to populate (note that they don't get depopulated until system reboot) I made a panic with this value = 10000 once; value = 30000 leads to a panic very fast (but need to wait initializing of rctls). Panic reasons vary, but I think the source of all them is this bug. -- You are receiving this mail because: You are the assignee for the bug.