[lkml]   [2001]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: speed difference between using hard-linked and modular drives?
In message <> you write:
> From: Rusty Russell <>
> Date: Mon, 12 Nov 2001 20:59:05 +1100
> (atomic_inc & atomic_dec_and_test for every packet, anyone?).
> We already do pay that price, in skb_release_data() :-)

Sorry, I wasn't clear! skb_release_data() does an atomic ops on the
skb data region, which is almost certainly on the same CPU. This is
an atomic op on a global counter for the module, which almost
certainly isn't.

For something which (statistically speaking) never happens (module

Premature optmztion is rt of all evl. --DK
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.061 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site