From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: [PATCH 1/1] suspend: delete sys_sync() Date: Tue, 12 May 2015 08:11:38 +0200 Message-ID: <1431411098.5048.3.camel@suse.com> References: <4290667.ZqInAykFGS@vostro.rjw.lan> <20150509202518.GB20282@khazad-dum.debian.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from cantor2.suse.de ([195.135.220.15]:43681 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752354AbbELGM3 (ORCPT ); Tue, 12 May 2015 02:12:29 -0400 In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Len Brown Cc: Henrique de Moraes Holschuh , Alan Stern , "Rafael J. Wysocki" , One Thousand Gnomes , Linux PM list , "linux-kernel@vger.kernel.org" , Len Brown On Mon, 2015-05-11 at 16:34 -0400, Len Brown wrote: > But upon reflection, I do not believe that the kernel is adding value > here, > instead it is imposing a policy, and that policy decision is sometimes > prohibitively expensive. > User-space can do this for itself (and in the case of desktop distros, > already does), > and so the kernel should butt-out. There is however a race condition with doing it in user space. So adding a parameter to select behavior would increase safety a bit. Regards Oliver