diff options
| -rw-r--r-- | Documentation/blockdev/zram.txt (renamed from drivers/staging/zram/zram.txt) | 6 | ||||
| -rw-r--r-- | Documentation/filesystems/proc.txt | 4 | ||||
| -rw-r--r-- | Documentation/filesystems/vfs.txt | 12 | ||||
| -rw-r--r-- | MAINTAINERS | 16 | ||||
| -rw-r--r-- | arch/x86/include/asm/pgtable_types.h | 3 | ||||
| -rw-r--r-- | drivers/block/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/block/Makefile | 1 | ||||
| -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.c | 1 | ||||
| -rw-r--r-- | drivers/staging/Kconfig | 4 | ||||
| -rw-r--r-- | drivers/staging/Makefile | 2 | ||||
| -rw-r--r-- | drivers/staging/zsmalloc/Kconfig | 24 | ||||
| -rw-r--r-- | drivers/staging/zsmalloc/Makefile | 3 | ||||
| -rw-r--r-- | drivers/video/backlight/lcd.c | 2 | ||||
| -rw-r--r-- | include/linux/blkdev.h | 5 | ||||
| -rw-r--r-- | include/linux/bootmem.h | 4 | ||||
| -rw-r--r-- | include/linux/smp.h | 6 | ||||
| -rw-r--r-- | include/linux/zsmalloc.h (renamed from drivers/staging/zsmalloc/zsmalloc.h) | 1 | ||||
| -rw-r--r-- | kernel/smp.c | 68 | ||||
| -rw-r--r-- | mm/Kconfig | 25 | ||||
| -rw-r--r-- | mm/Makefile | 1 | ||||
| -rw-r--r-- | mm/memcontrol.c | 7 | ||||
| -rw-r--r-- | mm/mempolicy.c | 2 | ||||
| -rw-r--r-- | mm/oom_kill.c | 2 | ||||
| -rw-r--r-- | mm/slub.c | 19 | ||||
| -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 @@ | |||
| 1 | zram: Compressed RAM based block devices | 1 | zram: Compressed RAM based block devices |
| 2 | ---------------------------------------- | 2 | ---------------------------------------- |
| 3 | 3 | ||
| 4 | Project home: http://compcache.googlecode.com/ | ||
| 5 | |||
| 6 | * Introduction | 4 | * Introduction |
| 7 | 5 | ||
| 8 | The zram module creates RAM based block devices named /dev/zram<id> | 6 | The 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 | ||
| 72 | Please 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 | |||
| 76 | Nitin Gupta | 70 | Nitin Gupta |
| 77 | ngupta@vflare.org | 71 | ngupta@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. | |||
| 1386 | For example, if a task is using all allowed memory, its badness score will be | 1386 | For example, if a task is using all allowed memory, its badness score will be |
| 1387 | 1000. If it is using half of its allowed memory, its score will be 500. | 1387 | 1000. If it is using half of its allowed memory, its score will be 500. |
| 1388 | 1388 | ||
| 1389 | There is an additional factor included in the badness score: root | 1389 | There is an additional factor included in the badness score: the current memory |
| 1390 | processes are given 3% extra memory over other tasks. | 1390 | and swap usage is discounted by 3% for root processes. |
| 1391 | 1391 | ||
| 1392 | The amount of "allowed" memory depends on the context in which the oom killer | 1392 | The amount of "allowed" memory depends on the context in which the oom killer |
| 1393 | was called. If it is due to the memory assigned to the allocating task's cpuset | 1393 | was 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 | ||
| 784 | This describes how the VFS can manipulate an open file. As of kernel | 784 | This describes how the VFS can manipulate an open file. As of kernel |
| 785 | 3.5, the following members are defined: | 785 | 3.12, the following members are defined: |
| 786 | 786 | ||
| 787 | struct file_operations { | 787 | struct 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 | ||
| 819 | Again, all methods are called without any locks being held, unless | 817 | Again, 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 | |||
| 9740 | S: Odd Fixes | 9740 | S: Odd Fixes |
| 9741 | F: drivers/media/pci/zoran/ | 9741 | F: drivers/media/pci/zoran/ |
| 9742 | 9742 | ||
| 9743 | ZRAM COMPRESSED RAM BLOCK DEVICE DRVIER | ||
| 9744 | M: Minchan Kim <minchan@kernel.org> | ||
| 9745 | M: Nitin Gupta <ngupta@vflare.org> | ||
| 9746 | L: linux-kernel@vger.kernel.org | ||
| 9747 | S: Maintained | ||
| 9748 | F: drivers/block/zram/ | ||
| 9749 | F: Documentation/blockdev/zram.txt | ||
| 9750 | |||
| 9743 | ZS DECSTATION Z85C30 SERIAL DRIVER | 9751 | ZS DECSTATION Z85C30 SERIAL DRIVER |
| 9744 | M: "Maciej W. Rozycki" <macro@linux-mips.org> | 9752 | M: "Maciej W. Rozycki" <macro@linux-mips.org> |
| 9745 | S: Maintained | 9753 | S: Maintained |
| 9746 | F: drivers/tty/serial/zs.* | 9754 | F: drivers/tty/serial/zs.* |
| 9747 | 9755 | ||
| 9756 | ZSMALLOC COMPRESSED SLAB MEMORY ALLOCATOR | ||
| 9757 | M: Minchan Kim <minchan@kernel.org> | ||
| 9758 | M: Nitin Gupta <ngupta@vflare.org> | ||
| 9759 | L: linux-mm@kvack.org | ||
| 9760 | S: Maintained | ||
| 9761 | F: mm/zsmalloc.c | ||
| 9762 | F: include/linux/zsmalloc.h | ||
| 9763 | |||
| 9748 | ZSWAP COMPRESSED SWAP CACHING | 9764 | ZSWAP COMPRESSED SWAP CACHING |
| 9749 | M: Seth Jennings <sjenning@linux.vnet.ibm.com> | 9765 | M: Seth Jennings <sjenning@linux.vnet.ibm.com> |
| 9750 | L: linux-mm@kvack.org | 9766 | L: 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 | ||
| 109 | source "drivers/block/mtip32xx/Kconfig" | 109 | source "drivers/block/mtip32xx/Kconfig" |
| 110 | 110 | ||
