schedule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

     Can anyone explain what is struct rcu_data and what does it store.

/*
  92 * Note a quiescent state.  Because we do not need to know
  93 * how many quiescent states passed, just if there was at least
  94 * one since the start of the grace period, this just sets a flag.
  95 */
  96void rcu_sched_qs(int cpu)
  97{
  98        struct rcu_data *rdp;
  99
 100        rdp = &per_cpu(rcu_sched_data, cpu);
 101        rdp->passed_quiesc_completed = rdp->completed;
 102        barrier();
 103        rdp->passed_quiesc = 1;
 104        rcu_preempt_note_context_switch(cpu);
 105}

which is in kernel/rcu_tree.c 

Thanks in advance.

S

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux