projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b70da
)
mm: Change fault_around_bytes default value from 65536 to 4096
author
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 29 Jul 2020 07:52:52 +0000
(16:52 +0900)
committer
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000
(17:01 +0900)
To apply the 4K value for falut_around_bytes at the early booting step,
change fault_around_bytes default value from 65536 to 4096.
Change-Id: Id97650a035b524d7132bca6164581c8e15096354
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
mm/memory.c
patch
|
blob
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index
4fe24cd
..
9313f5b
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-3934,7
+3934,7
@@
vm_fault_t finish_fault(struct vm_fault *vmf)
}
static unsigned long fault_around_bytes __read_mostly =
- rounddown_pow_of_two(
6553
6);
+ rounddown_pow_of_two(
409
6);
#ifdef CONFIG_DEBUG_FS
static int fault_around_bytes_get(void *data, u64 *val)