Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754696AbbHGBsh (ORCPT ); Thu, 6 Aug 2015 21:48:37 -0400 Received: from smtprelay0157.hostedemail.com ([216.40.44.157]:39793 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752373AbbHGBsg (ORCPT ); Thu, 6 Aug 2015 21:48:36 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:355:379:541:599:800:960:967:968:973:982:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2560:2563:2682:2685:2693:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:6117:6261:6691:7903:8599:8700:8828:9025:9388:10004:10049:10400:10848:11232:11658:11914:12043:12296:12517:12519:12555:12663:12740:12776:13069:13149:13230:13311:13357:13618:14096:14097:14107:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: band53_109b275109518 X-Filterd-Recvd-Size: 2604 Message-ID: <1438912113.2322.7.camel@perches.com> Subject: Re: [PATCH 0/3] zram: Replace pr_* with dev_* From: Joe Perches To: Sergey Senozhatsky Cc: Salah Triki , minchan@kernel.org, ngupta@vflare.org, linux-kernel@vger.kernel.org Date: Thu, 06 Aug 2015 18:48:33 -0700 In-Reply-To: <20150807014212.GB1891@swordfish> References: <20150807000520.GA1891@swordfish> <1438910251.2322.2.camel@perches.com> <20150807014212.GB1891@swordfish> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1865 Lines: 54 On Fri, 2015-08-07 at 10:42 +0900, Sergey Senozhatsky wrote: > Hello Joe, > > On (08/06/15 18:17), Joe Perches wrote: > [..] > > > "Can't change algorithm for initialized device\n" > > > --> "Can't change algorithm to %s for initialized device\n" > > > > > > > > > People already can have scripts doing `grep "zram:"` on dmesg or > > > whatever. We cannot change this anymore. > > > > That's not true at all. > > > > Using grep on dmesg is specifically _not_ guaranteed > > to remain stable between kernel versions. > > It depends, I guess. People do use grep after all and people don't > like when things are getting changed underneath; and we don't want > to do this. I think Minchan is with me here. We even didn't add some > additional pr_info/pr_err noise recently because we don't want > people to depend on that part. > > http://lkml.iu.edu/hypermail/linux/kernel/1505.3/01759.html > > Minchan Kim : > > |I meant if we remove the pr_err in future by some reason, > |someone might shout > | > |"No, it's ABI so if you guys removes it, it will break user interface's > |semantic". Maybe he seems to depends on parse on dmesg. > |That is not what I want. > > And I saw some time ago people doing that type of thing. So I'd like > to avoid unnecessary pain for zram users even if the messages are not > guaranteed to remain stable between kernel releases. Just my opinion. I'm fine with you having an opinion but I'm not fine with you stating: "We cannot change this anymore. This potentially breaks things in user space. So, I NACK the change set." . because dmesg is not an ABI. -- 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/