[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <E490CD805F7529488761C40FD9D26EF12A672E03@dggemm507-mbx.china.huawei.com>
Date: Wed, 30 May 2018 03:31:38 +0000
From: Nixiaoming <nixiaoming@...wei.com>
To: Will Deacon <will.deacon@....com>
CC: "catalin.marinas@....com" <catalin.marinas@....com>,
"ard.biesheuvel@...aro.org" <ard.biesheuvel@...aro.org>,
"marc.zyngier@....com" <marc.zyngier@....com>,
"james.morse@....com" <james.morse@....com>,
"kristina.martsenko@....com" <kristina.martsenko@....com>,
"steve.capper@....com" <steve.capper@....com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"hpa@...or.com" <hpa@...or.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"vbabka@...e.cz" <vbabka@...e.cz>,
"mhocko@...e.com" <mhocko@...e.com>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
"dan.j.williams@...el.com" <dan.j.williams@...el.com>,
"kirill.shutemov@...ux.intel.com" <kirill.shutemov@...ux.intel.com>,
"zhang.jia@...ux.alibaba.com" <zhang.jia@...ux.alibaba.com>,
"schwidefsky@...ibm.com" <schwidefsky@...ibm.com>,
"heiko.carstens@...ibm.com" <heiko.carstens@...ibm.com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"x86@...nel.org" <x86@...nel.org>,
"linux-s390@...r.kernel.org" <linux-s390@...r.kernel.org>
Subject: RE: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for
mark_rodata_ro
Unable to set CONFIG_STRICT_KERNEL_RWX=n by make menuconfig ARCH=arm64
When reading the code, I feel it is more appropriate to add macro control here.
-----Original Message-----
From: Will Deacon [mailto:will.deacon@....com]
Sent: Tuesday, May 29, 2018 11:45 PM
To: Nixiaoming <nixiaoming@...wei.com>
Cc: catalin.marinas@....com; ard.biesheuvel@...aro.org; marc.zyngier@....com; james.morse@....com; kristina.martsenko@....com; steve.capper@....com; tglx@...utronix.de; mingo@...hat.com; hpa@...or.com; akpm@...ux-foundation.org; vbabka@...e.cz; mhocko@...e.com; dave.hansen@...ux.intel.com; dan.j.williams@...el.com; kirill.shutemov@...ux.intel.com; zhang.jia@...ux.alibaba.com; schwidefsky@...ibm.com; heiko.carstens@...ibm.com; gregkh@...uxfoundation.org; linux-kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; x86@...nel.org; linux-s390@...r.kernel.org
Subject: Re: [PATCH 1/3] arm64:add missing CONFIG_STRICT_KERNEL_RWX for mark_rodata_ro
On Tue, May 29, 2018 at 09:36:15PM +0800, nixiaoming wrote:
> mark_rodata_ro is only called by the function mark_readonly when
> CONFIG_STRICT_KERNEL_RWX=y,
> if CONFIG_STRICT_KERNEL_RWX is not set
> a compile warning may be triggered: unused function
How are you achieving this configuration? In our Kconfig we select this
unconditionally.
Will
Powered by blists - more mailing lists