Re: [PATCH] mm: Move p?d_alloc_track to separate header file

From: Stephen Rothwell
Date: Wed Jun 17 2020 - 22:04:53 EST


Hi Joerg,

Sorry for the late reply.

On Tue, 9 Jun 2020 14:05:33 +0200 Joerg Roedel <joro@xxxxxxxxxx> wrote:
>
> diff --git a/include/linux/pgalloc-track.h b/include/linux/pgalloc-track.h
> new file mode 100644
> index 000000000000..1dcc865029a2
> --- /dev/null
> +++ b/include/linux/pgalloc-track.h
> @@ -0,0 +1,51 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef _LINUX_PGALLLC_TRACK_H
> +#define _LINUX_PGALLLC_TRACK_H
> +

Maybe this could have a comment that it should always be included after
mm.h or we could add enough to make it standalone (even just an include
of mm.h would probably be enough).

--
Cheers,
Stephen Rothwell

Attachment: pgpole8FSzkKh.pgp
Description: OpenPGP digital signature