<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/kqueue.2, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r320035:</title>
<updated>2017-06-19T07:15:47+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-06-19T07:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c17118ea4443ded16ce458b3feecd0e63ec2249e'/>
<id>c17118ea4443ded16ce458b3feecd0e63ec2249e</id>
<content type='text'>
Move the description of kern.kq_calloutmax sysctl into a new paragraph
for better presentation.

Approved by:	re (delphij)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the description of kern.kq_calloutmax sysctl into a new paragraph
for better presentation.

Approved by:	re (delphij)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r320034:</title>
<updated>2017-06-19T06:48:21+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-06-19T06:48:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=543da4d08681380fac9ddd4ad95bab9836e80920'/>
<id>543da4d08681380fac9ddd4ad95bab9836e80920</id>
<content type='text'>
Start a new sentence on the new line.

Approved by:	re (delphij)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Start a new sentence on the new line.

Approved by:	re (delphij)
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r306771:</title>
<updated>2017-05-09T18:14:45+00:00</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-05-09T18:14:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ff58cd691545130076d60f5a6c05d68efb1dd1c7'/>
<id>ff58cd691545130076d60f5a6c05d68efb1dd1c7</id>
<content type='text'>
  Improve grammar.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Improve grammar.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct wording.</title>
<updated>2016-05-03T15:58:35+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-05-03T15:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6e745eeddd86c57aff79252c5cddd1601abcd84f'/>
<id>6e745eeddd86c57aff79252c5cddd1601abcd84f</id>
<content type='text'>
Submitted by:	David A. Bright
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	David A. Bright
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Add EVFILT_VNODE open, read and close notifications.</title>
<updated>2016-05-03T15:17:43+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-05-03T15:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c89e1b873920898b4a79166c928058ef1654fbfb'/>
<id>c89e1b873920898b4a79166c928058ef1654fbfb</id>
<content type='text'>
While there, order EVFILT_VNODE notes descriptions alphabetically.

Based on submission, and tested by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While there, order EVFILT_VNODE notes descriptions alphabetically.

Based on submission, and tested by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue NOTE_EXTEND when a directory entry is added to or removed from</title>
<updated>2016-05-02T13:18:17+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-05-02T13:18:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f7b71c8a5b530744c11a5758323838c912f09811'/>
<id>f7b71c8a5b530744c11a5758323838c912f09811</id>
<content type='text'>
the monitored directory as the result of rename(2) operation.  The
renames staying in the directory are not reported.

Submitted by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the monitored directory as the result of rename(2) operation.  The
renames staying in the directory are not reported.

Submitted by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>As a reader service, explain NOTE_LINK reporting for the directories.</title>
<updated>2016-05-01T20:54:29+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-05-01T20:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ba55e112c283271db57d1a89c8049dc869d7b802'/>
<id>ba55e112c283271db57d1a89c8049dc869d7b802</id>
<content type='text'>
Submitted by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Vladimir Kondratyev &lt;wulf@cicgroup.ru&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide an example to the kqueue man page, showing</title>
<updated>2016-05-01T18:09:34+00:00</updated>
<author>
<name>Benedict Reuschling</name>
<email>bcr@FreeBSD.org</email>
</author>
<published>2016-05-01T18:09:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8c231786f01b9f8614e2fe5b47196db1caa7a772'/>
<id>8c231786f01b9f8614e2fe5b47196db1caa7a772</id>
<content type='text'>
a basic usage example.  Although it is an
untypical example for the use of kqueue, it is
better than nothing and should get people started.

PR:			196844
Submitted by:		fernando.apesteguia@gmail.com
Reviewed by:		kib
Approved by:		kib
MFC after:		5 days
Differential Revision:	https://reviews.freebsd.org/D6082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a basic usage example.  Although it is an
untypical example for the use of kqueue, it is
better than nothing and should get people started.

PR:			196844
Submitted by:		fernando.apesteguia@gmail.com
Reviewed by:		kib
Approved by:		kib
MFC after:		5 days
Differential Revision:	https://reviews.freebsd.org/D6082
</pre>
</div>
</content>
</entry>
<entry>
<title>Make it possible to implement poll(2) on top of kqueue(2).</title>
<updated>2015-08-05T07:34:29+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2015-08-05T07:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2433a4eb041dd9ac5cd7f905f6948d6b7222adc8'/>
<id>2433a4eb041dd9ac5cd7f905f6948d6b7222adc8</id>
<content type='text'>
It looks like EVFILT_READ and EVFILT_WRITE trigger under the same
conditions as poll()'s POLLRDNORM and POLLWRNORM as described by POSIX.
The only difference is that POLLRDNORM has to be triggered on regular
files unconditionally, whereas EVFILT_READ only triggers when not EOF.

Introduce a new flag, NOTE_FILE_POLL, that can be used to make
EVFILT_READ and EVFILT_WRITE behave identically to poll(). This flag
will be used by cloudlibc's poll() function.

Reviewed by:	jmg
Differential Revision:	https://reviews.freebsd.org/D3303
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It looks like EVFILT_READ and EVFILT_WRITE trigger under the same
conditions as poll()'s POLLRDNORM and POLLWRNORM as described by POSIX.
The only difference is that POLLRDNORM has to be triggered on regular
files unconditionally, whereas EVFILT_READ only triggers when not EOF.

Introduce a new flag, NOTE_FILE_POLL, that can be used to make
EVFILT_READ and EVFILT_WRITE behave identically to poll(). This flag
will be used by cloudlibc's poll() function.

Reviewed by:	jmg
Differential Revision:	https://reviews.freebsd.org/D3303
</pre>
</div>
</content>
</entry>
<entry>
<title>Make kevent(2) a cancellation point.</title>
<updated>2015-03-29T19:14:41+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2015-03-29T19:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b072e86d0917ad6e699a6770c44130f7685b4605'/>
<id>b072e86d0917ad6e699a6770c44130f7685b4605</id>
<content type='text'>
Note that to cancel blocked kevent(2) call, changelist must be empty,
since we cannot cancel a call which already made changes to the
process state.  And in reverse, call which only makes changes to the
kqueue state, without waiting for an event, is not cancellable.  This
makes a natural usage model to migrate kqueue loop to support
cancellation, where existing single kevent(2) call must be split into
two: first uncancellable update of kqueue, then cancellable wait for
events.

Note that this is ABI-incompatible change, but it is believed that
there is no cancel-safe code that relies on kevent(2) not being a
cancellation point.  Option to preserve the ABI would be to keep
kevent(2) as is, but add new call with flags to specify cancellation
behaviour, which only value seems to add complications.

Suggested and reviewed by:	jilles
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that to cancel blocked kevent(2) call, changelist must be empty,
since we cannot cancel a call which already made changes to the
process state.  And in reverse, call which only makes changes to the
kqueue state, without waiting for an event, is not cancellable.  This
makes a natural usage model to migrate kqueue loop to support
cancellation, where existing single kevent(2) call must be split into
two: first uncancellable update of kqueue, then cancellable wait for
events.

Note that this is ABI-incompatible change, but it is believed that
there is no cancel-safe code that relies on kevent(2) not being a
cancellation point.  Option to preserve the ABI would be to keep
kevent(2) as is, but add new call with flags to specify cancellation
behaviour, which only value seems to add complications.

Suggested and reviewed by:	jilles
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
</feed>
