[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1506290947560.3164@east.gentwo.org>
Date: Mon, 29 Jun 2015 09:50:48 -0500 (CDT)
From: Christoph Lameter <cl@...ux.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
Hugh Dickins <hughd@...gle.com>
Subject: Re: [PATCH] mm: fix status code move_pages() returns for zero page
On Wed, 24 Jun 2015, Kirill A. Shutemov wrote:
> Man page for move_pages(2) specifies that status code for zero page is
> supposed to be -EFAULT. Currently kernel return -ENOENT in this case.
>
> follow_page() can do it for us, if we would ask for FOLL_DUMP.
FOLL_DUMP also has the consequence that the upper layer page tables pages
are no longer allocated.
Otherwise this looks ok.
Reviewed-by: Christoph Lameter <cl@...ux.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists