[lkml]   [2018]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 0/3] mm/get_user_pages_fast fixes, cleanups
On Fri, 6 Apr 2018 00:03:48 +0300 "Michael S. Tsirkin" <> wrote:

> Turns out get_user_pages_fast and __get_user_pages_fast return different
> values on error when given a single page: __get_user_pages_fast returns
> 0. get_user_pages_fast returns either 0 or an error.
> Callers of get_user_pages_fast expect an error so fix it up to return an
> error consistently.
> Stress the difference between get_user_pages_fast and __get_user_pages_fast
> to make sure callers aren't confused.

A term which is missing from all these changelogs is "vhost" :(

This patchset fixes a user-affecting bug, does it not? If so, please
fully describe that bug so that we can decide which kernel version(s)
need the patchset.

And yes, this return value asymmetry is sad. Did you scope out what
would be needed to fix up the callers so we can avoid this?

 \ /
  Last update: 2018-04-06 22:09    [W:0.073 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site