Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2003 13:45:39 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_resource.c src/sys/ufs/ffs ffs_snapshot.c
Message-ID:  <200304222045.h3MKjd3g074636@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304222045.h3MKjd3g074636>