Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 07:23:31 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip.h
Message-ID:  <200701120723.l0C7NVeE023527@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2007-01-12 07:23:31 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          ip.h 
  Log:
  Marking this as __packed was needed to get the alignment and offset of
  members right.  However, it also said it was aligned(1), which meant
  that gcc generated really bad code.  Mark this as aligned(4).  This
  makes things a little faster on arm (a couple percent), but also saves
  about 30k on the size of the kernel for arm.
  
  I talked about doing this with bde, but didn't check with him before
  the commit, so I'm hesitant say 'reviewed by: bde'.
  
  Revision  Changes    Path
  1.30      +1 -1      src/sys/netinet/ip.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701120723.l0C7NVeE023527>