mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "lenny lv" <lennylv@hotmail.com>
To: linux-kernel@vger.kernel.org
Cc: qiang@suda.edu.cn
Subject: idea to enhance get_pid()
Date: Sat, 20 Apr 2002 09:15:15 +0000	[thread overview]
Message-ID: <F74PKipeUekcMrvgldU00000fc8@hotmail.com> (raw)

Hi there,

I've got an idea to speed up linux/kernel/fork.c/get_pid(). Why not use 
bitmap to alloc/free the pids? Is it because 4KB(32K/8) memory scanning is 
slower than the current get_pid() version? Does anyone benchmark them?

Thanks,
Lenny

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


             reply	other threads:[~2002-04-20  9:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20  9:15 lenny lv [this message]
2002-04-20  9:59 ` Dan Aloni
2002-04-20 17:50 Dan Kegel

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=F74PKipeUekcMrvgldU00000fc8@hotmail.com \
    --to=lennylv@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qiang@suda.edu.cn \
    /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®