[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1403622044-2964-1-git-send-email-sergey.senozhatsky@gmail.com>
Date: Wed, 25 Jun 2014 00:00:43 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Chris Mason <clm@...com>
Cc: Josef Bacik <jbacik@...com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>
Subject: [PATCH] btrfs compression: reuse recently used workspace
Hello,
Whenever possible, find_workspace() returns the first idle workspace;
and free_workspace() puts workspace to idle list tail. Put workspace to
head of idle list instead. Hopefully, this will let to reuse most recently
used workspace and avoid workspace->mem, ->buf, ->cbuf address translations.
p.s. This patch is theoretical, no testing has been performed in order to
support this patch.
Sergey Senozhatsky (1):
btrfs compression: reuse recently used workspace
fs/btrfs/compression.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.0.0.548.ge727dec
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists