Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Laura Abbott
On 11/04/2015 11:44 PM, Ard Biesheuvel wrote: On 3 November 2015 at 22:48, Laura Abbott wrote: Currently, the set_memory_* functions that are implemented for arm64 are restricted to module addresses only. This was mostly done because arm64 maps normal zone memory with larger page sizes to impr

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Laura Abbott
On 11/05/2015 03:10 AM, Xishi Qiu wrote: On 2015/11/5 2:12, Laura Abbott wrote: On 11/03/2015 06:59 PM, zhong jiang wrote: Hi Laura This patch seems vaild, but I didn't feel very reasonable. Because of the large page to make TLB performance better, just split it if it is necessary.therefore,

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Xishi Qiu
On 2015/11/4 5:48, Laura Abbott wrote: > > Currently, the set_memory_* functions that are implemented for arm64 > are restricted to module addresses only. This was mostly done > because arm64 maps normal zone memory with larger page sizes to > improve TLB performance. This has the side effect tho

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Xishi Qiu
On 2015/11/5 2:12, Laura Abbott wrote: > On 11/03/2015 06:59 PM, zhong jiang wrote: >> >> Hi Laura >> >> This patch seems vaild, but I didn't feel very reasonable. >> Because of the large page to make TLB performance better, just >> split it if it is necessary.therefore, I think the first thing >>

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-04 Thread Ard Biesheuvel
On 3 November 2015 at 22:48, Laura Abbott wrote: > > Currently, the set_memory_* functions that are implemented for arm64 > are restricted to module addresses only. This was mostly done > because arm64 maps normal zone memory with larger page sizes to > improve TLB performance. This has the side e

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-03 Thread zhong jiang
On 2015/11/4 5:48, Laura Abbott wrote: > > Currently, the set_memory_* functions that are implemented for arm64 > are restricted to module addresses only. This was mostly done > because arm64 maps normal zone memory with larger page sizes to > improve TLB performance. This has the side effect thou

[PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-03 Thread Laura Abbott
Currently, the set_memory_* functions that are implemented for arm64 are restricted to module addresses only. This was mostly done because arm64 maps normal zone memory with larger page sizes to improve TLB performance. This has the side effect though of making it difficult to adjust attributes at