login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
26
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nitin Gupta
Subject:
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
Date: Monday, April 26, 2010 - 6:47 am
On 04/26/2010 11:36 AM, Avi Kivity wrote:
quoted text
> On 04/25/2010 07:05 PM, Nitin Gupta wrote: >> >>>> Increasing the frequency of discards is also not an option: >>>> - Creating discard bio requests themselves need memory and these >>>> swap devices >>>> come into picture only under low memory conditions. >>>> >>>> >>> That's fine, swap works under low memory conditions by using reserves. >>> >>> >> Ok, but still all this bio allocation and block layer overhead seems >> unnecessary and is easily avoidable. I think frontswap code needs >> clean up but at least it avoids all this bio overhead. >> > > Ok. I agree it is silly to go through the block layer and end up > servicing it within the kernel. > >>>> - We need to regularly scan swap_map to issue these discards. >>>> Increasing discard >>>> frequency also means more frequent scanning (which will still not be >>>> fast enough >>>> for ramzswap needs). >>>> >>>> >>> How does frontswap do this? Does it maintain its own data structures? >>> >>> >> frontswap simply calls frontswap_flush_page() in swap_entry_free() >> i.e. as >> soon as a swap slot is freed. No bio allocation etc. >> > > The same code could also issue the discard? >
No, we cannot issue discard bio at this place since swap_lock spinlock is held. Thanks, Nitin --
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:
Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Thu Apr 22, 6:42 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Thu Apr 22, 8:28 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Thu Apr 22, 1:15 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 23, 2:48 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Fri Apr 23, 7:43 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 23, 7:52 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 23, 8:00 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Fri Apr 23, 9:26 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Fri Apr 23, 6:49 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sat Apr 24, 11:25 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sat Apr 24, 11:27 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sat Apr 24, 5:30 pm)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sat Apr 24, 5:41 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Sat Apr 24, 8:11 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 5:06 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 5:11 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 5:16 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun Apr 25, 6:12 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 6:18 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun Apr 25, 8:29 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Sun Apr 25, 9:05 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 11:01 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun Apr 25, 11:06 pm)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Mon Apr 26, 5:50 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Mon Apr 26, 6:43 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Mon Apr 26, 6:47 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Jeremy Fitzhardinge
, (Mon Apr 26, 5:49 pm)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Tue Apr 27, 1:29 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Tue Apr 27, 2:21 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Tue Apr 27, 5:55 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Tue Apr 27, 5:56 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Tue Apr 27, 7:32 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Tue Apr 27, 7:43 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Tue Apr 27, 10:55 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Thu Apr 29, 6:02 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Thu Apr 29, 6:04 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Thu Apr 29, 7:42 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Thu Apr 29, 11:53 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Thu Apr 29, 11:59 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Thu Apr 29, 12:01 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dave Hansen
, (Thu Apr 29, 6:45 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 30, 12:13 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Fri Apr 30, 8:59 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dave Hansen
, (Fri Apr 30, 9:04 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dave Hansen
, (Fri Apr 30, 9:08 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 30, 9:16 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Fri Apr 30, 9:43 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dave Hansen
, (Fri Apr 30, 10:10 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Jeremy Fitzhardinge
, (Fri Apr 30, 10:52 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 30, 11:08 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Fri Apr 30, 11:24 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Jeremy Fitzhardinge
, (Fri Apr 30, 11:59 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sat May 1, 1:28 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sat May 1, 10:10 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Sun May 2, 12:11 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Nitin Gupta
, (Sun May 2, 12:57 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun May 2, 8:05 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun May 2, 8:35 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun May 2, 9:06 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Sun May 2, 9:48 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun May 2, 10:06 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun May 2, 10:22 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Sun May 2, 1:06 pm)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Sun May 2, 2:05 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Mon May 3, 1:46 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Avi Kivity
, (Mon May 3, 2:39 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Mon May 3, 7:59 am)
RE: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Dan Magenheimer
, (Mon May 3, 9:01 am)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Pavel Machek
, (Mon May 3, 12:32 pm)
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
, Martin Schwidefsky
, (Mon May 10, 9:05 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate