Re: spurious remap_file_pages() -EINVAL

From: Hugh Dickins
Date: Sun Jul 04 2004 - 14:25:19 EST


On Sun, 4 Jul 2004, William Lee Irwin III wrote:
> As ->vm_private_data is used as a cursor for swapout of VM_NONLINEAR
> vmas, the check for NULL ->vm_private_data or VM_RESERVED is too
> strict, and should allow VM_NONLINEAR vmas with non-NULL ->vm_private_data.
>
> This fixes an issue on 2.6.7-mm5 where system calls to remap_file_pages()
> spuriously failed while under memory pressure.

How embarrassing! Yes, thank you.

Hugh

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