From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F85113830E for ; Fri, 15 Jul 2016 14:46:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94F36E0B45; Fri, 15 Jul 2016 14:46:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38806E0B45 for ; Fri, 15 Jul 2016 14:46:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1FC76340C8A for ; Fri, 15 Jul 2016 14:46:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDF952424 for ; Fri, 15 Jul 2016 14:46:14 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1468593986.adba88cd57526f2f189fb86125bca5bfd9af3801.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:3.18 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 1800_fix-lru-cache-add-oom-regression.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: adba88cd57526f2f189fb86125bca5bfd9af3801 X-VCS-Branch: 3.18 Date: Fri, 15 Jul 2016 14:46:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dadf7000-d035-4420-bb52-5b2183718a9f X-Archives-Hash: 432626ac276e37761ca5a8d4d19ffa21 commit: adba88cd57526f2f189fb86125bca5bfd9af3801 Author: Mike Pagano gentoo org> AuthorDate: Fri Jul 15 14:46:26 2016 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Jul 15 14:46:26 2016 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=adba88cd Revert commit 8f182270dfec mm/swap.c: flush lru pvecs on compound page arrival to fix OOM error. 0000_README | 4 ++++ 1800_fix-lru-cache-add-oom-regression.patch | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/0000_README b/0000_README index 1863a89..35319e8 100644 --- a/0000_README +++ b/0000_README @@ -207,6 +207,10 @@ Patch: 2700_ThinkPad-30-brightness-control-fix.patch From: Seth Forshee Desc: ACPI: Disable Windows 8 compatibility for some Lenovo ThinkPads. +Patch: 1800_fix-lru-cache-add-oom-regression.patch +From: http://thread.gmane.org/gmane.linux.kernel.stable/184384 +Desc: Revert commit 8f182270dfec mm/swap.c: flush lru pvecs on compound page arrival to fix OOM error. + Patch: 2900_dev-root-proc-mount-fix.patch From: https://bugs.gentoo.org/show_bug.cgi?id=438380 Desc: Ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. diff --git a/1800_fix-lru-cache-add-oom-regression.patch b/1800_fix-lru-cache-add-oom-regression.patch new file mode 100644 index 0000000..f1ca64b --- /dev/null +++ b/1800_fix-lru-cache-add-oom-regression.patch @@ -0,0 +1,17 @@ +Revert commit 8f182270dfec mm/swap.c: flush lru pvecs on compound page arrival to fix OOM error. + +Signed-off-by: Steven Rostedt goodmis.org> +--- +diff --git a/mm/swap.c b/mm/swap.c +index b523f0a4cbfb..ab3b9c2dd783 100644 +--- a/mm/swap.c ++++ b/mm/swap.c + -631,7 +631,7 static void __lru_cache_add(struct page *page) + struct pagevec *pvec = &get_cpu_var(lru_add_pvec); + + page_cache_get(page); +- if (!pagevec_space(pvec) || PageCompound(page)) ++ if (!pagevec_add(pvec, page) || PageCompound(page)) + __pagevec_lru_add(pvec); + put_cpu_var(lru_add_pvec); + }