aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/blockdev/zram.txt (renamed from drivers/staging/zram/zram.txt)6
-rw-r--r--Documentation/filesystems/proc.txt4
-rw-r--r--Documentation/filesystems/vfs.txt12
-rw-r--r--MAINTAINERS16
-rw-r--r--arch/x86/include/asm/pgtable_types.h3
-rw-r--r--drivers/block/Kconfig2
-rw-r--r--drivers/block/Makefile1
-rw-r--r--drivers/block/zram/Kconfig (renamed from drivers/staging/zram/Kconfig)1
-rw-r--r--drivers/block/zram/Makefile (renamed from drivers/staging/zram/Makefile)0
-rw-r--r--drivers/block/zram/zram_drv.c (renamed from drivers/staging/zram/zram_drv.c)128
-rw-r--r--drivers/block/zram/zram_drv.h (renamed from drivers/staging/zram/zram_drv.h)32
-rw-r--r--drivers/net/phy/mdio_bus.c1
-rw-r--r--drivers/staging/Kconfig4
-rw-r--r--drivers/staging/Makefile2
-rw-r--r--drivers/staging/zsmalloc/Kconfig24
-rw-r--r--drivers/staging/zsmalloc/Makefile3
-rw-r--r--drivers/video/backlight/lcd.c2
-rw-r--r--include/linux/blkdev.h5
-rw-r--r--include/linux/bootmem.h4
-rw-r--r--include/linux/smp.h6
-rw-r--r--include/linux/zsmalloc.h (renamed from drivers/staging/zsmalloc/zsmalloc.h)1
-rw-r--r--kernel/smp.c68
-rw-r--r--mm/Kconfig25
-rw-r--r--mm/Makefile1
-rw-r--r--mm/memcontrol.c7
-rw-r--r--mm/mempolicy.c2
-rw-r--r--mm/oom_kill.c2
-rw-r--r--mm/slub.c19
-rw-r--r--mm/zsmalloc.c (renamed from drivers/staging/zsmalloc/zsmalloc-main.c)4
29 files changed, 154 insertions, 231 deletions
diff --git a/drivers/staging/zram/zram.txt b/Documentation/blockdev/zram.txt
index 765d790ae831..2eccddffa6c8 100644
--- a/drivers/staging/zram/zram.txt
+++ b/Documentation/blockdev/zram.txt
@@ -1,8 +1,6 @@
1zram: Compressed RAM based block devices 1zram: Compressed RAM based block devices
2---------------------------------------- 2----------------------------------------
3 3
4Project home: http://compcache.googlecode.com/
5
6* Introduction 4* Introduction
7 5
8The zram module creates RAM based block devices named /dev/zram<id> 6The zram module creates RAM based block devices named /dev/zram<id>
@@ -69,9 +67,5 @@ Following shows a typical sequence of steps for using zram.
69 resets the disksize to zero. You must set the disksize again 67 resets the disksize to zero. You must set the disksize again
70 before reusing the device. 68 before reusing the device.
71 69
72Please report any problems at:
73 - Mailing list: linux-mm-cc at laptop dot org
74 - Issue tracker: http://code.google.com/p/compcache/issues/list
75
76Nitin Gupta 70Nitin Gupta
77ngupta@vflare.org 71ngupta@vflare.org
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 31f76178c987..f00bee144add 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -1386,8 +1386,8 @@ may allocate from based on an estimation of its current memory and swap use.
1386For example, if a task is using all allowed memory, its badness score will be 1386For example, if a task is using all allowed memory, its badness score will be
13871000. If it is using half of its allowed memory, its score will be 500. 13871000. If it is using half of its allowed memory, its score will be 500.
1388 1388
1389There is an additional factor included in the badness score: root 1389There is an additional factor included in the badness score: the current memory
1390processes are given 3% extra memory over other tasks. 1390and swap usage is discounted by 3% for root processes.
1391 1391
1392The amount of "allowed" memory depends on the context in which the oom killer 1392The amount of "allowed" memory depends on the context in which the oom killer
1393was called. If it is due to the memory assigned to the allocating task's cpuset 1393was called. If it is due to the memory assigned to the allocating task's cpuset
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index deb48b5fd883..c53784c119c8 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -782,7 +782,7 @@ struct file_operations
782---------------------- 782----------------------
783 783
784This describes how the VFS can manipulate an open file. As of kernel 784This describes how the VFS can manipulate an open file. As of kernel
7853.5, the following members are defined: 7853.12, the following members are defined:
786 786
787struct file_operations { 787struct file_operations {
788 struct module *owner; 788 struct module *owner;
@@ -803,9 +803,6 @@ struct file_operations {
803 int (*aio_fsync) (struct kiocb *, int datasync); 803 int (*aio_fsync) (struct kiocb *, int datasync);
804 int (*fasync) (int, struct file *, int); 804 int (*fasync) (int, struct file *, int);
805 int (*lock) (struct file *, int, struct file_lock *); 805 int (*lock) (struct file *, int, struct file_lock *);
806 ssize_t (*readv) (struct file *, const struct iovec *, unsigned long, loff_t *);
807 ssize_t (*writev) (struct file *, const struct iovec *, unsigned long, loff_t *);
808 ssize_t (*sendfile) (struct file *, loff_t *, size_t, read_actor_t, void *);
809 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); 806 ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
810 unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); 807 unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
811 int (*check_flags)(int); 808 int (*check_flags)(int);
@@ -814,6 +811,7 @@ struct file_operations {
814 ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); 811 ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int);
815 int (*setlease)(struct file *, long arg, struct file_lock **); 812 int (*setlease)(struct file *, long arg, struct file_lock **);
816 long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); 813 long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len);
814 int (*show_fdinfo)(struct seq_file *m, struct file *f);
817}; 815};
818 816
819Again, all methods are called without any locks being held, unless 817Again, all methods are called without any locks being held, unless
@@ -864,12 +862,6 @@ otherwise noted.
864 lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW 862 lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW
865 commands 863 commands
866 864
867 readv: called by the readv(2) system call
868
869 writev: called by the writev(2) system call
870
871 sendfile: called by the sendfile(2) system call
872
873 get_unmapped_area: called by the mmap(2) system call 865 get_unmapped_area: called by the mmap(2) system call
874 866
875 check_flags: called by the fcntl(2) system call for F_SETFL command 867 check_flags: called by the fcntl(2) system call for F_SETFL command
diff --git a/MAINTAINERS b/MAINTAINERS
index a31a6e3e199f..b5795f031b3e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9740,11 +9740,27 @@ T: Mercurial http://linuxtv.org/hg/v4l-dvb
9740S: Odd Fixes 9740S: Odd Fixes
9741F: drivers/media/pci/zoran/ 9741F: drivers/media/pci/zoran/
9742 9742
9743ZRAM COMPRESSED RAM BLOCK DEVICE DRVIER
9744M: Minchan Kim <minchan@kernel.org>
9745M: Nitin Gupta <ngupta@vflare.org>
9746L: linux-kernel@vger.kernel.org
9747S: Maintained
9748F: drivers/block/zram/
9749F: Documentation/blockdev/zram.txt
9750
9743ZS DECSTATION Z85C30 SERIAL DRIVER 9751ZS DECSTATION Z85C30 SERIAL DRIVER
9744M: "Maciej W. Rozycki" <macro@linux-mips.org> 9752M: "Maciej W. Rozycki" <macro@linux-mips.org>
9745S: Maintained 9753S: Maintained
9746F: drivers/tty/serial/zs.* 9754F: drivers/tty/serial/zs.*
9747 9755
9756ZSMALLOC COMPRESSED SLAB MEMORY ALLOCATOR
9757M: Minchan Kim <minchan@kernel.org>
9758M: Nitin Gupta <ngupta@vflare.org>
9759L: linux-mm@kvack.org
9760S: Maintained
9761F: mm/zsmalloc.c
9762F: include/linux/zsmalloc.h
9763
9748ZSWAP COMPRESSED SWAP CACHING 9764ZSWAP COMPRESSED SWAP CACHING
9749M: Seth Jennings <sjenning@linux.vnet.ibm.com> 9765M: Seth Jennings <sjenning@linux.vnet.ibm.com>
9750L: linux-mm@kvack.org 9766L: linux-mm@kvack.org
diff --git a/arch/x86/include/asm/pgtable_types.h b/arch/x86/include/asm/pgtable_types.h
index a83aa44bb1fb..1aa9ccd43223 100644
--- a/arch/x86/include/asm/pgtable_types.h
+++ b/arch/x86/include/asm/pgtable_types.h
@@ -121,7 +121,8 @@
121 121
122/* Set of bits not changed in pte_modify */ 122/* Set of bits not changed in pte_modify */
123#define _PAGE_CHG_MASK (PTE_PFN_MASK | _PAGE_PCD | _PAGE_PWT | \ 123#define _PAGE_CHG_MASK (PTE_PFN_MASK | _PAGE_PCD | _PAGE_PWT | \
124 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY) 124 _PAGE_SPECIAL | _PAGE_ACCESSED | _PAGE_DIRTY | \
125 _PAGE_SOFT_DIRTY)
125#define _HPAGE_CHG_MASK (_PAGE_CHG_MASK | _PAGE_PSE) 126#define _HPAGE_CHG_MASK (_PAGE_CHG_MASK | _PAGE_PSE)
126 127
127#define _PAGE_CACHE_MASK (_PAGE_PCD | _PAGE_PWT) 128#define _PAGE_CACHE_MASK (_PAGE_PCD | _PAGE_PWT)
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 9ffa90c6201c..014a1cfc41c5 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -108,6 +108,8 @@ source "drivers/block/paride/Kconfig"
108 108
109source "drivers/block/mtip32xx/Kconfig" 109source "drivers/block/mtip32xx/Kconfig"
110 110