Re: [PATCH] percpu: improve percpu_alloc_percpu event trace

Steven Rostedt
2022-05-10T14:51:58Z

On Tue, 10 May 2022 07:22:02 +0300
Vasily Averin <vvs@openvz.org> wrote:

> ... and when __def_gfpflag_names() traslates them to unsigned long
>
> {(unsigned long)GFP_DMA, "GFP_DMA"}, \
> {(unsigned long)__GFP_HIGHMEM, "__GFP_HIGHMEM"}, \
> {(unsigned long)GFP_DMA32, "GFP_DMA32"}, \
>
> ... it leads to sparse warnings bacuse type gfp_t was declared as 'bitwise'

Ah' it's the printing of the flag bits. Got it.

-- Steve