On 19/02/2024 21:42, Sean Christopherson wrote:
On Thu, Feb 15, 2024, Paul Durrant wrote:
+/**
+ * kvm_gpc_mark_dirty_in_slot - mark a cached guest page as dirty.
+ *
+ * @gpc: struct gfn_to_pfn_cache object.
Meh, just omit the kerneldoc comment.
+ */
+static inline void
On Thu, Feb 15, 2024, Paul Durrant wrote:
> +/**
> + * kvm_gpc_mark_dirty_in_slot - mark a cached guest page as dirty.
> + *
> + * @gpc:struct gfn_to_pfn_cache object.
Meh, just omit the kerneldoc comment.
> + */
> +static inline void kvm_gpc_mark_dirty_in_slot(struct gfn_to_pfn_cache
From: Paul Durrant
At the moment pages are marked dirty by open-coded calls to
mark_page_dirty_in_slot(), directly deferefencing the gpa and memslot
from the cache. After a subsequent patch these may not always be set
so add a helper now so that caller will protected from the need to know
about