Lines Matching full:partition
51 * CPU partitions. cpu_lock protects the CPU partition list, and prevents
62 * The cp_default partition is allocated statically, but its lgroup load average
89 * partition is a kernel dispatcher object consisting of a set of CPUs
91 * implemented via a CPU partition, and currently there is a 1-1
93 * partition, which is not visible as a processor set). Hence, the
105 * Find a CPU partition given a processor set ID.
115 /* default partition not visible as a processor set */ in cpupart_find_all()
132 * Find a CPU partition given a processor set ID if the processor set
266 * Initialize the default partition and kpreempt disp queue.
355 * the partition. Note that threads can't enter the in cpupart_move_cpu()
356 * partition while we're holding cpu_lock. in cpupart_move_cpu()
361 * The last CPU is removed from a partition which has threads in cpupart_move_cpu()
375 * No bound threads in this partition any more in cpupart_move_cpu()
380 * There are still threads bound to the partition in cpupart_move_cpu()
433 * partition. in cpupart_move_cpu()
468 /* save this cpu's lgroup -- it'll be the same in the new partition */ in cpupart_move_cpu()
473 * let the lgroup framework know cp has left the partition in cpupart_move_cpu()
477 /* move out of old partition */ in cpupart_move_cpu()
493 /* move into new partition */ in cpupart_move_cpu()
513 * let the lgroup framework know cp has entered the partition in cpupart_move_cpu()
527 * being moved out of the partition. in cpupart_move_cpu()
553 * longer has any CPUs in t's partition, in cpupart_move_cpu()
564 * make sure lpl points to our own partition in cpupart_move_cpu()
604 * longer has any CPUs in t's partition, in cpupart_move_cpu()
618 /* make sure lpl points to our own partition */ in cpupart_move_cpu()
637 * partition is now empty. in cpupart_move_cpu()
642 * Make cp switch to a thread from the new partition. in cpupart_move_cpu()
666 * Check if thread can be moved to a new cpu partition. Called by
695 * Move thread to new partition. If ignore is non-zero, then CPU
697 * partition).
726 * Make the thread switch to the new partition. in cpupart_move_thread()
739 * partition, so the thread can stay assigned to the in cpupart_move_thread()
741 * lpl_t for its lgroup in its new partition. in cpupart_move_thread()
748 * partition or it has specified lgroup affinities, in cpupart_move_thread()
756 * make sure lpl points to our own partition in cpupart_move_thread()
786 * This function binds a thread to a partition. Must be called with the
790 * should be ignored (this is used when destroying a partition).
816 * Create a new partition. On MP systems, this also allocates a
817 * kpreempt disp queue for that partition.
835 /* find the next free partition ID */ in cpupart_create()
856 * Initialize and size the partition's bitset of halted CPUs. in cpupart_create()
862 * Pause all CPUs while changing the partition list, to make sure in cpupart_create()
878 * Move threads from specified partition to cp_default. If `force' is specified,
949 * Destroy a partition.
968 * Unbind all the threads currently bound to the partition. in cpupart_destroy()
988 * Teardown the partition's group of active CMT PGs and halted in cpupart_destroy()
996 * try to rejoin the destroyed partition when they're turned in cpupart_destroy()
1009 * Pause all CPUs while changing the partition list, to make sure in cpupart_destroy()
1040 * Return the ID of the partition to which the specified processor belongs.
1052 * Attach a processor to an existing partition.
1074 * Get a list of cpus belonging to the partition. If numcpus is NULL,
1075 * this just checks for a valid partition. If numcpus is non-NULL but
1124 * Reallocate kpreempt queues for each CPU partition. Called from
1186 numpart = cp_numparts - 1; /* leave out default partition */ in cpupart_list()
1206 * PSET_NOESCAPE attribute for default cpu partition is always set in cpupart_setattr()