Print this page
11909 THREAD_KPRI_RELEASE does nothing of the sort
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
*** 19,28 ****
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2019 Joyent, Inc.
*/
#include <sys/param.h>
#include <sys/vmparam.h>
#include <sys/types.h>
*** 1200,1210 ****
/*
* Try to autoload the system call if necessary
*/
module_lock = lock_syscall(se, code);
- THREAD_KPRI_RELEASE(); /* drop priority given by rw_enter */
/*
* we've locked either the loaded syscall or nosys
*/
--- 1201,1210 ----
*** 1232,1242 ****
} else {
rval = syscall_ap();
}
}
- THREAD_KPRI_REQUEST(); /* regain priority from read lock */
rw_exit(module_lock);
return (rval);
}
/*
--- 1232,1241 ----