Messages in this thread | | | Date | Mon, 16 Jul 2012 12:26:41 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 2/3] mm: fix possible incorrect return value of migrate_pages() syscall |
| |
On Tue, 17 Jul 2012, Joonsoo Kim wrote
> 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
Pages are not migrated because they are busy not because there is an error. So lets return EBUSY.
| |