lkml.org 
[lkml]   [2015]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 1/1] x86_64: fix KASan shadow region page tables
On 06/19/2015 03:06 PM, Borislav Petkov wrote:
> On Fri, Jun 19, 2015 at 02:49:19PM +0300, Andrey Ryabinin wrote:
>> I guess that AMD cpus is more strict (unlike Intel) about violation
>> of reserved/unused bits in page table entries. Please, try with this
>> patch.
>
> With that the guest boots.
>

Great! Thanks.

> How do I check whether KASan actually works? I don't see any note in
> dmesg or some file named "*kasan*" in sysfs...
>

kasan will print report in dmesg whant it will find anything.

To make sure that it works you could try to load testing module (CONFIG_TEST_KASAN).
This module has bugs that kasan should catch.
Also 'slub_debug=U' in bootcmdline will improve reports and out-of-bounds accesses detection.

> Thanks.
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2015-06-19 16:01    [W:0.140 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site