Commit Graph

18827 Commits

Author SHA1 Message Date
Artturi
1c1c182814
Merge pull request #192851 from Artturin/treewides1 2022-09-28 00:50:06 +03:00
github-actions[bot]
8d941befdb
Merge staging-next into staging 2022-09-27 18:04:48 +00:00
github-actions[bot]
3f66160994
Merge master into staging-next 2022-09-27 18:04:13 +00:00
Franz Pletz
80313e055c
Merge pull request #193179 from amarshall/kernel-hardened-usercopy
linux: Enable HARDENED_USERCOPY
2022-09-27 18:21:23 +02:00
Andrew Marshall
7c49efdd2a linux: Enable HARDENED_USERCOPY
Enabled in [Arch][1], [Debian][2], [Fedora][3]. Recommended by [Kernel
Self Protection Project][4]. Originally [reported to have no noticeable
performance impact][5].

[1]: 66d72ee54a/trunk/config (L10252)
[2]: 07731f5956/debian/config/config (L7710)
[3]: 6d6ad72f0c/f/kernel-x86_64-fedora.config (_2202)
[4]: https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings
[5]: https://lwn.net/Articles/695991/
2022-09-27 09:21:48 -04:00
PedroHLC ☭
690c606fcc
linux-lqx: 5.19.11-lqx1 -> 5.19.11-lqx2 2022-09-27 08:17:52 -03:00
github-actions[bot]
892a84aea0
Merge staging-next into staging 2022-09-26 18:02:33 +00:00
github-actions[bot]
59a37c822b
Merge master into staging-next 2022-09-26 18:01:53 +00:00
Artturin
0734f54ef2 treewide: move pkg-config, autoreconfHook, intltool to nativeBuildInputs
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Maximilian Bosch
f5634aec0d
linux: 5.4.213 -> 5.4.214 2022-09-26 13:24:14 +02:00
Maximilian Bosch
e33dff4d6c
linux: 5.19.9 -> 5.19.11 2022-09-26 13:24:14 +02:00
Maximilian Bosch
2a6848c41f
linux: 5.15.68 -> 5.15.70 2022-09-26 13:24:14 +02:00
Maximilian Bosch
658cf99cfd
linux: 5.10.143 -> 5.10.145 2022-09-26 13:24:13 +02:00
Maximilian Bosch
56eac8d627
linux: 4.9.328 -> 4.9.329 2022-09-26 13:24:13 +02:00
Maximilian Bosch
6d6910f87d
linux: 4.19.258 -> 4.19.259 2022-09-26 13:24:13 +02:00
Maximilian Bosch
047d538aea
linux: 4.14.293 -> 4.14.294 2022-09-26 13:24:13 +02:00
R. Ryantm
0f3c5ed71e libcap: 2.65 -> 2.66 2022-09-26 10:47:40 +10:00
github-actions[bot]
e0bea8e017
Merge staging-next into staging 2022-09-26 00:03:58 +00:00
Martin Weinelt
68c0ca4416 Merge remote-tracking branch 'origin/master' into staging-next 2022-09-25 21:36:31 +02:00
PedroHLC ☭
b49efa0116
linux-lqx: 5.19.10 -> 5.19.11 2022-09-25 11:57:41 -03:00
PedroHLC ☭
408d220f0e
linux-zen: 5.19.10 -> 5.19.11 2022-09-25 11:54:53 -03:00
Nick Cao
5a4cda3af3 usbguard: fix cross compilation 2022-09-24 10:20:10 +02:00
Graham Christensen
1379da1098
Merge pull request #192447 from DeterminateSystems/drop-l
treewide: drop -l$NIX_BUILD_CORES
2022-09-22 19:06:21 -04:00
Graham Christensen
c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
Vladimír Čunát
e9a9c34f4b
Merge branch 'staging-next' into staging 2022-09-22 19:08:09 +02:00
Vladimír Čunát
3671ea902a
Merge branch 'master' into staging-next 2022-09-22 19:06:26 +02:00
Maximilian Bosch
b2ec74836b
Merge pull request #191670 from Ma27/fix-hardened-kernel-update
linux/hardened: fix update script and build for 5.19
2022-09-22 11:03:31 +02:00
github-actions[bot]
2773f22a43
Merge staging-next into staging 2022-09-21 18:02:00 +00:00
github-actions[bot]
57e15d64c3
Merge master into staging-next 2022-09-21 18:01:25 +00:00
superherointj
fd82ce6fae
Merge pull request #192185 from NickCao/nvidia
linuxPackages.nvidia_x11: 515.65.01 -> 515.76
2022-09-21 11:00:28 -03:00
github-actions[bot]
ef4dc6ef6a
Merge staging-next into staging 2022-09-21 12:02:28 +00:00
github-actions[bot]
15bbf4d3fc
Merge master into staging-next 2022-09-21 12:01:48 +00:00
Sandro
26ce434926
Merge pull request #192060 from wegank/prl-tools-update 2022-09-21 11:33:04 +02:00
Nick Cao
60b61935ad
linuxPackages.nvidia_x11: 515.65.01 -> 515.76 2022-09-21 13:01:08 +08:00
github-actions[bot]
1b62f29126
Merge staging-next into staging 2022-09-21 00:04:25 +00:00
github-actions[bot]
7da9ac9ae6
Merge master into staging-next 2022-09-21 00:03:46 +00:00
github-actions[bot]
8f0ab599e7
Merge staging-next into staging 2022-09-20 18:02:06 +00:00
github-actions[bot]
2f49e0bb89
Merge master into staging-next 2022-09-20 18:01:23 +00:00
PedroHLC ☭
79359cc1e2
linux-zen: 5.19.9 -> 5.19.10 2022-09-20 13:46:57 -03:00
PedroHLC ☭
7c03f6b13a
linux-lqx: 5.19.9 -> 5.19.10 2022-09-20 13:45:54 -03:00
Sandro
95d3c49389
Merge pull request #175406 from SuperSandro2000/systemd-null 2022-09-20 17:09:26 +02:00
github-actions[bot]
abd82bc57d
Merge staging-next into staging 2022-09-20 12:02:05 +00:00
github-actions[bot]
1edfa00d80
Merge master into staging-next 2022-09-20 12:01:29 +00:00
Weijia Wang
e15bc1fadd prl-tools: 18.0.1-53056 -> 18.0.2-53077 2022-09-20 12:28:34 +02:00
Jonas Heinrich
77984dedc4
Merge pull request #191851 from wentasah/usbrelay-1.0.1
usbrelay: 1.0 -> 1.0.1
2022-09-20 12:23:36 +02:00
github-actions[bot]
5fa64c31c5
Merge staging-next into staging 2022-09-19 18:03:20 +00:00
Martin Weinelt
f1dcc2356b
Merge pull request #191333 from NixOS/python-updates 2022-09-19 18:23:07 +02:00
Martin Weinelt
5b5df09987
waydroid: build with format other 2022-09-19 16:06:09 +02:00
Martin Weinelt
b60e4d71d6 python3Packages.python-ldap: rename from ldap 2022-09-19 10:37:49 +02:00
github-actions[bot]
17ef793813
Merge staging-next into staging 2022-09-19 06:24:53 +00:00