Re: [RFCv2 5/9] arch/powerpc: Split hash page table sizing heuristic into a helper

2016-02-07 Thread Paul Mackerras
On Thu, Feb 04, 2016 at 04:26:20PM +0530, Anshuman Khandual wrote: > On 02/02/2016 06:34 AM, David Gibson wrote: > > On Mon, Feb 01, 2016 at 12:34:32PM +0530, Anshuman Khandual wrote: > >> On 01/29/2016 10:53 AM, David Gibson wrote: > >>> htab_get_table_size() either retrieve the size of the hash

Re: [RFCv2 5/9] arch/powerpc: Split hash page table sizing heuristic into a helper

2016-02-04 Thread Anshuman Khandual
On 02/02/2016 06:34 AM, David Gibson wrote: > On Mon, Feb 01, 2016 at 12:34:32PM +0530, Anshuman Khandual wrote: >> On 01/29/2016 10:53 AM, David Gibson wrote: >>> htab_get_table_size() either retrieve the size of the hash page table (HPT) >>> from the device tree - if the HPT size is determined

Re: [RFCv2 5/9] arch/powerpc: Split hash page table sizing heuristic into a helper

2016-02-01 Thread David Gibson
On Mon, Feb 01, 2016 at 12:34:32PM +0530, Anshuman Khandual wrote: > On 01/29/2016 10:53 AM, David Gibson wrote: > > htab_get_table_size() either retrieve the size of the hash page table (HPT) > > from the device tree - if the HPT size is determined by firmware - or > > uses a heuristic to

Re: [RFCv2 5/9] arch/powerpc: Split hash page table sizing heuristic into a helper

2016-01-31 Thread Anshuman Khandual
On 01/29/2016 10:53 AM, David Gibson wrote: > htab_get_table_size() either retrieve the size of the hash page table (HPT) > from the device tree - if the HPT size is determined by firmware - or > uses a heuristic to determine a good size based on RAM size if the kernel > is responsible for

[RFCv2 5/9] arch/powerpc: Split hash page table sizing heuristic into a helper

2016-01-28 Thread David Gibson
htab_get_table_size() either retrieve the size of the hash page table (HPT) from the device tree - if the HPT size is determined by firmware - or uses a heuristic to determine a good size based on RAM size if the kernel is responsible for allocating the HPT. To support a PAPR extension allowing