mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Hillf Danton <dhillf@gmail.com>, Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] replace ida in workqueue with page-sized buffer
Date: Sat, 8 Jan 2011 12:57:21 +0100	[thread overview]
Message-ID: <20110108115721.GB10971@elte.hu> (raw)
In-Reply-To: <AANLkTinkxPSeWz1jev69quw+Nv+3JG0U6t2WE4cDkuxV@mail.gmail.com>


* Hillf Danton <dhillf@gmail.com> wrote:

> On Sat, Dec 18, 2010 at 9:10 PM, Hillf Danton <dhillf@gmail.com> wrote:
> > The id of worker of global work queue is monitored with kernel library, ida.
> >
> > The ida in global work queue is redefined to be page-sized buffer,
> > which is allocated when initializing workqueue.
> >
> > The new id allocator could monitor ids in the rage from 0 to INT_MAX.
> > The buffer is used to store freed ids, and if the peak number of ids,
> > in workqueue as whole, is not out of the capacity of the allocated
> > buffer, there is no more allocation of buffer after initializing.
> >
> > The advantage looks that the new allocator runs faster.
> >
> > Signed-off-by: Hillf Danton <dhillf@gmail.com>
> 
> Hey Ingo
> 
> Please take a glance at the patch for replacing ida in workqueue at
> 
>        https://lkml.org/lkml/2010/12/18/35
> 

Tejun is driving workqueues these days. (I've Cc:-ed him.)

Thanks,

	Ingo

  reply	other threads:[~2011-01-08 11:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18 13:10 Hillf Danton
2011-01-08  2:17 ` Hillf Danton
2011-01-08 11:57   ` Ingo Molnar [this message]
2011-01-09  2:39     ` Hillf Danton
2011-01-08 14:01 ` Tejun Heo
2011-01-09  3:13   ` Hillf Danton

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=20110108115721.GB10971@elte.hu \
    --to=mingo@elte.hu \
    --cc=dhillf@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@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®