From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758800Ab0EBUw6 (ORCPT ); Sun, 2 May 2010 16:52:58 -0400 Received: from ksp.mff.cuni.cz ([195.113.26.206]:37357 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758754Ab0EBUwz (ORCPT ); Sun, 2 May 2010 16:52:55 -0400 Date: Sun, 2 May 2010 22:52:38 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Arve Hj??nnev??g , linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Alan Stern , Tejun Heo , Oleg Nesterov , Len Brown , Randy Dunlap , Jesse Barnes , Magnus Damm , Nigel Cunningham , Cornelia Huck , Ming Lei , Wu Fengguang , Andrew Morton , Maxim Levitsky , linux-doc@vger.kernel.org Subject: Re: [PATCH 1/8] PM: Add suspend block api. Message-ID: <20100502205238.GC9051@elf.ucw.cz> References: <1272667021-21312-1-git-send-email-arve@android.com> <1272667021-21312-2-git-send-email-arve@android.com> <20100502065635.GA1790@ucw.cz> <201005022210.54018.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201005022210.54018.rjw@sisk.pl> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 2010-05-02 22:10:53, Rafael J. Wysocki wrote: > On Sunday 02 May 2010, Pavel Machek wrote: > > Hi! > > > > > Adds /sys/power/policy that selects the behaviour of /sys/power/state. > > > After setting the policy to opportunistic, writes to /sys/power/state > > > become non-blocking requests that specify which suspend state to enter > > > when no suspend blockers are active. A special state, "on", stops the > > > process by activating the "main" suspend blocker. > > > > As I explained before (and got no reply), the proposed interface is > > ugly. It uses one sysfs file to change semantics of another one. > > In fact this behavior was discussed at the LF Collab Summit and no one > involved had any problem with that. Well, I explained why I disliked in previous mail in more details, and neither you nor Arve explained why it is good solution. I was not on LF Collab summit, so unfortunately I can't comment on that. > > > Signed-off-by: Arve Hj??nnev??g > > > > NAK. > > Ignored. WTF? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html