]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update comments for the MD functions managing contexts for new
authorkib <kib@FreeBSD.org>
Thu, 16 Jun 2016 12:05:44 +0000 (12:05 +0000)
committerkib <kib@FreeBSD.org>
Thu, 16 Jun 2016 12:05:44 +0000 (12:05 +0000)
commit496a3b1f658d32d5ed000ef2ee765245a29a6c67
tree66e95908604c725c90a1a3d19849f3f69e59521a
parent2c44599f9cf7cf8083305e492d232b68f3682570
Update comments for the MD functions managing contexts for new
threads, to make it less confusing and using modern kernel terms.

Rename the functions to reflect current use of the functions, instead
of the historic KSE conventions:
  cpu_set_fork_handler -> cpu_fork_kthread_handler (for kthreads)
  cpu_set_upcall -> cpu_copy_thread (for forks)
  cpu_set_upcall_kse -> cpu_set_upcall (for new threads creation)

Reviewed by: jhb (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Approved by: re (hrs)
Differential revision: https://reviews.freebsd.org/D6731
18 files changed:
sys/amd64/amd64/vm_machdep.c
sys/amd64/cloudabi64/cloudabi64_sysvec.c
sys/arm/arm/swtch-v6.S
sys/arm/arm/vm_machdep.c
sys/arm64/arm64/vm_machdep.c
sys/arm64/cloudabi64/cloudabi64_sysvec.c
sys/compat/linux/linux_fork.c
sys/i386/i386/vm_machdep.c
sys/kern/init_main.c
sys/kern/kern_fork.c
sys/kern/kern_kthread.c
sys/kern/kern_thr.c
sys/mips/mips/vm_machdep.c
sys/powerpc/powerpc/exec_machdep.c
sys/powerpc/powerpc/vm_machdep.c
sys/riscv/riscv/vm_machdep.c
sys/sparc64/sparc64/vm_machdep.c
sys/sys/proc.h