lkml.org 
[lkml]   [2018]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv5 07/19] x86/mm: Mask out KeyID bits from page table entry pfn
From
Date
On 07/17/2018 04:20 AM, Kirill A. Shutemov wrote:
> + } else {
> + /*
> + * Reset __PHYSICAL_MASK.
> + * Maybe needed if there's inconsistent configuation
> + * between CPUs.
> + */
> + physical_mask = (1ULL << __PHYSICAL_MASK_SHIFT) - 1;
> + }

This seems like an appropriate place for a WARN_ON(). Either that, or
axe this code.

\
 
 \ /
  Last update: 2018-07-19 01:14    [W:0.433 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site