Re: [PATCH v11 1/7] mm: adjustaddress_space_operations.migratepage() return code
From: Andrew Morton
Date: Wed Nov 07 2012 - 14:56:01 EST
On Wed, 7 Nov 2012 01:05:48 -0200
Rafael Aquini <aquini@xxxxxxxxxx> wrote:
> This patch introduces MIGRATEPAGE_SUCCESS as the default return code
> for address_space_operations.migratepage() method and documents the
> expected return code for the same method in failure cases.
I hit a large number of rejects applying this against linux-next. Due
to the increasingly irritating sched/numa code in there.
I attempted to fix it up and also converted some (but not all) of the
implicit tests of `rc' against zero.
Please check the result very carefully - more changes will be needed.
All those
- if (rc)
+ if (rc != MIGRATEPAGE_SUCCESS)
changes are a pain. Perhaps we shouldn't bother.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/