History log of /netbsd-src/tests/rump/kernspace/workqueue.c (Results 1 – 10 of 10)
Revision Date Author Comments
# 78e153c0 10-Aug-2023 riastradh <riastradh@NetBSD.org>

workqueue(9) tests: Fix mistake in rev. 1.9.

Somehow, despite manually verifying a build/install/test of every
revision in my patch series, I managed to commit the wrong version of
the file for what

workqueue(9) tests: Fix mistake in rev. 1.9.

Somehow, despite manually verifying a build/install/test of every
revision in my patch series, I managed to commit the wrong version of
the file for what became rev. 1.9, so the test was just broken when
it went in and remained broken in the commit where I fixed the real
bug and removed the xfail marker on the test.

PR kern/5757

XXX pullup-10
XXX pullup-9
XXX pullup-8

show more ...


# f8e8b7bf 09-Aug-2023 riastradh <riastradh@NetBSD.org>

workqueue(9) tests: Add test for PR kern/57574.

XXX pullup-10
XXX pullup-9
XXX pullup-8


# aab7c675 09-Aug-2023 riastradh <riastradh@NetBSD.org>

workqueue(9) tests: Destroy struct work immediately on entry.


# a8809f18 09-Aug-2023 riastradh <riastradh@NetBSD.org>

workqueue(9) tests: Nix trailing whitespace.


# bd910154 28-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Fix build


# 61673e6e 28-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Add a test case for workqueue_wait


# bfde781f 28-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Functionalize some routines to add new tests easily (NFC)


# bf33e35a 28-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Fix a race condition on taking the mutex

The workqueue worker can take the mutex before the tester tries to take it after
calling workqueue_enqueue. If it happens, the worker calls cv_broadcast befo

Fix a race condition on taking the mutex

The workqueue worker can take the mutex before the tester tries to take it after
calling workqueue_enqueue. If it happens, the worker calls cv_broadcast before
the tester calls cv_timedwait and the tester will wait until the cv timed out

Take the mutex before calling workqueue_enqueue so that the tester surely calls
cv_timedwait before the worker calls cv_broadcast.

The fix stabilizes the test, t_workqueue/workqueue1.

show more ...


# 1315c7ee 28-Dec-2017 ozaki-r <ozaki-r@NetBSD.org>

Tweak use of cv_timedwait

- Handle its return value
- Specify more appropriate time-out periods (2 ticks is too short)


# aef814ff 29-Sep-2017 maya <maya@NetBSD.org>

Add simple test for workqueue(9)