Re: [PATCH v5 34/38] kmsan: dma: unpoison memory mapped by dma_direct_map_page()

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

 



On Fri, Mar 27, 2020 at 06:03:32PM +0100, Alexander Potapenko wrote:
> > Also the page
> > doesn't have to be mapped into kernel address space, you probably
> > want to pass the page to kmsan_handle_dma and throw in a highmem
> > check there.
> 
> Do you mean comparing the address to TASK_SIZE, or is there a more
> portable way to check that?

!PageHighMem(page) implies the page has a kernel direct mapping.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux