All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Goddard Rosa" <andre.goddard@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Cc: "André Goddard Rosa" <andre.goddard@gmail.com>
Subject: [PATCH 0/2] pid: tighten pidmap spinlock section and clean up
Date: Sat, 21 Nov 2009 10:16:18 -0200	[thread overview]
Message-ID: <cover.1258805412.git.andre.goddard@gmail.com> (raw)

Avoid calling kfree() from under pidmap spinlock and reduces code size
by 16 bytes on gcc 4.4.1 on Core 2.

André Goddard Rosa (2):
  pid: tighten pidmap spinlock critical section by removing kfree()
  pid: reduce code size by using a pointer to iterate over array

 kernel/pid.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


             reply	other threads:[~2009-11-22 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 12:16 André Goddard Rosa [this message]
2009-11-21 12:16 ` [PATCH 1/2] pid: tighten pidmap spinlock critical section by removing kfree() André Goddard Rosa
2009-11-23  9:38   ` Pekka Enberg
2009-11-23 14:03     ` Oleg Nesterov
2009-11-23 15:26       ` André Goddard Rosa
2009-12-04 22:38   ` [PATCH 1/2][resend] " Andrew Morton
2009-11-21 12:16 ` [PATCH 2/2] pid: reduce code size by using a pointer to iterate over array André Goddard Rosa

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=cover.1258805412.git.andre.goddard@gmail.com \
    --to=andre.goddard@gmail.com \
    --cc=akpm@linux-foundation.org \
    --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 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.