Message ID | 20210914235400.59427-1-mcroce@linux.microsoft.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | BPF |
Headers | show |
Series | [bpf-next,v2] bpf: update bpf_get_smp_processor_id() documentation | expand |
Context | Check | Description |
---|---|---|
bpf/vmtest-bpf-PR | success | PR summary |
bpf/vmtest-bpf-next-PR | success | PR summary |
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for bpf-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | warning | 5 maintainers not CCed: kpsingh@kernel.org john.fastabend@gmail.com songliubraving@fb.com netdev@vger.kernel.org kafai@fb.com |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 11872 this patch: 11872 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | warning | WARNING: please, no space before tabs |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 11502 this patch: 11502 |
netdev/header_inline | success | Link |
bpf/vmtest-bpf-next | success | VM_Test |
bpf/vmtest-bpf | success | VM_Test |
On 9/14/21 4:54 PM, Matteo Croce wrote: > From: Matteo Croce <mcroce@microsoft.com> > > BPF programs run with migration disabled regardless of preemption, as > they are protected by migrate_disable(). > Update the documentation accordingly. > > Signed-off-by: Matteo Croce <mcroce@microsoft.com> Acked-by: Yonghong Song <yhs@fb.com>
On 9/15/21 2:07 AM, Yonghong Song wrote: > On 9/14/21 4:54 PM, Matteo Croce wrote: >> From: Matteo Croce <mcroce@microsoft.com> >> >> BPF programs run with migration disabled regardless of preemption, as >> they are protected by migrate_disable(). >> Update the documentation accordingly. >> >> Signed-off-by: Matteo Croce <mcroce@microsoft.com> > > Acked-by: Yonghong Song <yhs@fb.com> Applied, thanks & also copied this over to the tools/include/uapi/linux/bpf.h .
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index d21326558d42..3e9785f1064a 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -1629,7 +1629,7 @@ union bpf_attr { * u32 bpf_get_smp_processor_id(void) * Description * Get the SMP (symmetric multiprocessing) processor id. Note that - * all programs run with preemption disabled, which means that the + * all programs run with migration disabled, which means that the * SMP processor id is stable during all the execution of the * program. * Return