Hans Petter Selasky 1e3db1de0c Make the LinuxKPI task struct persistent accross system calls.
A set of helper functions have been added to manage the life of the
LinuxKPI task struct. When an external system call or task is invoked,
a check is made to create the task struct by demand. A thread
destructor callback is registered to free the task struct when a
thread exits to avoid memory leaks.

This change lays the ground for emulating the Linux kernel more
closely which is a dependency by the code using the LinuxKPI APIs.

Add new dedicated td_lkpi_task field has been added to struct thread
instead of abusing td_retval[1].

Fix some header file inclusions to make LINT kernel build properly
after this change.

Bump the __FreeBSD_version to force a rebuild of all kernel modules.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
2017-02-21 12:43:02 +00:00
..
2016-04-27 19:38:24 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 09:58:00 +00:00
2014-09-17 22:26:01 +00:00
2016-11-21 21:07:43 +00:00
2016-07-22 06:21:03 +00:00
2015-09-10 12:40:31 +00:00
2017-01-28 16:40:51 +00:00
2017-01-28 02:22:15 +00:00
2016-10-02 03:20:31 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 02:22:15 +00:00
2016-11-07 21:15:39 +00:00
2017-01-28 02:22:15 +00:00
2014-11-07 19:13:19 +00:00
2014-10-20 14:42:42 +00:00
2017-02-06 08:49:57 +00:00
2014-08-28 00:05:02 +00:00
2017-02-10 01:04:11 +00:00
2017-02-10 01:04:11 +00:00
2017-01-28 02:22:15 +00:00
2017-02-17 21:08:32 +00:00
2017-01-28 02:22:15 +00:00
2016-07-09 11:20:42 +00:00
2015-10-01 05:56:38 +00:00
2017-01-28 02:22:15 +00:00
2015-06-23 22:22:36 +00:00
2014-09-19 10:32:20 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 02:22:15 +00:00
2017-02-06 08:49:57 +00:00
2014-07-26 17:59:25 +00:00
2016-10-02 03:20:31 +00:00
2016-05-20 11:00:06 +00:00
2015-02-07 23:09:03 +00:00
2017-01-31 01:55:29 +00:00
2015-04-22 18:15:18 +00:00
2017-01-28 02:22:15 +00:00