]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'tmem/tmem'
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Nov 2011 04:54:24 +0000 (15:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 24 Nov 2011 04:54:24 +0000 (15:54 +1100)
Conflicts:
mm/swapfile.c

1  2 
drivers/staging/zcache/zcache-main.c
fs/buffer.c
fs/super.c
include/linux/swap.h
mm/Kconfig
mm/Makefile
mm/filemap.c
mm/swapfile.c
mm/truncate.c

Simple merge
diff --cc fs/buffer.c
Simple merge
diff --cc fs/super.c
Simple merge
Simple merge
diff --cc mm/Kconfig
Simple merge
diff --cc mm/Makefile
Simple merge
diff --cc mm/filemap.c
Simple merge
diff --cc mm/swapfile.c
index b1cd120607230b0770c35e0823d6389782ae734a,9d79741712ff827a8d71427e6d03a927a6dc3995..9b71e6dc065048d736f9f697398b95b0b9513774
@@@ -1615,8 -1637,8 +1636,8 @@@ SYSCALL_DEFINE1(swapoff, const char __u
        spin_unlock(&swap_lock);
  
        oom_score_adj = test_set_oom_score_adj(OOM_SCORE_ADJ_MAX);
-       err = try_to_unuse(type);
+       err = try_to_unuse(type, false, 0); /* force all pages to be unused */
 -      test_set_oom_score_adj(oom_score_adj);
 +      compare_swap_oom_score_adj(OOM_SCORE_ADJ_MAX, oom_score_adj);
  
        if (err) {
                /*
diff --cc mm/truncate.c
Simple merge