DragonFly-2.3.0.828.gd7215 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,
:sephe
    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.
					-Matt
					Matthew Dillon 
					<dillon at backplane.com>
    
    
More information about the Commits
mailing list