lkml.org 
[lkml]   [2016]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)
From
Date
On 03/07/2016 11:12 AM, Dave Hansen wrote:
> On 03/07/2016 09:53 AM, Andy Lutomirski wrote:
>> Also, what am I missing? Tying these tags to the physical page seems
>> like a poor design to me. This seems really awkward to use.
>
> Yeah, can you describe the structures that store these things? Surely
> the hardware has some kind of lookup tables for them and stores them in
> memory _somewhere_.
>

Version tags are tied to virtual addresses, not physical pages.

Where exactly are the tags stored is part of processor architecture and
I am not privy to that. MMU stores these lookup tables somewhere and
uses it to authenticate access to virtual addresses. It really is
irrelevant to kernel how MMU implements access controls as long as we
have access to the knowledge of how to use it.

Thanks,
Khalid

\
 
 \ /
  Last update: 2016-03-07 20:21    [W:0.091 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site