Skip to content

mm: fix sparse warnings

Namhyung Kim linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12mm: remove temporary variable on generic_file_direct_write()mm/filemap.c+4 -40 replies
2/12mm: add casts to/from gfp_t in gfp_to_alloc_flags()mm/page_alloc.c+2 -20 replies
3/12mm: wrap get_locked_pte() using __cond_lock()include/linux/mm.h mm/memory.c+10 -20 replies
4/12mm: add lock release annotation on do_wp_page()mm/memory.c+1 -00 replies
5/12mm: wrap follow_pte() using __cond_lock()mm/memory.c+12 -10 replies
6/12rmap: annotate lock context change on page_[un]lock_anon_vma()include/linux/rmap.h mm/rmap.c+17 -20 replies
7/12rmap: wrap page_check_address() using __cond_lock()include/linux/rmap.h mm/rmap.c+13 -20 replies
8/12rmap: make anon_vma_[chain_]free() staticinclude/linux/rmap.h mm/rmap.c+2 -30 replies
9/12vmalloc: rename temporary variable in __insert_vmap_area()mm/vmalloc.c+4 -40 replies
10/12vmalloc: annotate lock context change on s_start/stop()mm/vmalloc.c+2 -00 replies
11/12mm: declare some external symbolsinclude/linux/backing-dev.h include/linux/writeback.h+3 -00 replies
12/12vmstat: include compaction.h when CONFIG_COMPACTIONmm/vmstat.c+2 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] mm: fix sparse warnings

Hello,

This patchset tries to remove various warnings from sparse. Each patch contains the warnings it removes in changelog. I compile-tested with all{yes,no}config on x86. Any comments would be welcomed.

Thanks.

---

Namhyung Kim (12):
mm: remove temporary variable on generic_file_direct_write()
mm: add casts to/from gfp_t in gfp_to_alloc_flags()
mm: wrap get_locked_pte() using __cond_lock()
mm: add lock release annotation on do_wp_page()
mm: wrap follow_pte() using __cond_lock()
rmap: annotate lock context change on page_[un]lock_anon_vma()
rmap: wrap page_check_address() using __cond_lock()
rmap: make anon_vma_[chain_]free() static
vmalloc: rename temporary variable in __insert_vmap_area()
vmalloc: annotate lock context change on s_start/stop()
mm: declare some external symbols
vmstat: include compaction.h when CONFIG_COMPACTION

 include/linux/backing-dev.h |    1 +
 include/linux/mm.h          |   10 +++++++++-
 include/linux/rmap.h        |   29 ++++++++++++++++++++++++++---
 include/linux/writeback.h   |    2 ++
 mm/filemap.c                |    8 ++++----
 mm/memory.c                 |   16 ++++++++++++++--
 mm/page_alloc.c             |    4 ++--
 mm/rmap.c                   |   10 ++++++----
 mm/vmalloc.c                |   10 ++++++----
 mm/vmstat.c                 |    2 ++
 10 files changed, 72 insertions(+), 20 deletions(-)

--
1.7.2.2

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>