Thread (10 messages) 10 messages, 3 authors, 2014-08-22

Re: [RFC PATCH v3 1/4] topology: add support for node_to_mem_node() to determine the fallback node

From: Christoph Lameter <hidden>
Date: 2014-08-14 14:35:42
Also in: linuxppc-dev

On Wed, 13 Aug 2014, Nishanth Aravamudan wrote:
quoted hunk ↗ jump to hunk
+++ b/include/linux/topology.h
@@ -119,11 +119,20 @@ static inline int numa_node_id(void)
  * Use the accessor functions set_numa_mem(), numa_mem_id() and cpu_to_mem().
  */
 DECLARE_PER_CPU(int, _numa_mem_);
+extern int _node_numa_mem_[MAX_NUMNODES];
Why are these variables starting with an _ ?
Maybe _numa_mem was defined that way because it is typically not defined.
We dont do this in other situations.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help