public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] vDSO reference parser updates and Go workaround
@ 2014-06-12 18:47 Andy Lutomirski
  2014-06-12 18:47 ` [PATCH 1/3] doc,vdso: Rename vdso_test.c to vdso_standalone_test_x86.c Andy Lutomirski
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andy Lutomirski @ 2014-06-12 18:47 UTC (permalink / raw)
  To: hpa, Kui Zhang; +Cc: x86, linux-kernel@vger.kernel.org, Andy Lutomirski

Patches 1 and 2 update the vDSO reference parser.

Despite the late submission, this might be 3.16 material: it's just
documentation.  If I'd been more on top of this, I would have done it
for 3.15.  It's also probably worthwhile given that there is at least
one rather buggy vDSO parser in the wild.

Patch 3 makes "Hello world" as built by Go stop segfaulting.  It's
a performance regression for Go programs: it causes them to stop
finding any symbols in the vDSO, but that's a lot better than
segfaulting.  It has big-endian issues, though, and it's ugly,
and it should probably be disabled for x32.

Andy Lutomirski (3):
  doc,vdso: Rename vdso_test.c to vdso_standalone_test_x86.c
  doc,vdso: Make vDSO examples more portable
  x86,vdso: Hack to keep 64-bit Go programs working

 Documentation/vDSO/parse_vdso.c               |  59 ++++++------
 Documentation/vDSO/vdso_standalone_test_x86.c | 128 ++++++++++++++++++++++++++
 Documentation/vDSO/vdso_test.c                | 103 +++++----------------
 arch/x86/vdso/Makefile                        |   2 +-
 arch/x86/vdso/vdso-fakesections.c             |  20 ++++
 arch/x86/vdso/vdso2c.h                        |  21 ++++-
 6 files changed, 219 insertions(+), 114 deletions(-)
 create mode 100644 Documentation/vDSO/vdso_standalone_test_x86.c
 create mode 100644 arch/x86/vdso/vdso-fakesections.c

-- 
1.9.3


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

end of thread, other threads:[~2014-06-13  1:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 18:47 [PATCH 0/3] vDSO reference parser updates and Go workaround Andy Lutomirski
2014-06-12 18:47 ` [PATCH 1/3] doc,vdso: Rename vdso_test.c to vdso_standalone_test_x86.c Andy Lutomirski
2014-06-12 18:47 ` [PATCH 2/3] doc,vdso: Make vDSO examples more portable Andy Lutomirski
2014-06-12 20:01   ` H. Peter Anvin
2014-06-12 18:47 ` [PATCH 3/3] x86,vdso: Hack to keep 64-bit Go programs working Andy Lutomirski
2014-06-12 20:21   ` H. Peter Anvin
2014-06-13  1:09     ` Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox