Skip to content

Commit d7b30d4

Browse files
akpm00sfrothwell
authored andcommitted
mm-vmalloc-introduce-alloc_pages_bulk_array_mempolicy-to-accelerate-memory-allocation-checkpatch-fixes
WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) torvalds#19: [1]: https://lore.kernel.org/lkml/CALvZod4G3SzP3kWxQYn0fj+VgG-G3yWXz=gz17+3N57ru1iajw@mail.gmail.com/t/#m750c8e3231206134293b089feaa090590afa0f60 WARNING: 'cant' may be misspelled - perhaps 'can't'? torvalds#158: FILE: mm/vmalloc.c:2858: + /* memory allocation should consider mempolicy, we cant ^^^^ total: 0 errors, 2 warnings, 136 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-vmalloc-introduce-alloc_pages_bulk_array_mempolicy-to-accelerate-memory-allocation.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Chen Wandun <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Stephen Rothwell <[email protected]>
1 parent ce0fa68 commit d7b30d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/vmalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ vm_area_alloc_pages(gfp_t gfp, int nid,
28552855
*/
28562856
nr_pages_request = min(100U, nr_pages - nr_allocated);
28572857

2858-
/* memory allocation should consider mempolicy, we cant
2858+
/* memory allocation should consider mempolicy, we can't
28592859
* wrongly use nearest node when nid == NUMA_NO_NODE,
28602860
* otherwise memory may be allocated in only one node,
28612861
* but mempolcy want to alloc memory by interleaving.

0 commit comments

Comments
 (0)