diff options
| author | Ganesh Mahendran <[email protected]> | 2015-02-12 23:00:51 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-13 02:54:12 +0000 |
| commit | 3eba0c6a56c04f2b017b43641a821f1ebfb7fb4c (patch) | |
| tree | ae8732c7012ccee1573769e2a686eb98df173bca /fs/proc/array.c | |
| parent | zram: remove request_queue from struct zram (diff) | |
| download | kernel-3eba0c6a56c04f2b017b43641a821f1ebfb7fb4c.tar.gz kernel-3eba0c6a56c04f2b017b43641a821f1ebfb7fb4c.zip | |
mm/zpool: add name argument to create zpool
Currently the underlay of zpool: zsmalloc/zbud, do not know who creates
them. There is not a method to let zsmalloc/zbud find which caller they
belong to.
Now we want to add statistics collection in zsmalloc. We need to name the
debugfs dir for each pool created. The way suggested by Minchan Kim is to
use a name passed by caller(such as zram) to create the zsmalloc pool.
/sys/kernel/debug/zsmalloc/zram0
This patch adds an argument `name' to zs_create_pool() and other related
functions.
Signed-off-by: Ganesh Mahendran <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: Dan Streetman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
