[PATCH] DM 2/5: kcopyd: No need to lock pages

From: Kevin Corry
Date: Wed Jun 09 2004 - 10:32:19 EST


No need to lock kcopyd pages.

From: Alasdair Kergon <agk@xxxxxxxxxx>
Signed-off-by: Kevin Corry <kevcorry@xxxxxxxxxx>

--- diff/drivers/md/kcopyd.c 2004-06-09 08:47:38.850960976 +0000
+++ source/drivers/md/kcopyd.c 2004-06-09 08:47:44.522098832 +0000
@@ -62,13 +62,11 @@
return NULL;
}

- SetPageLocked(pl->page);
return pl;
}

static void free_pl(struct page_list *pl)
{
- ClearPageLocked(pl->page);
__free_page(pl->page);
kfree(pl);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/