[PATCH openEuler-21.09 3/3] srcu: Take early exit on memory-allocation failure