1 |
commit: f918c66c6091276f7ffd7c8aae48471c08334cdb |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 18 11:18:25 2018 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 18 11:18:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=f918c66c |
7 |
|
8 |
Linux patch 4.17.8 |
9 |
|
10 |
0000_README | 4 ++++ |
11 |
1007_linux-4.17.8.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 52 insertions(+) |
13 |
|
14 |
diff --git a/0000_README b/0000_README |
15 |
index a165e9a..5c3b875 100644 |
16 |
--- a/0000_README |
17 |
+++ b/0000_README |
18 |
@@ -71,6 +71,10 @@ Patch: 1006_linux-4.17.7.patch |
19 |
From: http://www.kernel.org |
20 |
Desc: Linux 4.17.7 |
21 |
|
22 |
+Patch: 1007_linux-4.17.8.patch |
23 |
+From: http://www.kernel.org |
24 |
+Desc: Linux 4.17.8 |
25 |
+ |
26 |
Patch: 1500_XATTR_USER_PREFIX.patch |
27 |
From: https://bugs.gentoo.org/show_bug.cgi?id=470644 |
28 |
Desc: Support for namespace user.pax.* on tmpfs. |
29 |
|
30 |
diff --git a/1007_linux-4.17.8.patch b/1007_linux-4.17.8.patch |
31 |
new file mode 100644 |
32 |
index 0000000..bfe8221 |
33 |
--- /dev/null |
34 |
+++ b/1007_linux-4.17.8.patch |
35 |
@@ -0,0 +1,48 @@ |
36 |
+diff --git a/Makefile b/Makefile |
37 |
+index 5c9f331f29c0..7cc36fe18dbb 100644 |
38 |
+--- a/Makefile |
39 |
++++ b/Makefile |
40 |
+@@ -1,7 +1,7 @@ |
41 |
+ # SPDX-License-Identifier: GPL-2.0 |
42 |
+ VERSION = 4 |
43 |
+ PATCHLEVEL = 17 |
44 |
+-SUBLEVEL = 7 |
45 |
++SUBLEVEL = 8 |
46 |
+ EXTRAVERSION = |
47 |
+ NAME = Merciless Moray |
48 |
+ |
49 |
+diff --git a/include/linux/mm.h b/include/linux/mm.h |
50 |
+index 02a616e2f17d..d14261d6b213 100644 |
51 |
+--- a/include/linux/mm.h |
52 |
++++ b/include/linux/mm.h |
53 |
+@@ -2081,7 +2081,7 @@ extern int __meminit __early_pfn_to_nid(unsigned long pfn, |
54 |
+ struct mminit_pfnnid_cache *state); |
55 |
+ #endif |
56 |
+ |
57 |
+-#ifdef CONFIG_HAVE_MEMBLOCK |
58 |
++#if defined(CONFIG_HAVE_MEMBLOCK) && !defined(CONFIG_FLAT_NODE_MEM_MAP) |
59 |
+ void zero_resv_unavail(void); |
60 |
+ #else |
61 |
+ static inline void zero_resv_unavail(void) {} |
62 |
+diff --git a/mm/page_alloc.c b/mm/page_alloc.c |
63 |
+index 322cb12a142f..7b841a764dd0 100644 |
64 |
+--- a/mm/page_alloc.c |
65 |
++++ b/mm/page_alloc.c |
66 |
+@@ -6377,7 +6377,7 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size, |
67 |
+ free_area_init_core(pgdat); |
68 |
+ } |
69 |
+ |
70 |
+-#ifdef CONFIG_HAVE_MEMBLOCK |
71 |
++#if defined(CONFIG_HAVE_MEMBLOCK) && !defined(CONFIG_FLAT_NODE_MEM_MAP) |
72 |
+ /* |
73 |
+ * Only struct pages that are backed by physical memory are zeroed and |
74 |
+ * initialized by going through __init_single_page(). But, there are some |
75 |
+@@ -6415,7 +6415,7 @@ void __paginginit zero_resv_unavail(void) |
76 |
+ if (pgcnt) |
77 |
+ pr_info("Reserved but unavailable: %lld pages", pgcnt); |
78 |
+ } |
79 |
+-#endif /* CONFIG_HAVE_MEMBLOCK */ |
80 |
++#endif /* CONFIG_HAVE_MEMBLOCK && !CONFIG_FLAT_NODE_MEM_MAP */ |
81 |
+ |
82 |
+ #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP |
83 |
+ |