All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kirill Korotaev <dev@sw.ru>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	Linus Torvalds <torvalds@osdl.org>
Subject: Re: [PATCH 1/2] detach_pid(): restore optimization
Date: Sat, 02 Oct 2004 17:18:16 +0400	[thread overview]
Message-ID: <415EAA98.3010108@sw.ru> (raw)
In-Reply-To: <415D3DD4.E440AB5B@tv-sign.ru>

I can sign off both patches. They look ok.

Signed-off-By: Kirill Korotaev <dev@sw.ru>

> Kirill's kernel/pid.c rework broke optimization logic in detach_pid().
> Non zero return from __detach_pid() was used to indicate, that this pid
> can probably be freed. Current version always (modulo idle threads)
> return non zero value, thus resulting in unneccesary pid_hash scanning.
> 
> Also, uninlining __detach_pid() reduces pid.o text size from 2492 to 1600
> bytes.
> 
> Oleg.

[...]

Kirill



      reply	other threads:[~2004-10-02 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01 11:21 [PATCH 1/2] detach_pid(): restore optimization Oleg Nesterov
2004-10-02 13:18 ` Kirill Korotaev [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=415EAA98.3010108@sw.ru \
    --to=dev@sw.ru \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    --cc=torvalds@osdl.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 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.