From: visa Date: Tue, 16 Nov 2021 13:46:16 +0000 (+0000) Subject: Remove an old note about poor performance X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b92d7058247bf0162ebc549aac34f849302f1dd5;p=openbsd Remove an old note about poor performance The new kqueue-based poll/select implementation does not suffer from select collisions. OK cheloha@, millert@ --- diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index ba94dc398c0..aff63f6aef1 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: poll.2,v 1.36 2018/08/18 16:55:30 cheloha Exp $ +.\" $OpenBSD: poll.2,v 1.37 2021/11/16 13:46:16 visa Exp $ .\" .\" Copyright (c) 1994 Jason R. Thorpe .\" All rights reserved. @@ -28,7 +28,7 @@ .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" -.Dd $Mdocdate: August 18 2018 $ +.Dd $Mdocdate: November 16 2021 $ .Dt POLL 2 .Os .Sh NAME @@ -361,9 +361,3 @@ Similarly, the and .Dv POLLRDBAND flags are also equivalent. -.Pp -Internally to the kernel, -.Fn poll -and -.Fn ppoll -work poorly if multiple processes wait on the same file descriptor. diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2 index b83e810165c..a0fa300fd3b 100644 --- a/lib/libc/sys/select.2 +++ b/lib/libc/sys/select.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: select.2,v 1.43 2020/08/13 01:00:03 cheloha Exp $ +.\" $OpenBSD: select.2,v 1.44 2021/11/16 13:46:16 visa Exp $ .\" $NetBSD: select.2,v 1.5 1995/06/27 22:32:28 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)select.2 8.2 (Berkeley) 3/25/94 .\" -.Dd $Mdocdate: August 13 2020 $ +.Dd $Mdocdate: November 16 2021 $ .Dt SELECT 2 .Os .Sh NAME @@ -291,9 +291,3 @@ before and after the call to .Fn select , and using .Xr timersub 3 . -.Pp -Internally to the kernel, -.Fn select -and -.Fn pselect -work poorly if multiple processes wait on the same file descriptor.