linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch v3 0/3] percpu_counter: cleanup and fix
@ 2011-04-14  2:04 shaohua.li
  2011-04-14  2:04 ` [patch v3 1/3] percpu_counter: change return value and add comments shaohua.li
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: shaohua.li @ 2011-04-14  2:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, tj, cl, eric.dumazet

Cleanup percpu_counter code and fix some bugs. The main purpose is to convert
percpu_counter to use atomic64, which is useful for workloads which cause
percpu_counter->lock contented. In a workload I tested, the atomic method is
7x faster (please see patch 3 for detail).

Note, patch 3 is against Christoph's 'percpu: preemptless __per_cpu_counter_add'

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-04-20  1:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14  2:04 [patch v3 0/3] percpu_counter: cleanup and fix shaohua.li
2011-04-14  2:04 ` [patch v3 1/3] percpu_counter: change return value and add comments shaohua.li
2011-04-14  2:32   ` Eric Dumazet
2011-04-15  3:41   ` Tejun Heo
2011-04-14  2:04 ` [patch v3 2/3] percpu_counter: fix code for 32bit systems for UP shaohua.li
2011-04-14  2:35   ` Eric Dumazet
2011-04-14  2:44     ` Shaohua Li
2011-04-14  2:54       ` Eric Dumazet
2011-04-18  7:41         ` Shaohua Li
2011-04-14  2:04 ` [patch v3 3/3] percpu_counter: use atomic64 for counter in SMP shaohua.li
2011-04-15  4:15   ` Tejun Heo
2011-04-18  7:43     ` Shaohua Li
2011-04-18 14:25       ` Christoph Lameter
2011-04-20  1:04         ` Shaohua Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).