Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)
From: Rob Gardner
Date: Mon Mar 07 2016 - 18:35:49 EST
On 03/07/2016 10:24 AM, Khalid Aziz wrote:
Tags can be cleared by user by setting tag to 0. Tags are
automatically cleared by the hardware when the mapping for a virtual
address is removed from TSB (which is why swappable pages are a
problem), so kernel does not have to do it as part of clean up.
I don't understand this. The hardware isn't involved when a mapping for
a virtual address is removed from the TSB, so how could it automatically
clear tags?
Rob