mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branch 'akpm' (patches from Andrew)
Merge updates from Andrew Morton: - a few misc bits - ocfs2 updates - almost all of MM * emailed patches from Andrew Morton <[email protected]>: (131 commits) memory hotplug: fix comments when adding section mm: make alloc_node_mem_map a void call if we don't have CONFIG_FLAT_NODE_MEM_MAP mm: simplify nodemask printing mm,oom_reaper: remove pointless kthread_run() error check mm/page_ext.c: check if page_ext is not prepared writeback: remove unused function parameter mm: do not rely on preempt_count in print_vma_addr mm, sparse: do not swamp log with huge vmemmap allocation failures mm/hmm: remove redundant variable align_end mm/list_lru.c: mark expected switch fall-through mm/shmem.c: mark expected switch fall-through mm/page_alloc.c: broken deferred calculation mm: don't warn about allocations which stall for too long fs: fuse: account fuse_inode slab memory as reclaimable mm, page_alloc: fix potential false positive in __zone_watermark_ok mm: mlock: remove lru_add_drain_all() mm, sysctl: make NUMA stats configurable shmem: convert shmem_init_inodecache() to void Unify migrate_pages and move_pages access checks mm, pagevec: rename pagevec drained field ...
This commit is contained in:
commit
7c225c69f8
250 changed files with 2276 additions and 4084 deletions
|
|
@ -1667,8 +1667,9 @@ int qib_setup_eagerbufs(struct qib_ctxtdata *rcd)
|
|||
}
|
||||
if (!rcd->rcvegrbuf_phys) {
|
||||
rcd->rcvegrbuf_phys =
|
||||
kmalloc_node(chunk * sizeof(rcd->rcvegrbuf_phys[0]),
|
||||
GFP_KERNEL, rcd->node_id);
|
||||
kmalloc_array_node(chunk,
|
||||
sizeof(rcd->rcvegrbuf_phys[0]),
|
||||
GFP_KERNEL, rcd->node_id);
|
||||
if (!rcd->rcvegrbuf_phys)
|
||||
goto bail_rcvegrbuf;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ int rvt_driver_qp_init(struct rvt_dev_info *rdi)
|
|||
rdi->qp_dev->qp_table_size = rdi->dparms.qp_table_size;
|
||||
rdi->qp_dev->qp_table_bits = ilog2(rdi->dparms.qp_table_size);
|
||||
rdi->qp_dev->qp_table =
|
||||
kmalloc_node(rdi->qp_dev->qp_table_size *
|
||||
kmalloc_array_node(rdi->qp_dev->qp_table_size,
|
||||
sizeof(*rdi->qp_dev->qp_table),
|
||||
GFP_KERNEL, rdi->dparms.node);
|
||||
if (!rdi->qp_dev->qp_table)
|
||||
|
|
|
|||
Loading…
Reference in a new issue