Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286560 > unrolled thread
| Started by | Andy Whitcroft <apw@canonical.com> |
|---|---|
| First post | 2015-12-08 16:00 +0100 |
| Last post | 2015-12-08 18:10 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
cgroup pids controller -- WARN_ON_ONCE triggering Andy Whitcroft <apw@canonical.com> - 2015-12-08 16:00 +0100
Re: cgroup pids controller -- WARN_ON_ONCE triggering Tejun Heo <tj@kernel.org> - 2015-12-08 16:30 +0100
Re: cgroup pids controller -- WARN_ON_ONCE triggering Andy Whitcroft <apw@canonical.com> - 2015-12-08 18:10 +0100
| From | Andy Whitcroft <apw@canonical.com> |
|---|---|
| Date | 2015-12-08 16:00 +0100 |
| Subject | cgroup pids controller -- WARN_ON_ONCE triggering |
| Message-ID | <qDrUe-3FR-15@gated-at.bofh.it> |
The commit below attempts to fix up pid controller charging:
commit afcf6c8b75444382e0f9996157207ebae34a8848
Author: Tejun Heo <tj@kernel.org>
Date: Thu Oct 15 16:41:53 2015 -0400
cgroup: add cgroup_subsys->free() method and use it to fix pids controller
Since this change we are seeing system hangs in early boot on multiple
architecures. We have a console log on ppc64el [1] which fingers
pids_cancel(). Manual debugging on amd64 VMs seems to indicate that we
are now tripping the WARN_ON_ONCE() below:
static void pids_cancel(struct pids_cgroup *pids, int num)
{
/*
* A negative count (or overflow for that matter) is invalid,
* and indicates a bug in the `pids` controller proper.
*/
WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter));
}
Converting this to a printk I was able to obtain confirmation that we are
indeed seeing this go negative in some cases.
Reverting the above commit seems to resolve the early boot issues in
my testing.
-apw
[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1523586
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2015-12-08 16:30 +0100 |
| Message-ID | <qDsng-44U-23@gated-at.bofh.it> |
| In reply to | #1286560 |
Hello, Andy. On Tue, Dec 08, 2015 at 02:58:51PM +0000, Andy Whitcroft wrote: > Converting this to a printk I was able to obtain confirmation that we are > indeed seeing this go negative in some cases. > > Reverting the above commit seems to resolve the early boot issues in > my testing. Fix already queued in the following git branch. Pushing it out as we speak. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.4-fixes Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Andy Whitcroft <apw@canonical.com> |
|---|---|
| Date | 2015-12-08 18:10 +0100 |
| Message-ID | <qDtW2-59U-33@gated-at.bofh.it> |
| In reply to | #1286589 |
On Tue, Dec 08, 2015 at 10:24:28AM -0500, Tejun Heo wrote: > Hello, Andy. > > On Tue, Dec 08, 2015 at 02:58:51PM +0000, Andy Whitcroft wrote: > > Converting this to a printk I was able to obtain confirmation that we are > > indeed seeing this go negative in some cases. > > > > Reverting the above commit seems to resolve the early boot issues in > > my testing. > > Fix already queued in the following git branch. Pushing it out as we > speak. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-4.4-fixes > > Thanks. Cool, thanks. That seems to fix me up here. -apw -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web