Comments (2)
Hmm, this is not actually what I wanted to work on. The issue is that the rust compiler (and the processor on weakly-ordered architectures) need to be told about possibly concurrent access, and they should be properly annotated as "atomic" rather than "volatile". My idea here is to add a VolatileAtomicRef struct similar to VolatileRef, but supporting atomic load and store instead of Deref and DerefMut.
from vm-memory.
Sorry about that :( For some reason I thought this one implies the other as well, but even if it did, the description was not clear at all in this regard. Assigned myself for this one.
from vm-memory.
Related Issues (20)
- Converting AtomicAccess to u64 HOT 11
- Implement PartialEq for errors in vm-memory
- MmapRegion::build fails when the backing object is a device
- Proposal: Improve Cargo dependency format HOT 7
- New release request: 0.8.1 HOT 2
- Update vmm-sys-util dependency to 0.11.0
- Sorry, wrong proces
- Tests fail on 32-bit HOT 2
- tests: "We need to get a mut reference to `self.container`." from non-mut &self reference is UB HOT 2
- While this might be correct for all usecases, this is not safe for 100% of host target scenarios. Quoting the docs: HOT 1
- Introduce custom derive for ByteValued/replace ByteValued with zerocopy HOT 6
- Publish v0.12.1 HOT 1
- Unsoundness: VolatileMemory should be `unsafe`, private, or sealed because it relies on get_slice in unsafe code HOT 3
- vm-memory with perisistent memory
- Build errors with latest nightly toolchain `cargo 1.75.0-nightly (65e297d1e 2023-11-03)` HOT 3
- Crate does not build on nightly HOT 2
- Missing Divide-by-Zero Check
- GuestMemory::try_access() Invariant not Checked
- Test breaking changes against other crates in rust-vmm
- Test `GuestMemory::try_access` error cases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vm-memory.