From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out6.electric.net (smtp-out6.electric.net [192.162.217.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rDf1F3fQszDqJd for ; Wed, 25 May 2016 01:08:17 +1000 (AEST) From: David Laight To: 'Jiri Kosina' CC: Josh Poimboeuf , "linux-s390@vger.kernel.org" , Jessica Yu , Vojtech Pavlik , Petr Mladek , Peter Zijlstra , "x86@kernel.org" , Heiko Carstens , "linux-kernel@vger.kernel.org" , Ingo Molnar , "Andy Lutomirski" , "live-patching@vger.kernel.org" , Jiri Slaby , Miroslav Benes , "linuxppc-dev@lists.ozlabs.org" , Chris J Arges Subject: RE: livepatch: change to a per-task consistency model Date: Tue, 24 May 2016 15:06:54 +0000 Message-ID: <063D6719AE5E284EB5DD2968C1650D6D5F4C5254@AcuExch.aculab.com> References: <20160517225357.GA30725@packer-debian-8-amd64.digitalocean.com> <20160518165147.vyuamqfnm5kfwiqf@treble> <063D6719AE5E284EB5DD2968C1650D6D5F4C40D2@AcuExch.aculab.com> In-Reply-To: Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jiri Kosina=20 > Sent: 23 May 2016 19:45 > > Related, please can we have a flag for the sleep and/or process so that > > an uninterruptible sleep doesn't trigger the 'hung task' detector >=20 > TASK_KILLABLE Not sure that does what I want. It appears to allow some 'kill' actions to wake the process. I'm sure I've looked at the 'hung task' code since 2007. > > and also stops the process counting towards the 'load average'. >=20 > TASK_NOLOAD Ah, that was added in May 2015. Not surprising I didn't know about it. I'll leave the code doing: set_current_state(signal_pending(current) ? TASK_UNINTERRUPTIBLE ? TASK_I= NTERRUPTIBLE); for a while longer. David