mm: Dirty accountable change only apply to non prot numa case
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 12 Feb 2014 03:43:37 +0000 (09:13 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 17 Feb 2014 00:19:36 +0000 (11:19 +1100)
commit9d85d5863fa4818eb7fa306563bf830c0210c3a6
tree706890940e30e706bf4237bc02ef46600fa30462
parent88247e8d7ba6639f2c199e147ebbc91f7673150c
mm: Dirty accountable change only apply to non prot numa case

So move it within the if loop

Acked-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
mm/mprotect.c