Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



ad%NetBSD.org@localhost wrote:

>       src/sys/kern: init_main.c kern_cpu.c kern_synch.c sched_4bsd.c
 :
> Log Message:
> Add cpuctl(8). For now this is not much more than a toy for debugging and
> benchmarking that allows taking CPUs online/offline.

kern_cpu.c now refers ci->ci_curlwp:

+               } while (ci->ci_curlwp != ci->ci_data.cpu_idlelwp);

but some ports don't have the member in struct cpu_info.
Should we prepare it as ci_cpuid on all ports?
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index