linux-yocto/4.8: fix BUG_ON() in workingset_node_shadows_dec() triggers

Paul Gotmaker pointed out that a last minute merge to the 4.8 kernel
has the potential to hard hang a kernel when VM debugging is enabled:

  https://lkml.org/lkml/2016/10/4/1

He also pointed out the fix for it in commit 21f54dda
[Using BUG_ON() as an assert() is _never_ acceptable].

While that fix will loop through -stable into 4.8.1, that will
likely be too late for our release. So I've cherry picked the
change to make it available.

(From OE-Core rev: eb4b39d5ffbe93d363b05c57196bdac61fa09c59)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2016-10-04 23:03:48 -04:00
committed by Richard Purdie
parent 84113ca50c
commit 5f6a62c53f
3 changed files with 10 additions and 10 deletions

View File

@@ -9,7 +9,7 @@ LINUX_VERSION ?= "4.8"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
SRCREV_machine ?= "707621a083512f037f749a711df3f4f1fb3ef842"
SRCREV_machine ?= "67813e7efa3a4614e209c2f058d92ef9a636441a"
SRCREV_meta ?= "6128a9e47cd1aeb46b604469c17bff3eba8d5f93"
PV = "${LINUX_VERSION}+git${SRCPV}"