Merge night/cpu: processor work, wait instructions patched, submit thread (off)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
localandClaude Opus 5.5 committed 2026-11-25 06:21:22 -06:00
commit 55babd1acf
14 files changed
+2287 -240

No files matched your search

+5 -2
View File
@@ -218,11 +218,14 @@ unsafe impl Send for Idle {}
#[cfg(windows)]
static IDLE: std::sync::Mutex<(Vec<Idle>, u64)> = std::sync::Mutex::new((Vec::new(), 0));
/// The most host lists kept idle, and the most upload memory they may keep
/// The most host lists kept idle (128 were too few: flights land several at
/// a time, so lists were thrown away and others made in the same frame, with
/// their preludes and buffers, 12 % of the submitting thread in the opening,
/// profile cpu-1), and the most upload memory they may keep
/// between them (a list keeps scratch chunks over a reset only while lists
/// do not share them, `VICTORY_SCRATCH_POOL=0`).
#[cfg(windows)]
const IDLE_MOST: (usize, u64) = (128, 256 << 20);
const IDLE_MOST: (usize, u64) = (512, 256 << 20);
/// Whether host lists that have run are used again (on by default;
/// `VICTORY_LIST_POOL=0`: each is made new and thrown away, as before).