Bug 486228

Summary: [LTC 6.0 FEAT] 201857: Kernel vdso support
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Jenner <mjenner>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: hpicht, jjarvis, notting
Target Milestone: rcKeywords: FutureFeature
Target Release: 6.0   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-22 21:19:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 356741    

Description IBM Bug Proxy 2009-02-18 22:30:31 UTC
=Comment: #0=================================================
Hans-Georg Markgraf <mgrf.com> - 
1. Feature Overview:
Feature Id:	[201857]
a. Name of Feature:	Kernel vdso support
b. Feature Description
Add vdso support to speed up gettimeofday, clock_getres and clock_gettime. The gettimeofday system
call needs two things to come up with the correct time: 1) the content of the TOD clock and 2) the
current system time offset. The store clock (STCK) instruction can be used in a user space
application but the current system time offset is only known to the kernel. The vdso shared object
is a kernel provided shared library that contains the system time offset and the code to do the
gettimeofday calculation in user space. The same holds true for the clock_getres and the
clock_gettime calls.

2. Feature Details:
Sponsor:	zSeries
Architectures:
s390x

Arch Specificity: Purely Arch Specific Code
Affects Core Kernel: Yes
Delivery Mechanism: Direct from community
Category:	Kernel
Request Type:	Kernel - Enhancement from IBM
d. Upstream Acceptance:	Accepted
Sponsor Priority	1
f. Severity: High
IBM Confidential:	no
Code Contribution:	IBM code
g. Component Version Target:	K 2.6.29

3. Business Case
Some user space application, for example the Java virtual machine, tend to call gettimeofday very
often. By use of a vdso this operation can be accelerated by an factor of 4 thereby increasing the
performance of the user space application.

4. Primary contact at Red Hat: 
John Jarvis
jjarvis

5. Primary contacts at Partner:
Project Management Contact:
Hans-Georg Markgraf, mgrf.com, Boeblingen 49-7031-16-3978

Technical contact(s):
Gonzalo Muelas Serrano, gmuelas.com

IBM Manager:
Thomas Schwarz, t.schwarz.com

Comment 1 Bill Nottingham 2009-02-26 16:52:39 UTC
Since this has been accepted into 2.6.29, and RHEL 6 will include at least 2.6.29, marking as MODIFIED.

The feature requested has already been accepted into the upstream code base
planned for the next major release of Red Hat Enterprise Linux.

When the next milestone release of Red Hat Enterprise Linux 6 is available,
please verify that the feature requested is present and functioning as
desired.

Comment 2 Hans-Joachim Picht 2009-09-22 21:19:13 UTC
Code is included in the rhel6 kernel via upstream. Marked as
CLOSED/CURRENTRELEASE by Hans-Joachim Picht <hpicht>

Comment 3 IBM Bug Proxy 2010-04-29 10:11:15 UTC
------- Comment From mgrf.com 2010-04-29 06:00 EDT-------
This feature is successful tested on R6 beta1
Set feature to "verified"     - Thx-