[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFgQCTuyZjLRBW1g7cMWhbqm48UMX+wCK4e6m2nGqnmM8ScLRQ@mail.gmail.com>
Date: Tue, 17 Mar 2020 19:45:42 +0800
From: Pingfan Liu <kernelfans@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Linux-MM <linux-mm@...ck.org>, Ira Weiny <ira.weiny@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...ux.ibm.com>,
Dan Williams <dan.j.williams@...el.com>,
Matthew Wilcox <willy@...radead.org>,
John Hubbard <jhubbard@...dia.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
Shuah Khan <shuah@...nel.org>, Jason Gunthorpe <jgg@...pe.ca>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv6 2/3] mm/gup: fix omission of check on FOLL_LONGTERM in
gup fast path
On Mon, Mar 16, 2020 at 4:55 PM Christoph Hellwig <hch@...radead.org> wrote:
>
[...]
>
> Wrong indentation. We either align two tabs for continuation
> statements, or after the opening brace of the previous line. With a
> likely or unlikely thrown in the former IMHO looks much better. E.g.
>
> if (unlikely(flags & FOLL_LONGTERM) &&
> is_migrate_cma_page(page))
> return NULL;
>
OK, thanks. I will send out V7 to fix it.
Regards,
Pingfan
Powered by blists - more mailing lists