Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753735AbbGBQZ7 (ORCPT ); Thu, 2 Jul 2015 12:25:59 -0400 Received: from mail.skyhub.de ([78.46.96.112]:47324 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753598AbbGBQZw (ORCPT ); Thu, 2 Jul 2015 12:25:52 -0400 Date: Thu, 2 Jul 2015 18:25:28 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Andy Lutomirski , X86 ML , "linux-kernel@vger.kernel.org" , =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , Rik van Riel , Oleg Nesterov , Denys Vlasenko , Kees Cook , Brian Gerst , Paul McKenney Subject: Re: [PATCH v4 09/17] x86/entry: Add new, comprehensible entry and exit hooks Message-ID: <20150702162528.GK4001@pd.tnic> References: <5fa9d4c6b13d0d5a5cf77c64e9253af32b391f1c.1435602481.git.luto@kernel.org> <20150702094837.GD4001@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 22 On Thu, Jul 02, 2015 at 09:03:11AM -0700, Andy Lutomirski wrote: > Nothing, actually. We could spin forever if we keep scheduling in and > having TIF_NEED_RESCHED get set before we check again, or we could > even, in principle, keep delivering more and more signals forever. > This seems quite unlikely, though, and if we really end up delivering > infinite signals, something is very wrong already. And if it hasn't happened already with the current code, then I guess we're always catching a break. And it's not like we're not preemptible for the whole looping duration so not a problem even for -RT. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/