We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb8105 commit c86cce2Copy full SHA for c86cce2
arch/s390/mm/pgtable.c
@@ -267,7 +267,10 @@ static int gmap_alloc_table(struct gmap *gmap,
267
struct page *page;
268
unsigned long *new;
269
270
+ /* since we dont free the gmap table until gmap_free we can unlock */
271
+ spin_unlock(&gmap->mm->page_table_lock);
272
page = alloc_pages(GFP_KERNEL, ALLOC_ORDER);
273
+ spin_lock(&gmap->mm->page_table_lock);
274
if (!page)
275
return -ENOMEM;
276
new = (unsigned long *) page_to_phys(page);
0 commit comments