The NetBSD Project

CVS log for src/tests/kernel/threadpool_tester/threadpool_tester.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / kernel / threadpool_tester

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:02 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +502 -0 lines
Sync with HEAD

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:51:00 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +30 -30 lines
Synch with HEAD

Revision 1.3.2.1
Wed Dec 26 22:21:10 2018 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -502 lines
file threadpool_tester.c was added on branch phil-wifi on 2019-06-10 22:10:02 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 22:21:10 2018 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +17 -17 lines
Fix spurios whitespace (thank you substandard vi clones).

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 18:54:19 2018 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +15 -15 lines
- 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.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:09 2018 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +502 -0 lines
Sync with HEAD, resolve a few conflicts

Revision 1.1.2.1
Mon Dec 24 16:58:54 2018 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -502 lines
file threadpool_tester.c was added on branch pgoyette-compat on 2018-12-26 14:02:09 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 24 16:58:54 2018 UTC (5 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: pgoyette-compat-1226
Branch point for: pgoyette-compat
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>