All of lore.kernel.org
 help / color / mirror / Atom feed
* Does __KERNEL_DS serve a purpose?
@ 2016-04-08  0:24 Andy Lutomirski
  2016-04-08  8:01   ` Andrew Cooper
  0 siblings, 1 reply; 12+ messages in thread
From: Andy Lutomirski @ 2016-04-08  0:24 UTC (permalink / raw)
  To: X86 ML, linux-kernel; +Cc: kvm list, xen-devel, Borislav Petkov

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Does __KERNEL_DS serve a purpose?
@ 2016-04-08  0:24 Andy Lutomirski
  0 siblings, 0 replies; 12+ messages in thread
From: Andy Lutomirski @ 2016-04-08  0:24 UTC (permalink / raw)
  To: X86 ML, linux-kernel; +Cc: Borislav Petkov, kvm list, xen-devel

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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-04-08 22:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08  0:24 Does __KERNEL_DS serve a purpose? Andy Lutomirski
2016-04-08  8:01 ` [Xen-devel] " Andrew Cooper
2016-04-08  8:01   ` Andrew Cooper
2016-04-08 16:00   ` Andy Lutomirski
2016-04-08 16:00   ` [Xen-devel] " Andy Lutomirski
2016-04-08 17:12     ` Paolo Bonzini
2016-04-08 22:06       ` Andy Lutomirski
2016-04-08 22:06       ` [Xen-devel] " Andy Lutomirski
2016-04-08 22:32         ` Andrew Cooper
2016-04-08 22:32         ` Andrew Cooper
2016-04-08 17:12     ` Paolo Bonzini
2016-04-08  0:24 Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.