Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbdF1OFo (ORCPT ); Wed, 28 Jun 2017 10:05:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37682 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbdF1OFj (ORCPT ); Wed, 28 Jun 2017 10:05:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 28 Jun 2017 07:05:38 -0700 From: Vikram Mulukutla To: rusty@rustcorp.com.au, tj@kernel.org, tglx@linutronix.de, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] kthread: Atomically set completion and perform dequeue in __kthread_parkme In-Reply-To: <318fac36-66cd-7f90-df61-44042119ee2e@codeaurora.org> References: <1498515483-12743-1-git-send-email-markivx@codeaurora.org> <318fac36-66cd-7f90-df61-44042119ee2e@codeaurora.org> Message-ID: <2be88c3404544fff36fe0f634be78b4b@codeaurora.org> User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 23 Ping. This is happening on x86 across suspend/resume too. https://bugs.freedesktop.org/show_bug.cgi?id=100113 On 2017-06-26 16:03, Vikram Mulukutla wrote: > correcting Thomas Gleixner's email address. s/linuxtronix/linutronix > > On 6/26/2017 3:18 PM, Vikram Mulukutla wrote: >> kthread_park waits for the target kthread to park itself with >> __kthread_parkme using a completion variable. __kthread_parkme - which >> is >> invoked by the target kthread - sets the completion variable before >> calling schedule() to voluntarily get itself off of the runqueue. Thanks, Vikram -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project