Re: [PATCH v2] mm/shmem: Enclose shmem_mcopy_atomic_pte() with 'CONFIG_USERFAULTFD'

2021-03-16 Thread SeongJae Park
On Tue, 16 Mar 2021 09:16:57 -0700 Axel Rasmussen wrote: > Sorry for the build failure! I sent a new version of my patch with > this same fix on the 10th > (https://lore.kernel.org/patchwork/patch/1392464/), and I believe > Andrew has already included it in his tree. No problem at all, thank yo

Re: [PATCH v2] mm/shmem: Enclose shmem_mcopy_atomic_pte() with 'CONFIG_USERFAULTFD'

2021-03-16 Thread Axel Rasmussen
Sorry for the build failure! I sent a new version of my patch with this same fix on the 10th (https://lore.kernel.org/patchwork/patch/1392464/), and I believe Andrew has already included it in his tree. On Tue, Mar 16, 2021 at 8:40 AM SeongJae Park wrote: > > From: SeongJae Park > > Commit 49eea

[PATCH v2] mm/shmem: Enclose shmem_mcopy_atomic_pte() with 'CONFIG_USERFAULTFD'

2021-03-16 Thread SeongJae Park
From: SeongJae Park Commit 49eeab03fa0a ("userfaultfd: support minor fault handling for shmem") introduced shmem_mcopy_atomic_pte(). The function is declared in 'userfaultfd_k.h' when 'CONFIG_USERFAULTFD' is defined, and defined as 'BUG()' if the config is unset. However, the definition of the