Re: [PATCH 01/12] Force always inline for gcc 4.5 when optimizingfor size
From: Dave Airlie
Date: Sun May 22 2011 - 03:22:32 EST
> some subsystems (in my kernel) had a real problem. The biggest
> offender was DRM. I fixed those up manually by removing
> inlines. With these changes (and disabling DRM debugging, which is on
> by default) I get a kernel with force inline that is a few KB smaller.
> With DRM debugging enabled it's about 50k larger (nearly
> all of it in DRM, mostly radeon). I hope the default for this
> can be changed.
Oh these look like a good plan, one of our contributors has an inline
fetish and it got cut-n-pasted into a few places particular in radeon.
But we won't be turning DRM debugging off, its what we use to debug things
in the field, I did get a patch recently to reduce some of its overhead
5ad3d8831f0c97257460c11ddcc1cc0466c762d4 in my drm-next branch,
drm: Create and use drm_err from Joe Perches.
Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/