Thread (37 messages) 37 messages, 5 authors, 2025-06-11

Re: [PATCH v6 4/9] x86/nmi: Assign and register NMI-source vectors

From: Sohil Mehta <hidden>
Date: 2025-06-03 22:33:39
Also in: kvm, linux-edac, linux-perf-users, linux-pm, lkml

On 6/3/2025 2:54 PM, Dave Hansen wrote:
On 6/3/25 13:22, Sohil Mehta wrote:
quoted
With an enum, it's harder to figure out the exact sources when let's say
the source bitmap is printed as 0x0090.
Uhh, then don't print a bitmap. ;)
Ah! Didn't look at it that way.
/proc/cpuinfo doesn't print out CPUID leaves, it prints out bits mapped
to strings.
Hasn't that caused more pains than gains :p But, point taken, I'll give
it a shot.
Look at the kmalloc trace points:

            Xorg-4589    [003] ..... 1568557.823993: kmalloc: ...
gfp_flags=GFP_KERNEL
            Xorg-4589    [003] ..... 1568557.823993: kmalloc: ...
gfp_flags=GFP_KERNEL

gfp_flags are a bitmap, yet they're mapped out with strings and symbolic
names.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help