Page MenuHomeFreeBSD

sound: Retire PCM_LOCK in sound_oss_card_info()
Needs ReviewPublic

Authored by christos on Fri, Oct 9, 10:11 AM.
Tags
None
Referenced Files
F175367123: D60515.id189182.diff
Sat, Oct 10, 8:12 AM
F175343016: D60515.id189182.diff
Sat, Oct 10, 3:43 AM
F175335046: D60515.diff
Sat, Oct 10, 1:59 AM
Unknown Object (File)
Fri, Oct 9, 12:29 PM
Unknown Object (File)
Fri, Oct 9, 11:28 AM
Unknown Object (File)
Fri, Oct 9, 11:24 AM
Unknown Object (File)
Fri, Oct 9, 10:42 AM
Subscribers

Details

Reviewers
markj
emaste
kib
Summary

The handler reads the device name, its description and the status
string. All three are set before pcm_register() makes the device
visible, and never change afterwards. The topology lock, which is held
across the whole function, makes sure the device is not freed.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77902
Build 74785: arc lint + arc unit