Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcuperf.c Create Date:2022-07-28 10:23:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:RCU perf reader kthread. Repeatedly does empty RCU read-side* critical section, minimizing update-side interference.

Proto:static int rcu_perf_reader(void *arg)

Type:int

Parameter:

TypeParameterName
void *arg
317  me = arg
319  VERBOSE_PERFOUT_STRING("rcu_perf_reader task started")
320  set_cpus_allowed_ptr(current process, cpumask_of - the cpumask containing just a given cpu*@cpu: the cpu (<= nr_cpu_ids)(me % nr_cpu_ids))
321  set_user_nice(current process, MAX_NICE)
322  atomic_inc( & n_rcu_perf_reader_started)
324  Do
325  local_irq_save(flags)
326  idx = readlock()
327  readunlock(idx)
328  local_irq_restore(flags)
329  If performance tests complete, wait for shutdown to commence.
330  When Not Is it time for the current torture test to stop? cycle
331  Each kthread must wait for kthread_should_stop() before returning from* its top-level function, otherwise segfaults ensue
332  Return 0