Merge branch 'akpm' (fixes from Andrew Morton)
Merge leftovers from Andrew Morton: "A few leftovers. I have a bunch of OCFS2 patches which are still out for review and which I might sneak along after -rc1. Partly my fault - I should send my review pokes out earlier" * emailed patches from Andrew Morton <akpm@linux-foundation.org>: mm: fix CROSS_MEMORY_ATTACH help text grammar drivers/mfd/rtsx_usb.c: export device table mm, hugetlb_cgroup: align hugetlb cgroup limit to hugepage size
This commit is contained in:
commit
f2937e4540
|
@ -744,6 +744,7 @@ static struct usb_device_id rtsx_usb_usb_ids[] = {
|
||||||
{ USB_DEVICE(0x0BDA, 0x0140) },
|
{ USB_DEVICE(0x0BDA, 0x0140) },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(usb, rtsx_usb_usb_ids);
|
||||||
|
|
||||||
static struct usb_driver rtsx_usb_driver = {
|
static struct usb_driver rtsx_usb_driver = {
|
||||||
.name = "rtsx_usb",
|
.name = "rtsx_usb",
|
||||||
|
|
|
@ -268,7 +268,7 @@ config CROSS_MEMORY_ATTACH
|
||||||
help
|
help
|
||||||
Enabling this option adds the system calls process_vm_readv and
|
Enabling this option adds the system calls process_vm_readv and
|
||||||
process_vm_writev which allow a process with the correct privileges
|
process_vm_writev which allow a process with the correct privileges
|
||||||
to directly read from or write to to another process's address space.
|
to directly read from or write to another process' address space.
|
||||||
See the man page for more details.
|
See the man page for more details.
|
||||||
|
|
||||||
config FHANDLE
|
config FHANDLE
|
||||||
|
|
|
@ -275,6 +275,7 @@ static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of,
|
||||||
ret = res_counter_memparse_write_strategy(buf, &val);
|
ret = res_counter_memparse_write_strategy(buf, &val);
|
||||||
if (ret)
|
if (ret)
|
||||||
break;
|
break;
|
||||||
|
val = ALIGN(val, 1ULL << huge_page_shift(&hstates[idx]));
|
||||||
ret = res_counter_set_limit(&h_cg->hugepage[idx], val);
|
ret = res_counter_set_limit(&h_cg->hugepage[idx], val);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue