Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

From: Raghavendra K T
Date: Thu Feb 13 2014 - 04:59:49 EST


On 02/13/2014 01:35 PM, David Rientjes wrote:
On Thu, 13 Feb 2014, Raghavendra K T wrote:

I was able to test (1) implementation on the system where readahead problem
occurred. Unfortunately it did not help.

Reason seem to be that CONFIG_HAVE_MEMORYLESS_NODES dependency of
numa_mem_id(). The PPC machine I am facing problem has topology like
this:
[...]

So it seems numa_mem_id() does not help for all the configs..
Am I missing something ?


You need the patch from http://marc.info/?l=linux-mm&m=139093411119013
first.

Thanks David, unfortunately even after applying that patch, I do not see
the improvement.

Interestingly numa_mem_id() seem to still return the value of a
memoryless node.
May be per cpu _numa_mem_ values are not set properly. Need to dig out ....

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/