* updated kollision (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / architecture / powerpc64 / package / linux / ps3-gelic-skb-alloc.patch
blobdfb7c9c910aca32d6a01a170a712a3b08fa152dd
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/powerpc64/package/*/ps3-gelic-skb-alloc.patch
3 # Copyright (C) 2020 - 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License as published by the Free Software
12 # Foundation; either version 2 of the License, or (at your option) any later
13 # version.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 --- linux-5.14/mm/page_alloc.c.vanilla 2021-09-09 14:02:38.785182874 +0200
17 +++ linux-5.14/mm/page_alloc.c 2021-09-09 14:03:05.162181822 +0200
18 @@ -338,7 +338,11 @@
20 int min_free_kbytes = 1024;
21 int user_min_free_kbytes = -1;
22 +#ifdef CONFIG_PPC_PS3
23 +int watermark_boost_factor __read_mostly;
24 +#else
25 int watermark_boost_factor __read_mostly = 15000;
26 +#endif
27 int watermark_scale_factor = 10;
29 static unsigned long nr_kernel_pages __initdata;