Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1173858 > unrolled thread

Re: [PATCH] mm: fix status code move_pages() returns for zero page

Started byChristoph Lameter <cl@linux.com>
First post2015-06-29 17:00 +0200
Last post2015-06-29 17:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] mm: fix status code move_pages() returns for zero page Christoph Lameter <cl@linux.com> - 2015-06-29 17:00 +0200

#1173858 — Re: [PATCH] mm: fix status code move_pages() returns for zero page

FromChristoph Lameter <cl@linux.com>
Date2015-06-29 17:00 +0200
SubjectRe: [PATCH] mm: fix status code move_pages() returns for zero page
Message-ID<pGIHo-683-25@gated-at.bofh.it>
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@linux.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web