-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
bugSomething isn't workingSomething isn't workingpackage: driverRelated to compio-driverRelated to compio-driver
Milestone
Description
Currently we make all OpCodes !Unpin and Pin it onto heap with Key so that buffers submitted into kernel stays at where they are. However when operations are finished, we take the OpCodes out and return them back to user, and this violates Pin contract. What's more, some ops contains self referential pointers, and those pointers will become dangling when the op is returned, even though we're not accessing those (for now). This doesn't cause any runtime error but conceptually it is unsound and undefined behavior MAY happen in future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: driverRelated to compio-driverRelated to compio-driver