<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/kern, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-09-02T01:41:57Z</updated>
<entry>
<title>MFS11 r305250:</title>
<updated>2016-09-02T01:41:57Z</updated>
<author>
<name>Nathan Whitehorn</name>
<email>nwhitehorn@FreeBSD.org</email>
</author>
<published>2016-09-02T01:41:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc37050e4215a5bb6c709bc7bc1cb2a65ceab203'/>
<id>urn:sha1:bc37050e4215a5bb6c709bc7bc1cb2a65ceab203</id>
<content type='text'>
MFC r305108,305109:
Refix operation on sparse CPU mappings as in r302372, temporarily broken
by r304716.

PR:		kern/210106
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFS r304704: Update iflib to support more NIC designs</title>
<updated>2016-08-24T01:56:30Z</updated>
<author>
<name>Stephen Hurd</name>
<email>shurd@FreeBSD.org</email>
</author>
<published>2016-08-24T01:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccf787d1648d7578df987c7cb8dec56205ea1128'/>
<id>urn:sha1:ccf787d1648d7578df987c7cb8dec56205ea1128</id>
<content type='text'>
- Move group task queue into kern/subr_gtaskqueue.c
- Change intr_enable to return an int so it can be detected if it's not
  implemented
- Allow different TX/RX queues per set to be different sizes
- Don't split up TX mbufs before transmit
- Allow a completion queue for TX as well as RX
- Pass the RX budget to isc_rxd_available() to allow an earlier return
  and avoid multiple calls

Approved by:	re (glb), davidch
Requested by:	shurd
</content>
</entry>
<entry>
<title>MFS r304512:</title>
<updated>2016-08-20T11:59:19Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-08-20T11:59:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed982599f0f9def27977639701622e601b201742'/>
<id>urn:sha1:ed982599f0f9def27977639701622e601b201742</id>
<content type='text'>
  MFC r304288:

    Garbage collect _umtx_lock(2)/_umtx_unlock(2) references removed in
    r263318.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC r303562,303563,r303584,r303643,r303652,r303655,r303707:</title>
<updated>2016-08-11T09:28:49Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2016-08-11T09:28:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b3fd3a792eaa673f9012bded915c5c2a9bf89e3'/>
<id>urn:sha1:0b3fd3a792eaa673f9012bded915c5c2a9bf89e3</id>
<content type='text'>
    rwlock: s/READER/WRITER/ in wlock lockstat annotation

==

    sx: increment spin_cnt before cpu_spinwait in xlock

    The change is a no-op only done for consistency with the rest of the file.

==

    locks: change sleep_cnt and spin_cnt types to u_int

    Both variables are uint64_t, but they only count spins or sleeps.
    All reasonable values which we can get here comfortably hit in 32-bit range.

==

    Implement trivial backoff for locking primitives.

    All current spinning loops retry an atomic op the first chance they get,
    which leads to performance degradation under load.

    One classic solution to the problem consists of delaying the test to an
    extent. This implementation has a trivial linear increment and a random
    factor for each attempt.

    For simplicity, this first thouch implementation only modifies spinning
    loops where the lock owner is running. spin mutexes and thread lock were
    not modified.

    Current parameters are autotuned on boot based on mp_cpus.

    Autotune factors are very conservative and are subject to change later.

==

    locks: fix up ifdef guards introduced in r303643

    Both sx and rwlocks had copy-pasted ADAPTIVE_MUTEXES instead of the correct
    define.

==

    locks: fix compilation for KDTRACE_HOOKS &amp;&amp; !ADAPTIVE_* case

==

    locks: fix sx compilation on mips after r303643

    The kernel.h header is required for the SYSINIT macro, which apparently
    was present on amd64 by accident.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC 303503: Don't treat NOCPU as a valid CPU to CPU_ISSET.</title>
<updated>2016-08-09T18:56:29Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-08-09T18:56:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c3a364ea302f2d8ce3a25a126acadc157fee0dd'/>
<id>urn:sha1:1c3a364ea302f2d8ce3a25a126acadc157fee0dd</id>
<content type='text'>
If a thread is created bound to a cpuset it might already be bound before
its very first timeslice, and td_lastcpu will be NOCPU in that case.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Regenerate for r303857.</title>
<updated>2016-08-08T21:19:57Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-08-08T21:19:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=430c030f8ab2583b889b6fc4c8ffc0e6d6c0c4aa'/>
<id>urn:sha1:430c030f8ab2583b889b6fc4c8ffc0e6d6c0c4aa</id>
<content type='text'>
Approved by:	re (gjb, implicit)
</content>
</entry>
<entry>
<title>MFC r303755:</title>
<updated>2016-08-08T21:18:28Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-08-08T21:18:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=19f8e59ed0c2d7cdfe854290c97d46aae634ee0b'/>
<id>urn:sha1:19f8e59ed0c2d7cdfe854290c97d46aae634ee0b</id>
<content type='text'>
  Still provide freebsd10_* symbols from libc for COMPAT10.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC r303729:</title>
<updated>2016-08-08T20:23:11Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2016-08-08T20:23:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d89bbe5d4bdfde46a7eb17a17ff55f1fc0314446'/>
<id>urn:sha1:d89bbe5d4bdfde46a7eb17a17ff55f1fc0314446</id>
<content type='text'>
  Correct some comments.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC r303702:</title>
<updated>2016-08-06T08:20:58Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-08-06T08:20:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8d810f1c984bf7c6a1966bd9e95e09bd02e67cf'/>
<id>urn:sha1:b8d810f1c984bf7c6a1966bd9e95e09bd02e67cf</id>
<content type='text'>
Remove mention of Giant from the fork_return() description.

Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>MFC 303406,303501: Fix panic when using aio_fsync().</title>
<updated>2016-08-05T22:23:04Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2016-08-05T22:23:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d9b7b9d1f6a16d58efdf6dc76a3b6bdfb7ca9726'/>
<id>urn:sha1:d9b7b9d1f6a16d58efdf6dc76a3b6bdfb7ca9726</id>
<content type='text'>
303406:
Adjust tests in fsync job scheduling loop to reduce indentation.

303501:
Fix locking issues with aio_fsync().

- Use correct lock in aio_cancel_sync when dequeueing job.
- Add _locked variants of aio_set/clear_cancel_function and use those
  to avoid lock recursion when adding and removing fsync jobs to the
  per-process sync queue.
- While here, add a basic test for aio_fsync().

PR:		211390
Approved by:	re (kib)
</content>
</entry>
</feed>
