Re: [PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()
From: Olu Ogunbowale
Date: Thu Mar 17 2016 - 12:40:49 EST
On Wed, Mar 16, 2016 at 05:00:41PM -0400, Rik van Riel wrote:
> The drivers appear to require the HMM framework though,
> which people are also reluctant to merge without the
> How do we get past this chicken & egg situation?
I would like to point out that support for HSA varies from
one vendor/design to another; for some device/drivers
(i.e AMD APU/HSA kernel driver), no form of address
space mirroring is required (i.e. AMD IOMMU v2) AFAIK,
others require address space mirroring so need the kernel
HMM framework but only because they provide support for
the full HSA/OpenCL SVM specification while some do not
require HMM at all because they implement only a subset
of the specification.
These exports enables the latter approach which does
not require the kernel HMM framework in order to
support process address space mirroring.