Re: [PATCH 2/2] s390/ptdump: Add KMSAN page markers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 23, 2024 at 02:44:12PM +0200, Ilya Leoshkevich wrote:
> Add KMSAN vmalloc metadata areas to
> /sys/kernel/debug/kernel_page_tables. Example output:
> 
>     0x000003a95fff9000-0x000003a960000000        28K PTE I
>     ---[ vmalloc Area End ]---
>     ---[ Kmsan vmalloc Shadow Start ]---
>     0x000003a960000000-0x000003a960010000        64K PTE RW NX
>     [...]
>     0x000003d3dfff9000-0x000003d3e0000000        28K PTE I
>     ---[ Kmsan vmalloc Shadow End ]---
>     ---[ Kmsan vmalloc Origins Start ]---
>     0x000003d3e0000000-0x000003d3e0010000        64K PTE RW NX
>     [...]
>     0x000003fe5fff9000-0x000003fe60000000        28K PTE I
>     ---[ Kmsan vmalloc Origins End ]---
>     ---[ Kmsan Modules Shadow Start ]---
>     0x000003fe60000000-0x000003fe60001000         4K PTE RW NX
>     [...]
>     0x000003fe60100000-0x000003fee0000000      2047M PMD I
>     ---[ Kmsan Modules Shadow End ]---
>     ---[ Kmsan Modules Origins Start ]---
>     0x000003fee0000000-0x000003fee0001000         4K PTE RW NX
>     [...]
>     0x000003fee0100000-0x000003ff60000000      2047M PMD I
>     ---[ Kmsan Modules Origins End ]---
>     ---[ Modules Area Start ]---
>     0x000003ff60000000-0x000003ff60001000         4K PTE RO X
> 
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> ---
>  arch/s390/mm/dump_pagetables.c | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Reviewed-by: Heiko Carstens <hca@xxxxxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux