cvs commit: src/sys/alpha/alpha mp_machdep.c src/sys/amd64/amd64 mp_machdep.c src/sys/i386/i386 mp_machdep.c src/sys/kern sched_ule.c src/sys/sparc64/sparc64 mp_machdep.c src/sys/sys smp.h src/sys/vm uma_core.c

John Baldwin jhb at FreeBSD.org
Wed Dec 3 06:57:28 PST 2003


jhb         2003/12/03 06:57:26 PST

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      mp_machdep.c 
    sys/amd64/amd64      mp_machdep.c 
    sys/i386/i386        mp_machdep.c 
    sys/kern             sched_ule.c 
    sys/sparc64/sparc64  mp_machdep.c 
    sys/sys              smp.h 
    sys/vm               uma_core.c 
  Log:
  Fix all users of mp_maxid to use the same semantics, namely:
  
  1) mp_maxid is a valid FreeBSD CPU ID in the range 0 .. MAXCPU - 1.
  2) For all active CPUs in the system, PCPU_GET(cpuid) <= mp_maxid.
  
  Approved by:    re (scottl)
  Tested on:      i386, amd64, alpha
  
  Revision  Changes    Path
  1.51      +0 -1      src/sys/alpha/alpha/mp_machdep.c
  1.230     +2 -2      src/sys/amd64/amd64/mp_machdep.c
  1.227     +1 -1      src/sys/i386/i386/mp_machdep.c
  1.84      +1 -1      src/sys/kern/sched_ule.c
  1.25      +2 -2      src/sys/sparc64/sparc64/mp_machdep.c
  1.76      +1 -1      src/sys/sys/smp.h
  1.89      +8 -16     src/sys/vm/uma_core.c


More information about the cvs-src mailing list