Date: Thu, 02 Jan 2020 23:47:42 +0000 From: Chris Rees <crees@FreeBSD.org> To: hackers@FreeBSD.org, jhb@freebsd.org Subject: Fixing audio/oss to use callout instead of timeouts Message-ID: <F3750395-7793-4121-8EF1-39884C63E30F@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi Hackers (and perhaps John, as the author of r355732, sorry for the duplicate), I've attempted to use the callout functions instead of the now removed timeout functions for audio/oss, and I *think* that the code already stores and retrieves the list of handlers, so it should be a simple swap out. I've made this modification and run the module with mpg123 for a while and it hasn't killed my laptop, but I'd just like to check that I have the principle correct and haven't missed anything obvious. Please would you let me know if there is anything else I should have done? https://www.bayofrum.net/cgi-bin/fossil/oss/vinfo/ad269d7cbc02bf38?diff=2 (This is the change I've made to kernel/OS/FreeBSD/os_freebsd.c in oss) https://www.bayofrum.net/cgi-bin/fossil/oss/vinfo/ad269d7cbc02bf38?diff=2&dc=9999 (This is the whole file with changes highlighted.) Thanks! Chris https://reviews.freebsd.org/rS355732 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3750395-7793-4121-8EF1-39884C63E30F>
