From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751593AbdBXJPr (ORCPT ); Fri, 24 Feb 2017 04:15:47 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35838 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbdBXJPl (ORCPT ); Fri, 24 Feb 2017 04:15:41 -0500 Date: Fri, 24 Feb 2017 10:15:37 +0100 From: Ingo Molnar To: hpa@zytor.com Cc: Peter Zijlstra , Arjan van de Ven , Thomas Gleixner , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, bp@alien8.de, jpoimboe@redhat.com, richard.weinberger@gmail.com, Andrew Morton Subject: Re: [PATCH] x86: Implement __WARN using UD0 Message-ID: <20170224091537.GA18182@gmail.com> References: <20170223132813.GB6515@twins.programming.kicks-ass.net> <20170223145751.GE6515@twins.programming.kicks-ass.net> <20170224074325.GA4095@gmail.com> <20170224083115.GK6515@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * hpa@zytor.com wrote: > Incidentally, as an alternative to a #UD, int $9 could be an alternative > (exception vector 9 was discontinued with the 486.) With thousands of call sites a one byte opcode would be preferred, that's why INT3 is so nice. Thanks, Ingo