Re: [PATCH RFC V2 0/6] rxe_map_mr_sg() fix cleanup and refactor

From: Jason Gunthorpe
Date: Mon Nov 06 2023 - 09:14:03 EST


On Mon, Nov 06, 2023 at 04:07:19AM +0000, Zhijian Li (Fujitsu) wrote:

> I'm sorry i'm not familiar with the linux MM subsystem. It seem it's safe/correct to access
> address/memory across pages start from the return of
> kmap_loca_page(page).

kmap_local_page() gives you a PAGE_SIZE window only

Jason