CVS commit: src/sys/external/bsd/common/linux

2020-02-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Feb 1 22:38:05 UTC 2020 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fix abuse of TAILQ_CONCAT. Other parts of this expect that the entries will be on wq->wq_queue or wq->wq_dqueue, so we c

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:25:43 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Workqueue lock must be at IPL_VM for use in interrupts, duh. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:07:44 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Don't skimp on the last batch of work when worker is dying. This is capitalism. We can't afford to waste time the worke

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:06:37 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Sprinkle dtrace probes all over the Linux workqueue stuff. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.4

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:06:20 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fix post-cancellation case of queue_delayed_work. Request the callout queue immediately, as if it hadn't been cancelled

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:05:45 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fix flush_delayed_work semantics: run it now if it was scheduled. To generate a diff of this commit: cvs rdiff -u -r1.3

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:05:30 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Reorder fields to get better space savings than bit fields. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:03:59 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Deduplicate callout destruction. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/external/bsd/com

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:05:16 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Document workqueue semantics as I understand it. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:04:45 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Don't let more than one thread claim credit for cancellation. To generate a diff of this commit: cvs rdiff -u -r1.33 -r

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:02:52 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fix bugs in workqueue destruction. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/external/bsd/c

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:04:19 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Merge two similar branches. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/external/bsd/common/l

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:04:32 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Factor out waiting for current work. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/external/bsd

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:02:19 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: No need to retry in cancel_delayed_work_sync after all. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 s

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:03:33 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Handle a bazillion additional cases I hadn't considered. There's a lot of duplication here. To be deduplicated in a sub

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:03:45 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Deduplicate callout initialization. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/external/bsd/

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:03:07 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Reverse the sense of some branches for simplicity. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sy

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:02:08 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Deduplicate post-cancellation logic. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/external/bsd

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:02:38 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Fully initialize workqueue struct. Zalloc for paranoia. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 s

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:01:47 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Don't touch a work after it is released. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/external

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:01:13 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Non-waiting cancellation may need to release work too. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 sr

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:00:27 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Don't wait forever to flush if the worker thread has no work. To generate a diff of this commit: cvs rdiff -u -r1.18 -r

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:58:57 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Add missing break. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/common/linux/linu

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 15:00:58 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: After cancel and callout_halt, may need to reload workqueue. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:58:09 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Work is not necessarily queued in flush_work either. Regularize style: use initializer only if the wq is guaranteed, and

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:59:20 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Exercise greater care in acquiring and releasing work. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 sr

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:59:58 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Sprinkle some assertions. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/external/bsd/common/lin

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:58:24 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Add KASSERT about state after callout fires. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/exte

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:57:55 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Work is not necessarily queued in cancel_work. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/ex

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:48:48 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Make flush_delayed_work actually run it. Oops. XXX pullup-7 XXX pullup-8 To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 14:10:54 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Disable broken workqueue_whoami garbage. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/external/

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 13:38:51 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Omit vestigial cruft. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/common/linux/lin

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 13:38:32 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Try to avoid uninitialized garbage that gcc helpfully ignores. To generate a diff of this commit: cvs rdiff -u -r1.7 -r

CVS commit: src/sys/external/bsd/common/linux

2018-08-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Aug 27 13:35:55 UTC 2018 Modified Files: src/sys/external/bsd/common/linux: linux_work.c Log Message: Try not to ask rbtree to overwrite random fields with garbage. To generate a diff of this commit: cvs rdiff -u -r1.6 -r