Home | History | Annotate | Download | only in threadpool_tester
History log of /src/tests/kernel/threadpool_tester/threadpool_tester.c
RevisionDateAuthorComments
 1.3  26-Dec-2018  thorpej branches: 1.3.2;
Fix spurios whitespace (thank you substandard vi clones).
 1.2  26-Dec-2018  thorpej - De-opaque'ify struct threadpool_job.
- De-_t'ify all of the structure types.

No functional chage, no ABI change (verified with old rump unit test
before and after new librump.so).

Per Taylor's request.
 1.1  24-Dec-2018  thorpej branches: 1.1.2;
Add threadpool(9), an abstraction that provides shared pools of kernel
threads running at specific priorities, with support for unbound pools
and per-cpu pools.

Written by riastradh@, and based on the May 2014 draft, with a few changes
by me:
- Working on the assumption that a relative few priorities will actually
be used, reduce the memory footprint by using linked lists, rather than
2 large (and mostly empty) tables. The performance impact is essentially
nil, since these lists are consulted only when pools are created (and
destroyed, for DIAGNOSTIC checks), and the lists will have at most 225
entries.
- Make threadpool job object, which the caller must allocate storage for,
really opaque.
- Use typedefs for the threadpool types, to reduce the verbosity of the
API somewhat.
- Fix a bunch of pool / worker thread / job object lifecycle bugs.

Also include an ATF unit test, written by me, that exercises the basics
of the API by loading a kernel module that exposes several sysctls that
allow the ATF test script to create and destroy threadpools, schedule a
basic job, and verify that it ran.

And thus NetBSD 8.99.29 has arrived.
 1.1.2.3  18-Jan-2019  pgoyette Synch with HEAD
 1.1.2.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.1.2.1  24-Dec-2018  pgoyette file threadpool_tester.c was added on branch pgoyette-compat on 2018-12-26 14:02:09 +0000
 1.3.2.2  10-Jun-2019  christos Sync with HEAD
 1.3.2.1  26-Dec-2018  christos file threadpool_tester.c was added on branch phil-wifi on 2019-06-10 22:10:02 +0000

RSS XML Feed