cvs commit: src/sys/kern kern_cpu.c

Nate Lawson njl at FreeBSD.org
Sun Feb 27 01:34:08 GMT 2005


njl         2005-02-27 01:34:08 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_cpu.c 
  Log:
  Add locking to handle multiple threads getting/setting frequencies at the
  same time.  We use an sx lock and serialize the cpufreq device's
  get/set/levels methods.
  
  Revision  Changes    Path
  1.12      +62 -15    src/sys/kern/kern_cpu.c


More information about the cvs-src mailing list