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:
015254d
)
mm/zsmalloc.c: correct comment for fullness group computation
author
Wang Sheng-Hui
<
[email protected]
>
Thu, 9 Oct 2014 22:29:59 +0000
(15:29 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 10 Oct 2014 02:26:03 +0000
(22:26 -0400)
The letter 'f' in "n <= N/f" stands for fullness_threshold_frac, not
1/fullness_threshold_frac.
Signed-off-by: Wang Sheng-Hui <
[email protected]
>
Acked-by: Minchan Kim <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/zsmalloc.c
patch
|
blob
|
history
diff --git
a/mm/zsmalloc.c
b/mm/zsmalloc.c
index c4a91578dc965f59f8020eac023e51041576849f..c81f63e73c5fb0c8d7cd1552130b9dee234ebb51 100644
(file)
--- a/
mm/zsmalloc.c
+++ b/
mm/zsmalloc.c
@@
-175,7
+175,7
@@
enum fullness_group {
* n <= N / f, where
* n = number of allocated objects
* N = total number of objects zspage can store
- * f =
1/
fullness_threshold_frac
+ * f = fullness_threshold_frac
*
* Similarly, we assign zspage to:
* ZS_ALMOST_FULL when n > N / f