mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bhs <haishan.bai@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: haishan.bai@gmail.com
Subject: Why not distribute timer handlers on CPUs on SMP
Date: Wed, 6 Oct 2010 09:05:52 +0800	[thread overview]
Message-ID: <2B624B3F-9338-4336-B4F6-D61B476DA255@gmail.com> (raw)

Hello,

I am just curious about why handle the timer functions on a CPU serially but not distribute them over CPUs
even on a SMP system?

The timer wheel handler function __run_timers() serializes the timer functions on a CPU,
is there any design consideration that handling timers on a CPU is more reasonable than distribute them
over CPUs?


Best regards
Shan Hai

             reply	other threads:[~2010-10-06  1:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06  1:05 bhs [this message]
2010-10-06  1:50 ` bhs

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=2B624B3F-9338-4336-B4F6-D61B476DA255@gmail.com \
    --to=haishan.bai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®