No reason for this to be in the architecture-specific code. We're having to replicate the logic, which is quite wasteful. Example: see `ps_refcnt` is moved out of arch-specific code, instead just using the architecture-specific instructions.