|
From: | David Hildenbrand |
Subject: | Re: [PATCH] hostmem: Add clear option to file backend |
Date: | Thu, 2 Mar 2023 12:31:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 02.03.23 12:09, Fam Zheng wrote:
This adds a memset to clear the backing memory. This is useful in the case of PMEM DAX to drop dirty data, if the backing memory is handed over from a previous application or firmware which didn't clean up before exiting.
Why can't the VM manager do that instead? If you have a file that's certainly easily possible.
-- Thanks, David / dhildenb
[Prev in Thread] | Current Thread | [Next in Thread] |