Messages in this thread | | | Date | Sun, 22 May 2011 08:21:47 +0100 (IST) | From | Dave Airlie <> | Subject | Re: [PATCH 01/12] Force always inline for gcc 4.5 when optimizing for size |
| |
> 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.
| |