Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Kirill A. Shutemov
On Mon, Jul 24, 2017 at 06:57:53PM +0300, Andrey Ryabinin wrote: > > > On 07/24/2017 06:37 PM, Kirill A. Shutemov wrote: > > On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: > >> KASAN fills kernel page tables with repeated values to map several > >> TBs of the virtual memory to

Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Kirill A. Shutemov
On Mon, Jul 24, 2017 at 06:57:53PM +0300, Andrey Ryabinin wrote: > > > On 07/24/2017 06:37 PM, Kirill A. Shutemov wrote: > > On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: > >> KASAN fills kernel page tables with repeated values to map several > >> TBs of the virtual memory to

Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Andrey Ryabinin
On 07/24/2017 06:37 PM, Kirill A. Shutemov wrote: > On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: >> KASAN fills kernel page tables with repeated values to map several >> TBs of the virtual memory to the single kasan_zero_page: >> kasan_zero_p4d -> >> kasan_zero_pud ->

Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Andrey Ryabinin
On 07/24/2017 06:37 PM, Kirill A. Shutemov wrote: > On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: >> KASAN fills kernel page tables with repeated values to map several >> TBs of the virtual memory to the single kasan_zero_page: >> kasan_zero_p4d -> >> kasan_zero_pud ->

Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Kirill A. Shutemov
On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: > KASAN fills kernel page tables with repeated values to map several > TBs of the virtual memory to the single kasan_zero_page: > kasan_zero_p4d -> > kasan_zero_pud -> > kasan_zero_pmd-> > kasan_zero_pte-> >

Re: [PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Kirill A. Shutemov
On Mon, Jul 24, 2017 at 06:25:58PM +0300, Andrey Ryabinin wrote: > KASAN fills kernel page tables with repeated values to map several > TBs of the virtual memory to the single kasan_zero_page: > kasan_zero_p4d -> > kasan_zero_pud -> > kasan_zero_pmd-> > kasan_zero_pte-> >

[PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Andrey Ryabinin
KASAN fills kernel page tables with repeated values to map several TBs of the virtual memory to the single kasan_zero_page: kasan_zero_p4d -> kasan_zero_pud -> kasan_zero_pmd-> kasan_zero_pte-> kasan_zero_page Walking the whole KASAN shadow range takes a

[PATCH] x86/mm/dump_pagetables: Speed up page tables dump for CONFIG_KASAN=y

2017-07-24 Thread Andrey Ryabinin
KASAN fills kernel page tables with repeated values to map several TBs of the virtual memory to the single kasan_zero_page: kasan_zero_p4d -> kasan_zero_pud -> kasan_zero_pmd-> kasan_zero_pte-> kasan_zero_page Walking the whole KASAN shadow range takes a