On Mon, 16 Jul 2012 19:59:18 +0200, JoonSoo Kim <js1...@gmail.com> wrote:
2012/7/17 Michal Nazarewicz <min...@tlen.pl>:
Joonsoo Kim <js1...@gmail.com> writes:
do_migrate_pages() can return the number of pages not migrated.
Because migrate_pages() syscall return this value directly,
migrate_pages() syscall may return the number of pages not migrated.
In fail case in migrate_pages() syscall, we should return error value.
So change err to -EIO
Additionally, Correct comment above do_migrate_pages()
Signed-off-by: Joonsoo Kim <js1...@gmail.com>
Cc: Sasha Levin <levinsasha...@gmail.com>
Cc: Christoph Lameter <c...@linux.com>
Acked-by: Michal Nazarewicz <min...@mina86.com>
Thanks.
When I resend with changing -EIO to -EBUSY,
could I include "Acked-by: Michal Nazarewicz <min...@mina86.com>"?
Sure thing.
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: m...@google.com>--------------ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/