\>If the cfqc has not specific address, namely cfqc is null, the cfq_cgroup_init_cfq_data function is called when new device is plugged. In this time, it needs to relate new cfq_data data with top cfq_cgroup data. Probably, a running program will be "insmod" in its time. However, its program is not in root group. On the supposition that only current interface is usedm, If using current process, the top cgroup can be calculated by task_cgroup(current, cfq_subsys_id)->top_cgroup . Therefore cfq_cgroup data of top cgroup is calculated by cgroup_to_cfq_cgroup(task_cgroup(current, cfq_subsys_id)->top_cgroup) . However, It would be bad to use "current" variable in order to calculate cfq_cgroup data of top cgroup. Because relationship between "calculating cfq_cgroup data of top cgroup" and "running(current) task" is weak. So that you say, root subsystem state maybe keep a reference locally. For example, create a variable for root subsystem state and store the pointer when making subsystem state first. However, I think that it is smart to calculate root group of subsystems when needing its information. Does the current code have any problem? Satoshi UCHIDA. --
| Peter Zijlstra | [PATCH 6/6] sched: disabled rt-bandwidth by default |
| Tejun Heo | [PATCHSET] FUSE: extend FUSE to support more operations |
| Avi Kivity | [PATCH 041/104] KVM: Don't assign vcpu->cr3 if it's invalid: check first, set last |
| Vegard Nossum | [RFC][PATCH] bitfields API |
git: | |
| Rogan Dawes | Re: kernel.org mirroring (Re: [GIT PULL] MMC update) |
| David Kastrup | Terminology question about remote branches. |
| Tony Stubbs | git svn rebase - could not detach HEAD |
| Nicolas Pitre | Re: Understanding version 4 packs |
| James Hartley | scp batch mode? |
| Firas Kraiem | Possible mug in mini_sendmail-chroot. |
| Gregory Edigarov | Question on interface enumeration |
| bsd_news | LC_COLLATE and PostgreSQL |
| Jeff Garzik | Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
| Jay Vosburgh | [PATCH 6/9] net/bonding: Handlle wrong assumptions that slave is always an Etherne... |
| Radu Rendec | Re: Endianness problem with u32 classifier hash masks |
| Robert Olsson | [PATCH] pktgen multiqueue etc |
