diff options
| author | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2025-04-25 15:16:01 +0200 |
|---|---|---|
| committer | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2025-05-06 18:39:44 +0200 |
| commit | 88fb705600a3b612c571efc9f1a6aed923a18dcc (patch) | |
| tree | cdd9bc802beff0693ecf78a4ed224f074fe6c643 /include/qemu/cacheflush.h | |
| parent | a4b20f737cda06bb8706a83e27f7fa89863ae689 (diff) | |
| download | focaccia-qemu-88fb705600a3b612c571efc9f1a6aed923a18dcc.tar.gz focaccia-qemu-88fb705600a3b612c571efc9f1a6aed923a18dcc.zip | |
xen: mapcache: Split mapcache_grants by ro and rw
Today, we don't track write-abiliy in the cache, if a user requests a readable mapping followed by a writeable mapping on the same page, the second lookup will incorrectly hit the readable entry. Split mapcache_grants by ro and rw access. Grants will now have separate ways in the cache depending on writeability. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Diffstat (limited to 'include/qemu/cacheflush.h')
0 files changed, 0 insertions, 0 deletions