git: kern: Add per-cpu helper threads, which handles lwkt messages.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Mar 29 05:31:32 PDT 2017


commit 0e4ac8cf74f44ec920cf9cdb23119f3ff3ede310
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Mar 27 13:14:16 2017 +0800

    kern: Add per-cpu helper threads, which handles lwkt messages.
    
    They will be used to avoid netisr abusing.

Summary of changes:
 sys/conf/files                                     |   1 +
 sys/dev/acpica/acpi_cpu_cstate.c                   |  68 ++++-----
 sys/dev/acpica/acpi_cpu_pstate.c                   | 124 ++++++++---------
 sys/dev/powermng/clockmod/clockmod.c               |  32 ++---
 sys/dev/powermng/perfbias/perfbias.c               |  32 ++---
 sys/kern/subr_cpuhelper.c                          | 154 +++++++++++++++++++++
 .../sys/sched_getaffinity.c => sys/sys/cpuhelper.h |  54 ++++----
 7 files changed, 290 insertions(+), 175 deletions(-)
 create mode 100644 sys/kern/subr_cpuhelper.c
 copy lib/libc/sys/sched_getaffinity.c => sys/sys/cpuhelper.h (71%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e4ac8cf74f44ec920cf9cdb23119f3ff3ede310


-- 
DragonFly BSD source repository



More information about the Commits mailing list