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 9D402C636D4 for ; Fri, 10 Feb 2023 21:08:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232965AbjBJVIi (ORCPT ); Fri, 10 Feb 2023 16:08:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233860AbjBJVId (ORCPT ); Fri, 10 Feb 2023 16:08:33 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A21917D3DF; Fri, 10 Feb 2023 13:08:31 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6B46BB825D9; Fri, 10 Feb 2023 21:08:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01FF7C433D2; Fri, 10 Feb 2023 21:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676063308; bh=s+9eFHJUHFSNfVyDHdkS7EW8AqN5IG6JEqbP5VMa2Vg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q0RHGSJrktXjXeV05/ntFECUSTZB5fxapaRrq+KT1/mLcPGaYYS2+lHq/hTE/c+XL bb6XiPU4eZZXvqFRjLVv9uJytfRBMVAMQaQPJm4ab3a/hL1aD8nBl6Nv0aHtMqC1JD VVeZLANZTiHUe5q4W1q6mU397ARyYTxgUm6auLU3iKbKu5sRz+Uin3lEPe/o3GkQgF k7eNiFY0hc40385qL10+1Dn6imafYsNUt5WpxHC9MGbXMbMpb66TcIY6qny0QKoBHE PQsbw3sW3Cdj5Tk+OOCQP8WSxXbKx4i9lo0HyMyExe3BOVTz6YSzRmsyka3fm8SIF3 gIbuXWeXqY3cA== Date: Fri, 10 Feb 2023 15:08:26 -0600 From: Seth Forshee To: Josh Poimboeuf Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Song Liu , Mark Rutland , Petr Mladek , Joe Lawrence , Miroslav Benes , Jiri Kosina , Ingo Molnar Subject: Re: [PATCH 0/3] livepatch,sched: Add livepatch task switching to cond_resched() Message-ID: References: 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 Thu, Feb 09, 2023 at 11:17:46AM -0800, Josh Poimboeuf wrote: > Fix patching stalls caused by busy kthreads. > > Josh Poimboeuf (3): > livepatch: Skip task_call_func() for current task > livepatch,sched: Add livepatch task switching to cond_resched() > vhost: Fix livepatch timeouts in vhost_worker() This is working perfectly in my testing. The busy vhost threads get switched immediately. Thanks for working up these patches! Tested-by: Seth Forshee (DigitalOcean) Thanks, Seth