All of lore.kernel.org
 help / color / mirror / Atom feed
From: junjie cai <junjiec@gmail.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: junjiec@gmail.com
Subject: is synchronize_net in inet_register_protosw necessary?
Date: Tue, 14 Jun 2005 23:18:08 +0900	[thread overview]
Message-ID: <ca992f11050614071857cd069b@mail.gmail.com> (raw)

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.

             reply	other threads:[~2005-06-14 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-14 14:18 junjie cai [this message]
2005-06-16 17:15 ` is synchronize_net in inet_register_protosw necessary? Paul E. McKenney
2005-06-16 22:07   ` Paul E. McKenney
2005-06-17  1:37     ` junjie cai
2005-06-18  1:35       ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca992f11050614071857cd069b@mail.gmail.com \
    --to=junjiec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.