Message ID | 20221201050444.2785007-1-yhs@fb.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2c40d97da1a25be815c91d6ebcd734d96d5732e8 |
Delegated to: | BPF |
Headers | show |
Series | [bpf-next,1/2] bpf: Enable sleeptable support for cgrp local storage | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Wed, 30 Nov 2022 21:04:44 -0800 you wrote: > Similar to sk/inode/task local storage, enable sleepable support for > cgrp local storage. > > Signed-off-by: Yonghong Song <yhs@fb.com> > --- > kernel/bpf/verifier.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Here is the summary with links: - [bpf-next,1/2] bpf: Enable sleeptable support for cgrp local storage https://git.kernel.org/bpf/bpf-next/c/2c40d97da1a2 - [bpf-next,2/2] bpf: Add sleepable prog tests for cgrp local storage https://git.kernel.org/bpf/bpf-next/c/41d76c721c5c You are awesome, thank you!
diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c index d0ecc0b18b20..1170947c2d65 100644 --- a/kernel/bpf/verifier.c +++ b/kernel/bpf/verifier.c @@ -14135,10 +14135,11 @@ static int check_map_prog_compatibility(struct bpf_verifier_env *env, case BPF_MAP_TYPE_INODE_STORAGE: case BPF_MAP_TYPE_SK_STORAGE: case BPF_MAP_TYPE_TASK_STORAGE: + case BPF_MAP_TYPE_CGRP_STORAGE: break; default: verbose(env, - "Sleepable programs can only use array, hash, and ringbuf maps\n"); + "Sleepable programs can only use array, hash, ringbuf and local storage maps\n"); return -EINVAL; }
Similar to sk/inode/task local storage, enable sleepable support for cgrp local storage. Signed-off-by: Yonghong Song <yhs@fb.com> --- kernel/bpf/verifier.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)