SEARCH  

NEWS

2010.10.06:11:36:28
Ustawowe wsparcie rozwoju sieci telekomunikacyjnych
Ustawa o wspieraniu rozwoju usług i sieci telekomunikacyjnych, która weszła w życie 15 lipca br., wprowadza szereg nowatorskich rozwiązań, mających na celu przyspieszenie rozwoju i upowszechnienie usług telekomunikacyjnych w Polsce. Doprowadzi do obniżenia kosztów przedsiębiorców telekomunikacyjnych i odbiorców tych usług (tzw. użytkowników końcowych).

 

messageID:522260007291
author:Jiri Pirko
title:Re PATCH list h add list for each struct
On Mon, 2010-01-18 at 22:07 +0100, Jiri Pirko wrote: Mon, Jan 18, 2010 at 06:17:13PM CET, bhutchings@xxxxxxxxxxxxxx wrote: [...] #define list_for_each_struct_entry(pos, head, type, posmember, member) for (pos = list_empty(head) ? NULL : &list_first_entry(head, type, member)- posmember; prefetch(container_of(pos, type, posmember)- member.next), pos; pos = list_is_last(&container_of(pos, type, posmember)- member, head) ? NULL : &list_entry(container_of(pos, type, posmember)- member.next, type, member)- posmember) At the first glance, this would take even more cputime for lists longer than 2 or so, wouldnt it? If youre concerned about speed, measure it, dont guess. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; thats the marketing departments job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
Index