Skip to content
Permalink
Browse files

MFC r347698:

amd64 pmap: sysctl vm.pmap.pcid_save_cnt should be read-only.
  • Loading branch information...
kostikbel committed May 23, 2019
1 parent 3bdbf36 commit 330c65332bc1b5aabee212304b2a35ba45542650
Showing with 1 addition and 1 deletion.
  1. +1 −1 sys/amd64/amd64/pmap.c
@@ -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");

0 comments on commit 330c653

Please sign in to comment.
You can’t perform that action at this time.