Re: [PATCH v10 02/13] x86/insn-eval: Compute linear address in several utility functions

From: Ingo Molnar
Date: Sat Nov 04 2017 - 04:26:27 EST



* Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx> wrote:

> Plus, one more advantage of using char/short/int/long is that when building a
> 32-bit kernel long will be a 32-bit type. Thus, all the aritmetic would be
> naturally done with variables of the appropriate width. Perhaps I could use
> u8/u16/u32/long? It looks white odd, though.

Ok, I agree that this aspect is important - and mixing u8/u16/u32 with 'long'
would look a bit weird.

Let's keep the char/short/int/long types for now.

Thanks,

Ingo