All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petri Koistinen <petri.koistinen@iki.fi>
To: "Zhu, Yi" <yi.zhu@intel.com>
Cc: "Marcos D. Marado Torres" <marado@student.dei.uc.pt>,
	Andrew Morton <akpm@osdl.org>, Ingo Molnar <mingo@elte.hu>,
	linux-kernel@vger.kernel.org
Subject: Re: [Bugfix] Set more than 32K pid_max (reformatted)
Date: Tue, 6 Jan 2004 20:10:39 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.58.0401062006020.7307@dsl-hkigw4g29.dial.inet.fi> (raw)
In-Reply-To: <fa.ler12im.1q0qip6@ifi.uio.no>

Hi!

On Tue, 6 Jan 2004, Zhu, Yi wrote:

> On Tue, 6 Jan 2004, Marcos D. Marado Torres wrote:
>
> > >         if (!offset || !atomic_read(&map->nr_free))=
>  {
> > > +               if (!offser)
> >
> > I suppose it should be "if (!offset)"...
>
> Yes, my mistake. Thanks!

Nope, my fault. Here it goes one more time, hopefully right.

Petri

--- linux-2.6/kernel/pid.c.orig 2004-01-05 17:54:46.000000000 +0200
+++ linux-2.6/kernel/pid.c      2004-01-05 17:55:35.000000000 +0200
@@ -122,6 +122,8 @@
        }

        if (!offset || !atomic_read(&map->nr_free)) {
+               if (!offset)
+                       map--;
 next_map:
                map = next_free_map(map, &max_steps);
                if (!map)


       reply	other threads:[~2004-01-06 18:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.pigdtgt.1qkefhl@ifi.uio.no>
     [not found] ` <fa.ler12im.1q0qip6@ifi.uio.no>
2004-01-06 18:10   ` Petri Koistinen [this message]
     [not found] <3ACA40606221794F80A5670F0AF15F840254C8C3@PDSMSX403.ccr.corp.intel.com>
2004-01-06  3:26 ` [Bugfix] Set more than 32K pid_max (reformatted) Zhu, Yi
2004-03-29 15:46 ` Zhu, Yi
2004-01-05  9:59 [Bugfix] Set more than 32K pid_max Zhu, Yi
2004-01-06  3:00 ` [Bugfix] Set more than 32K pid_max (reformatted) Zhu, Yi
2004-01-06  3:14   ` Marcos D. Marado Torres
2004-03-29 15:46   ` Marcos D. Marado Torres

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=Pine.LNX.4.58.0401062006020.7307@dsl-hkigw4g29.dial.inet.fi \
    --to=petri.koistinen@iki.fi \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marado@student.dei.uc.pt \
    --cc=mingo@elte.hu \
    --cc=yi.zhu@intel.com \
    /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.