Re: [PATCH v9 3/6] module: use relative references for __ksymtab entries

2018-06-27 Thread Ard Biesheuvel
On 27 June 2018 at 17:13, Will Deacon wrote: > Hi Ard, > > On Tue, Jun 26, 2018 at 08:27:58PM +0200, Ard Biesheuvel wrote: >> An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab >> entries, each consisting of two 64-bit fields containing absolute >> references, to the symbol itself and

Re: [PATCH v9 3/6] module: use relative references for __ksymtab entries

2018-06-27 Thread Will Deacon
Hi Ard, On Tue, Jun 26, 2018 at 08:27:58PM +0200, Ard Biesheuvel wrote: > An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab > entries, each consisting of two 64-bit fields containing absolute > references, to the symbol itself and to a char array containing > its name, respectively.

[PATCH v9 3/6] module: use relative references for __ksymtab entries

2018-06-26 Thread Ard Biesheuvel
An ordinary arm64 defconfig build has ~64 KB worth of __ksymtab entries, each consisting of two 64-bit fields containing absolute references, to the symbol itself and to a char array containing its name, respectively. When we build the same configuration with KASLR enabled, we end up with an addit