Copying this code requires a (global) pool and rv declaration. We don't need to replace this upon restart, so the global pool is ideal, and ap_my_generation is a good test for this.