[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrWHHUsd=VXUXQvdeODFFBEDr9EUQQTJ3oWbtO8aHgd3Xw@mail.gmail.com>
Date: Thu, 7 Apr 2016 17:24:54 -0700
From: Andy Lutomirski <luto@...nel.org>
To: X86 ML <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Cc: kvm list <kvm@...r.kernel.org>,
xen-devel <Xen-devel@...ts.xen.org>,
Borislav Petkov <bp@...en8.de>
Subject: Does __KERNEL_DS serve a purpose?
I can't see any reason that we need the __KERNEL_DS segment at all --
I think that everything that uses __KERNEL_DS could use __USER_DS
instead. Am I missing anything? This has been bugging me for a
while.
I mulled over this a bit when trying to understand the sysret_ss_attrs
bug and then forgot about it.
--Andy
Powered by blists - more mailing lists