Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933155AbbGUPTq (ORCPT ); Tue, 21 Jul 2015 11:19:46 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38171 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932629AbbGUPTo (ORCPT ); Tue, 21 Jul 2015 11:19:44 -0400 Date: Tue, 21 Jul 2015 17:19:41 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , "Brown, Len" , Austin S Hemmelgarn , Len Brown , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/1] suspend: make sync() on suspend-to-RAM optional Message-ID: <20150721151941.GA19581@amd> References: <1436927091-32520-1-git-send-email-lenb@kernel.org> <55A668FE.80409@gmail.com> <1A7043D5F58CCB44A599DFD55ED4C948468A7978@fmsmsx115.amr.corp.intel.com> <1684935.fYtBRJbzgO@vostro.rjw.lan> <20150721093806.GA23841@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2074 Lines: 56 On Tue 2015-07-21 16:41:12, Rafael J. Wysocki wrote: > Hi Pavel, > > On Tue, Jul 21, 2015 at 11:38 AM, Pavel Machek wrote: > > On Sat 2015-07-18 01:54:09, Rafael J. Wysocki wrote: > >> On Wednesday, July 15, 2015 02:58:22 PM Brown, Len wrote: > > [cut] > > >> > >> Why do you need CONFIG parameter? > >> > > >> > So that an OS that doesn't want to change their user-space, > >> > can build a kernel that does what they want by default. > >> > > >> > Originally I had the config parameter remove this code entirely, > >> > which would achieve the same goal. > >> > But Rafael prefers the sysfs attribute always exist > >> > and the config simply set the default. > >> > >> Indeed. > >> > >> And so I'm queuing this patch up for 4.3 (with a couple of minor fixups). > > > > Please don't. > > > > "OS that doesn't want to change the user-space to speed up suspend by > > few milliseconds" is not a valid reason for asking about million users > > one more config question. > > That's your opinion and I beg to differ. Perhaps explaining your opinion would help here? Having to echo value to file to improve performance over reliability does not look too burdensome on the users. > > Affected users can't run mainline kernel > > anyway, and will have to change their userland in non-trivial ways to > > get there. > > And I'm not sure what you're talking about here. Who are the > "affected users" in particular? Who does enter suspend to ram multiple times a second? Only android, AFAICT. Can you run android on mainline kernel? No. Can you run android on kernel with less that 100k lines of patches? No. So who benefits from the new config option? No one. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- 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/