Optimized arm rwsem algorithim CAF