From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933259AbcFMSb7 (ORCPT ); Mon, 13 Jun 2016 14:31:59 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:43392 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbcFMSb6 (ORCPT ); Mon, 13 Jun 2016 14:31:58 -0400 Message-ID: <1465842705.3529.217.camel@decadent.org.uk> Subject: Re: [STABLE] kernel oops which can be fixed by peterz's patches From: Ben Hutchings To: Byungchul Park , stable@vger.kernel.org Cc: peterz@infradead.org, linux-kernel@vger.kernel.org Date: Mon, 13 Jun 2016 19:31:45 +0100 In-Reply-To: <20160105085211.GB3621@X58A-UD3R> References: <20160105085211.GB3621@X58A-UD3R> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-4MGv3Vx7/QZ+XhEADWI9" X-Mailer: Evolution 3.20.2-2 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-4MGv3Vx7/QZ+XhEADWI9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2016-01-05 at 17:52 +0900, Byungchul Park wrote: > Upstream commits to be applied > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > e3fca9e: sched: Replace post_schedule with a balance callback list > 4c9a4bc: sched: Allow balance callbacks for check_class_changed() > 8046d68: sched,rt: Remove return value from pull_rt_task() > fd7a4be: sched, rt: Convert switched_{from, to}_rt() / prio_changed_rt() = to balance callbacks > 0ea60c2: sched,dl: Remove return value from pull_dl_task() > 9916e21: sched, dl: Convert switched_{from, to}_dl() / prio_changed_dl() = to balance callbacks >=20 > The reason why these should be applied > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Our products developed using 3.16 kernel, faced a kernel oops which can > be fixed with above upstreamed patches. The oops is caused by "Unable > to handle kernel NULL pointer dereference at virtual address 000000xx" > in the call path, >=20 > __sched_setscheduler() > check_class_changed() > switched_to_fair() > check_preempt_curr() > check_preempt_wakeup() > find_matching_se() > is_same_group() >=20 > by "if (se->cfs_rq =3D=3D pse->cfs_rq) // se, pse =3D=3D NULL" condition. >=20 > How to apply it > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > For stable 4.2.8+: > N/A (already applied) >=20 > For longterm 4.1.15: > Cherry-picking the upsteam commits works with a trivial conflict. >=20 > For longterm 3.18.25: > Refer to the backported patches in this thread. I've used your patches for 3.18.25 as the basis for backporting to 3.16 longterm. =C2=A0Thanks. Ben. > For longterm 3.14.58: > Refer to the backported patches in this thread. And applying > additional "6c3b4d4: sched: Clean up idle task SMP logic" commit > makes backporting the upstream commits much simpler. So my > backporting patches include the patch. >=20 > For longterm 2.6.32.69 ~ 3.12.51: Need to be backported. (I didn't) --=20 Ben Hutchings One of the nice things about standards is that there are so many of them. --=-4MGv3Vx7/QZ+XhEADWI9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXXvwRAAoJEOe/yOyVhhEJKTQP/RMsNUGGkhGYoBP7Q77VEncn zNHW3bQ2y6o2yjbOs/WK7VjsQBDhIvy8Ip63HVXiHibDXhFPA9NjMBprNXiiqinD 7oeANQIbG3ptmLv1euVc+0522UVcgFBSLjYjqwcbAdmv+xk8ZVjoSv1T30zaMnUg viswBrQURyFpxmfbxhET0aVw5n1XTQpyEyrhfS2zeTSCY/spVrFKIJgM2e1vHw6w bb1H3RMdsmhK8vd3vD8VT97+8RTxdJv27bTNh+WYcKY2cF2FIAopZBrHRZmNXDBC 9JqBIkPIvHA17aRR15MPINhgWgMFq+EJ/P6x/RQVRQ40UxQAdxAEzCk2eU/L2XM/ PQE9wGPPsjwsb40IkIMF5U5ZBnTU4lphCxQJhzmKnQbQQulmb6MgsyzLYCCkVnFv PEP7ez9MrQ/OwNALcr5N1uVVOz0fh44rzTslV2a3XLzBJqcQ+SCp8Jc4K6u+OS9m NjdpJTTDffoYK0NsJ3mRmxj2cebApuuQWWhHoXC6+fPqR15mNSbDq4ZYhsu/980c KhHXwmpK36nImXNUa46HAYoyiEWBHsbfgxCdnzprLavQHQiF93C3bgNVdpXrPTI7 yJllkcVt8wkpemJr7N64AvgETvgpsX1el1DzlFkm7O9RNmplQ0/sUyzGPsW8mN0q Y5ILU0tbWT9V0M5gsNBc =5MvK -----END PGP SIGNATURE----- --=-4MGv3Vx7/QZ+XhEADWI9--