| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
caused the problem.
Submitted by: mjg
|
|
|
|
|
|
|
|
| |
here is race between decaying the resource usage in containers, and updating
per-process usage; basically, the former may cause per-container usage
to get smaller than per-process usage.
Submitted by: Rudo Tomori
|
|
|
|
| |
Tested by: swills
|
|
|
|
| |
It was implemented by Rudolf Tomori during Google Summer of Code 2012.
|
|
|
|
|
|
|
|
| |
situations, due to fork1() calling racct_proc_exit() without calling
racct_proc_fork() first.
Submitted by: Mateusz Guzik <mjguzik at gmail dot com> (earlier version)
Reviewed by: Mateusz Guzik <mjguzik at gmail dot com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
like the one triggered by this:
# kldload geom_vinum
# pwait `pgrep -S gv_worker` &
# kldunload geom_vinum
or this:
GEOM_JOURNAL: Shutting down geom gjournal 3464572051.
panic: destroying non-empty racct: 1 allocated for resource 6
which were tracked by jh@ to be caused by checking p->p_flag,
while it wasn't initialised yet. Basically, during fork, the code
checked p_flag, concluded the process isn't marked as P_SYSTEM,
incremented the counter, and later on, when exiting, checked that
the process was marked as P_SYSTEM, and thus didn't decrement it.
Also, I believe there wasn't any good reason for checking P_SYSTEM
in the first place.
Tested by: jh
|
|
|
|
|
|
|
| |
PR: kern/161552
Reviewed by: trasz
Tested by: Nikos Vassiliadis
MFC after: 1 week
|
| |
|
|
|
|
|
|
| |
they would continue using old name, the one jail was created with.
PR: bin/165207
|
|
|
|
|
|
|
|
| |
This should fix the build failure introduced with r228424.
Also remove duplicate inclusion of sys/param.h.
Pointyhat to: avg
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
and it's more logical this way.
MFC after: 3 days
|
|
|
|
|
|
| |
fields in 'struct proc' before they got initialized in do_fork().
MFC after: 3 days
|
|
|
|
|
|
| |
returned error -- the racct_destroy_locked() would get called twice.
MFC after: 3 days
|
|
|
|
|
|
|
| |
the rctl one - for example, it happens when someone reaches maximum
number of processes in the system.
Approved by: re (kib)
|
| |
|
| |
|
|
|
|
|
| |
performance-sensitive and not that useful, so I won't be merging them
before 9.0.
|
|
|
|
|
|
| |
structure, which acts as a proxy between them. This makes jail rules
persistent, i.e. they can be added before jail gets created, and they
don't disappear when the jail gets destroyed.
|
| |
|
|
|
|
| |
Submitted by: pjd
|
|
and per-loginclass resource accounting information, to be used by the new
resource limits code. It's connected to the build, but the code that
actually calls the new functions will come later.
Sponsored by: The FreeBSD Foundation
Reviewed by: kib (earlier version)
|