commit | 957b778a166e32e242a33fdab693ffb256a19cbd | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Wed Mar 22 09:06:58 2017 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Apr 01 21:12:20 2017 +1100 |
tree | e4ffce7347a62e55ac2cd99b3efdb2e62c7cf070 | |
parent | f6eedbba7a26fdaee9ea8121336dc86236c136c7 [diff] |
powerpc/mm: Add addr_limit to mm_context and use it to derive max slice index In the followup patch, we will increase the slice array size to handle 512TB range, but will limit the max addr to 128TB. Avoid doing unnecessary computation and avoid doing slice mask related operation above address limit. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>