Remove a XXXKSE. kg_completed now needs proc lock.

This commit is contained in:
David Xu 2003-02-24 01:28:10 +00:00
parent debfc5e11d
commit 0fccb684d1
2 changed files with 0 additions and 2 deletions

View File

@ -1060,7 +1060,6 @@ thread_link_mboxes(struct ksegrp *kg, struct kse_upcall *ku)
PROC_UNLOCK(p);
return (EFAULT);
}
/* XXXKSE could use atomic CMPXCH here */
PROC_LOCK(p);
if (mbx == (uintptr_t)kg->kg_completed) {
kg->kg_completed = NULL;

View File

@ -1060,7 +1060,6 @@ thread_link_mboxes(struct ksegrp *kg, struct kse_upcall *ku)
PROC_UNLOCK(p);
return (EFAULT);
}
/* XXXKSE could use atomic CMPXCH here */
PROC_LOCK(p);
if (mbx == (uintptr_t)kg->kg_completed) {
kg->kg_completed = NULL;