userprog: use both atomic loads and stores