DragonFly-184.108.40.2068.gd7215 master sys/dev/netif/emx if_emx.h
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?
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.
<dillon at backplane.com>
More information about the Commits