Dmitry Chagin
f35093f8d6
Use Linux semantics for the thread affinity syscalls.
...
Linux has more tolerant checks of the user supplied cpuset_t's.
Minimum cpuset_t size that the Linux kernel permits in case of
getaffinity() is the maximum CPU id, present in the system / NBBY,
the maximum size is not limited.
For setaffinity(), Linux does not limit the size of the user-provided
cpuset_t, internally using only the meaningful part of the set, where
the upper bound is the maximum CPU id, present in the system, no larger
than the size of the kernel cpuset_t.
Unlike FreeBSD, Linux ignores high bits if set in the setaffinity(),
so clear it in the sched_setaffinity() and Linuxulator itself.
Reviewed by: Pau Amma (man pages)
In collaboration with: jhb
Differential revision: https://reviews.freebsd.org/D34849
MFC after: 2 weeks
2022-05-11 10:36:01 +03:00
John-Mark Gurney
50dd2ceaea
update command to one that will actually give results
...
Thanks-to: kevans@
2022-05-10 20:14:20 -07:00
Mateusz Guzik
826c58d665
pf: add missing unlock on error in DIOCCHANGERULE
...
Fixes: ff80dd034a
Sponsored by: Rubicon Communications, LLC ("Netgate")
2022-05-11 00:00:17 +00:00
Kirk McKusick
bf46c0a9ae
Clean up comments in fsck.h.
...
No functional change.
2022-05-10 16:06:15 -07:00
Mark Johnston
cc1a53bc1a
makefs: Fix warnings and reset WARNS to the default
...
Leave -Wcast-align disabled, at least for now, since there are numerous
instances of that warning in places where buffer pointers are cast to
pointers to various filesystem structures. Fixing this properly would
be too much work for too little gain.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2022-05-10 17:38:23 -04:00
Mark Johnston
f775c417fd
newfs_msdos: Fix warnings that arise when compiled for makefs
...
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
2022-05-10 17:26:50 -04:00
Mateusz Guzik
ff80dd034a
pf: fix DIOCCHANGERULE after pf config and rb tree of rules
...
Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
2022-05-10 21:16:47 +00:00
John Baldwin
c4a6d412c9
vchiq: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
67eeba2682
tsec: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
bce4876eb4
sec: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
0018a3041d
Remove unused sdiob_devclass.
2022-05-10 10:21:39 -07:00
John Baldwin
3a3a104edf
rt: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
2814052937
quicc: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
53e1cbefe4
qcom_*: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
b5ed1dc10c
nvram2env: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
a9424e0f06
netmap: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
8059bf7b4a
mge: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
bae71ad332
dwc_hdmi: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
da21fd61c3
gxemul: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
42d1b88893
drm2: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
d0eabbc532
drm2: Remove unused drm_devclass.
2022-05-10 10:21:39 -07:00
John Baldwin
d1524801c3
dpaa: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
678c3e53ce
dpaa bman: Remove unused bman_devclass.
2022-05-10 10:21:39 -07:00
John Baldwin
dcb5803674
dme: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
2d51cd1313
Remove unused cfi_diskclass.
2022-05-10 10:21:39 -07:00
John Baldwin
3c77ca6889
cesa: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
2ded2b9a2b
beri: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:39 -07:00
John Baldwin
69a5757280
adlink: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
0a763c165f
powerpc nexus: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
f92448c993
powerpc psim: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
9b9a532782
powerpc pseries: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
c331b0e4a3
powerpc ps3: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
5edf159ff1
powerpc powernv: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
992ae60ba4
powerpc powermac: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
5d7d6129f4
powerpc mpc85xx: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
54b3d1efbf
rbled: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
f6a99df5da
powerpc mambo: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
b9f8eda4eb
powerpc amigaone: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
52ed569ba5
Remove unused openpic_devclass.
2022-05-10 10:21:38 -07:00
John Baldwin
76979b6275
scc: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
725fda594f
powermac_nvram: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
c46fd01853
adb: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
42f777fc20
Remove unused adb_devclass.
2022-05-10 10:21:38 -07:00
John Baldwin
bb32809b74
riscv sifive: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:38 -07:00
John Baldwin
2663ef1bae
riscv: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:37 -07:00
John Baldwin
90b8b22435
xilinx: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:37 -07:00
John Baldwin
da4650a576
goldfish_rtc: Remove unused devclass argument to DRIVER_MODULE.
2022-05-10 10:21:37 -07:00
John Baldwin
a3f08403ca
xdma: Remove unused devclass arguments to DRIVER_MODULE.
2022-05-10 10:21:37 -07:00
наб
3ed04d66aa
Remove constrained path on clean
...
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
2022-05-10 10:21:13 -07:00
наб
e8ca724393
ztest: fix in-tree detection for automatic zdb path
...
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
2022-05-10 10:21:09 -07:00