Messages in this thread | | | Date | Tue, 4 Jun 2019 09:26:10 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 03/16] mm: simplify gup_fast_permitted |
| |
On Mon, Jun 03, 2019 at 10:02:10AM -0700, Linus Torvalds wrote: > On Mon, Jun 3, 2019 at 9:08 AM Linus Torvalds > <torvalds@linux-foundation.org> wrote: > > > > The new code has no test at all for "nr_pages == 0", afaik. > > Note that it really is important to check for that, because right now we do
True. The 0 check got lost. I'll make sure we do the right thing for the next version.
| |