Unify user stash and processor stash implementation