The patch titled Subject: mm/zbud: init user ops only when it is needed has been removed from the -mm tree. Its filename was mm-zbud-init-user-ops-only-when-it-is-needed.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Heesub Shin <heesub.shin@xxxxxxxxxxx> Subject: mm/zbud: init user ops only when it is needed When zbud is initialized through the zpool wrapper, pool->ops which points to user-defined operations is always set regardless of whether it is specified from the upper layer. This causes zbud_reclaim_page() to iterate its loop for evicting pool pages out without any gain. This patch sets the user-defined ops only when it is needed, so that zbud_reclaim_page() can bail out the reclamation loop earlier if there is no user-defined operations specified. Signed-off-by: Heesub Shin <heesub.shin@xxxxxxxxxxx> Acked-by: Dan Streetman <ddstreet@xxxxxxxx> Cc: Seth Jennings <sjennings@xxxxxxxxxxxxxx> Cc: Sunae Seo <sunae.seo@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zbud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/zbud.c~mm-zbud-init-user-ops-only-when-it-is-needed mm/zbud.c --- a/mm/zbud.c~mm-zbud-init-user-ops-only-when-it-is-needed +++ a/mm/zbud.c @@ -132,7 +132,7 @@ static struct zbud_ops zbud_zpool_ops = static void *zbud_zpool_create(gfp_t gfp, struct zpool_ops *zpool_ops) { - return zbud_create_pool(gfp, &zbud_zpool_ops); + return zbud_create_pool(gfp, zpool_ops ? &zbud_zpool_ops : NULL); } static void zbud_zpool_destroy(void *pool) _ Patches currently in -mm which might be from heesub.shin@xxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html