[ofa-general] Re: How to tell what OFED rev a distro derived IB modules?
Bart Van Assche
bart.vanassche at gmail.com
Mon Apr 27 04:03:17 PDT 2009
On Mon, Apr 27, 2009 at 8:27 AM, Jack Morgenstein
<jackm at dev.mellanox.co.il> wrote:
> The OFED distributions may contain features that the mainstream kernels and libraries do not support.
> These features frequently require changes in the Infiniband kernel modules. Such changes are in the form
> of kernel patches which are applied to the base mainstream kernel on which the OFED release is based.
> A lag between the mainstream kernel and the OFED kernel is unavoidable, since the new features are first
> released in the OFED distributions -- and later, gradually (and hopefully), these features make there way
> into the upstream kernel.
I don't doubt that there is a good reason why new features go in the
OFED distribution first and later in the mainstream Linux kernel. But
it's not clear to me why this process has been chosen. There is wide
agreement in the Linux kernel community that new kernel code should go
first in the mainstream Linux kernel and from there to the various
Linux distributions, and not the other way around. This is called the
"upstream first" policy. One of the most highly regarded kernel
maintainers (James Bottomley) wrote the following about the "upstream
first" policy:
* Major distributions have agreed not to incorporate features or
drivers unless they are on “upstream track”
for the vanilla Linux Kernel
- Obviously there’s some flexibility in interpretation of this for
their best customers
* Primary reason is that it keeps the distribution kernel code and the
vanilla kernel code as close as possible, so
- Maintenance is reduced: the distro can file a bug with the
upstream maintainer if there’s a problem.
- Testing is enhanced: users of all distributions are testing the same code
- Code Review burden is greatly reduced: Can rely on upstream
maintainers to review and accept.
More information about the "upstream first" policy can be found here:
* James Bottomley, Hacking the Linux Kernel for Fun and Profit, 5
April 2008, http://www.flourishconf.com/flourish2008/images/downloads/flourish2008-jamesbottomley-hackingthelinuxkernel.pdf.
* Jonathan Corbet, A Guide to the Linux Kernel Development Process,
2008, http://lwn.net/talks/lfeu2008/devproc/index.html.
Bart.
More information about the general
mailing list