History log of /netbsd-src/sys/dev/sysmon/sysmon_taskq.c (Results 1 – 23 of 23)
Revision Date Author Comments
# fedc5110 31-Dec-2021 riastradh <riastradh@NetBSD.org>

sysmon(9): Fix mistake in sysmon_task_queue_barrier.

Need to allocate the task structure with malloc(9), not on the stack;
the task thread will free it with free(9). Forgot to squash this
into prev

sysmon(9): Fix mistake in sysmon_task_queue_barrier.

Need to allocate the task structure with malloc(9), not on the stack;
the task thread will free it with free(9). Forgot to squash this
into previous commit.

show more ...


# 88580404 31-Dec-2021 riastradh <riastradh@NetBSD.org>

sysmon(9): New sysmon_task_queue_barrier(pri) function.

This waits for the completion of all tasks at priority pri or lower
that are currently queued at the time of the call.


# 54853d3d 31-Dec-2021 riastradh <riastradh@NetBSD.org>

sysmon: Delete trailing whitespace. No functional change intended.


# 32cded6c 08-Feb-2018 dholland <dholland@NetBSD.org>

Typos.


# 7bd37d6a 28-Apr-2015 martin <martin@NetBSD.org>

sysmon_task_queue_sched needs to RUN_ONCE(tq_preinit) as well, it can
be called from sysmon_envsys_register() early.


# 1f3e12e9 27-Apr-2015 pgoyette <pgoyette@NetBSD.org>

Replace a home-grown run-once implementation with the real RUN_ONCE()


# 0d9dbfe9 24-Apr-2015 pgoyette <pgoyette@NetBSD.org>

This really does need to return an error code, so change the
sysmon_task_queue_fini() function to have a non-void type.


# 0a66e7a0 24-Apr-2015 agc <agc@NetBSD.org>

It's a function returning void; don't return an error code.


# 8061eede 23-Apr-2015 pgoyette <pgoyette@NetBSD.org>

Modularize sysmon and its components


# c8ddbd2d 05-Sep-2008 gmcgarry <gmcgarry@NetBSD.org>

Rearrange code in the sysmon queue execution thread to simplify locking logic.
Removes unreachable code warning.


# c32766fd 06-Apr-2008 xtraeme <xtraeme@NetBSD.org>

Pass KTHREAD_MPSAFE to kthread_create(). I've been testing this for
some weeks in both UP and SMP without any issue so far.


# 0664a045 04-Jan-2008 ad <ad@NetBSD.org>

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.


# 598ab03a 05-Dec-2007 ad <ad@NetBSD.org>

Match the docs: MUTEX_DRIVER/SPIN are now only for porting code written
for Solaris.


# 5623c9a1 21-Jul-2007 xtraeme <xtraeme@NetBSD.org>

Convert sysmon_taskqueue to use mutex(9) and condvar(9) and initialize
them in init_main.c via sysmon_task_queue_preinit().

Reviewed and ok by ad@.


# 88ab7da9 09-Jul-2007 ad <ad@NetBSD.org>

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


# e31adb2d 27-Jun-2007 xtraeme <xtraeme@NetBSD.org>

Use aprint_debug rather than printf for the annoying message
"WARNING: Callback scheduled before sysmon task queue thread present.".


# 168cd830 16-Nov-2006 christos <christos@NetBSD.org>

__unused removal on arguments; approved by core.


# 4d595fd7 12-Oct-2006 christos <christos@NetBSD.org>

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 2c91ca8b 29-May-2005 christos <christos@NetBSD.org>

- add const
- avoid variable shadowing.


# 5d43dc85 06-Sep-2003 christos <christos@NetBSD.org>

Rename the thread command name so that it fits on top's display.


# 365cbd94 14-Jul-2003 lukem <lukem@NetBSD.org>

add missing __KERNEL_RCSID()


# d14efd22 20-Apr-2003 thorpej <thorpej@NetBSD.org>

Generic "task queue" for sysmon back-ends. This provides a thread
context for callbacks that require it in order to handle sysmon-related
events.

Adapted from the "OsdSchedule" bits of the ACPI cod

Generic "task queue" for sysmon back-ends. This provides a thread
context for callbacks that require it in order to handle sysmon-related
events.

Adapted from the "OsdSchedule" bits of the ACPI code.

show more ...