login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
15
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on memory pressure
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on memory pressure
Date: Monday, October 15, 2007 - 2:16 am
On Tue, 16 Oct 2007 00:06:19 +1000 Nick Piggin <nickpiggin@yahoo.com.au> wrote:
quoted text
> On Monday 15 October 2007 18:28, Christian Borntraeger wrote: > > Andrew, this is a resend of a bugfix patch. Ramdisk seems a bit > > unmaintained, so decided to sent the patch to you :-). > > I have CCed Ted, who did work on the code in the 90s. I found no current > > email address of Chad Page. > > This really needs to be fixed...
rd.c is fairly mind-boggling vfs abuse.
quoted text
> I can't make up my mind between the approaches to fixing it. > > On one hand, I would actually prefer to really mark the buffers > dirty (as in: Eric's fix for this problem[*]) than this patch, > and this seems a bit like a bandaid... > > On the other hand, the wound being covered by the bandaid is > actually the code in the buffer layer that does this latent > "cleaning" of the page because it sadly doesn't really keep > track of the pagecache state. But it *still* feels like we > should be marking the rd page's buffers dirty which should > avoid this problem anyway. > > [*] However, hmm, with Eric's patch I guess we'd still have a hole > where filesystems that write their buffers by hand think they are > "cleaning" these things and we're back to square one. That could > be fixed by marking the buffers dirty again? > > Why were Eric's patches dropped, BTW? I don't remember.
runtime problems, iirc. -
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 resend] ramdisk: fix zeroed ramdisk pages on memory ...
, Christian Borntraeger
, (Mon Oct 15, 1:28 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Christian Borntraeger
, (Mon Oct 15, 2:05 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Andrew Morton
, (Mon Oct 15, 2:16 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Nick Piggin
, (Mon Oct 15, 7:06 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Nick Piggin
, (Mon Oct 15, 7:38 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Nick Piggin
, (Mon Oct 15, 8:23 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Eric W. Biederman
, (Mon Oct 15, 11:38 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Eric W. Biederman
, (Mon Oct 15, 3:37 pm)
[PATCH] rd: Preserve the dirty bit in init_page_buffers()
, Eric W. Biederman
, (Mon Oct 15, 3:40 pm)
[PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Mon Oct 15, 3:42 pm)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Eric W. Biederman
, (Mon Oct 15, 8:14 pm)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Eric W. Biederman
, (Mon Oct 15, 9:57 pm)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Nick Piggin
, (Mon Oct 15, 11:45 pm)
[patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 12:47 am)
Re: [patch][rfc] rewrite ramdisk
, Jan Engelhardt
, (Tue Oct 16, 12:52 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Christian Borntraeger
, (Tue Oct 16, 12:56 am)
Re: Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, rubenjr_22
, (Tue Oct 16, 1:05 am)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 1:07 am)
Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on me ...
, Nick Piggin
, (Tue Oct 16, 1:08 am)
Re: [PATCH] rd: Preserve the dirty bit in init_page_buffers()
, Nick Piggin
, (Tue Oct 16, 1:12 am)
Re: Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, rubenjr_22
, (Tue Oct 16, 1:13 am)
Re: [patch][rfc] rewrite ramdisk
, Jan Engelhardt
, (Tue Oct 16, 1:17 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Nick Piggin
, (Tue Oct 16, 1:19 am)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 1:26 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Christian Borntraeger
, (Tue Oct 16, 1:48 am)
Re: [patch][rfc] rewrite ramdisk
, Jan Engelhardt
, (Tue Oct 16, 1:53 am)
Re: [patch][rfc] rewrite ramdisk
, Eric W. Biederman
, (Tue Oct 16, 2:08 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Tue Oct 16, 2:22 am)
Re: [PATCH] rd: Preserve the dirty bit in init_page_buffers()
, Eric W. Biederman
, (Tue Oct 16, 2:35 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Tue Oct 16, 12:06 pm)
Re: [patch][rfc] rewrite ramdisk
, Theodore Tso
, (Tue Oct 16, 2:28 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Nick Piggin
, (Tue Oct 16, 3:06 pm)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 3:08 pm)
Re: [patch][rfc] rewrite ramdisk
, Eric W. Biederman
, (Tue Oct 16, 4:48 pm)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 5:28 pm)
Re: [patch][rfc] rewrite ramdisk
, Eric W. Biederman
, (Tue Oct 16, 6:13 pm)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Tue Oct 16, 6:47 pm)
Re: [patch][rfc] rewrite ramdisk
, Eric W. Biederman
, (Wed Oct 17, 3:30 am)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Wed Oct 17, 5:49 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Christian Borntraeger
, (Wed Oct 17, 9:14 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 10:57 am)
Re: [patch][rfc] rewrite ramdisk
, Eric W. Biederman
, (Wed Oct 17, 11:45 am)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Chris Mason
, (Wed Oct 17, 12:14 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 1:29 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Chris Mason
, (Wed Oct 17, 1:54 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 2:30 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Christian Borntraeger
, (Wed Oct 17, 2:48 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 3:22 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Chris Mason
, (Wed Oct 17, 3:58 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 4:28 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Chris Mason
, (Wed Oct 17, 5:03 pm)
Re: [patch][rfc] rewrite ramdisk
, Nick Piggin
, (Wed Oct 17, 6:06 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Wed Oct 17, 8:27 pm)
[RFC][PATCH] block: Isolate the buffer cache in it's own m ...
, Eric W. Biederman
, (Wed Oct 17, 8:59 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Andrew Morton
, (Wed Oct 17, 9:32 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Nick Piggin
, (Wed Oct 17, 10:10 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Christian Borntraeger
, (Thu Oct 18, 2:26 am)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Eric W. Biederman
, (Fri Oct 19, 2:27 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Eric W. Biederman
, (Fri Oct 19, 2:35 pm)
Re: [PATCH] rd: Mark ramdisk buffers heads dirty
, Eric W. Biederman
, (Fri Oct 19, 3:46 pm)
[PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Fri Oct 19, 3:51 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Nick Piggin
, (Sat Oct 20, 9:24 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sat Oct 20, 9:28 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Eric W. Biederman
, (Sat Oct 20, 9:53 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Sat Oct 20, 10:10 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sat Oct 20, 10:24 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Nick Piggin
, (Sat Oct 20, 10:36 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Sat Oct 20, 11:48 pm)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, Eric W. Biederman
, (Sun Oct 21, 12:09 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Christian Borntraeger
, (Sun Oct 21, 12:28 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Sun Oct 21, 1:23 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sun Oct 21, 2:39 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sun Oct 21, 2:56 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Sun Oct 21, 10:56 am)
Re: [PATCH] rd: Use a private inode for backing storage
, Eric W. Biederman
, (Sun Oct 21, 11:39 am)
Re: [RFC][PATCH] block: Isolate the buffer cache in it's o ...
, David Chinner
, (Sun Oct 21, 5:15 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sun Oct 21, 5:29 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Nick Piggin
, (Sun Oct 21, 6:56 pm)
Re: [PATCH] rd: Use a private inode for backing storage
, Chris Mason
, (Mon Oct 22, 6:11 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 041/196] kobject: add kobject_init_and_add function
Lukas Hejtmanek
Re: Another libata error related to OCZ SSD
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
Florian Fainelli
Re: System clock runs too fast after 2.6.27 -> 2.6.28.1 upgrade
Christoph Lameter
[patch 1/4] mmu_notifier: Core code
git
:
Johannes Schindelin
Re: [PATCH 1/2] Add strbuf_initf()
John Bito
[EGIT] Push to GitHub caused corruption
Jakub Narebski
Re: [PATCH 0/2] gitweb: patch view
Junio C Hamano
Re: [PATCH] When a remote is added but not fetched, tell the user.
Andy Parkins
Re: [RFC] Submodules in GIT
git-commits-head
:
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Linux Kernel Mailing List
V4L/DVB (11086): au0828: rename macro for currently non-function VBI support
Linux Kernel Mailing List
ceph: client types
Linux Kernel Mailing List
ceph: on-wire types
Linux Kernel Mailing List
crypto: chainiv - Use kcrypto_wq instead of keventd_wq
linux-netdev
:
Andrew Morton
Re: [Bugme-new] [Bug 14969] New: b44: WOL does not work in suspended state
Giuseppe CAVALLARO
Re: [PATCH 03/13] stmmac: add the new Header file for stmmac platform data
Taku Izumi
[PATCH 3/3] ixgbe: add registers etc. printout code just before resetting adapters
Eric Dumazet
rps: some comments
Thomas Gleixner
Re: [RFC PATCH 02/12] On Tue, 23 Sep 2008, David Miller wrote:
openbsd-misc
:
Stephan Andreas
problems with login after xlock in OpenBSD release 4.7
pmc
Make A Change. Alcoholism and Drug Addiction Treatment
ropers
Re: what exactly is enc0?
Fuad NAHDI
Re: What does your environment look like?
Matthew Szudzik
Typo on OpenBSD 4.4 CD Set
Colocation donated by:
Syndicate