lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 19 Jan 2011 09:25:17 +0800 From: Gui Jianfeng <guijianfeng@...fujitsu.com> To: Vivek Goyal <vgoyal@...hat.com> CC: Jens Axboe <axboe@...nel.dk>, linux kernel mailing list <linux-kernel@...r.kernel.org>, Corrado Zoccolo <czoccolo@...il.com>, Chad Talbott <ctalbott@...gle.com>, Nauman Rafique <nauman@...gle.com>, Divyesh Shah <dpshah@...gle.com>, jmoyer@...hat.com, Shaohua Li <shaohua.li@...el.com> Subject: Re: [PATCH 2/6 v3] cfq-iosched: Introduce cfq_entity for CFQ group Vivek Goyal wrote: > On Mon, Dec 27, 2010 at 04:50:51PM +0800, Gui Jianfeng wrote: > > [..] >> -static struct cfq_group *cfq_rb_first_group(struct cfq_rb_root *root) >> +static struct cfq_entity *cfq_rb_first_entity(struct cfq_rb_root *root) >> { >> if (!root->left) >> root->left = rb_first(&root->rb); >> >> if (root->left) >> - return rb_entry_cfqg(root->left); >> + return rb_entry_entity(root->left); >> > > Why are we defining cfq_rb_first_entity(). Can't we simply use cfq_rb_first() > as introduced in first patch. Ok, Will rename it. Thanks, Gui > > Thanks > Vivek > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists