Date: Mon, 08 May 2017 21:33:34 +0300 From: Vladimir Kondratyev <vladimir@kondratyev.su> To: freebsd-arch@freebsd.org Subject: psm(4) & atkbdc(4) locking Message-ID: <a50871663d281c388e16b146496ed035@kondratyev.su>
next in thread | raw e-mail | index | archive | help
Hi All In order to implement evdev support in psm(4) driver I`m going to add mutexes to psm and atkbdc drivers and mark psm interrupt and cdev handlers MPSAFE. Atkbd(4) is depending on Giant like before. Locking of these drivers seems to be low-hanging fruit as spl() calls are still in place but it has not occurred. Does someone know why it is not done yet? For reasons other than "Nobody took care of it"? Any hidden traps? Patches can be found here: https://reviews.freebsd.org/D10263 (atkbdc, serialize hw registers access) https://reviews.freebsd.org/D10264 (psm, serialize softc access, mark interrupt and cdev handlers MPSAFE) -- WBR Vladimir Kondratyev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a50871663d281c388e16b146496ed035>