is synchronize_net in inet_register_protosw necessary?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all.
i am a newbie to linux kernel.
in a arm926 board i found that it took about 30ms to finish
the (net/ipv4/af_inet.c:898) inet_register_protosw
because of the synchronize_net call during profiling.
synchronize_net finally calls synchronize_rcu, so i think
this is to make the change visiable after a list_add_rcu.
but according to the Document/listRCU.txt it seems that
a list insertation does not necessarily do call_rcu etc.
may i have any mistakes, please kindly tell me.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux