cvs commit: src/sys/kern kern_resource.c src/sys/ufs/ffs ffs_snapshot.c

John Baldwin jhb at FreeBSD.org
Tue Apr 22 13:45:40 PDT 2003


jhb         2003/04/22 13:45:38 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_resource.c 
    sys/ufs/ffs          ffs_snapshot.c 
  Log:
  Lock both the proc lock and sched_lock when calling sched_nice since
  kg_nice is now protected by both.  Being protected by both means that
  other places in the kernel that want to read kg_nice only need one of the
  two locks.
  
  Revision  Changes    Path
  1.124     +2 -0      src/sys/kern/kern_resource.c
  1.68      +10 -1     src/sys/ufs/ffs/ffs_snapshot.c


More information about the cvs-src mailing list