Skip to content

Commit

Permalink
lib-show_memc-teach-show_mem-to-work-with-the-given-nodemask-checkpat…
Browse files Browse the repository at this point in the history
…ch-fixes

WARNING: line over 80 characters
torvalds#214: FILE: mm/page_alloc.c:4332:
+static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask)

WARNING: line over 80 characters
torvalds#230: FILE: mm/page_alloc.c:4338:
+	 * no node mask - aka implicit memory numa policy. Do not bother with the

WARNING: line over 80 characters
torvalds#231: FILE: mm/page_alloc.c:4339:
+	 * synchronization - read_mems_allowed_begin - because we do not have to be

total: 0 errors, 3 warnings, 198 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/lib-show_memc-teach-show_mem-to-work-with-the-given-nodemask.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: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
akpm00 authored and hnaz committed Feb 8, 2017
1 parent 14edc17 commit 08ef76b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4280,9 +4280,9 @@ static bool show_mem_node_skip(unsigned int flags, int nid, nodemask_t *nodemask
return false;

/*
* no node mask - aka implicit memory numa policy. Do not bother with the
* synchronization - read_mems_allowed_begin - because we do not have to be
* precise here.
* no node mask - aka implicit memory numa policy. Do not bother with
* the synchronization - read_mems_allowed_begin - because we do not
* have to be precise here.
*/
if (!nodemask)
nodemask = &cpuset_current_mems_allowed;
Expand Down

0 comments on commit 08ef76b

Please sign in to comment.