| /linux-6.15/scripts/ |
| H A D | jobserver-exec | 15 jobs = b"" variable 48 jobs += slot 54 if len(jobs): 55 os.write(writer, jobs) 59 claim = len(jobs) + 1 74 if len(jobs): 75 os.write(writer, jobs)
|
| H A D | generate_initcall_order.pl | 18 my $jobs = {}; # child process pid -> file handle 169 if (!exists($jobs->{$pid})) { 173 my $fh = $jobs->{$pid}; 181 delete($jobs->{$pid}); 202 $jobs->{$pid} = $fh; 213 if (scalar(keys(%{$jobs})) >= $njobs) { 219 while (scalar(keys(%{$jobs})) > 0) {
|
| /linux-6.15/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_job.c | 173 pfdev->jobs[slot][0] = pfdev->jobs[slot][1]; in panfrost_dequeue_job() 174 pfdev->jobs[slot][1] = NULL; in panfrost_dequeue_job() 186 if (!pfdev->jobs[slot][0]) { in panfrost_enqueue_job() 187 pfdev->jobs[slot][0] = job; in panfrost_enqueue_job() 191 WARN_ON(pfdev->jobs[slot][1]); in panfrost_enqueue_job() 192 pfdev->jobs[slot][1] = job; in panfrost_enqueue_job() 584 if (!failed[j] || !pfdev->jobs[j][0]) in panfrost_job_handle_irq() 587 if (pfdev->jobs[j][0]->jc == 0) { in panfrost_job_handle_irq() 700 for (j = 0; j < ARRAY_SIZE(pfdev->jobs[0]) && pfdev->jobs[i][j]; j++) { in panfrost_reset() 702 pfdev->jobs[i][j]->is_profiled) in panfrost_reset() [all …]
|
| H A D | TODO | 11 - Compute job support. So called 'compute only' jobs need to be plumbed up to
|
| /linux-6.15/drivers/gpu/drm/panthor/ |
| H A D | panthor_drv.c | 302 struct panthor_job_ctx *jobs; member 457 ctx->jobs[idx].job = job; in panthor_submit_ctx_add_job() 463 ctx->jobs[idx].syncop_count = syncs->count; in panthor_submit_ctx_add_job() 681 drm_sched_job_arm(ctx->jobs[i].job); in panthor_submit_ctx_add_deps_and_arm_jobs() 702 upd_resvs(&ctx->exec, ctx->jobs[i].job); in panthor_submit_ctx_push_jobs() 706 ctx->jobs[i].job = NULL; in panthor_submit_ctx_push_jobs() 723 ctx->jobs = kvmalloc_array(job_count, sizeof(*ctx->jobs), in panthor_submit_ctx_init() 725 if (!ctx->jobs) in panthor_submit_ctx_init() 754 job_put(ctx->jobs[i].job); in panthor_submit_ctx_cleanup() 755 kvfree(ctx->jobs[i].syncops); in panthor_submit_ctx_cleanup() [all …]
|
| /linux-6.15/drivers/md/ |
| H A D | dm-kcopyd.c | 417 static struct kcopyd_job *pop_io_job(struct list_head *jobs, in pop_io_job() argument 426 list_for_each_entry(job, jobs, list) { in pop_io_job() 443 static struct kcopyd_job *pop(struct list_head *jobs, in pop() argument 450 if (!list_empty(jobs)) { in pop() 451 if (jobs == &kc->io_jobs) in pop() 452 job = pop_io_job(jobs, kc); in pop() 454 job = list_entry(jobs->next, struct kcopyd_job, list); in pop() 469 list_add_tail(&job->list, jobs); in push() 479 list_add(&job->list, jobs); in push_head() 617 while ((job = pop(jobs, kc))) { in process_jobs() [all …]
|
| /linux-6.15/Documentation/core-api/ |
| H A D | padata.rst | 9 Padata is a mechanism by which the kernel can farm jobs out to be done in 16 Padata also supports multithreaded jobs, splitting up the job evenly while load 25 The first step in using padata to run serialized jobs is to set up a 26 padata_instance structure for overall control of how jobs are to be run:: 39 jobs to be serialized independently. A padata_instance may have one or more 40 padata_shells associated with it, each allowing a separate series of jobs. 45 The CPUs used to run jobs can be changed in two ways, programmatically with 52 parallel cpumask describes which processors will be used to execute jobs 116 true parallelism is achieved by submitting multiple jobs. parallel() runs with 141 pains to ensure that jobs are completed in the order in which they were [all …]
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 296 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1() 348 job = p->jobs[r]; in amdgpu_cs_p2_ib() 584 p->jobs[i]->csa_va = shadow->csa_va; in amdgpu_cs_p2_shadow() 586 p->jobs[i]->init_shadow = in amdgpu_cs_p2_shadow() 1178 job = p->jobs[i]; in amdgpu_cs_vm_handling() 1298 if (p->jobs[i] == leader) in amdgpu_cs_submit() 1343 if (p->jobs[i] == leader) in amdgpu_cs_submit() 1371 trace_amdgpu_cs_ioctl(p->jobs[i]); in amdgpu_cs_submit() 1373 p->jobs[i] = NULL; in amdgpu_cs_submit() 1408 if (parser->jobs[i]) in amdgpu_cs_parser_fini() [all …]
|
| H A D | amdgpu_cs.h | 62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE]; member
|
| /linux-6.15/drivers/gpu/drm/imagination/ |
| H A D | pvr_job.c | 714 if (!args->jobs.count) in pvr_submit_jobs() 717 err = PVR_UOBJ_GET_ARRAY(job_args, &args->jobs); in pvr_submit_jobs() 721 job_data = kvmalloc_array(args->jobs.count, sizeof(*job_data), in pvr_submit_jobs() 728 err = pvr_job_data_init(pvr_dev, pvr_file, job_args, &args->jobs.count, in pvr_submit_jobs() 733 jobs_alloced = args->jobs.count; in pvr_submit_jobs() 747 err = prepare_job_syncs_for_each(pvr_file, job_data, &args->jobs.count, in pvr_submit_jobs() 752 err = prepare_job_resvs_for_each(&exec, job_data, args->jobs.count); in pvr_submit_jobs() 756 err = pvr_jobs_link_geom_frag(job_data, &args->jobs.count); in pvr_submit_jobs() 763 update_job_resvs_for_each(job_data, args->jobs.count); in pvr_submit_jobs() 764 push_jobs(job_data, args->jobs.count); in pvr_submit_jobs()
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-driver-panthor-profiling | 9 1: Enable GPU cycle measurements for running jobs. 10 2: Enable GPU timestamp sampling for running jobs.
|
| /linux-6.15/Documentation/gpu/ |
| H A D | drm-compute.rst | 10 Some hardware may schedule compute jobs, and have no way to pre-empt them, or 16 As with normal compute jobs, dma-fence may not be used at all. In this case, 34 older compute jobs to start a new one. 43 into cgroups, that will allow jobs to run next to each other without
|
| H A D | automated_testing.rst | 115 5. The various jobs will be run and when the pipeline is finished, all jobs 154 jobs from a branch in the target tree that is named as 165 otherwise pass, one can disable all jobs that would be submitted to that farm
|
| /linux-6.15/tools/testing/kunit/ |
| H A D | kunit.py | 46 jobs: int 94 success = linux.build_kernel(request.jobs, 474 jobs=cli_args.jobs, 512 jobs=cli_args.jobs)
|
| H A D | kunit_kernel.py | 74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None: 76 'ARCH=' + self._linux_arch, 'O=' + build_dir, '--jobs=' + str(jobs)] 331 def build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> bool: 334 self._ops.make(jobs, build_dir, make_options)
|
| /linux-6.15/Documentation/admin-guide/device-mapper/ |
| H A D | kcopyd.rst | 10 to set aside for their copy jobs. This is done with a call to 43 When a user is done with all their copy jobs, they should call
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | udpgso_bench.sh | 52 if [[ "${jobs}" != "" ]]; then
|
| H A D | udpgro_bench.sh | 16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
|
| H A D | udpgro_frglist.sh | 16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
|
| /linux-6.15/Documentation/dev-tools/kunit/ |
| H A D | run_wrapper.rst | 33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all` 36 - ``--jobs`` sets the number of threads to build the kernel. 231 --jobs=12 \ 304 - ``--jobs``: Specifies the number of jobs (commands) to run simultaneously.
|
| /linux-6.15/tools/perf/scripts/python/ |
| H A D | parallel-perf.py | 724 if self.jobs < 0 or self.nr < 0 or self.interval < 0: 728 if self.jobs == 0: 729 self.jobs = NumberOfCPUs() 734 self.nr = self.jobs 835 result = RunWork(self.worklist, self.jobs, verbosity=self.verbosity)
|
| /linux-6.15/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpusets.rst | 87 can benefit from explicitly placing jobs on properly sized subsets of 100 executing jobs. The location of the running jobs pages may also be moved 252 jobs can share common kernel data, such as file system pages, while 254 construct a large mem_exclusive cpuset to hold all the jobs, and 268 This enables batch managers monitoring jobs running in dedicated 273 submitted jobs, which may choose to terminate or re-prioritize jobs that 381 This policy can provide substantial improvements for jobs that need 384 the several nodes in the jobs cpuset in order to fit. Without this 385 policy, especially for jobs that might have one thread reading in the 386 data set, the memory allocation across the nodes in the jobs cpuset [all …]
|
| H A D | memcg_test.rst | 223 run jobs under child_a and child_b 225 create/delete following groups at random while jobs are running:: 231 running new jobs in new group is also good.
|
| /linux-6.15/drivers/gpu/drm/ci/ |
| H A D | container.yml | 22 # Disable container jobs that we won't use
|
| /linux-6.15/Documentation/translations/zh_CN/mm/ |
| H A D | hwpoison.rst | 127 echo `jobs -p` > /sys/fs/cgroup/mem/hwpoison/tasks
|