[LTP] [PATCH] syscalls/madvise06: Exclude other factor that leading to failure

Jan Stancek jstancek@redhat.com
Fri Aug 5 14:10:45 CEST 2016



----- Original Message -----
> From: "Xiao Yang" <yangx.jy@cn.fujitsu.com>
> To: ltp@lists.linux.it
> Cc: jstancek@redhat.com, "Xiao Yang" <yangx.jy@cn.fujitsu.com>
> Sent: Tuesday, 2 August, 2016 11:23:22 PM
> Subject: [PATCH] syscalls/madvise06: Exclude other factor that leading to failure
> 
> Make sure that madvise(MADV_WILLNEED) supports swap prefetch. We
> can't distinguish between kernel bug and unsupported swap, because
> the same error happens on RHEL6.8GA which madvise(MADV_WILLNEED)
> doesn't support swap prefetch. This feature has been pushed since
> kernel 3.10.0.
> 
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>

Pushed with small changes to commit message, I added
commit that introduced this feature for reference.

Regards,
Jan


More information about the ltp mailing list