From: Michal Hocko <mhocko@kernel.org>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org
Subject: Re: [PATCH] swap: ifdef struct vm_area_struct::swap_readahead_info
Date: Sat, 4 May 2019 19:33:14 -0400 [thread overview]
Message-ID: <20190504233314.GU29835@dhcp22.suse.cz> (raw)
In-Reply-To: <20190503190500.GA30589@avx2>
On Fri 03-05-19 22:05:00, Alexey Dobriyan wrote:
> The field is only used in swap code.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
> ---
>
> include/linux/mm_types.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> --- a/include/linux/mm_types.h
> +++ b/include/linux/mm_types.h
> @@ -326,7 +326,9 @@ struct vm_area_struct {
> struct file * vm_file; /* File we map to (can be NULL). */
> void * vm_private_data; /* was vm_pte (shared mem) */
>
> +#ifdef CONFIG_SWAP
> atomic_long_t swap_readahead_info;
> +#endif
> #ifndef CONFIG_MMU
> struct vm_region *vm_region; /* NOMMU mapping region */
> #endif
--
Michal Hocko
SUSE Labs
prev parent reply other threads:[~2019-05-04 23:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-03 19:05 Alexey Dobriyan
2019-05-04 23:33 ` Michal Hocko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190504233314.GU29835@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=adobriyan@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox