Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965105AbbDVGjh (ORCPT ); Wed, 22 Apr 2015 02:39:37 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:37574 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933547AbbDVGjg (ORCPT ); Wed, 22 Apr 2015 02:39:36 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-3a-553742264c9f Message-id: <55374224.2050803@samsung.com> Date: Wed, 22 Apr 2015 08:39:32 +0200 From: Marcin Jabrzyk Organization: Samsung R&D Institute Poland User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-version: 1.0 To: Sergey Senozhatsky Cc: minchan@kernel.org, ngupta@vflare.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, kyungmin.park@samsung.com Subject: Re: [PATCH] zram: remove obsolete ZRAM_DEBUG option References: <1429615220-20676-1-git-send-email-m.jabrzyk@samsung.com> <20150421235552.GA1628@swordfish> In-reply-to: <20150421235552.GA1628@swordfish> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKLMWRmVeSWpSXmKPExsVy+t/xy7pqTuahBs+eK1jMWb+GzeJs0xt2 i8u75rBZLPv6nt1iQ8ssdotHEyYxObB57Jx1l91j06pONo8TM36zePRtWcXosfPTZlaPz5vk AtiiuGxSUnMyy1KL9O0SuDKuz1/LVjBfqKJp3Rq2BsbzfF2MnBwSAiYSa/58YIKwxSQu3FvP 1sXIxSEksJRRYvWcJUwQzjNGiXftZ1hAqngFtCR6pn1g7GLk4GARUJWY224CYrIJ6EicX60B UsEPVLGm6ToLSFhUIEKi+0QlRKOgxI/J98CGiAhYSdxZdQ3MZhaol5h57CsriC0sYCPx9Mlm sLiQQKbE8YszwGxOAT2JN7t6GCHqbSUWvF8H1SsvsXnNW+YJjIKzkKyYhaRsFpKyBYzMqxhF U0uTC4qT0nMN9YoTc4tL89L1kvNzNzFCAv/LDsbFx6wOMQpwMCrx8EqsMA0VYk0sK67MPcQo wcGsJMKbbGseKsSbklhZlVqUH19UmpNafIhRmoNFSZx37q73IUIC6YklqdmpqQWpRTBZJg5O qQbG5oAj20r8BFJvdZQYF+z2TD/6OH6uz0SbyNtqB6/w7XcTmao+07i/02h+8o47j5wyPnr5 m5x4uo2lWswsRXOD3/Mw25tTVv5c7HWw8HasVPzJZ7Vagh8EV/O+jmPIMj3r9471nSPfm/Kf +gefJ/6eccb36qN9SUs2Tj617E7oE4PdSWwXVrnvU2Ipzkg01GIuKk4EAIH1dLx4AgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2506 Lines: 83 On 22/04/15 01:55, Sergey Senozhatsky wrote: > On (04/21/15 13:20), Marcin Jabrzyk wrote: >> This config option doesn't provide any usage for zram. >> > > agree, there is no pr_debug() in the current zram. so the change > looks good to me. > > > btw, same stands for zsmalloc (for the time being): > > #ifdef CONFIG_ZSMALLOC_DEBUG > #define DEBUG > #endif > > seems to be useless. and there is even no ZSMALLOC_DEBUG config option > in mm/Kconfig. I've forgot to add this too in the patch, but I've saw it at some time earlier. Anyway I'll prepare v2 with removal of both unused DEBUGs. > > so let's return back to it and clean up after the merge window. I'll send v2 and eventually resend it after merge window closes. > > -ss > >> Signed-off-by: Marcin Jabrzyk >> --- >> drivers/block/zram/Kconfig | 10 +--------- >> drivers/block/zram/zram_drv.c | 4 ---- >> 2 files changed, 1 insertion(+), 13 deletions(-) >> >> diff --git a/drivers/block/zram/Kconfig b/drivers/block/zram/Kconfig >> index 6489c0fd0ea6..386ba3d1a6ee 100644 >> --- a/drivers/block/zram/Kconfig >> +++ b/drivers/block/zram/Kconfig >> @@ -23,12 +23,4 @@ config ZRAM_LZ4_COMPRESS >> default n >> help >> This option enables LZ4 compression algorithm support. Compression >> - algorithm can be changed using `comp_algorithm' device attribute. >> - >> -config ZRAM_DEBUG >> - bool "Compressed RAM block device debug support" >> - depends on ZRAM >> - default n >> - help >> - This option adds additional debugging code to the compressed >> - RAM block device driver. >> + algorithm can be changed using `comp_algorithm' device attribute. >> \ No newline at end of file >> diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c >> index fe67ebbe6c18..ea10f291d722 100644 >> --- a/drivers/block/zram/zram_drv.c >> +++ b/drivers/block/zram/zram_drv.c >> @@ -15,10 +15,6 @@ >> #define KMSG_COMPONENT "zram" >> #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt >> >> -#ifdef CONFIG_ZRAM_DEBUG >> -#define DEBUG >> -#endif >> - >> #include >> #include >> #include >> -- >> 1.9.1 >> > Best regards, -- Marcin Jabrzyk Samsung R&D Institute Poland Samsung Electronics -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/