Re: [RFC PATCH v1 47/50] kernel/bpf/core.c: Use get_random_max32()

From: Alexei Starovoitov
Date: Sat Mar 28 2020 - 13:15:50 EST


On Sat, Mar 28, 2020 at 9:46 AM George Spelvin <lkml@xxxxxxx> wrote:
>
> Smaller, faster, and a smidge more uniform than %.
>
> Signed-off-by: George Spelvin <lkml@xxxxxxx>
> Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> Cc: Alexei Starovoitov <ast@xxxxxxxxxx>
> Cc: Martin KaFai Lau <kafai@xxxxxx>
> Cc: Song Liu <songliubraving@xxxxxx>
> Cc: Yonghong Song <yhs@xxxxxx>
> Cc: Andrii Nakryiko <andriin@xxxxxx>
> Cc: bpf@xxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx

If Linus is going to pick up the whole set at once:
Acked-by: Alexei Starovoitov <ast@xxxxxxxxxx>