All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] block: io_context refcount fixes
@ 2009-12-04 13:52 Louis Rilling
  2009-12-04 13:52 ` [PATCH 1/2] block: Fix io_context leak after clone with CLONE_IO Louis Rilling
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Louis Rilling @ 2009-12-04 13:52 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel


Hi,

When reading copy_io() I found probable refcounting issues with shared
io_context. IIUC, the following two patches could fix those issues.
If I am correct, then those fixes should go to stable too.

Based on v2.6.32 and compile-tested only.

Thanks,

Louis

Louis Rilling (2):
      block: Fix io_context leak after clone with CLONE_IO
      block: Fix io_context leak after failure of clone with CLONE_IO

 block/blk-ioc.c           |   12 ++++++------
 include/linux/iocontext.h |    5 +++--
 kernel/exit.c             |    2 +-
 kernel/fork.c             |    3 ++-
 4 files changed, 12 insertions(+), 10 deletions(-)
-- 
Dr Louis Rilling			Kerlabs
Skype: louis.rilling			Batiment Germanium
Phone: (+33|0) 6 80 89 08 23		80 avenue des Buttes de Coesmes
http://www.kerlabs.com/			35700 Rennes

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

end of thread, other threads:[~2009-12-04 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 13:52 [RFC] block: io_context refcount fixes Louis Rilling
2009-12-04 13:52 ` [PATCH 1/2] block: Fix io_context leak after clone with CLONE_IO Louis Rilling
2009-12-04 13:52 ` [PATCH 2/2] block: Fix io_context leak after failure of " Louis Rilling
2009-12-04 15:34 ` [RFC] block: io_context refcount fixes Jens Axboe
2009-12-04 16:03   ` Louis Rilling

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.