Re: [PATCH] x86/ldt: Rename ldr_struct.size to .n_entries

From: Andy Lutomirski
Date: Tue Jun 06 2017 - 18:20:47 EST


On Tue, Jun 6, 2017 at 10:31 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> ... because this is exactly what it is: the number of entries in the
> LDT. Calling it "size" is simply confusing and it is actually begging
> to be called "n_entries" or somesuch, especially if you see constructs
> like:

In the subject: ldt_struct, perhaps?

Otherwise looks good.