Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp349916pxh; Wed, 10 Nov 2021 02:51:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH0DVO2Z2LNtorzIUCQcpLSVEIypyFn1jWxidIA4MUNkFyFvabLl+Xpaad9rnbDxvKalRu X-Received: by 2002:a05:6402:c18:: with SMTP id co24mr20517564edb.278.1636541468879; Wed, 10 Nov 2021 02:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636541468; cv=none; d=google.com; s=arc-20160816; b=Gzk57A5eLNR0VhaV0XdS4LAEXi1tS9eSq1vPO/hV4pcOrffG4MuZcNk8QNFgAsXYy8 kxn4WUy3cR5b63Y0gdQuB8CZ4KgZeucwH0tr5xS/YFgDwUfFDPVTsFFz4L3r/BpGiFUD OEzBHLYtBoQDOnqC5MNUCQ3SYeK92ik4UgRSjKY7OvXzoCqKd5TxnmKhYKZzMj/QIFIy Av1Aocu6JIeu0PalyN8FEFRasPXUJLxJ/5FG5/e5iQC1/wnnrX+ChHhNMrW7RAzviVB3 TGyujTgXodyM1+4BDv3b9WaQ+NDlBIsU2X8tiumjChXlWc33n84dOCH6Me252SyIFgjb MfeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=F0FcQMt8KtDcz6jzXXPARu5MHQH+RUiDepOD6uVeJsY=; b=CSV6ifngXMJHwFqjALdB8iKQyXIGvTB0Ay7gMeYRzsZYPINDRJEnKVeEhXn+0xxxII dkIhqRpmpsbeItxzHIjH5tSKvviKLJBp7+QQqkrfR0GC3qIyhqcucg6q9lhm1tl+XexS ClJOXcQhHZ5NAzycBYqezSYHPKhIin3qivLE0hdfmyaDUxZNSwxD4hCmDmglJLyTnQP3 v+5VGqPkiA1c+bmQ1obdkLIRYssRscgnFOPCZqprNvI9DGM/oYhAuTMtDnWEsrTj4IRr oEx5J3sMIWD/RcqFVeymnAXZLl6APB1G86giyGBiLE/Z8JE5Yn905tEkU3NYqY9Bvl4s iYRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si25337454edc.69.2021.11.10.02.50.44; Wed, 10 Nov 2021 02:51:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231171AbhKJKtd convert rfc822-to-8bit (ORCPT + 99 others); Wed, 10 Nov 2021 05:49:33 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:49628 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbhKJKtd (ORCPT ); Wed, 10 Nov 2021 05:49:33 -0500 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-287-8KJ161tcNHKlvygMg9XwRA-1; Wed, 10 Nov 2021 10:46:44 +0000 X-MC-Unique: 8KJ161tcNHKlvygMg9XwRA-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.24; Wed, 10 Nov 2021 10:46:42 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.024; Wed, 10 Nov 2021 10:46:42 +0000 From: David Laight To: 'Peter Zijlstra' , Nick Desaulniers CC: Bill Wendling , Josh Poimboeuf , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "mark.rutland@arm.com" , "dvyukov@google.com" , "seanjc@google.com" , "pbonzini@redhat.com" , "mbenes@suse.cz" , "llvm@lists.linux.dev" , "linux-toolchains@vger.kernel.org" Subject: RE: [PATCH 20/22] x86,word-at-a-time: Remove .fixup usage Thread-Topic: [PATCH 20/22] x86,word-at-a-time: Remove .fixup usage Thread-Index: AQHX1a3cTPOCK2YRr06RWvi0T9RbLav8lJ+g Date: Wed, 10 Nov 2021 10:46:42 +0000 Message-ID: References: <20211105171023.989862879@infradead.org> <20211105171821.654356149@infradead.org> <20211108164711.mr2cqdcvedin2lvx@treble> <20211109210736.GV174703@worktop.programming.kicks-ass.net> In-Reply-To: <20211109210736.GV174703@worktop.programming.kicks-ass.net> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Zijlstra > Sent: 09 November 2021 21:08 ... > > GCC does the same, but I wanted to have the exception stuff be in > .text.cold, but alas it doesn't do that. I left the attribute because of > it's descriptive value. > > > Unless the cold attribute is helping move > > ("shrink-wrap"?) the basic block to a whole other section > > (.text.cold.)? > > I was hoping it would do that, but it doesn't on gcc-11. Wouldn't moving part of a function to .text.cold (or .text.unlikely) generate the same problems with the stack backtrace code as the .text.fixup section you are removing had?? David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)