Re: [madvise] kernel BUG at block/blk-core.c:2981!

From: Jens Axboe
Date: Wed Jan 16 2013 - 04:42:01 EST


On Wed, Jan 16 2013, Fengguang Wu wrote:
> Shaohua,
>
> I tried bisect and 0d18d770b9180ffc2c3f63b9eb8406ef80105e05 is the first bad commit.
>
> commit 0d18d770b9180ffc2c3f63b9eb8406ef80105e05
> Author: Shaohua Li <shli@xxxxxxxxxx>
> Date: Sat Jan 12 10:56:05 2013 +1100
>
> mm: make madvise(MADV_WILLNEED) support swap file prefetch
>
> Make madvise(MADV_WILLNEED) support swap file prefetch. If memory is
> swapout, this syscall can do swapin prefetch. It has no impact if the
> memory isn't swapout.
>
> Signed-off-by: Shaohua Li <shli@xxxxxxxxxxxx>
> Cc: Hugh Dickins <hughd@xxxxxxxxxx>
> Cc: Rik van Riel <riel@xxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Unbalanced path in that patch, see this patch:

https://patchwork.kernel.org/patch/1973481/

--
Jens Axboe

--
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/