Re: [PATCH v12 09/11] mm: Allow arch code to override copy_highpage()

From: Dave Hansen
Date: Mon Mar 05 2018 - 14:24:19 EST


On 02/21/2018 09:15 AM, Khalid Aziz wrote:
> +#ifndef __HAVE_ARCH_COPY_HIGHPAGE
> +
> static inline void copy_highpage(struct page *to, struct page *from)
> {
> char *vfrom, *vto;
> @@ -248,4 +250,6 @@ static inline void copy_highpage(struct page *to, struct page *from)
> kunmap_atomic(vfrom);
> }
>
> +#endif

I think we prefer that these are CONFIG_* options.