Re: [x86/asm/entry] BUG: unable to handle kernel paging request

From: Linus Torvalds
Date: Mon Mar 09 2015 - 12:13:08 EST


On Mon, Mar 9, 2015 at 5:04 AM, Denys Vlasenko <vda.linux@xxxxxxxxxxxxxx> wrote:
>
> IIRC task gates weren't used in Linux at first, and now they are
> only used for double fault handler -

Actually, historical note: the TSS was very much used for task
switching originally. Not only was it a "play with how 386 works" test
vehicle, we used pretty much every part of the task switching features
(ie all the ioperm bits etc).

I forget when it was then rewritten to just do everything by hand, but
task gates very much were used.

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