Re: [PATCH] Remove default_ldt, and simplify ldt-setting.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeremy Fitzhardinge wrote:
(This is the replacement for kill-default_ldt.patch.)

Remove default_ldt, and simplify ldt-setting.

This patch removes the default_ldt[] array, as it has been unused
since iBCS stopped being supported.  This means it is now possible to
actually set an empty LDT segment.

In order to deal with this, the set_ldt_desc/load_LDT pair has been
replaced with a single set_ldt() operation which is responsible for
both setting up the LDT descriptor in the GDT, and reloading the LDT
register.  If there are no LDT entries, the LDT register is loaded
with a NULL descriptor.

Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Zachary Amsden <[email protected]>

Acked-by: Zachary Amsden <[email protected]>

This looks good.

Zach
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux