Messages in this thread | | | Date | Mon, 20 Sep 2021 10:12:51 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH 2/4] x86/mce: Get rid of machine_check_vector |
| |
On Sun, Sep 19, 2021 at 09:57:09PM -0700, Luck, Tony wrote: > Does this __reserved field do anything useful? It seems to > just be an annoyance that must be updated each time a new > bit is added. Surely the compiler will see that these bitfields > are in a "u64" and do the math and skip to the right boundary > without this.
It is there to tell you how many bits you have left so that you don't have to count each time. And updating it each time is simply Ctrl-x in vim.
:-)
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |