Messages in this thread | | | Subject | Re: Correct way to access the physmap? - Was: Re: [PATCH 7/9] Pmalloc Rare Write: modify selected pools | From | Dave Hansen <> | Date | Thu, 3 May 2018 14:55:23 -0700 |
| |
On 05/03/2018 02:52 PM, Igor Stoppa wrote: > At the end of the summit, we agreed that I would go through the physmap.
Do you mean the kernel linear map? That's just another name for the virtual address that you get back from page_to_virt():
int *j = page_to_virt(vmalloc_to_page(i));
| |