From: Seth Jennings <sjenning@linux.vnet.ibm.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>, Andrew Morton <akpm@linux-foundation.org>, Dan Magenheimer <dan.magenheimer@oracle.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Nitin Gupta <ngupta@vflare.org>, Minchan Kim <minchan@kernel.org>, Robert Jennings <rcj@linux.vnet.ibm.com>, linux-mm@kvack.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC Date: Mon, 25 Jun 2012 11:14:36 -0500 [thread overview] Message-ID: <1340640878-27536-2-git-send-email-sjenning@linux.vnet.ibm.com> (raw) In-Reply-To: <1340640878-27536-1-git-send-email-sjenning@linux.vnet.ibm.com> This patch switches zcache and zram dependency to ZSMALLOC rather than X86. There is no net change since ZSMALLOC depends on X86, however, this prevent further changes to these files as zsmalloc dependencies change. Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> --- drivers/staging/zcache/Kconfig | 5 +---- drivers/staging/zram/Kconfig | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 7048e01..4881839 100644 --- a/drivers/staging/zcache/Kconfig +++ b/drivers/staging/zcache/Kconfig @@ -1,9 +1,6 @@ config ZCACHE bool "Dynamic compression of swap pages and clean pagecache pages" - # X86 dependency is because zsmalloc uses non-portable pte/tlb - # functions - depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 - select ZSMALLOC + depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && ZSMALLOC=y select CRYPTO_LZO default n help diff --git a/drivers/staging/zram/Kconfig b/drivers/staging/zram/Kconfig index 9d11a4c..be5abe8 100644 --- a/drivers/staging/zram/Kconfig +++ b/drivers/staging/zram/Kconfig @@ -1,9 +1,6 @@ config ZRAM tristate "Compressed RAM block device support" - # X86 dependency is because zsmalloc uses non-portable pte/tlb - # functions - depends on BLOCK && SYSFS && X86 - select ZSMALLOC + depends on BLOCK && SYSFS && ZSMALLOC select LZO_COMPRESS select LZO_DECOMPRESS default n -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Seth Jennings <sjenning@linux.vnet.ibm.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>, Andrew Morton <akpm@linux-foundation.org>, Dan Magenheimer <dan.magenheimer@oracle.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Nitin Gupta <ngupta@vflare.org>, Minchan Kim <minchan@kernel.org>, Robert Jennings <rcj@linux.vnet.ibm.com>, linux-mm@kvack.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC Date: Mon, 25 Jun 2012 11:14:36 -0500 [thread overview] Message-ID: <1340640878-27536-2-git-send-email-sjenning@linux.vnet.ibm.com> (raw) In-Reply-To: <1340640878-27536-1-git-send-email-sjenning@linux.vnet.ibm.com> This patch switches zcache and zram dependency to ZSMALLOC rather than X86. There is no net change since ZSMALLOC depends on X86, however, this prevent further changes to these files as zsmalloc dependencies change. Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> --- drivers/staging/zcache/Kconfig | 5 +---- drivers/staging/zram/Kconfig | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 7048e01..4881839 100644 --- a/drivers/staging/zcache/Kconfig +++ b/drivers/staging/zcache/Kconfig @@ -1,9 +1,6 @@ config ZCACHE bool "Dynamic compression of swap pages and clean pagecache pages" - # X86 dependency is because zsmalloc uses non-portable pte/tlb - # functions - depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && X86 - select ZSMALLOC + depends on (CLEANCACHE || FRONTSWAP) && CRYPTO=y && ZSMALLOC=y select CRYPTO_LZO default n help diff --git a/drivers/staging/zram/Kconfig b/drivers/staging/zram/Kconfig index 9d11a4c..be5abe8 100644 --- a/drivers/staging/zram/Kconfig +++ b/drivers/staging/zram/Kconfig @@ -1,9 +1,6 @@ config ZRAM tristate "Compressed RAM block device support" - # X86 dependency is because zsmalloc uses non-portable pte/tlb - # functions - depends on BLOCK && SYSFS && X86 - select ZSMALLOC + depends on BLOCK && SYSFS && ZSMALLOC select LZO_COMPRESS select LZO_DECOMPRESS default n -- 1.7.9.5 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2012-06-25 16:42 UTC|newest] Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-06-25 16:14 [PATCH 0/3] zsmalloc: remove x86 dependency Seth Jennings 2012-06-25 16:14 ` Seth Jennings 2012-06-25 16:14 ` Seth Jennings [this message] 2012-06-25 16:14 ` [PATCH 1/3] zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC Seth Jennings 2012-06-27 2:37 ` Minchan Kim 2012-06-27 2:37 ` Minchan Kim 2012-06-27 2:43 ` Greg Kroah-Hartman 2012-06-27 2:43 ` Greg Kroah-Hartman 2012-06-27 2:49 ` Minchan Kim 2012-06-27 2:49 ` Minchan Kim 2012-06-27 3:21 ` Greg Kroah-Hartman 2012-06-27 3:21 ` Greg Kroah-Hartman 2012-06-27 15:40 ` Konrad Rzeszutek Wilk 2012-06-27 15:40 ` Konrad Rzeszutek Wilk 2012-06-27 18:55 ` Greg Kroah-Hartman 2012-06-27 18:55 ` Greg Kroah-Hartman 2012-06-27 18:52 ` Konrad Rzeszutek Wilk 2012-06-27 18:52 ` Konrad Rzeszutek Wilk 2012-06-27 19:29 ` Greg Kroah-Hartman 2012-06-27 19:29 ` Greg Kroah-Hartman 2012-06-25 16:14 ` [PATCH 2/3] zsmalloc: add generic path and remove x86 dependency Seth Jennings 2012-06-25 16:14 ` Seth Jennings 2012-06-25 16:59 ` Greg Kroah-Hartman 2012-06-25 16:59 ` Greg Kroah-Hartman 2012-06-25 17:10 ` Seth Jennings 2012-06-25 17:10 ` Seth Jennings 2012-06-25 17:19 ` Greg Kroah-Hartman 2012-06-25 17:19 ` Greg Kroah-Hartman 2012-06-25 18:24 ` Seth Jennings 2012-06-25 18:24 ` Seth Jennings 2012-06-25 23:37 ` Greg Kroah-Hartman 2012-06-25 23:37 ` Greg Kroah-Hartman 2012-06-27 5:28 ` Minchan Kim 2012-06-27 5:28 ` Minchan Kim 2012-06-27 19:09 ` Seth Jennings 2012-06-27 19:09 ` Seth Jennings 2012-06-28 0:20 ` Minchan Kim 2012-06-28 0:20 ` Minchan Kim 2012-06-25 16:14 ` [PATCH 3/3] x86: add local_tlb_flush_kernel_range() Seth Jennings 2012-06-25 16:14 ` Seth Jennings 2012-06-25 23:01 ` Konrad Rzeszutek Wilk 2012-06-25 23:01 ` Konrad Rzeszutek Wilk 2012-06-26 13:39 ` Seth Jennings 2012-06-26 13:39 ` Seth Jennings 2012-06-27 5:53 ` Minchan Kim 2012-06-27 5:53 ` Minchan Kim 2012-06-27 6:14 ` Alex Shi 2012-06-27 6:14 ` Alex Shi 2012-06-27 6:26 ` Minchan Kim 2012-06-27 6:26 ` Minchan Kim 2012-06-27 15:12 ` Dan Magenheimer 2012-06-27 15:12 ` Dan Magenheimer 2012-06-27 15:39 ` Konrad Rzeszutek Wilk 2012-06-27 15:39 ` Konrad Rzeszutek Wilk 2012-06-27 18:35 ` Seth Jennings 2012-06-27 18:35 ` Seth Jennings 2012-06-27 18:33 ` Seth Jennings 2012-06-27 18:33 ` Seth Jennings 2012-06-27 21:15 ` Dan Magenheimer 2012-06-27 21:15 ` Dan Magenheimer 2012-06-27 21:41 ` Seth Jennings 2012-06-27 21:41 ` Seth Jennings 2012-06-28 2:03 ` Alex Shi 2012-06-28 2:03 ` Alex Shi 2012-06-28 15:21 ` Seth Jennings 2012-06-28 15:21 ` Seth Jennings 2012-06-29 0:19 ` Alex Shi 2012-06-29 0:19 ` Alex Shi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1340640878-27536-2-git-send-email-sjenning@linux.vnet.ibm.com \ --to=sjenning@linux.vnet.ibm.com \ --cc=akpm@linux-foundation.org \ --cc=dan.magenheimer@oracle.com \ --cc=devel@driverdev.osuosl.org \ --cc=gregkh@linuxfoundation.org \ --cc=konrad.wilk@oracle.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mm@kvack.org \ --cc=minchan@kernel.org \ --cc=ngupta@vflare.org \ --cc=rcj@linux.vnet.ibm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.