[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yw7YW+2LKGyfYHDb@hoboy.vegasvil.org>
Date: Tue, 30 Aug 2022 20:41:15 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Csókás Bence <csokas.bence@...lan.hu>
Cc: Andrew Lunn <andrew@...n.ch>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, qiangqing.zhang@....com,
kernel@...gutronix.de, Marc Kleine-Budde <mkl@...gutronix.de>
Subject: Re: [PATCH v2] net: fec: Use unlocked timecounter reads for saving
state
On Tue, Aug 30, 2022 at 05:05:24PM +0200, Csókás Bence wrote:
> 3. The final option, check if we are in an atomic or otherwise
> non-interruptible context, and if not, take a mutex. Otherwise, proceed
> normally. Which is this version of the patch.
Just replace the mutex with a spinlock.
Thanks,
Richard
Powered by blists - more mailing lists