login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
March
»
15
Re: [patch 2/2] splice: dont readpage
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jens Axboe
Subject:
Re: [patch 2/2] splice: dont readpage
Date: Thursday, March 15, 2007 - 5:38 am
On Thu, Mar 15 2007, Nick Piggin wrote:
quoted text
> On Thu, Mar 15, 2007 at 12:54:54PM +0100, Jens Axboe wrote: > > On Wed, Mar 14 2007, Nick Piggin wrote: > > > > > > Splice does not need to readpage to bring the page uptodate before writing > > > to it, because prepare_write will take care of that for us. > > > > Ah great, always good to get rid of some code. > > Yeah, it should especially make block (but not page) sized and aligned > writes into uncached files work much better, AFAIKS (won't require the > synchronous read).
Yep, it's a nice improvement! Plus a cleanup.
quoted text
> > > Splice is also wrong to SetPageUptodate before the page is actually uptodate. > > > This results in the old uninitialised memory leak. This gets fixed as a > > > matter of course when removing the readpage logic. > > > > Leak, how? The page should still be locked all through to the copy. > > Anyway, doesn't matter since you've killed it anyway. I have applied > > this patch. > > The read side doesn't need to lock the page if it is uptodate, and doesn't.
Oh, then there's definitely an issue. -- 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 1/2] splice: dont steal
, Nick Piggin
, (Wed Mar 14, 5:14 am)
[patch 2/2] splice: dont readpage
, Nick Piggin
, (Wed Mar 14, 5:15 am)
Re: [patch 1/2] splice: dont steal
, Jens Axboe
, (Thu Mar 15, 4:52 am)
Re: [patch 2/2] splice: dont readpage
, Jens Axboe
, (Thu Mar 15, 4:54 am)
Re: [patch 1/2] splice: dont steal
, Nick Piggin
, (Thu Mar 15, 5:22 am)
Re: [patch 1/2] splice: dont steal
, Jens Axboe
, (Thu Mar 15, 5:27 am)
Re: [patch 2/2] splice: dont readpage
, Nick Piggin
, (Thu Mar 15, 5:27 am)
Re: [patch 2/2] splice: dont readpage
, Jens Axboe
, (Thu Mar 15, 5:38 am)
Re: [patch 1/2] splice: dont steal
, Nick Piggin
, (Thu Mar 15, 5:45 am)
Re: [patch 1/2] splice: dont steal
, Jens Axboe
, (Thu Mar 15, 5:54 am)
Re: [patch 1/2] splice: dont steal
, Nick Piggin
, (Thu Mar 15, 6:13 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
Michael S. Tsirkin
[PATCH 3/3] vhost: fix get_user_pages_fast error handling
Randy Macleod
RFC: TIPC API, bind to two networks
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Colocation donated by:
Syndicate