Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287417
b: refs/heads/master
c: e8b4553
h: refs/heads/master
i:
  287415: b0f9c79
v: v3
  • Loading branch information
Dan Magenheimer authored and Greg Kroah-Hartman committed Feb 8, 2012
1 parent c53270d commit 46821c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9256a4789be3dae37d00924c03546ba7958ea5a3
refs/heads/master: e8b4553457e78bcff90f70a31212a40a8fd4f0db
4 changes: 2 additions & 2 deletions trunk/drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,9 +1781,9 @@ static int zcache_frontswap_poolid = -1;
* Swizzling increases objects per swaptype, increasing tmem concurrency
* for heavy swaploads. Later, larger nr_cpus -> larger SWIZ_BITS
* Setting SWIZ_BITS to 27 basically reconstructs the swap entry from
* frontswap_get_page()
* frontswap_get_page(), but has side-effects. Hence using 8.
*/
#define SWIZ_BITS 27
#define SWIZ_BITS 8
#define SWIZ_MASK ((1 << SWIZ_BITS) - 1)
#define _oswiz(_type, _ind) ((_type << SWIZ_BITS) | (_ind & SWIZ_MASK))
#define iswiz(_ind) (_ind >> SWIZ_BITS)
Expand Down

0 comments on commit 46821c3

Please sign in to comment.