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


On Oct 6, 2010, at 9:05 AM, bhs wrote:

> 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?
> 


Yea, it already distributed over CPUs at calling add_timer(), timer function was bounded to a cpu on which
it was created.

I am sorry for my noise.

 
> 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:50 UTC|newest]

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

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=AD61E4A9-2622-47F8-911C-A2FCF9F34BF8@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®