mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
mm: Make swappiness value read-only
Change-Id: I86ff919ab356dbdf4ab31927232cefb702060b87 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
18e5e63668
commit
c6f06373e4
@ -1676,7 +1676,7 @@ static struct ctl_table vm_table[] = {
|
||||
.procname = "swappiness",
|
||||
.data = &vm_swappiness,
|
||||
.maxlen = sizeof(vm_swappiness),
|
||||
.mode = 0644,
|
||||
.mode = 0444,
|
||||
.proc_handler = proc_dointvec_minmax,
|
||||
.extra1 = &zero,
|
||||
.extra2 = &one_hundred,
|
||||
|
Loading…
x
Reference in New Issue
Block a user