sigio: do a lockless check in funsetownlist
There is no need to grab the lock first to see if sigio is used, and it typically is not.
This commit is contained in:
parent
5f521d7ba7
commit
382172be68
@ -942,6 +942,8 @@ funsetown(struct sigio **sigiop)
|
||||
{
|
||||
struct sigio *sigio;
|
||||
|
||||
if (*sigiop == NULL)
|
||||
return;
|
||||
SIGIO_LOCK();
|
||||
sigio = *sigiop;
|
||||
if (sigio == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user