Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575280

Re: [PATCH v6 1/4] mm/migration: make isolate_movable_page() return int type

From Minchan Kim <minchan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v6 1/4] mm/migration: make isolate_movable_page() return int type
Date 2017-02-07 01:40 +0100
Message-ID <t81Z7-3QF-5@gated-at.bofh.it> (permalink)
References <t6H6p-7vO-3@gated-at.bofh.it> <t6H6q-7vO-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 03, 2017 at 03:59:27PM +0800, Yisheng Xie wrote:
> Change the return type of isolate_movable_page() from bool to int.  It
> will return 0 when isolate movable page successfully, and return -EBUSY
> when it isolates failed.
> 
> There is no functional change within this patch but prepare for later
> patch.
> 
> Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
> Suggested-by: Michal Hocko <mhocko@kernel.org>
> Suggested-by: Minchan Kim <minchan@kernel.org>
Acked-by: Minchan Kim <minchan@kernel.org>

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v6 1/4] mm/migration: make isolate_movable_page() return int type Yisheng Xie <xieyisheng1@huawei.com> - 2017-02-03 09:10 +0100
  Re: [PATCH v6 1/4] mm/migration: make isolate_movable_page() return  int type Minchan Kim <minchan@kernel.org> - 2017-02-07 01:40 +0100

csiph-web