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:
85dbd7a
)
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>
Thu, 3 Aug 2023 08:46:07 +0000
(17:46 +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
a4d0f74
..
32abe36
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-4093,7
+4093,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)