Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754082AbbGPADA (ORCPT ); Wed, 15 Jul 2015 20:03:00 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:43519 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753938AbbGPAC6 (ORCPT ); Wed, 15 Jul 2015 20:02:58 -0400 From: "Rafael J. Wysocki" To: SungEun Kim Cc: pavel@ucw.cz, len.brown@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, "cleaeye.kim" Subject: Re: [PATCH v3] PM / Sleep: Use workqueue for user space wakeup sources garbage collector Date: Thu, 16 Jul 2015 02:29:36 +0200 Message-ID: <3758249.elpppgtaPW@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1435906640-27641-1-git-send-email-cleaneye.kim@lge.com> References: <1435739328-17021-1-git-send-email-cleaneye.kim@lge.com> <1435906640-27641-1-git-send-email-cleaneye.kim@lge.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 943 Lines: 26 On Friday, July 03, 2015 03:57:20 PM SungEun Kim wrote: > From: "cleaeye.kim" > > The synchronous synchronize_rcu in wakeup_source_remove makes user process > which writes to /sys/kernel/wake_unlock blocked sometimes. > > For example, when android eventhub tries to release wakelock, > this blocking process can occur, and eventhub can't get input event > for a while. > > Using workqueue instead of direct function call at pm_wake_unlock > can prevent this unnecessary delay of an user space process. > > Signed-off-by: SungEun Kim Queued up for 4.3, thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- 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/