aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mpmc_ptr_ring: add selftestThomas Gschwantner2018-07-011-0/+2
|
* [WIP] implement a lock-free MPMC ring bufferJonathan Neuschäfer2018-07-011-3/+3
| | | | | | | | | | TODO: actually use the right memory barriers in the right places TODO: eliminate false sharing between mpmc_ptr_ring members TODO: reconsider atomic_long_t vs. atomic_t, vs. the type of size in _init() TODO: sprinkle likely/unlikely on some branches FIXME: it still crashes Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
* queueing: remove useless spinlocks on scJason A. Donenfeld2018-06-161-1/+1
| | | | Since these are the only consumers, there's no need for locking.
* global: year bumpJason A. Donenfeld2018-01-031-1/+1
|
* global: add SPDX tags to all filesGreg Kroah-Hartman2017-12-091-1/+4
| | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: infuriating kernel iterator styleJason A. Donenfeld2017-10-311-1/+1
| | | | | | | | | | | | | | | | | One types: for (i = 0 ... So one should also type: for_each_obj (obj ... But the upstream kernel style guidelines are insane, and so we must instead do: for_each_obj(obj ... Ugly, but one must choose his battles wisely.
* queueing: move from ctx to cbJason A. Donenfeld2017-10-051-16/+0
|
* queueing: use ptr_ring instead of linked listsJason A. Donenfeld2017-10-051-4/+15
|
* global: add space around variable declarationsJason A. Donenfeld2017-10-031-0/+2
|
* queueing: more standard init/uninit namesJason A. Donenfeld2017-09-251-2/+2
|
* queue: entirely rework parallel systemJason A. Donenfeld2017-09-181-0/+46
This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning.