amd64 pmap: sysctl vm.pmap.pcid_save_cnt should be read-only.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
5b2c83cb59
commit
07d7e24cf7
@ -466,7 +466,7 @@ pmap_pcid_save_cnt_proc(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
return (sysctl_handle_64(oidp, &res, 0, req));
|
||||
}
|
||||
SYSCTL_PROC(_vm_pmap, OID_AUTO, pcid_save_cnt, CTLTYPE_U64 | CTLFLAG_RW |
|
||||
SYSCTL_PROC(_vm_pmap, OID_AUTO, pcid_save_cnt, CTLTYPE_U64 | CTLFLAG_RD |
|
||||
CTLFLAG_MPSAFE, NULL, 0, pmap_pcid_save_cnt_proc, "QU",
|
||||
"Count of saved TLB context on switch");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user