Date: Fri, 12 Oct 2007 15:09:02 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/audit audit_pipe.c Message-ID: <200710121509.l9CF92ow054536@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2007-10-12 15:09:02 UTC FreeBSD src repository Modified files: sys/security/audit audit_pipe.c Log: - Change the wakeup logic associated with having multiple sleepers on multiple different audit pipes. The old method used cv_signal() which would result in only one thread being woken up after we appended a record to it's queue. This resulted in un-timely wake-ups when processing audit records real-time. - Assign PSOCK priority to threads that have been sleeping on a read(2). This is the same priority threads are woken up with when they select(2) or poll(2). This yields fairness between various forms of sleep on the audit pipes. Obtained from: TrustedBSD Project Discussed with: rwatson MFC after: 1 week Revision Changes Path 1.12 +2 -2 src/sys/security/audit/audit_pipe.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710121509.l9CF92ow054536>