Lines Matching +full:two +full:- +full:user
1 .. SPDX-License-Identifier: GPL-2.0
23 ------------
43 ------------------
45 The CPUs used to run jobs can be changed in two ways, programatically with
58 live in /sys/kernel/pcrypt/<instance-name>. Within an instance's directory
59 there are two files, parallel_cpumask and serial_cpumask, and either cpumask
64 Reading one of these files shows the user-supplied cpumask, which may be
67 Padata maintains two pairs of cpumasks internally, the user-supplied cpumasks
69 cpumask.) The user-supplied cpumasks default to all possible CPUs on instance
71 subset of the user-supplied cpumasks and contain only the online CPUs in the
72 user-supplied masks; these are the cpumasks padata actually uses. So it is
74 offline CPU in the user-supplied cpumask comes online, padata is going to use
81 -------------
109 progress. -EBUSY means that somebody, somewhere else is messing with the
110 instance's CPU mask, while -EINVAL is a complaint about cb_cpu not being in the
115 exactly one call to the above-mentioned parallel() function, on one CPU, so
129 ----------------
145 ----------
147 Cleaning up a padata instance predictably involves calling the two free
153 It is the user's responsibility to ensure all outstanding jobs are complete
164 A user has to do three things to run a multithreaded job. First, describe the
169 the first two delimit the range that the thread operates on and the last is a
177 .. kernel-doc:: include/linux/padata.h
178 .. kernel-doc:: kernel/padata.c