lkml.org 
[lkml]   [2008]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef
From
Date
On Wed, 2008-09-10 at 16:14 +0400, Alexey Dobriyan wrote:
> On Wed, Sep 10, 2008 at 02:22:04PM +0300, Kirill A. Shutemov wrote:
> > --- a/include/linux/dlm_plock.h
> > +++ b/include/linux/dlm_plock.h
>
> > +#include <linux/types.h>
>
> I'd say that unless you can demonstrate compilation breakage, these will
> only slow down compilation.

Not really. GCC notices the include guard pattern and won't even bother
to open the file the second and subsequent time it's included within a
compilation. I'd be astonished if you can measure any real slowdown at
all.

--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation



\
 
 \ /
  Last update: 2008-09-10 16:23    [W:0.658 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site