[PATCH 2/3] cpukit/jffs2: Implement JFFS2 spinlocks

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Oct 13 07:57:28 UTC 2023


On 06.10.23 22:09, Kinsey Moore wrote:
> This provides a non-noop implementation of spinlocks for JFFS2 in terms 
> of RTEMS mutexes. POSIX spinlocks are not appropriate for the types of 
> actions that occur during a held JFFS2 spinlock and can cause bad 
> dispatch level conditions.

I think you are about to open a can of worms. So far, we had only one 
global lock for the complete JFFS2 instance. If you really want to start 
using the JFFS2 internal locking, then this should done thoroughly and 
not case by case from one issue to the next. All this delayed write 
stuff is currently not covered by tests.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list