|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
| #
cdceed04 |
| 24-Dec-2023 |
Vladimir Kondratyev <[email protected]> |
LinuxKPI: Add cancel_work() function.
Cancel a work not waiting for it to finish.
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, kib MFC after: 1 week Differential Revision: https://
LinuxKPI: Add cancel_work() function.
Cancel a work not waiting for it to finish.
Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42811
(cherry picked from commit 1b2f43a7427ebf51561867f6c497833268014512)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
95ee2897 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
| #
307f78f3 |
| 19-Dec-2021 |
Vladimir Kondratyev <[email protected]> |
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
MFC after: 1 week Reviewed by: bz, emaste, hselasky, manu Differential Revision: https://reviews.freebsd.org/D33562
|
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
| #
2491b25c |
| 21-May-2020 |
Emmanuel Vadot <[email protected]> |
linuxkpi: Add rcu_work functions
The rcu_work function helps to queue some work after waiting for a grace period. This is needed by DRM drivers.
Sponsored-by: The FreeBSD Foundation Reviewed by: hs
linuxkpi: Add rcu_work functions
The rcu_work function helps to queue some work after waiting for a grace period. This is needed by DRM drivers.
Sponsored-by: The FreeBSD Foundation Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D24942
show more ...
|
|
Revision tags: release/12.1.0 |
|
| #
419fe172 |
| 17-Aug-2019 |
Conrad Meyer <[email protected]> |
Linuxkpi: Prevent easy generated ctor name conflicts with prefix
Sponsored by: Dell EMC Isilon
|
|
Revision tags: release/11.3.0, release/12.0.0 |
|
| #
549dcdb3 |
| 06-Aug-2018 |
Hans Petter Selasky <[email protected]> |
Implement current_work() function in the LinuxKPI.
Tested by: Johannes Lundberg <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies
|
|
Revision tags: release/11.2.0 |
|
| #
7a13eeba |
| 05-Jun-2018 |
Hans Petter Selasky <[email protected]> |
Declare and set the global "system_highpri_wq" workqueue structure pointer in the LinuxKPI.
Submitted by: Johannes Lundberg <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies
Declare and set the global "system_highpri_wq" workqueue structure pointer in the LinuxKPI.
Submitted by: Johannes Lundberg <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
show more ...
|
| #
c6d92030 |
| 05-Jun-2018 |
Hans Petter Selasky <[email protected]> |
Implement the INIT_DELAYED_WORK_ONSTACK() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Lim
Implement the INIT_DELAYED_WORK_ONSTACK() function macro in the LinuxKPI.
Submitted by: Johannes Lundberg <[email protected]> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
show more ...
|
| #
83630517 |
| 23-Mar-2018 |
Ed Maste <[email protected]> |
linuxkpi whitespace cleanup
Reviewed by: hselasky, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D14807
|
| #
87a567f1 |
| 04-Oct-2017 |
Hans Petter Selasky <[email protected]> |
Make sure the timer belonging to the delayed work in the LinuxKPI gets drained before invoking the work function. Else the timer mutex may still be in use which can lead to use-after-free situations,
Make sure the timer belonging to the delayed work in the LinuxKPI gets drained before invoking the work function. Else the timer mutex may still be in use which can lead to use-after-free situations, because the work function might free the work structure before returning.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
f7328664 |
| 09-Mar-2017 |
Hans Petter Selasky <[email protected]> |
Fix implementation of the DECLARE_WORK() macro in the LinuxKPI to fully initialize the declared work structure and not only the function callback pointer.
MFC after: 1 week Sponsored by: Mellanox
Fix implementation of the DECLARE_WORK() macro in the LinuxKPI to fully initialize the declared work structure and not only the function callback pointer.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
ca2ad6bd |
| 07-Mar-2017 |
Hans Petter Selasky <[email protected]> |
LinuxKPI workqueue cleanup.
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
LinuxKPI workqueue cleanup.
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
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
c4e58b4e |
| 21-Dec-2015 |
Hans Petter Selasky <[email protected]> |
Implement drain_workqueue() function.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
9782763d |
| 21-Dec-2015 |
Hans Petter Selasky <[email protected]> |
In the zero delay case in queue_delayed_work() use the return value from taskqueue_enqueue() instead of reading "ta_pending" unlocked and also ensure the callout is stopped before proceeding.
MFC af
In the zero delay case in queue_delayed_work() use the return value from taskqueue_enqueue() instead of reading "ta_pending" unlocked and also ensure the callout is stopped before proceeding.
MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|
| #
55d445d3 |
| 21-Dec-2015 |
Hans Petter Selasky <[email protected]> |
Minor workqueue cleanup: - Make some functions global instead of inline to ease debugging. - Fix some minor style issues.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
52ba0576 |
| 30-Nov-2015 |
Hans Petter Selasky <[email protected]> |
Add more functions and types to the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
| #
8d59ecb2 |
| 29-Oct-2015 |
Hans Petter Selasky <[email protected]> |
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some M
Finish process of moving the LinuxKPI module into the default kernel build.
- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders. - Update sys/conf/files and some Makefiles to use new file locations. - Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds. - The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple. - Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko. - Bump the FreeBSD_version. - A universe kernel build has been done.
Reviewed by: np @ (cxgb and cxgbe related changes only) Sponsored by: Mellanox Technologies
show more ...
|