On Tue, 13 Aug 2019 10:45:09 -0700 Jonathan Lemon <jonathan.le...@gmail.com> wrote:
> __page_pool_get_cached() will return NULL when the ring is > empty, even if there are pages present in the lookaside cache. > > It is also possible to refill the cache, and then return a > NULL page. > > Restructure the logic so eliminate both cases. > > Signed-off-by: Jonathan Lemon <jonathan.le...@gmail.com> Acked-by: Jesper Dangaard Brouer <bro...@redhat.com> Thanks for catching and improving this! -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer