Re: netbase (ping6) and kernel
In message <Pine.LNX.firstname.lastname@example.org>, Chris
>The reason that ping6 probably uses the kernel set_bit() and friends
>is that the kernel versions may be extremely optimised. Remember
>that they have to work on arbitrary ranges of memory (i.e. not
>just a word).
Yeah. But in practice, most applications that casually use set_bit et al.
don't care about performance in the least. Ping isn't exactly a speed
critical program for most people.
On the ARM it's especially useless to include <asm/bitops.h> because the
functions aren't inlined anyway.