public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm1 0/2]  Fix unlocked call to idr_find()
@ 2007-09-27 14:33 Nadia.Derbey
  2007-09-27 14:33 ` [PATCH -mm1 1/2] fixing idr_find() locking Nadia.Derbey
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Nadia.Derbey @ 2007-09-27 14:33 UTC (permalink / raw)
  To: jarkao2; +Cc: akpm, adobriyan, linux-kernel


This a series of 2 patches that should be applied on top of the other ipc
patches, in 2.6.23-rc6-mm1.

The first one is an answer to the following issue pointed out by Jarek:

> Jarek Poplawski wrote:
> 1. ipc_lock() and ipc_lock_check() are used without ipc_ids.mutex,
> but it's probably wrong: they call idr_find() with ipc_ids pointer
> which needs this mutex, just like in similar code in: ipc_findkey(),
> ipc_get_maxid() or sysvipc_find_ipc().

The second one is a trivial patch that removes an unneeded parameter for
2 routines.

They should be applied to 2.6.23-rc6-mm1, in the following order:

[PATCH 1/2]: ipc_fix_idr_find_locking.patch
[PATCH 2/2]: ipc_remove_unneeded_params.patch


Regards,
Nadia

--

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-28  7:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27 14:33 [PATCH -mm1 0/2] Fix unlocked call to idr_find() Nadia.Derbey
2007-09-27 14:33 ` [PATCH -mm1 1/2] fixing idr_find() locking Nadia.Derbey
2007-09-28  6:31   ` Jarek Poplawski
2007-09-28  6:39     ` Andrew Morton
2007-09-28  7:08     ` Nadia Derbey
2007-09-28  7:34       ` Jarek Poplawski
2007-09-27 14:33 ` [PATCH -mm1 2/2] Removing unneeded parameters Nadia.Derbey
2007-09-28  5:52 ` [PATCH -mm1 0/2] Fix unlocked call to idr_find() Jarek Poplawski
2007-09-28  6:12   ` Nadia Derbey
2007-09-28  6:41     ` Jarek Poplawski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox