Skip to contentSkip to conversation

mm/zbud: correct some comments

PATCH New Cai Liu 1 participant 1 message Jan 10, 2014

Subsystems (2)
lore
Share & tools
lore

Cai Liu

author
#0 lore raw

PATCH 1/1 mm/zbud: correct some comments

zswap uses zbud now. So change zsmalloc to zbud.

---
 mm/zswap.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/zswap.c +1 -1
index 5a63f78..d93afa6 100644
@@ -165,7 +165,7 @@ static void zswap_comp_exit(void)
  *            be held while changing the refcount.  Since the lock must
  *            be held, there is no reason to also make refcount atomic.
  * offset - the swap offset for the entry.  Index into the red-black tree.
- * handle - zsmalloc allocation handle that stores the compressed page data
+ * handle - zbud allocation handle that stores the compressed page data
  * length - the length in bytes of the compressed page data.  Needed during
  *           decompression
  */
@@ -282,7 +282,7 @@ static void zswap_rb_erase(struct rb_root *root, struct

zswap_entry *entry)
}

/*
- * Carries out the common pattern of freeing and entry's zsmalloc allocation,
+ * Carries out the common pattern of freeing and entry's zbud allocation,
* freeing the entry itself, and decrementing the number of stored pages. */
static void zswap_free_entry(struct zswap_tree *tree,

Signature · 1 line
1.7.10.4