]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: frontswap: core frontswap functionality
authorDan Magenheimer <dan.magenheimer@oracle.com>
Thu, 15 Sep 2011 21:34:06 +0000 (14:34 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 27 Mar 2012 15:03:04 +0000 (11:03 -0400)
commit3e87136905186a7a4aad6667906b9316f1adfc76
tree704be9dea889028b3300a99d4e87061f0361e3e8
parent6e9925cd9062408c20f5c7721dc97d0a367aa00f
mm: frontswap: core frontswap functionality

Provide the core frontswap code that interfaces between the hooks in
the swap subsystem and a frontswap backend via frontswap_ops.

---
(Note to earlier reviewers:  This patchset has been reorganized due to
feedback from Kame Hiroyuki and Andrew Morton. This patch contains part
of patch 3of4 from the previous series.)
---

[v11: sjenning@linux.vnet.ibm.com: s/puts/failed_puts/]
[v10: sjenning@linux.vnet.ibm.com: fix debugfs calls on 32-bit]
[v9: akpm@linux-foundation.org: change "flush" to "invalidate", part 1]
[v9: akpm@linux-foundation.org: mark some statics __read_mostly]
[v9: akpm@linux-foundation.org: add clarifying comments]
[v9: akpm@linux-foundation.org: no need to loop repeating try_to_unuse]
[v9: error27@gmail.com: remove superfluous check for NULL]
[v8: rebase to 3.0-rc4]
[v8: kamezawa.hiroyu@jp.fujitsu.com: add comment to clarify find_next_to_unuse]
[v7: rebase to 3.0-rc3]
[v7: JBeulich@novell.com: use new static inlines, no-ops if not config'd]
[v6: rebase to 3.1-rc1]
[v6: lliubbo@gmail.com: use vzalloc]
[v6: lliubbo@gmail.com: fix null pointer deref if vzalloc fails]
[v6: konrad.wilk@oracl.com: various checks and code clarifications/comments]
[v4: rebase to 2.6.39]
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
[v12: Squashed s/flush/invalidate/ in]
Signed-off-by: Konrad Wilk <konrad.wilk@oracle.com>
Acked-by: Jan Beulich <JBeulich@novell.com>
Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Rik Riel <riel@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
mm/frontswap.c [new file with mode: 0644]