All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: devel@driverdev.osuosl.org, Rik van Riel <riel@redhat.com>,
	linux-ia64@vger.kernel.org, linux-cris-kernel@axis.com,
	kvm@vger.kernel.org, linux-rdma@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Michal Hocko <mhocko@kernel.org>,
	linux-mm@kvack.org, Paolo Bonzini <pbonzini@redhat.com>,
	Jan Kara <jack@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@techsingularity.net>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
Date: Mon, 07 Nov 2016 10:49:18 +0000	[thread overview]
Message-ID: <20161107104918.GQ30704@axis.com> (raw)
In-Reply-To: <20161031100228.17917-2-lstoakes@gmail.com>

On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
> This patch adds an int *locked parameter to get_user_pages() to allow
> VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
> 
> It additionally clears the way for get_user_pages_locked() to be removed as its
> sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour
> when faulting in pages.
> 
> It should not introduce any functional changes, however it does allow for
> subsequent changes to get_user_pages() callers to take advantage of
> VM_FAULT_RETRY.

For the cris-part:
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

WARNING: multiple messages have this Message-ID (diff)
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: devel@driverdev.osuosl.org, Rik van Riel <riel@redhat.com>,
	linux-ia64@vger.kernel.org, linux-cris-kernel@axis.com,
	kvm@vger.kernel.org, linux-rdma@vger.kernel.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Michal Hocko <mhocko@kernel.org>,
	linux-mm@kvack.org, Paolo Bonzini <pbonzini@redhat.com>,
	Jan Kara <jack@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mel Gorman <mgorman@techsingularity.net>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
Date: Mon, 7 Nov 2016 11:49:18 +0100	[thread overview]
Message-ID: <20161107104918.GQ30704@axis.com> (raw)
In-Reply-To: <20161031100228.17917-2-lstoakes@gmail.com>

On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
> This patch adds an int *locked parameter to get_user_pages() to allow
> VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
> 
> It additionally clears the way for get_user_pages_locked() to be removed as its
> sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour
> when faulting in pages.
> 
> It should not introduce any functional changes, however it does allow for
> subsequent changes to get_user_pages() callers to take advantage of
> VM_FAULT_RETRY.

For the cris-part:
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

WARNING: multiple messages have this Message-ID (diff)
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: linux-mm@kvack.org, devel@driverdev.osuosl.org,
	linux-ia64@vger.kernel.org, Rik van Riel <riel@redhat.com>,
	Jan Kara <jack@suse.cz>,
	kvm@vger.kernel.org, linux-cris-kernel@axis.com,
	linux-rdma@vger.kernel.org,
	Mel Gorman <mgorman@techsingularity.net>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Michal Hocko <mhocko@kernel.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
Date: Mon, 7 Nov 2016 11:49:18 +0100	[thread overview]
Message-ID: <20161107104918.GQ30704@axis.com> (raw)
In-Reply-To: <20161031100228.17917-2-lstoakes@gmail.com>

On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
> This patch adds an int *locked parameter to get_user_pages() to allow
> VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
> 
> It additionally clears the way for get_user_pages_locked() to be removed as its
> sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour
> when faulting in pages.
> 
> It should not introduce any functional changes, however it does allow for
> subsequent changes to get_user_pages() callers to take advantage of
> VM_FAULT_RETRY.

For the cris-part:
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

WARNING: multiple messages have this Message-ID (diff)
From: Jesper Nilsson <jesper.nilsson@axis.com>
To: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: linux-mm@kvack.org, devel@driverdev.osuosl.org,
	linux-ia64@vger.kernel.org, Rik van Riel <riel@redhat.com>,
	Jan Kara <jack@suse.cz>,
	kvm@vger.kernel.org, linux-cris-kernel@axis.com,
	linux-rdma@vger.kernel.org,
	Mel Gorman <mgorman@techsingularity.net>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Hugh Dickins <hughd@google.com>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	Michal Hocko <mhocko@kernel.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()
Date: Mon, 7 Nov 2016 11:49:18 +0100	[thread overview]
Message-ID: <20161107104918.GQ30704@axis.com> (raw)
In-Reply-To: <20161031100228.17917-2-lstoakes@gmail.com>

On Mon, Oct 31, 2016 at 10:02:27AM +0000, Lorenzo Stoakes wrote:
> This patch adds an int *locked parameter to get_user_pages() to allow
> VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked().
> 
> It additionally clears the way for get_user_pages_locked() to be removed as its
> sole remaining useful characteristic was to allow for VM_FAULT_RETRY behaviour
> when faulting in pages.
> 
> It should not introduce any functional changes, however it does allow for
> subsequent changes to get_user_pages() callers to take advantage of
> VM_FAULT_RETRY.

For the cris-part:
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

> Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2016-11-07 10:49 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-31 10:02 [PATCH 0/2] mm: remove get_user_pages_locked() Lorenzo Stoakes
2016-10-31 10:02 ` Lorenzo Stoakes
2016-10-31 10:02 ` Lorenzo Stoakes
2016-10-31 10:02 ` [PATCH 1/2] mm: add locked parameter to get_user_pages() Lorenzo Stoakes
2016-10-31 10:02   ` Lorenzo Stoakes
2016-10-31 10:02   ` Lorenzo Stoakes
2016-10-31 10:02   ` Lorenzo Stoakes
2016-11-07 10:49   ` Jesper Nilsson [this message]
2016-11-07 10:49     ` Jesper Nilsson
2016-11-07 10:49     ` Jesper Nilsson
2016-11-07 10:49     ` Jesper Nilsson
2016-11-07 11:00     ` Lorenzo Stoakes
2016-11-07 11:00       ` Lorenzo Stoakes
2016-11-07 11:00       ` Lorenzo Stoakes
2016-11-07 11:00       ` Lorenzo Stoakes
2016-10-31 10:02 ` [PATCH 2/2] mm: remove get_user_pages_locked() Lorenzo Stoakes
2016-10-31 10:02   ` Lorenzo Stoakes
2016-10-31 11:45   ` Paolo Bonzini
2016-10-31 11:45     ` Paolo Bonzini
2016-10-31 11:45     ` Paolo Bonzini
2016-10-31 13:48     ` Lorenzo Stoakes
2016-10-31 13:48       ` Lorenzo Stoakes
2016-10-31 17:55       ` Paolo Bonzini
2016-10-31 17:55         ` Paolo Bonzini
2016-10-31 17:55         ` Paolo Bonzini
2016-10-31 19:28         ` Lorenzo Stoakes
2016-10-31 19:28           ` Lorenzo Stoakes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161107104918.GQ30704@axis.com \
    --to=jesper.nilsson@axis.com \
    --cc=akpm@linux-foundation.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hughd@google.com \
    --cc=jack@suse.cz \
    --cc=kvm@vger.kernel.org \
    --cc=linux-cris-kernel@axis.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=lstoakes@gmail.com \
    --cc=mgorman@techsingularity.net \
    --cc=mhocko@kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=riel@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.