Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756776AbbGGNSF (ORCPT ); Tue, 7 Jul 2015 09:18:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:37213 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753297AbbGGNRx (ORCPT ); Tue, 7 Jul 2015 09:17:53 -0400 Message-ID: <1436275008.4460.18.camel@suse.com> Subject: Re: [PATCH 1/1] suspend: delete sys_sync() From: Oliver Neukum To: "Rafael J. Wysocki" Cc: Dave Chinner , Len Brown , Henrique de Moraes Holschuh , Alan Stern , One Thousand Gnomes , Linux PM list , "linux-kernel@vger.kernel.org" , Len Brown Date: Tue, 07 Jul 2015 15:16:48 +0200 In-Reply-To: <1652992.e7VOEWpWyZ@vostro.rjw.lan> References: <4290667.ZqInAykFGS@vostro.rjw.lan> <1595559.BsCkcDEfNB@vostro.rjw.lan> <20150707011756.GC3902@dastard> <1652992.e7VOEWpWyZ@vostro.rjw.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 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: 566 Lines: 18 On Tue, 2015-07-07 at 14:14 +0200, Rafael J. Wysocki wrote: > For example, on desktop systems I use user space syncs filesystems > before > writing to /sys/power/state, so the additional sys_sync() in the > kernel doesn't > seem to serve any purpose. There is a race you cannot close in user space. Regards Oliver -- 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/