Thread (33 messages) 33 messages, 6 authors, 2020-10-16

Re: [PATCH v6 02/11] mm/gup: Use functions to track lockless pgtbl walks on gup_pgd_range

From: John Hubbard <jhubbard@nvidia.com>
Date: 2020-02-07 22:54:36
Also in: linux-arch, linux-mm

On 2/5/20 7:25 PM, Leonardo Bras wrote:
On Thu, 2020-02-06 at 00:08 -0300, Leonardo Bras wrote:
quoted
                gup_pgd_range(addr, end, gup_flags, pages, &nr);
-               local_irq_enable();
+               end_lockless_pgtbl_walk(IRQS_ENABLED);
                ret = nr;
        }
 
Just noticed IRQS_ENABLED is not available on other archs than ppc64.
I will fix this for v7.
What's the fix going to look like, approximately?


thanks,
-- 
John Hubbard
NVIDIA
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help