mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 0/4] ipc/sem.c: cleanup
Date: Sat, 24 May 2008 13:20:06 +0200	[thread overview]
Message-ID: <200805241636.m4OGaum4006162@mail.q-ag.de> (raw)

I did some cleanup in ipc/sem:
- ipc/sem contained hand-written linked lists, they can be replaced with
  standard list_head lists.
- the locking was written before CLONE_SYSVSEM was introduced, with
  ulp->lock, it's now possible to free undo structures during IPC_RMID
  immediately.
- There is a (extremely unlikely) race in semtimedop(), it can access
  kfree'd memory.

The patches pass my own simple test cases, what do you think?

--
	Manfred

                 reply	other threads:[~2008-05-24 17:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200805241636.m4OGaum4006162@mail.q-ag.de \
    --to=manfred@colorfullife.com \
    --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 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®