Merge fork main 8dd30ab: writes through one view of a page are seen at its other views
The fork's guard over every view of a physical page is kept on our own block bits, known holes, kernel writes and changing blocks; what both had, ours. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
c45d109380
23 files changed
+4164
-221
No files matched your search
@@ -86,6 +86,13 @@ enum Command {
|
||||
/// Worker threads (default: every logical core).
|
||||
#[arg(long)]
|
||||
jobs: Option<usize>,
|
||||
/// Warm the run's shader cache: a file of shader hashes (the 16
|
||||
/// hex digits a run's log names a shader by, anywhere in a line);
|
||||
/// the containers with those hashes are translated into the
|
||||
/// cache and nothing else is done. Set `VICTORY_HOST_WAVE` and
|
||||
/// `VICTORY_VIEW_LIMIT` to what the run's log says of the host.
|
||||
#[arg(long)]
|
||||
warm: Option<PathBuf>,
|
||||
},
|
||||
/// Translate every shader found (as `translate` finds them) into the
|
||||
/// shader cache, so that no run has to: a few minutes, once per change
|
||||
@@ -167,6 +174,7 @@ fn main() -> Result<()> {
|
||||
pipelines,
|
||||
list,
|
||||
jobs,
|
||||
warm,
|
||||
} => {
|
||||
// `VICTORY_VIEW_LIMIT=<null slot>`: translate as on a host whose view heap is capped
|
||||
if let Some(n) = std::env::var("VICTORY_VIEW_LIMIT").ok().and_then(|v| v.parse().ok()) {
|
||||
@@ -176,6 +184,9 @@ fn main() -> Result<()> {
|
||||
if let Some(n) = std::env::var("VICTORY_HOST_WAVE").ok().and_then(|v| v.parse().ok()) {
|
||||
victory_shader::emit::set_host_max_wave(n);
|
||||
}
|
||||
if let Some(file) = warm {
|
||||
return translate::warm(paths, &file, jobs);
|
||||
}
|
||||
translate::run(paths, validate, pipelines, list, jobs)
|
||||
}
|
||||
Command::Shaders { paths, jobs } => translate::precompile(paths, jobs),
|
||||
|
||||
Reference in new issue
Block a user