rwsem edits