login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
24
Re: [PATCH 2/6] io context sharing: preliminary support
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jens Axboe <jens.axboe@...>
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, <knikanth@...>
Subject:
Re: [PATCH 2/6] io context sharing: preliminary support
Date: Thursday, January 24, 2008 - 3:36 am
On Wed, Jan 23 2008, Andrew Morton wrote:
quoted text
> > On Tue, 22 Jan 2008 10:49:17 +0100 Jens Axboe <jens.axboe@oracle.com> wrote: > > -void put_io_context(struct io_context *ioc) > > +int put_io_context(struct io_context *ioc) > > { > > if (ioc == NULL) > > - return; > > + return 1; > > > > BUG_ON(atomic_read(&ioc->refcount) == 0); > > > > @@ -3856,7 +3856,9 @@ void put_io_context(struct io_context *ioc) > > rcu_read_unlock(); > > > > kmem_cache_free(iocontext_cachep, ioc); > > + return 1; > > } > > + return 0; > > } > > Document the return value? (and the function)
Will do.
quoted text
> I assume this return value gets used in some other patch.
Yeah, it is. -- Jens Axboe --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 0/6] IO context sharing
, Jens Axboe
, (Tue Jan 22, 5:49 am)
Re: [PATCH 0/6] IO context sharing
, David Chinner
, (Tue Jan 22, 11:50 pm)
Re: [PATCH 0/6] IO context sharing
, Andi Kleen
, (Wed Jan 23, 4:44 am)
Re: [PATCH 0/6] IO context sharing
, Peter Zijlstra
, (Tue Jan 22, 10:49 am)
Re: [PATCH 0/6] IO context sharing
, Jens Axboe
, (Tue Jan 22, 2:21 pm)
[PATCH 4/6] block: cfq: make the io contect sharing lockless
, Jens Axboe
, (Tue Jan 22, 5:49 am)
Re: [PATCH 4/6] block: cfq: make the io contect sharing lock...
, Andrew Morton
, (Wed Jan 23, 6:08 pm)
Re: [PATCH 4/6] block: cfq: make the io contect sharing lock...
, Paul E. McKenney
, (Thu Jan 24, 12:42 pm)
Re: [PATCH 4/6] block: cfq: make the io contect sharing lock...
, Jens Axboe
, (Thu Jan 24, 3:36 am)
[PATCH 6/6] kernel: add CLONE_IO to specifically request sha...
, Jens Axboe
, (Tue Jan 22, 5:49 am)
[PATCH 5/6] io_context sharing - anticipatory changes
, Jens Axboe
, (Tue Jan 22, 5:49 am)
[PATCH 1/6] ioprio: move io priority from task_struct to io_...
, Jens Axboe
, (Tue Jan 22, 5:49 am)
Re: [PATCH 1/6] ioprio: move io priority from task_struct to...
, Andrew Morton
, (Wed Jan 23, 6:07 pm)
Re: [PATCH 1/6] ioprio: move io priority from task_struct to...
, Jens Axboe
, (Thu Jan 24, 3:30 am)
[PATCH 2/6] io context sharing: preliminary support
, Jens Axboe
, (Tue Jan 22, 5:49 am)
Re: [PATCH 2/6] io context sharing: preliminary support
, Andrew Morton
, (Wed Jan 23, 6:08 pm)
Re: [PATCH 2/6] io context sharing: preliminary support
, Jens Axboe
, (Thu Jan 24, 3:36 am)
[PATCH 3/6] io_context sharing - cfq changes
, Jens Axboe
, (Tue Jan 22, 5:49 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 11/60] microblaze_v4: cache support
Andrew Morton
Re: x86: 4kstacks default
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
Jiri Olsa
[PATCHv5 0/2] net: fix race in the receive/select
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
630 guests
online.
Syndicate