code: func (cache *schedulerCache) addPod(pod *v1.Pod) {
  	n, ok := cache.nodes[pod.Spec.NodeName]
  	if !ok {
  		n = newNodeInfoListItem(schedulernodeinfo.NewNodeInfo())
  		cache.nodes[pod.Spec.NodeName] = n
  	}
  	n.info.AddPod(pod)
  	cache.moveNodeInfoToHead(pod.Spec.NodeName)
  }
docs: // Assumes that lock is already acquired.