1 |
commit: d0396ce4d5ae709ae93c8ea0962b2b36ba4230ca |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 7 13:26:20 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 7 13:26:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=d0396ce4 |
7 |
|
8 |
Remove redundant patch (mm page alloc fix) |
9 |
|
10 |
Removed: 1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
0000_README | 4 -- |
15 |
1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch | 50 ---------------------- |
16 |
2 files changed, 54 deletions(-) |
17 |
|
18 |
diff --git a/0000_README b/0000_README |
19 |
index 51feb2b..d3e2ab4 100644 |
20 |
--- a/0000_README |
21 |
+++ b/0000_README |
22 |
@@ -59,10 +59,6 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch |
23 |
From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@××××××××.org/raw |
24 |
Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 |
25 |
|
26 |
-Patch: 1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch |
27 |
-From: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=ff4b2b4014cbffb3d32b22629252f4dc8616b0fe |
28 |
-Desc: mm/page_alloc: correct return value of populated elements if bulk array is populated |
29 |
- |
30 |
Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
31 |
From: https://bugs.gentoo.org/710790 |
32 |
Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino |
33 |
|
34 |
diff --git a/1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch b/1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch |
35 |
deleted file mode 100644 |
36 |
index 2f1b4dc..0000000 |
37 |
--- a/1800_mm-page-alloc-fix-ret-val-on-alloc-fail.patch |
38 |
+++ /dev/null |
39 |
@@ -1,50 +0,0 @@ |
40 |
-From ff4b2b4014cbffb3d32b22629252f4dc8616b0fe Mon Sep 17 00:00:00 2001 |
41 |
-From: Mel Gorman <mgorman@×××××××××××××××.net> |
42 |
-Date: Mon, 28 Jun 2021 19:33:29 -0700 |
43 |
-Subject: mm/page_alloc: correct return value of populated elements if bulk |
44 |
- array is populated |
45 |
- |
46 |
-Dave Jones reported the following |
47 |
- |
48 |
- This made it into 5.13 final, and completely breaks NFSD for me |
49 |
- (Serving tcp v3 mounts). Existing mounts on clients hang, as do |
50 |
- new mounts from new clients. Rebooting the server back to rc7 |
51 |
- everything recovers. |
52 |
- |
53 |
-The commit b3b64ebd3822 ("mm/page_alloc: do bulk array bounds check after |
54 |
-checking populated elements") returns the wrong value if the array is |
55 |
-already populated which is interpreted as an allocation failure. Dave |
56 |
-reported this fixes his problem and it also passed a test running dbench |
57 |
-over NFS. |
58 |
- |
59 |
-Link: https://lkml.kernel.org/r/20210628150219.GC3840@×××××××××××××××.net |
60 |
-Fixes: b3b64ebd3822 ("mm/page_alloc: do bulk array bounds check after checking populated elements") |
61 |
-Signed-off-by: Mel Gorman <mgorman@×××××××××××××××.net> |
62 |
-Reported-by: Dave Jones <davej@××××××××××××××.uk> |
63 |
-Tested-by: Dave Jones <davej@××××××××××××××.uk> |
64 |
-Cc: Dan Carpenter <dan.carpenter@××××××.com> |
65 |
-Cc: Jesper Dangaard Brouer <brouer@××××××.com> |
66 |
-Cc: Vlastimil Babka <vbabka@××××.cz> |
67 |
-Cc: <stable@×××××××××××.org> [5.13+] |
68 |
-Signed-off-by: Andrew Morton <akpm@××××××××××××××××.org> |
69 |
-Signed-off-by: Linus Torvalds <torvalds@××××××××××××××××.org> |
70 |
---- |
71 |
- mm/page_alloc.c | 2 +- |
72 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
73 |
- |
74 |
-diff --git a/mm/page_alloc.c b/mm/page_alloc.c |
75 |
-index 5b5c9f5813b9a..2bf03c76504b0 100644 |
76 |
---- a/mm/page_alloc.c |
77 |
-+++ b/mm/page_alloc.c |
78 |
-@@ -5058,7 +5058,7 @@ unsigned long __alloc_pages_bulk(gfp_t gfp, int preferred_nid, |
79 |
- |
80 |
- /* Already populated array? */ |
81 |
- if (unlikely(page_array && nr_pages - nr_populated == 0)) |
82 |
-- return 0; |
83 |
-+ return nr_populated; |
84 |
- |
85 |
- /* Use the single page allocator for one page. */ |
86 |
- if (nr_pages - nr_populated == 1) |
87 |
--- |
88 |
-cgit 1.2.3-1.el7 |
89 |
- |