From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by kanga.kvack.org (Postfix) with ESMTP id B36D76B0282 for ; Fri, 2 Oct 2015 07:49:52 -0400 (EDT) Received: by wiclk2 with SMTP id lk2so27569046wic.1 for ; Fri, 02 Oct 2015 04:49:52 -0700 (PDT) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com. [2a00:1450:400c:c05::235]) by mx.google.com with ESMTPS id m8si12854466wje.195.2015.10.02.04.49.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 04:49:51 -0700 (PDT) Received: by wiclk2 with SMTP id lk2so27568498wic.1 for ; Fri, 02 Oct 2015 04:49:51 -0700 (PDT) Subject: Re: [PATCH 26/26] x86, pkeys: Documentation References: <20150916174903.E112E464@viggo.jf.intel.com> <20150916174913.AF5FEA6D@viggo.jf.intel.com> <20150920085554.GA21906@gmail.com> <55FF88BA.6080006@sr71.net> <20150924094956.GA30349@gmail.com> <56044A88.7030203@sr71.net> <20151001111718.GA25333@gmail.com> <560DB4A6.6050107@sr71.net> From: Paolo Bonzini Message-ID: <560E6F5C.4040302@redhat.com> Date: Fri, 2 Oct 2015 13:49:48 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Dave Hansen Cc: Kees Cook , Ingo Molnar , "x86@kernel.org" , LKML , Linux-MM , Andrew Morton , Peter Zijlstra , Andy Lutomirski , Borislav Petkov On 02/10/2015 00:48, Linus Torvalds wrote: > It's quite likely that you will find that compilers put read-only > constants in the text section, knowing that executable means readable. Not on x86 (because it has large immediates; RISC machines and s390 do put large constants in the text section). But at the very least jump tables reside in the .text seection. Paolo -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org