Re: [PATCH v2] net: fec: Use unlocked timecounter reads for saving state
From: Richard Cochran <richardcochran@gmail.com>
Date: 2022-08-31 03:41:32
From: Richard Cochran <richardcochran@gmail.com>
Date: 2022-08-31 03:41:32
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