Re: [PATCH -V3 0/8] migrate_pages(): fix several bugs in error path

From: Andrew Morton
Date: Wed Aug 17 2022 - 11:48:43 EST


On Wed, 17 Aug 2022 16:14:00 +0800 Huang Ying <ying.huang@xxxxxxxxx> wrote:

> error-inject.patch, test-migrate.c, and test-migrate.sh are as below.
> It turns out that error injection is an important tool to fix bugs in
> error path.

Indeed, and thanks for doing this.

Did you consider lib/*inject*.c? If so, was it unsuitable?