login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
29
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: Pavel Machek
Subject:
Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview
Date: Thursday, April 29, 2010 - 6:04 am
On Tue 2010-04-27 20:13:39, Nitin Gupta wrote:
quoted text
> On 04/27/2010 06:25 PM, Pavel Machek wrote: > > > >>> Can we extend it? Adding new APIs is easy, but harder to maintain in > >>> the long term. > >> > >> Umm... I think the difference between a "new" API and extending > >> an existing one here is a choice of semantics. As designed, frontswap > >> is an extremely simple, only-very-slightly-intrusive set of hooks that > >> allows swap pages to, under some conditions, go to pseudo-RAM instead > > ... > >> "Extending" the existing swap API, which has largely been untouched for > >> many years, seems like a significantly more complex and error-prone > >> undertaking that will affect nearly all Linux users with a likely long > >> bug tail. And, by the way, there is no existence proof that it > >> will be useful. > > > >> Seems like a no-brainer to me. > > > > Stop right here. Instead of improving existing swap api, you just > > create one because it is less work. > > > > We do not want apis to cummulate; please just fix the existing one. > > > I'm a bit confused: What do you mean by 'existing swap API'? > Frontswap simply hooks in swap_readpage() and swap_writepage() to > call frontswap_{get,put}_page() respectively. Now to avoid a hardcoded > implementation of these function, it introduces struct frontswap_ops > so that custom implementations fronswap get/put/etc. functions can be > provided. This allows easy implementation of swap-to-hypervisor, > in-memory-compressed-swapping etc. with common set of hooks.
Yes, and that set of hooks is new API, right? Pavel -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
Ingo Molnar
Re: 2.6.20-rc6-mm3
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
alan
Re: Versioning file system
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Yakov Lerner
Re: Autoconf/Automake
Miklos Vajna
Re: [IRC/patches] Failed octopus merge does not clean up
Johannes Sixt
Re: [msysGit] [PATCH 01/12] Fake reencoding success under NO_ICONV instead of retu...
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Timo Teräs
ip xfrm policy semantics
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
Ken-ichirou MATSUZAWA
Re: [PATCH] don't touch bridge sysfs in container.
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
V4L/DVB (13840): smsusb: Add ISDB-T firmware for Hauppauge WinTV-Nova-T-MiniStick
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
openbsd-misc
:
Marco Peereboom
Re: Defending OpenBSD Performance
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Damon Schultz
Routing iTunes sharing across subnets using OpenBSD
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
Chris Black
Re: carp, 2 router
Colocation donated by:
Syndicate