File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed Expand file tree Collapse file tree 5 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -1723,6 +1723,8 @@ fn test_android(target: &str) {
1723
1723
1724
1724
// is a private value for kernel usage normally
1725
1725
"FUSE_SUPER_MAGIC" => true ,
1726
+ // linux 5.12 min
1727
+ "MPOL_F_NUMA_BALANCING" => true ,
1726
1728
1727
1729
_ => false ,
1728
1730
}
@@ -3274,6 +3276,8 @@ fn test_linux(target: &str) {
3274
3276
3275
3277
// is a private value for kernel usage normally
3276
3278
"FUSE_SUPER_MAGIC" => true ,
3279
+ // linux 5.12 min
3280
+ "MPOL_F_NUMA_BALANCING" => true ,
3277
3281
3278
3282
_ => false ,
3279
3283
}
Original file line number Diff line number Diff line change @@ -1080,6 +1080,9 @@ MODULE_INIT_IGNORE_MODVERSIONS
1080
1080
MODULE_INIT_IGNORE_VERMAGIC
1081
1081
MPOL_BIND
1082
1082
MPOL_DEFAULT
1083
+ MPOL_F_NUMA_BALANCING
1084
+ MPOL_F_RELATIVE_NODES
1085
+ MPOL_F_STATIC_NODES
1083
1086
MPOL_INTERLEAVE
1084
1087
MPOL_LOCAL
1085
1088
MPOL_PREFERRED
Original file line number Diff line number Diff line change @@ -147,6 +147,9 @@ MOD_TAI
147
147
MOD_TIMECONST
148
148
MPOL_BIND
149
149
MPOL_DEFAULT
150
+ MPOL_F_NUMA_BALANCING
151
+ MPOL_F_RELATIVE_NODES
152
+ MPOL_F_STATIC_NODES
150
153
MPOL_INTERLEAVE
151
154
MPOL_LOCAL
152
155
MPOL_PREFERRED
Original file line number Diff line number Diff line change @@ -2470,6 +2470,9 @@ pub const MPOL_PREFERRED: ::c_int = 1;
2470
2470
pub const MPOL_BIND : :: c_int = 2 ;
2471
2471
pub const MPOL_INTERLEAVE : :: c_int = 3 ;
2472
2472
pub const MPOL_LOCAL : :: c_int = 4 ;
2473
+ pub const MPOL_F_NUMA_BALANCING : :: c_int = 1 << 13 ;
2474
+ pub const MPOL_F_RELATIVE_NODES : :: c_int = 1 << 14 ;
2475
+ pub const MPOL_F_STATIC_NODES : :: c_int = 1 << 15 ;
2473
2476
2474
2477
// bits/seek_constants.h
2475
2478
pub const SEEK_DATA : :: c_int = 3 ;
Original file line number Diff line number Diff line change @@ -1483,6 +1483,9 @@ pub const MPOL_PREFERRED: ::c_int = 1;
1483
1483
pub const MPOL_BIND : :: c_int = 2 ;
1484
1484
pub const MPOL_INTERLEAVE : :: c_int = 3 ;
1485
1485
pub const MPOL_LOCAL : :: c_int = 4 ;
1486
+ pub const MPOL_F_NUMA_BALANCING : :: c_int = 1 << 13 ;
1487
+ pub const MPOL_F_RELATIVE_NODES : :: c_int = 1 << 14 ;
1488
+ pub const MPOL_F_STATIC_NODES : :: c_int = 1 << 15 ;
1486
1489
1487
1490
align_const ! {
1488
1491
pub const PTHREAD_MUTEX_INITIALIZER : pthread_mutex_t = pthread_mutex_t {
You can’t perform that action at this time.
0 commit comments