Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2020 10:42:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD
Message-ID:  <bug-204521-227-myJakQQHOo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204521-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204521-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #155 from Gary Jennejohn <gljennjohn@gmail.com> ---
(In reply to hlh from commsc->rtsx_mmc_devent #154)
This disagress with your comment in 151, which implies you were worried about
modifying sc->rtsx_mmc_dev when it's not under the lock.  If that's the case
then it should be re-locked beforehand.
IMO reacquiring the lock is no big deal.  It's not like this code is executed
millions of time per second.  And it makes it clear exactly why the lock is
being used.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204521-227-myJakQQHOo>