Page MenuHomeFreeBSD

sys/vm/uma_core.c:zone_import() Wrap stripe variable in #ifdef NUMA
ClosedPublic

Authored by sbruno on Jul 3 2018, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 16, 10:27 PM
Unknown Object (File)
Jan 11 2024, 10:56 PM
Unknown Object (File)
Dec 29 2023, 8:56 PM
Unknown Object (File)
Aug 22 2023, 11:59 AM
Unknown Object (File)
May 23 2023, 11:46 AM
Unknown Object (File)
May 3 2023, 1:40 AM
Unknown Object (File)
Apr 25 2023, 9:39 AM
Unknown Object (File)
Apr 7 2023, 4:28 PM
Subscribers

Details

Summary

stripe seems to be unused on targets that don't support NUMA.
Wrap this variable completely inside of #ifdef NUMA. Found with gcc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

/home/sbruno/bsd/fbsd_head/sys/vm/uma_core.c: In function 'zone_import':
/home/sbruno/bsd/fbsd_head/sys/vm/uma_core.c:2774:6: warning: variable 'stripe' set but not used [-Wunused-but-set-variable]
  int stripe;
This revision was not accepted when it landed; it landed in state Needs Review.Jul 7 2018, 1:38 PM
This revision was automatically updated to reflect the committed changes.