Added message if huge pages was enabled, but reboot required.
This commit is contained in:
parent
15b4244ea8
commit
a2574e1b1b
3 changed files with 10 additions and 3 deletions
|
@ -122,6 +122,7 @@ static BOOL ObtainLockPagesPrivilege() {
|
|||
LSA_UNICODE_STRING str = StringToLsaUnicodeString(_T(SE_LOCK_MEMORY_NAME));
|
||||
|
||||
if (LsaAddAccountRights(handle, user->User.Sid, &str, 1) == 0) {
|
||||
applog_notime(LOG_WARNING, "Huge pages support was successfully enabled, but reboot required to use it");
|
||||
result = TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue