Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: pre-reserve pool-memory on pool owner
We must not use VM_NORESERVE, otherwise, memory is accounted on the task that sends the message, instead of the task receiving the message. This would be bad, as you coul easily OOM a privileged task by consuming, but never freeing its broadcasts. Fix this by always pre-accounting the whole pool on the connection that creates the pool. Signed-off-by: David Herrmann <[email protected]>
- Loading branch information