update/fixes for sleep/wake options
 Revert arm rwsem algorithm