Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2011 22:08:24 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_devstat.c
Message-ID:  <201106132208.p5DM8XNC040193@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ken         2011-06-13 22:08:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_devstat.c 
  Log:
  SVN rev 223062 on 2011-06-13 22:08:24Z by ken
  
  Instead of using an atomic operation to determine whether the devstat(9)
  device node has been created, pass MAKEDEV_CHECKNAME in so that the devfs
  code will do the check.
  
  Use a regular static variable as before, that's good enough to keep us from
  calling into devfs most of the time.
  
  Suggested by:   kib
  MFC after:      1 week
  Sponsored by:   Spectra Logic Corporation
  
  Revision  Changes    Path
  1.58      +5 -3      src/sys/kern/subr_devstat.c



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