Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4814416imm; Tue, 26 Jun 2018 00:40:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLoHbUohrfW436OnOP5iVf5GY2NJVa3bKmv2Srr7yVTfrj7gkS9NIpiGwEybMEs2AUb6KfB X-Received: by 2002:a17:902:bccc:: with SMTP id o12-v6mr442459pls.169.1529998802542; Tue, 26 Jun 2018 00:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529998802; cv=none; d=google.com; s=arc-20160816; b=WvWGc44hfEgsHRQKDHpgKVVwvc0HNQCPl0mTKXm5d3V0Tw99hsf4lokWUgCCozKRsQ vwbu3E5WyaJcY4ws/HLCcXiw9dCoIBpZv/V2alCQSBPj0zAH9YmOzNPQcsWrHpqBsqfF lUPlMa9QLf6tWJF7OMmJf3F6hzZl4Kim4RI/7vD0x6l32wTbN6YjqmM87zY9w8rA5Pt0 oQ3Y1SVWClcB3pi0G+N+Efafc6Zi3avaoByjGh940qsBctu6d1WBo4Oq+P73BswFgfNh toarsCWNDocY0uI9h3YDF4YFcNPRa9HqZrEIUPrHQBJhFrKxRdvIWWUGgEWeXpVX/Nb2 5WWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=rP7Dbil5cHbp6Evf1QAAk8QnMC2uQzQb6aoX4XF05NM=; b=OILYoLRQbcUIJ3MpbDg3vDllhtjgAGQKVH4prvGoCiCe9FZxcaWseCRSRUui9oIDt4 qyrgILVnHXNKUBfjxgLkVelxDF7KecaV6u+2AIOOFSPSzYyEE2cBbEiMkPrf+tCwGiQx rcw3Owqw+wNUlANdvIxJcOPJcQi8SYTDCx0mRJHIDXNllm6UpMlwyRX9ctw3B5wuM5JX Il/MwBtt6LKG65hOnN627lEkI0dgmYvb5LhnbQwTVIdVMw6YEfOFmZSHmcnBigJ8vcio mOce6ZECjqyNGzwHL57fNDbQKsiWFIUANaiZF+PJFR6m8Itmcr/vW72Zzfi7FYI6H7jH iwmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=X33WAmML; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22-v6si862542pgv.236.2018.06.26.00.39.47; Tue, 26 Jun 2018 00:40:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=X33WAmML; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752604AbeFZHjA (ORCPT + 99 others); Tue, 26 Jun 2018 03:39:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:59984 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751982AbeFZHi7 (ORCPT ); Tue, 26 Jun 2018 03:38:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rP7Dbil5cHbp6Evf1QAAk8QnMC2uQzQb6aoX4XF05NM=; b=X33WAmML+BusZd/2SQW4Y50c2j Djx/G6IZJv5uREOYQKZbjypWK6OIftd2j50Yy+B/BaWRcIVnrZyDBlpQ8ffo9DDOXjnsi1OOj0Fn6 nkad9ZVYwS4O0nbDjVmM8RTKvyfd6c2lsodUgwtbMvFa3q87skbTiEc8Jf0z1Dl/r7hsLARVVbbkP 9zDBgOcB0hsuUpSjWLnjO8FvwIF7vG197Z5UNV+gst+l3aQ7LSKNjsyWcN8SzWxYx+W7ii2ctokyl /rgWXoIyBFmic+QAIav0ksqhCn6vBmdnOMBM6cv79CM8flzeQsairWHuOy2nszlab8QwUrX9tn3p7 SZJBOz+A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fXiYl-0006Hl-Dh; Tue, 26 Jun 2018 07:38:43 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AF0EA2029FA0E; Tue, 26 Jun 2018 09:38:41 +0200 (CEST) Date: Tue, 26 Jun 2018 09:38:41 +0200 From: Peter Zijlstra To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: linux-kernel@vger.kernel.org, Oleg Nesterov , "Eric W . Biederman" , "Rafael J . Wysocki" , Andrew Morton , Gavin Schenk , kernel@pengutronix.de Subject: Re: [PATCH] RFC: siox: don't create a thread without starting it Message-ID: <20180626073841.GY2458@hirez.programming.kicks-ass.net> References: <20180625102056.28468-1-u.kleine-koenig@pengutronix.de> <20180625125105.GZ2494@hirez.programming.kicks-ass.net> <20180625192121.k3hx32xbbhqkyfu4@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180625192121.k3hx32xbbhqkyfu4@pengutronix.de> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 25, 2018 at 09:21:21PM +0200, Uwe Kleine-K?nig wrote: > > I don't think so, that patch has an issue with INTERRUPTIBLE, but IDLE > > very much doesn't allow signals like INTERRUPTIBLE does. > > I don't think I can provide a good commit log for > s/TASK_UNINTERRUPTIBLE/TASK_IDLE/ in kernel/kthread.c:kthread(). But I > can confirm that this patch makes the warning go away, so if you want to > address this, you can add my Tested-by:. Yeah, it's also a little bit more involved, I'd also have to change all the kthread_bind() code and audit all kthread users to see if anybody else actually relies on TASK_UNINTERRUPTIBLE. So I think I'll leave it as is for now, maybe another day ... :-)