Re: [PATCH 24/25] mm: remove the HMM config option
From: Jason Gunthorpe
Date: Thu Jun 27 2019 - 12:30:04 EST
On Wed, Jun 26, 2019 at 02:27:23PM +0200, Christoph Hellwig wrote:
> All the mm/hmm.c code is better keyed off HMM_MIRROR. Also let nouveau
> depend on it instead of the mix of a dummy dependency symbol plus the
> actually selected one. Drop various odd dependencies, as the code is
> pretty portable.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/gpu/drm/nouveau/Kconfig | 3 +--
> include/linux/hmm.h | 5 +----
> include/linux/mm_types.h | 2 +-
> mm/Kconfig | 27 ++++-----------------------
> mm/Makefile | 2 +-
> mm/hmm.c | 2 --
> 6 files changed, 8 insertions(+), 33 deletions(-)
Makes more sense to me too
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
Jason