Re: [PATCH v3 17/17] ARM: mm: clean up membank size limit checks

2012-09-21 Thread Cyril Chemparathy
On 9/21/2012 2:42 PM, Nicolas Pitre wrote: On Tue, 11 Sep 2012, Cyril Chemparathy wrote: This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also remo

Re: [PATCH v3 17/17] ARM: mm: clean up membank size limit checks

2012-09-21 Thread Nicolas Pitre
On Tue, 11 Sep 2012, Cyril Chemparathy wrote: > This patch cleans up the highmem sanity check code by simplifying the range > checks with a pre-calculated size_limit. This patch should otherwise have no > functional impact on behavior. > > This patch also removes a redundant (bank->start < vmall

[PATCH v3 17/17] ARM: mm: clean up membank size limit checks

2012-09-11 Thread Cyril Chemparathy
This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also removes a redundant (bank->start < vmalloc_limit) check, since this is already covered by the !hi