Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 21:29:47 +0000 (UTC)
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/sound/pci atiixp.c
Message-ID:  <200603222129.k2MLTlS9099997@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ariff       2006-03-22 21:29:47 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pci    atiixp.c 
  Log:
  Misc. fixups:
  
  - [1] Make the driver friendly towards kernel without PREEMPTION.
    Use msleep(9) instead of simple unlock-check_variable-lock mechanisme
    since the later not really effective in non-preemptible kernel
    (especially during codec detection routine).
  - Free most driver resources in a sane manner to avoid possible
    double free and panics especially during device detach and codec
    detection failure.
  
  MFC after:      3 days
  
  [1] http://lists.freebsd.org/pipermail/freebsd-questions/2006-March/116515.html
  
  Revision  Changes    Path
  1.6       +49 -53    src/sys/dev/sound/pci/atiixp.c



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