Re: [PATCH] powerpc/mm: Dump hash table

2017-04-09 Thread RashmicaGupta
On 10/04/17 14:02, Anshuman Khandual wrote: On 04/10/2017 07:34 AM, Rashmica Gupta wrote: Current behaviour assumes that memory in RAM is contiguous and iterates from the start of RAM to (start + size of memory). When the memory isn't physically contiguous, this approach doesn't work. In dis

Re: [RFC] Remove memory from nodes for memtrace.

2017-02-22 Thread RashmicaGupta
On 23/02/17 14:56, Nicholas Piggin wrote: + +static bool memtrace_offline_pages(u32 nid, u64 start_pfn, u64 nr_pages) +{ + u64 end_pfn = start_pfn + nr_pages - 1; + + if (walk_memory_range(start_pfn, end_pfn, NULL, + check_memblock_online)) + return false;

Re: [RFC] Remove memory from nodes for memtrace.

2017-02-22 Thread RashmicaGupta
On 23/02/17 14:56, Nicholas Piggin wrote: On Thu, 23 Feb 2017 08:39:10 +1100 Rashmica Gupta wrote: Some powerpc hardware features may want to gain access to a chunk of undisturbed real memory. This update provides a means to unplug said memory from the kernel with a set of sysfs calls

Re: [RFC] Remove memory from nodes for memtrace.

2017-02-22 Thread RashmicaGupta
On 23/02/17 15:01, Andrew Donnellan wrote: On 23/02/17 14:56, Nicholas Piggin wrote: Written by Douglas Lehr . You could mention original author in the changelog. I thought Anton wrote some of it too? You'll want to include the Signed-off-by of all authors involved Even without them seei