<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/sched, branch master</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>sched_rr_get_interval: don't assume time_t is 32-bit on 32-bit archs</title>
<updated>2019-07-29T16:31:20+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2019-07-29T03:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1d4471b1fdfaa042ac48e9d8bcf00842dc529418'/>
<id>1d4471b1fdfaa042ac48e9d8bcf00842dc529418</id>
<content type='text'>
as with clock_getres, the time64 syscall for this is not necessary or
useful, this time since scheduling timeslices are not on the order 68
years. if there's a 32-bit syscall, use it and expand the result into
timespec; otherwise there is only one syscall and it does the right
thing to store to timespec directly.

on 64-bit archs, there is no change to the code after preprocessing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as with clock_getres, the time64 syscall for this is not necessary or
useful, this time since scheduling timeslices are not on the order 68
years. if there's a 32-bit syscall, use it and expand the result into
timespec; otherwise there is only one syscall and it does the right
thing to store to timespec directly.

on 64-bit archs, there is no change to the code after preprocessing.
</pre>
</div>
</content>
</entry>
<entry>
<title>move and deduplicate declarations of __vdsosym to make it checkable</title>
<updated>2018-09-12T18:34:27+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2018-09-06T17:45:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=cb229f614f937515b78e40701f36c26c7def01b7'/>
<id>cb229f614f937515b78e40701f36c26c7def01b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add sched_getcpu vDSO support</title>
<updated>2016-03-03T02:35:40+00:00</updated>
<author>
<name>Nathan Zadoks</name>
<email>nathan@nathan7.eu</email>
</author>
<published>2016-03-02T16:26:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=db66ef1f7db7c5b672591a97a97bc789c9efe2f3'/>
<id>db66ef1f7db7c5b672591a97a97bc789c9efe2f3</id>
<content type='text'>
This brings the call to an actually usable speed.
Quick unscientific benchmark: 14ns : 102ns :: vDSO : syscall
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This brings the call to an actually usable speed.
Quick unscientific benchmark: 14ns : 102ns :: vDSO : syscall
</pre>
</div>
</content>
</entry>
<entry>
<title>add sched_getcpu</title>
<updated>2016-03-03T02:32:36+00:00</updated>
<author>
<name>Nathan Zadoks</name>
<email>nathan@nathan7.eu</email>
</author>
<published>2016-03-02T16:26:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=98d335735d64ee34a34cb9c08ea2cb51a076d2a1'/>
<id>98d335735d64ee34a34cb9c08ea2cb51a076d2a1</id>
<content type='text'>
This is a GNU extension, but a fairly minor one, for a system call that
otherwise has no libc wrapper.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a GNU extension, but a fairly minor one, for a system call that
otherwise has no libc wrapper.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix return value of pthread_getaffinity_np and pthread_setaffinity_np</title>
<updated>2014-12-03T03:17:52+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2014-12-03T03:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=66140b0c926ed097f2cb7474863523e4af351f5b'/>
<id>66140b0c926ed097f2cb7474863523e4af351f5b</id>
<content type='text'>
these functions are expected to return an error code rather than
setting errno and returning -1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
these functions are expected to return an error code rather than
setting errno and returning -1.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix uninitialized output from sched_getaffinity</title>
<updated>2014-12-03T02:54:36+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2014-12-03T02:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=a56e339419c1a90f8a85f86621f3c73945e07b23'/>
<id>a56e339419c1a90f8a85f86621f3c73945e07b23</id>
<content type='text'>
the sched_getaffinity syscall only fills a cpu set up to the set size
used/supported by the kernel. the rest is left untouched and userspace
is responsible for zero-filling it based on the return value of the
syscall.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the sched_getaffinity syscall only fills a cpu set up to the set size
used/supported by the kernel. the rest is left untouched and userspace
is responsible for zero-filling it based on the return value of the
syscall.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove useless __yield alias for sched_yield</title>
<updated>2014-05-04T17:15:27+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2014-05-04T17:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=adbf0258be4eea5f012e173de7e55a87f3093669'/>
<id>adbf0258be4eea5f012e173de7e55a87f3093669</id>
<content type='text'>
this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is no longer used for anything, and reportedly clashed with a
builtin on certain compilers.
</pre>
</div>
</content>
</entry>
<entry>
<title>add pthread_setaffinity_np and pthread_getaffinity_np functions</title>
<updated>2013-08-11T01:41:05+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-08-11T01:41:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=7406fdf5a18b37330de108abb0106f44ebdae2c6'/>
<id>7406fdf5a18b37330de108abb0106f44ebdae2c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add cpu affinity interfaces</title>
<updated>2013-08-11T01:15:11+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-08-11T01:15:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=eeb0328f203cfb8990b3eee5ee31d931fc539ceb'/>
<id>eeb0328f203cfb8990b3eee5ee31d931fc539ceb</id>
<content type='text'>
this first commit just includes the CPU_* and sched_* interfaces, not
the pthread_* interfaces, which may be added later. simple
sanity-check testing has been done for the basic interfaces, but most
of the macros have not yet been tested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this first commit just includes the CPU_* and sched_* interfaces, not
the pthread_* interfaces, which may be added later. simple
sanity-check testing has been done for the basic interfaces, but most
of the macros have not yet been tested.
</pre>
</div>
</content>
</entry>
<entry>
<title>add support for thread scheduling (POSIX TPS option)</title>
<updated>2012-11-11T20:38:04+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-11-11T20:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1e21e78bf7a5c24c217446d8760be7b7188711c2'/>
<id>1e21e78bf7a5c24c217446d8760be7b7188711c2</id>
<content type='text'>
linux's sched_* syscalls actually implement the TPS (thread
scheduling) functionality, not the PS (process scheduling)
functionality which the sched_* functions are supposed to have.
omitting support for the PS option (and having the sched_* interfaces
fail with ENOSYS rather than omitting them, since some broken software
assumes they exist) seems to be the only conforming way to do this on
linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
linux's sched_* syscalls actually implement the TPS (thread
scheduling) functionality, not the PS (process scheduling)
functionality which the sched_* functions are supposed to have.
omitting support for the PS option (and having the sched_* interfaces
fail with ENOSYS rather than omitting them, since some broken software
assumes they exist) seems to be the only conforming way to do this on
linux.
</pre>
</div>
</content>
</entry>
</feed>
