From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10294C43334 for ; Mon, 27 Jun 2022 22:08:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241996AbiF0WIa (ORCPT ); Mon, 27 Jun 2022 18:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242702AbiF0WH6 (ORCPT ); Mon, 27 Jun 2022 18:07:58 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE8D1EAE3 for ; Mon, 27 Jun 2022 15:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hd5cTStikKtz0tlIXNTx5Krap4rwRL5aZNJ2LQhABak=; b=nLEdo93IKdL9y1s/O/X3cU2L6h NxK6olojRPEtMre+dz8dkg5Q3gGv/xgeio7ua4m82gBPxgfVD/+P59L77mC/rIaIL6oPdY/S7EovR /eV0WHKTOJWNnBYLr5qUTGsBa3IyavO00wDBkbpc7YST5hKbVavz4DqSNTBhh8zQ/Es3M+M0Rebfi Q8DnxZzd/xwKNNH9wyEnIIAbMerRU1bOxvhiLs5boGQNUB8beLBfUzjqz9kBd6HKBkSD6Gbf6vXP0 LagFG+d6EVdDmqopVHMCsTeGJ0AtpoMLmy70Ud0Sc4FKGgRTCGfDl8Z5DLfHGmpnaB+GZAlUwGSfk d685gLPg==; Received: from dhcp-077-249-017-003.chello.nl ([77.249.17.3] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5wsL-00Di3i-4C; Mon, 27 Jun 2022 22:06:39 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 73EA53001F3; Tue, 28 Jun 2022 00:06:30 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id B4C6C207F0D5E; Tue, 28 Jun 2022 00:06:29 +0200 (CEST) Date: Tue, 28 Jun 2022 00:06:29 +0200 From: Peter Zijlstra To: Wedson Almeida Filho Cc: Tejun Heo , Linus Torvalds , "Eric W. Biederman" , Christian Brauner , Petr Mladek , Lai Jiangshan , Michal Hocko , Linux Kernel Mailing List , Thomas Gleixner , Ingo Molnar , Andrew Morton , Oleg Nesterov Subject: Re: [PATCH 3/3] kthread: Stop abusing TASK_UNINTERRUPTIBLE (INCOMPLETE) Message-ID: References: <87pmiw1fy6.fsf@email.froward.int.ebiederm.org> <87ilonuti2.fsf_-_@email.froward.int.ebiederm.org> <871qvbutex.fsf_-_@email.froward.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 27, 2022 at 06:04:12PM +0000, Wedson Almeida Filho wrote: > let new_thread = task::new_paused(|| pr_info!("Hello world\n"))?; I'm still having a really hard time with this Rust stuff, the above looks like a syntax error and random characters to me :/