search for: node_set

Displaying 3 results from an estimated 3 matches for "node_set".

Did you mean: mode_set
2013 Sep 17
1
[PATCH] xen: numa-sched: leave node-affinity alone if not in "auto" mode
.../ if ( d->auto_node_affinity ) { - /* Node-affinity is automaically computed from all vcpu-affinities */ + nodes_clear(d->node_affinity); for_each_online_node ( node ) if ( cpumask_intersects(&node_to_cpumask(node), cpumask) ) - node_set(node, nodemask); - - d->node_affinity = nodemask; - } - else - { - /* Node-affinity is provided by someone else, just filter out cpus - * that are either offline or not in the affinity of any vcpus. */ - nodemask = d->node_affinity; - for_each_node...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...ore_id; --- 2009-07-10.orig/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c 2009-05-27 13:54:05.000000000 +0200 +++ 2009-07-10/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c 2009-07-15 10:01:39.000000000 +0200 @@ -211,7 +211,7 @@ sn2_global_tlb_purge(unsigned long start spin_lock(&sn2_ptcg_lock2); node_set(cpu_to_node(smp_processor_id()), nodes_flushed); i = 0; - for_each_cpu(cpu) { + for_each_possible_cpu(cpu) { cnode = cpu_to_node(cpu); if (!node_isset(cnode, nodes_flushed)) { cpu_set(cpu, selected_cpus); @@ -269,7 +269,7 @@ sn2_global_tlb_purge(struct mm_struct *m i++; } #else -...
2015 Oct 09
3
Python version for scripts in LLVM?
...is ./DSAextract <dot_file_to_modify> \ + <output_file> [list of nodes to extract]') #open the input file input = open(sys.argv[1], 'r') @@ -71,11 +73,11 @@ #test code -#print '\n' +#print('\n') -print node_name_set +print(node_name_set) -#print node_set +#print(node_set) #open the output file Index: bisect =================================================================== --- bisect (revision 249819) +++ bisect (working copy) @@ -1,5 +1,6 @@ #!/usr/bin/env python +from __future__ import print_function import os import sys import argpa...