DragonFly- master sys/dev/netif/emx if_emx.h

Matthew Dillon dillon at apollo.backplane.com
Tue Apr 28 18:43:26 PDT 2009

:Yeah.  However, could you tell me the major reason you want to put
:__cachealign in struct field?  I guess you worried about emx_rxdata
:being used outside of emx_softc?
:Best Regards,

    It's more obvious that the array needs to be cache-aligned if it is
    in the softc structure.  Also, it's more C-like.  Putting storage
    attributes on structural definitions is not very C-like.  The storage
    attributes should be on declarations instead.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Commits mailing list