Re: [PATCH 2/3] virtio-mem: fix multiple typos in struct comments and function docs

From: David Hildenbrand
Date: Tue May 27 2025 - 15:12:36 EST



/*
* Test if we could add memory without creating too much offline memory -
- * to avoid running OOM if memory is getting onlined deferred.
+ * to avoid running OOM if memory is getting online deferred.

The system/user is onlining the memory, so the memory is getting "onlined"?

If it would be "getting online", wouldn't the memory start using the internet or sth. like that? :D

*/
static bool virtio_mem_could_add_memory(struct virtio_mem *vm, uint64_t size)
{


--
Cheers,

David / dhildenb