All of lore.kernel.org
 help / color / mirror / Atom feed
* + i40e-use-numa_mem_id-to-better-support-memoryless-node.patch added to -mm tree
@ 2015-08-17 21:36 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-08-17 21:36 UTC (permalink / raw)
  To: jiang.liu, hpa, mgorman, mingo, peterz, rafael.j.wysocki,
	rientjes, tangchen, tglx, tj, tony.luck, umgwanakikbuti,
	mm-commits


The patch titled
     Subject: i40e: use numa_mem_id() to better support memoryless node
has been added to the -mm tree.  Its filename is
     i40e-use-numa_mem_id-to-better-support-memoryless-node.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/i40e-use-numa_mem_id-to-better-support-memoryless-node.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/i40e-use-numa_mem_id-to-better-support-memoryless-node.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Jiang Liu <jiang.liu@linux.intel.com>
Subject: i40e: use numa_mem_id() to better support memoryless node

i40e_clean_rx_irq() tries to reuse memory pages allocated from the nearest
node.  To better support memoryless node, use numa_mem_id() instead of
numa_node_id() to get the nearest node with memory.

This change should only affect performance.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/net/ethernet/intel/i40e/i40e_txrx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/ethernet/intel/i40e/i40e_txrx.c~i40e-use-numa_mem_id-to-better-support-memoryless-node drivers/net/ethernet/intel/i40e/i40e_txrx.c
--- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c~i40e-use-numa_mem_id-to-better-support-memoryless-node
+++ a/drivers/net/ethernet/intel/i40e/i40e_txrx.c
@@ -1518,7 +1518,7 @@ static int i40e_clean_rx_irq_ps(struct i
 	unsigned int total_rx_bytes = 0, total_rx_packets = 0;
 	u16 rx_packet_len, rx_header_len, rx_sph, rx_hbo;
 	u16 cleaned_count = I40E_DESC_UNUSED(rx_ring);
-	const int current_node = numa_node_id();
+	const int current_node = numa_mem_id();
 	struct i40e_vsi *vsi = rx_ring->vsi;
 	u16 i = rx_ring->next_to_clean;
 	union i40e_rx_desc *rx_desc;
_

Patches currently in -mm which might be from jiang.liu@linux.intel.com are

linux-next.patch
x86-numa-acpi-online-node-earlier-when-doing-cpu-hot-addition.patch
kernel-profilec-replace-cpu_to_mem-with-cpu_to_node.patch
sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch
openvswitch-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch
i40e-use-numa_mem_id-to-better-support-memoryless-node.patch
i40evf-use-numa_mem_id-to-better-support-memoryless-node.patch
x86-numa-kill-useless-code-to-improve-code-readability.patch
mm-update-_mem_id_-for-every-possible-cpu-when-memory-configuration-changes.patch
mm-x86-enable-memoryless-node-support-to-better-support-cpu-memory-hotplug.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-17 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-17 21:36 + i40e-use-numa_mem_id-to-better-support-memoryless-node.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.