diff options
| author | Dan Magenheimer <[email protected]> | 2013-04-30 22:27:03 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-05-01 00:04:01 +0000 |
| commit | 1ac37bee81531cb62a9a64e78ffdad7da9b20ea2 (patch) | |
| tree | d9460e2c71cdaa991696f1058cefa2c8a17cc4a3 /lib/dump_stack.c | |
| parent | zcache/tmem: Better error checking on frontswap_register_ops return value. (diff) | |
| download | kernel-1ac37bee81531cb62a9a64e78ffdad7da9b20ea2.tar.gz kernel-1ac37bee81531cb62a9a64e78ffdad7da9b20ea2.zip | |
staging: zcache: enable ramster to be built/loaded as a module
Enable module support for ramster. Note runtime dependency disallows
loading if cleancache/frontswap lazy initialization patches are not
present.
If built-in (not built as a module), the original mechanism of enabling
via a kernel boot parameter is retained, but this should be considered
deprecated.
Note that module unload is explicitly not yet supported.
[v1: Fixed compile issues since ramster_init now has four arguments]
[v2: Fixed rebase on ramster->zcache move]
[[email protected]: use_frontswap_selfshrink cannot be __initdata]
Signed-off-by: Dan Magenheimer <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
Cc: Wanpeng Li <[email protected]>
Cc: Andor Daam <[email protected]>
Cc: Florian Schmaus <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Stefan Hengelein <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
