<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/linuxkpi, branch releng/12.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-05-25T20:53:23Z</updated>
<entry>
<title>LinuxKPI: Revert MFC of r347892</title>
<updated>2019-05-25T20:53:23Z</updated>
<author>
<name>Johannes Lundberg</name>
<email>johalun@FreeBSD.org</email>
</author>
<published>2019-05-25T20:53:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=57695c7998b3e3bf273b24e63afe2e94f6858098'/>
<id>urn:sha1:57695c7998b3e3bf273b24e63afe2e94f6858098</id>
<content type='text'>
Revert until we can figure out how to keep compatibility with drm-kmod
ports between 12.0 and 12-STABLE/12.1.
</content>
</entry>
<entry>
<title>MFC r347892:</title>
<updated>2019-05-25T18:36:38Z</updated>
<author>
<name>Johannes Lundberg</name>
<email>johalun@FreeBSD.org</email>
</author>
<published>2019-05-25T18:36:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=154337d58b19345a044ec7e964bdbe33894a8722'/>
<id>urn:sha1:154337d58b19345a044ec7e964bdbe33894a8722</id>
<content type='text'>
LinuxKPI: Finalize import of seq_file.

seq_file.h and linux_seq_file.c was imported form ports earlier but
linux_seq_file.c was never compiled in with the module. With this
commit base seq_file will replace ports seq_file and it required a
few modifications to not break functionality and build.

Reviewed by:	hps
Approved by:	imp (mentor), hps
</content>
</entry>
<entry>
<title>MFC r339924:</title>
<updated>2018-11-01T15:47:07Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2018-11-01T15:47:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=711db39fec3ccdf68ba97be4a3ba1b505d2200a2'/>
<id>urn:sha1:711db39fec3ccdf68ba97be4a3ba1b505d2200a2</id>
<content type='text'>
Implement the dump_stack() function in the LinuxKPI.

Approved by:		re (gjb)
Submitted by:		Johannes Lundberg &lt;johalun0@gmail.com&gt;
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>Sort SRCS.</title>
<updated>2017-06-26T21:14:33Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-06-26T21:14:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a00230f61a4d0a800474f9768b0a252143103a07'/>
<id>urn:sha1:a00230f61a4d0a800474f9768b0a252143103a07</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Implement parts of the hrtimer API in the LinuxKPI.</title>
<updated>2017-06-26T16:28:46Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-06-26T16:28:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ea3e14182f3c0fa0a22d3d53886bfd0fff9d098'/>
<id>urn:sha1:9ea3e14182f3c0fa0a22d3d53886bfd0fff9d098</id>
<content type='text'>
Reviewed by:	hselasky
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D11359
</content>
</entry>
<entry>
<title>Augment wait queue support in the LinuxKPI.</title>
<updated>2017-06-09T19:41:12Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-06-09T19:41:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=465659643b5539bd609c00c41a611e3095a31cf9'/>
<id>urn:sha1:465659643b5539bd609c00c41a611e3095a31cf9</id>
<content type='text'>
In particular:
- Don't evaluate event conditions with a sleepqueue lock held, since such
  code may attempt to acquire arbitrary locks.
- Fix the return value for wait_event_interruptible() in the case that the
  wait is interrupted by a signal.
- Implement wait_on_bit_timeout() and wait_on_atomic_t().
- Implement some functions used to test for pending signals.
- Implement a number of wait_event_*() variants and unify the existing
  implementations.
- Unify the mechanism used by wait_event_*() and schedule() to put the
  calling thread to sleep.

This is required to support updated DRM drivers. Thanks to hselasky for
finding and fixing a number of bugs in the original revision.

Reviewed by:	hselasky
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D10986
</content>
</entry>
<entry>
<title>Implement support for mutexes with deadlock avoidance in the LinuxKPI.</title>
<updated>2017-03-09T18:33:40Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2017-03-09T18:33:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9760ac0a3eb6279b8807438ec81ccfe04a16ebfe'/>
<id>urn:sha1:9760ac0a3eb6279b8807438ec81ccfe04a16ebfe</id>
<content type='text'>
When locking a mutex and deadlock is detected the first mutex lock
call that sees the deadlock will return -EDEADLK .

MFC after:		1 week
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>Cleanup the LinuxKPI slab implementation.</title>
<updated>2017-03-08T11:09:27Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2017-03-08T11:09:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=14c5024db875e0a4104b0203f3d202eb3042230c'/>
<id>urn:sha1:14c5024db875e0a4104b0203f3d202eb3042230c</id>
<content type='text'>
Put large functions into linux_slab.c instead of declaring them static
inline.

Add support for more memory allocation wrappers like kmalloc_array()
and __vmalloc().

Make sure either the M_WAITOK or the M_NOWAIT flag is set and mask
away unused memory allocation flags before calling FreeBSD's malloc()
routine.

Move kmalloc_node() definition to slab.h where it belongs.

Implement support for the SLAB_DESTROY_BY_RCU feature when creating a
kmem_cache which basically means kmem_cache memory is freed using
call_rcu().

MFC after:		1 week
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>LinuxKPI workqueue cleanup.</title>
<updated>2017-03-07T12:09:14Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2017-03-07T12:09:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ca2ad6bd779fae857f27b028d736f506b66a528a'/>
<id>urn:sha1:ca2ad6bd779fae857f27b028d736f506b66a528a</id>
<content type='text'>
This change makes the workqueue implementation behave more like in
Linux, both functionality wise and structure wise.

All workqueue code has been moved to linux_work.c

Add an atomic based statemachine to the work_struct to ensure proper
operation. Prior to this change struct_work was directly mapped to a
FreeBSD task. When a taskqueue has multiple threads the same task may
end up being executed on more than one worker thread simultaneously.
This might cause problems with code coming from Linux, which expects
serial behaviour, similar to Linux tasklets.

Move all global workqueue function names into the linux_xxx domain to
avoid symbol name clashes in the future.

Implement a few more workqueue related functions and macros.

Create two multithreaded taskqueues for the LinuxKPI during module
load, one for time-consuming callbacks and one for non-time consuming
callbacks.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
</content>
</entry>
<entry>
<title>sys/modules: normalize .CURDIR-relative paths to SRCTOP</title>
<updated>2017-03-04T10:10:17Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-03-04T10:10:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=193d9e768ba63fcfb187cfd17f461f7d41345048'/>
<id>urn:sha1:193d9e768ba63fcfb187cfd17f461f7d41345048</id>
<content type='text'>
This simplifies make output/logic

Tested with:	`cd sys/modules; make ALL_MODULES=` on amd64
MFC after:	1 month
Sponsored by:	Dell EMC Isilon
</content>
</entry>
</feed>
