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
@@ -749,6 +749,22 @@ fn log_memory() {
|
||||
let [textures, staging] = crate::pool::memory();
|
||||
tracing::info!("memory in blocks (VICTORY_TEXTURE_POOL=0 turns them off): {textures} MB of textures, {staging} MB of their staging buffers");
|
||||
}
|
||||
let targets = crate::resource::targets_census();
|
||||
tracing::info!(
|
||||
"host copies the sweep never lets go: {} the host renders to or writes {:.0} MB ({} of them placed {:.0} MB); of them {} have title memory that is not mapped now {:.0} MB, {} were not used for 30 s and are held by no list and no slot {:.0} MB, {} are both {:.0} MB; and {} copies of textures the title fills that the host copied into {:.0} MB",
|
||||
targets[0],
|
||||
mb(targets[1]),
|
||||
targets[10],
|
||||
mb(targets[11]),
|
||||
targets[2],
|
||||
mb(targets[3]),
|
||||
targets[4],
|
||||
mb(targets[5]),
|
||||
targets[6],
|
||||
mb(targets[7]),
|
||||
targets[8],
|
||||
mb(targets[9]),
|
||||
);
|
||||
tracing::info!(
|
||||
"memory let go since the start: {} windows outside buffers {:.0} MB, {} staging buffers \
|
||||
{:.0} MB; of the windows alive, {:.0} MB lie between the lowest and highest address \
|
||||
@@ -1128,6 +1144,12 @@ pub(crate) fn log(frames: f64) {
|
||||
c[C::GpuWritesLeftOut as usize],
|
||||
mb(c[C::GpuWritesLeftOutBytes as usize]),
|
||||
);
|
||||
let [together, written, mapped] =
|
||||
[0, 1, 2].map(|n| crate::watch::ALIASES[n].load(std::sync::atomic::Ordering::Relaxed));
|
||||
tracing::info!(
|
||||
"guards over several views of a page, since the start: {together} blocks guarded with their other views, \
|
||||
{written} views opened by a write through another, {mapped} ranges opened because a view of them was mapped"
|
||||
);
|
||||
// Where the wall clock of a frame goes: the phases of a frame, the
|
||||
// processor time of the whole process, and what each submitting and
|
||||
// recording thread did.
|
||||
|
||||
Reference in new issue
Block a user