lkml.org 
[lkml]   [2004]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] DM 2/5: kcopyd: No need to lock pages
Date
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);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.018 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site