[ofa-general] Re: [PATCH] Fixed memory leak in drivers/net/mlx4/main.c
Jack Morgenstein
jackm at dev.mellanox.co.il
Wed Jun 10 00:14:00 PDT 2009
On Monday 08 June 2009 18:08, Nicolas Morey-Chaisemartin wrote:
> I'm still having difficulties to understand how mainstream code and ofed code interacts.
>
The base kernel files (in this case, 2.6.30) are taken unmodified into OFED.
Adjustments (patches) to the base kernel are placed in directory kernel_patches/fixes.
Further adjustments, for earlier kernels, are placed in
kernel_patches/backports/<specific backported kernel>.
Each kernel_patches/backports/<backported kernel> is independent.
When building for a given kernel, first the "fixes" patches are applied,
then the "backport" patches for that kernel.
In addition, there is also the "kernel_addons" directory, which contains, per backport,
adjustments to include files so that we can perform fewer changes to the code when backporting.
The include files under "kernel_addons" are taken first when compiling.
-Jack
More information about the general
mailing list