On Mon, Apr 12, 2021 at 10:17:18PM -0700, Axel Rasmussen wrote:
> static void shmem_allocate_area(void **alloc_area)
> {
> - unsigned long offset =
> - alloc_area == (void **)&area_src ? 0 : nr_pages * page_size;
> + void *area_alias = NULL;
> + bool is_src = alloc_area ==
Previously, we just allocated two shm areas: area_src and area_dst. With
this commit, change this so we also allocate area_src_alias, and
area_dst_alias.
area_*_alias and area_* (respectively) point to the same underlying
physical pages, but are different VMAs. In a future commit in this
series, w
2 matches
Mail list logo