From: Hank Janssen <hjanssen@microsoft.com>
To: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"virtualization@lists.osdl.org" <virtualization@lists.osdl.org>
Cc: Haiyang Zhang <haiyangz@microsoft.com>,
Hashir Abdi <habdi@microsoft.com>
Subject: Ringbuffer usage in Linux Hyper-V drivers
Date: Wed, 3 Mar 2010 16:42:27 +0000 [thread overview]
Message-ID: <8AFC7968D54FB448A30D8F38F259C56212EE39C0@TK5EX14MBXC116.redmond.corp.microsoft.com> (raw)
In-Reply-To: <20100217235223.GG12197@kroah.com>
All,
I have been looking at one of the TODO items in the Linux Hyper-V drivers.
Specifically the one that says;
- remove RingBuffer.c to use in-kernel ringbuffer functions instead.
I spend some time figuring out the ring buffer capability inside of the Linux
Kernel to see if we could change the Hyper-V ring buffer out for the in-kernel
ring buffer capability.
The ring buffer in the Hyper-V Linux drivers is used to communicate with the
parent partition running Server 2008 Hyper-V. The ring buffer functionality on
the Hyper-V Linux drivers is written to be functionally compatible with" the
ring buffer functionality on the Hyper-V Server. Consequently, it is not
possible to make any changes that might break the compatibility with server
side ring buffer implementation.
There is a pretty good chance that ring buffer on Hyper-V will change to support
additional functionality. I did further investigations to check on other
virtualization technologies. And this same things seems to be true for XEN,
they also implemented their own ring buffer implementation on the guest side
because of their host side implementation.
So my question is to the community at large, am I missing something that would
enable me to use an existing ring buffer functionality somehow in the kernel?
If not, I want to remove the line from the TODO file that is requesting to use the
in-kernel ring buffer functionality.
Finally, while checking this out, I looked at a bunch of non virtualization device
drivers currently in the kernel. And all the ones I looked at have
implemented their own ring buffer. Is there a reason why this might be the case?
As usual, any help is appreciated.
Thanks,
Hank Janssen.
next prev parent reply other threads:[~2010-03-03 16:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 20:58 [PATCH 1/1] Stage: hv: Rename struct device_context and re-arrange the fields inside (re-formatted) Haiyang Zhang
2010-02-17 21:05 ` Greg KH
2010-02-17 23:50 ` Greg KH
2010-02-17 23:52 ` Greg KH
2010-02-18 15:51 ` Haiyang Zhang
2010-03-03 16:42 ` Hank Janssen [this message]
2010-03-03 17:49 ` Ringbuffer usage in Linux Hyper-V drivers Jeremy Fitzhardinge
2010-03-03 23:39 ` Greg KH
2010-03-04 17:46 ` [PATCH 1/1] Stage: hv: Remove Ringbuffer from TODO line Hank Janssen
2010-03-04 17:48 ` [PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format Hank Janssen
2010-03-04 17:55 ` Joe Perches
2010-03-04 18:03 ` Randy Dunlap
2010-03-04 18:11 ` Hank Janssen
2010-03-04 22:11 ` [PATCH 1/1] Stage: hv: Corrected all header comments to follow kernel-doc format-CORRECTED Hank Janssen
2010-03-04 22:11 ` Hank Janssen
2010-03-04 22:37 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8AFC7968D54FB448A30D8F38F259C56212EE39C0@TK5EX14MBXC116.redmond.corp.microsoft.com \
--to=hjanssen@microsoft.com \
--cc=devel@driverdev.osuosl.org \
--cc=habdi@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=virtualization@lists.osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.