mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] DM 2/5: kcopyd: No need to lock pages
@ 2004-06-09 10:31 Kevin Corry
  0 siblings, 0 replies; only message in thread
From: Kevin Corry @ 2004-06-09 10:31 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML

No need to lock kcopyd pages.

From: Alasdair Kergon <agk@redhat.com>
Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>

--- 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);
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-09 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-09 10:31 [PATCH] DM 2/5: kcopyd: No need to lock pages Kevin Corry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®