[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150721161831.GA17521@redhat.com>
Date: Tue, 21 Jul 2015 18:18:31 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Benjamin LaHaise <bcrl@...ck.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Joonsoo Kim <js1304@...il.com>,
Fengguang Wu <fengguang.wu@...el.com>,
Jeff Moyer <jmoyer@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2]
mm-move-mremap-from-file_operations-to-vm_operations_struct-fix
On 07/21, Benjamin LaHaise wrote:
>
> On Tue, Jul 21, 2015 at 05:29:03PM +0200, Oleg Nesterov wrote:
> >
> > static const struct vm_operations_struct aio_ring_vm_ops = {
> > .mremap = aio_ring_mremap,
> > +#ifdef CONFIG_MMU
> > .fault = filemap_fault,
> > .map_pages = filemap_map_pages,
> > .page_mkwrite = filemap_page_mkwrite,
> > +#endif
> > };
>
> One nit: using #if IS_ENABLED(CONFIG_MMU) is recommended these days not
> #ifdef CONFIG_MMU.
OK, this matches IS_ENABLED(CONFIG_MIGRATION). I am sending v3.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists