[PATCH v3] x86/sgx: Set active memcg prior to shmem allocation