Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310463
b: refs/heads/master
c: 03240b2
h: refs/heads/master
i:
  310461: 6aac892
  310459: fcf3851
  310455: 2e96f68
  310447: f940ae2
  310431: 466e51a
  310399: 7e050e6
v: v3
  • Loading branch information
Al Viro committed Jun 4, 2012
1 parent dad9716 commit 8771150
Show file tree
Hide file tree
Showing 25 changed files with 174 additions and 999 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bf2785a818372603ad3ca3abcab65010f08a1d68
refs/heads/master: 03240b279dbbda41f2fc55ff4424acf651e25bef
278 changes: 0 additions & 278 deletions trunk/Documentation/vm/frontswap.txt

This file was deleted.

7 changes: 0 additions & 7 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2930,13 +2930,6 @@ F: Documentation/power/freezing-of-tasks.txt
F: include/linux/freezer.h
F: kernel/freezer.c

FRONTSWAP API
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
L: linux-kernel@vger.kernel.org
S: Maintained
F: mm/frontswap.c
F: include/linux/frontswap.h

FS-CACHE: LOCAL CACHING FOR NETWORK FILESYSTEMS
M: David Howells <dhowells@redhat.com>
L: linux-cachefs@redhat.com
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/avr32/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ asmlinkage void do_notify_resume(struct pt_regs *regs, struct thread_info *ti)
if ((sysreg_read(SR) & MODE_MASK) == MODE_SUPERVISOR)
syscall = 1;

if (ti->flags & _TIF_SIGPENDING))
if (ti->flags & _TIF_SIGPENDING)
do_signal(regs, syscall);

if (ti->flags & _TIF_NOTIFY_RESUME) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/xtensa/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
struct timespec __user *tsp, const sigset_t __user *sigmask,
size_t sigsetsize);


asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset,
size_t sigsetsize);
2 changes: 1 addition & 1 deletion trunk/arch/xtensa/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ static void do_signal(struct pt_regs *regs)
if (ret)
return;

signal_delivered(signr, info, ka, regs, 0);
signal_delivered(signr, &info, &ka, regs, 0);
if (current->ptrace & PT_SINGLESTEP)
task_pt_regs(current)->icountlevel = 1;

Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/ramster/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,7 @@ static inline struct tmem_oid oswiz(unsigned type, u32 ind)
return oid;
}

static int zcache_frontswap_store(unsigned type, pgoff_t offset,
static int zcache_frontswap_put_page(unsigned type, pgoff_t offset,
struct page *page)
{
u64 ind64 = (u64)offset;
Expand All @@ -3025,7 +3025,7 @@ static int zcache_frontswap_store(unsigned type, pgoff_t offset,

/* returns 0 if the page was successfully gotten from frontswap, -1 if
* was not present (should never happen!) */
static int zcache_frontswap_load(unsigned type, pgoff_t offset,
static int zcache_frontswap_get_page(unsigned type, pgoff_t offset,
struct page *page)
{
u64 ind64 = (u64)offset;
Expand Down Expand Up @@ -3080,8 +3080,8 @@ static void zcache_frontswap_init(unsigned ignored)
}

static struct frontswap_ops zcache_frontswap_ops = {
.store = zcache_frontswap_store,
.load = zcache_frontswap_load,
.put_page = zcache_frontswap_put_page,
.get_page = zcache_frontswap_get_page,
.invalidate_page = zcache_frontswap_flush_page,
.invalidate_area = zcache_frontswap_flush_area,
.init = zcache_frontswap_init
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,7 @@ static int zcache_frontswap_poolid = -1;
* Swizzling increases objects per swaptype, increasing tmem concurrency
* for heavy swaploads. Later, larger nr_cpus -> larger SWIZ_BITS
* Setting SWIZ_BITS to 27 basically reconstructs the swap entry from
* frontswap_load(), but has side-effects. Hence using 8.
* frontswap_get_page(), but has side-effects. Hence using 8.
*/
#define SWIZ_BITS 8
#define SWIZ_MASK ((1 << SWIZ_BITS) - 1)
Expand All @@ -1849,7 +1849,7 @@ static inline struct tmem_oid oswiz(unsigned type, u32 ind)
return oid;
}

static int zcache_frontswap_store(unsigned type, pgoff_t offset,
static int zcache_frontswap_put_page(unsigned type, pgoff_t offset,
struct page *page)
{
u64 ind64 = (u64)offset;
Expand All @@ -1870,7 +1870,7 @@ static int zcache_frontswap_store(unsigned type, pgoff_t offset,

/* returns 0 if the page was successfully gotten from frontswap, -1 if
* was not present (should never happen!) */
static int zcache_frontswap_load(unsigned type, pgoff_t offset,
static int zcache_frontswap_get_page(unsigned type, pgoff_t offset,
struct page *page)
{
u64 ind64 = (u64)offset;
Expand Down Expand Up @@ -1919,8 +1919,8 @@ static void zcache_frontswap_init(unsigned ignored)
}

static struct frontswap_ops zcache_frontswap_ops = {
.store = zcache_frontswap_store,
.load = zcache_frontswap_load,
.put_page = zcache_frontswap_put_page,
.get_page = zcache_frontswap_get_page,
.invalidate_page = zcache_frontswap_flush_page,
.invalidate_area = zcache_frontswap_flush_area,
.init = zcache_frontswap_init
Expand Down
Loading

0 comments on commit 8771150

Please sign in to comment.