projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1055d62
)
staging: zram: correct obsolete comment on max_zpage_size
author
Minchan Kim
<minchan@kernel.org>
Tue, 9 Oct 2012 23:49:52 +0000
(08:49 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:43:46 +0000
(13:43 -0700)
Zram doesn't use xv_malloc any more so it doesn't have
limitation about zobj_header.
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.h
patch
|
blob
|
history
diff --git
a/drivers/staging/zram/zram_drv.h
b/drivers/staging/zram/zram_drv.h
index 572c0b1551d4bb2dd6c0cb9940988a57ed40ebce..df2eec407db64b6b29f562ba94946e56fb24317e 100644
(file)
--- a/
drivers/staging/zram/zram_drv.h
+++ b/
drivers/staging/zram/zram_drv.h
@@
-39,8
+39,8
@@
static const size_t max_zpage_size = PAGE_SIZE / 4 * 3;
/*
* NOTE: max_zpage_size must be less than or equal to:
- * ZS_MAX_ALLOC_SIZE
- sizeof(struct zobj_header)
- *
otherwise, xv_malloc() would
always return failure.
+ * ZS_MAX_ALLOC_SIZE
. Otherwise, zs_malloc() would
+ * always return failure.
*/
/*-- End of configurable params */