[PATCH] x86, Fix broken LDT access in VMI

Previous thread: sleeping function called from invalid context at kernel/mutex.c by Sitsofe Wheeler on Tuesday, September 30, 2008 - 10:00 am. (1 message)

Next thread: ath5k tries to free an IRQ that is already-free by Sitsofe Wheeler on Tuesday, September 30, 2008 - 11:15 am. (1 message)
From: Zachary Amsden
Date: Tuesday, September 30, 2008 - 11:02 am

This one took a long time to rear up because LDT usage is not very
common, but the bug is quite serious.  It got introduced along with
another bug, already fixed, by 75b8bb3e56ca09a467fbbe5229bc68627f7445be 

Please apply.  Fix should also be headed for stable tree and backported,
it is really sadly trivial.  Glauber, Ingo, sorry for the offlist
posting, somehow the original missed LKML.

Zach
From: Ingo Molnar
Date: Tuesday, September 30, 2008 - 12:13 pm

oops. Applied to tip/x86/urgent, thanks Zachary!

	Ingo
--

From: Parag Warudkar
Date: Tuesday, September 30, 2008 - 3:49 pm

For a few seconds I thought it was diff going mad diff'ing exactly
similar lines.

This one could actually use some capitalization to reduce the
possibility of similar problems in future - rename to write_IDT_entry
and write_LDT_entry perhaps?

Parag
--

Previous thread: sleeping function called from invalid context at kernel/mutex.c by Sitsofe Wheeler on Tuesday, September 30, 2008 - 10:00 am. (1 message)

Next thread: ath5k tries to free an IRQ that is already-free by Sitsofe Wheeler on Tuesday, September 30, 2008 - 11:15 am. (1 message)