]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update the ULE scheduler + thread and kinfo structs to use int for cpuid
authorAdrian Chadd <adrian@FreeBSD.org>
Sat, 18 Oct 2014 19:36:11 +0000 (19:36 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sat, 18 Oct 2014 19:36:11 +0000 (19:36 +0000)
commite77f9fed15f3bd8e320e1d4544b7600bf7413832
tree001cb1730d8c530fa2dede702f8a9a45fb21aef9
parent7c26b0a7c8954a82b1250b6dbb2e793bf3da8e91
Update the ULE scheduler + thread and kinfo structs to use int for cpuid
rather than u_char.

To try and play nice with the ABI, the u_char CPU ID values are clamped
at 254.  The new fields now contain the full CPU ID, or -1 for no cpu.

Differential Revision: D955
Reviewed by: jhb, kib
Sponsored by: Norse Corp, Inc.
lib/libkvm/kvm_proc.c
sys/compat/freebsd32/freebsd32.h
sys/kern/kern_proc.c
sys/kern/sched_ule.c
sys/sys/proc.h
sys/sys/user.h