title: Linux Kernel NUMA related variable in struct task_struct
body: <p>Previously, Thank you for watching and answering about my question.</p>
  
  <p>I'm watching the code of linux kernel specifically, linux/kernel/kthread.c</p>
  
  <p>In the file, there's a function tsk_fork_get_node as below</p>
  
  <pre><code>/* called from do_fork() to get node information for about to be created task */
  int tsk_fork_get_node(struct task_struct *tsk)
  {
  #ifdef CONFIG_NUMA
      if (tsk == kthreadd_task)
          return tsk-&gt;pref_node_fork;
  #endif
      return NUMA_NO_NODE;
  }
  </code></pre>
  
  <p>I can't find the exact meaning of pref_node_fork variable. and i want to know the full name of it.</p>
  
  <p>I also found the patch (commit id 207205a2ba, with "git show 207205a2ba")</p>
  
  <p>But there's no explain for the pref_node_fork variable in task_struct.</p>
  
  <p>Summary : </p>
  
  <ol>
  <li><p>I want to know the exact meaning of pref_node_fork variable.</p></li>
  <li><p>I want to know the full name of pref_node_fork variable.</p></li>
  </ol>