linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] some small improvement
@ 2015-11-16  6:51 Yaowei Bai
  2015-11-16  6:51 ` [PATCH 1/7] ipc/shm: is_file_shm_hugepages can be boolean Yaowei Bai
                   ` (8 more replies)
  0 siblings, 9 replies; 23+ messages in thread
From: Yaowei Bai @ 2015-11-16  6:51 UTC (permalink / raw)
  To: akpm
  Cc: bhe, dan.j.williams, dave.hansen, dave, dhowells, dingel, hannes,
	hillf.zj, holt, iamjoonsoo.kim, joe, kuleshovmail, mgorman,
	mhocko, mike.kravetz, n-horiguchi, penberg, rientjes,
	sasha.levin, tj, tony.luck, vbabka, vdavydov, linux-mm,
	linux-kernel

This patchset only performs some small improvement to mm. First, make
several functions return bool to improve readability, and then remove
unused is_unevictable_lru function and refactor memmap_valid_within
for simplicity.

No functional change.

Yaowei Bai (7):
  ipc/shm: is_file_shm_hugepages can be boolean
  mm/hugetlb: is_file_hugepages can be boolean
  mm/memblock: memblock_is_memory/reserved can be boolean
  mm/vmscan: page_is_file_cache can be boolean
  mm/lru: remove unused is_unevictable_lru function
  mm/gfp: make gfp_zonelist return directly and bool
  mm/mmzone: refactor memmap_valid_within

 include/linux/gfp.h       |  7 ++-----
 include/linux/hugetlb.h   | 10 ++++------
 include/linux/memblock.h  |  4 ++--
 include/linux/mm_inline.h |  6 +++---
 include/linux/mmzone.h    | 11 +++--------
 include/linux/shm.h       |  6 +++---
 ipc/shm.c                 |  2 +-
 mm/memblock.c             |  4 ++--
 mm/mmzone.c               | 10 ++--------
 9 files changed, 22 insertions(+), 38 deletions(-)

-- 
1.9.1



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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2015-11-18  1:40 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16  6:51 [PATCH 0/7] some small improvement Yaowei Bai
2015-11-16  6:51 ` [PATCH 1/7] ipc/shm: is_file_shm_hugepages can be boolean Yaowei Bai
2015-11-16 12:39   ` Michal Hocko
2015-11-16  6:51 ` [PATCH 2/7] mm/hugetlb: is_file_hugepages " Yaowei Bai
2015-11-16 12:40   ` Michal Hocko
2015-11-16  6:51 ` [PATCH 3/7] mm/memblock: memblock_is_memory/reserved " Yaowei Bai
2015-11-16 12:41   ` Michal Hocko
2015-11-16  6:51 ` [PATCH 4/7] mm/vmscan: page_is_file_cache " Yaowei Bai
2015-11-16 10:10   ` David Rientjes
2015-11-17  2:18     ` Yaowei Bai
2015-11-16  6:51 ` [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function Yaowei Bai
2015-11-16 12:43   ` Michal Hocko
2015-11-17  5:16   ` Hillf Danton
2015-11-16  6:51 ` [PATCH 6/7] mm/gfp: make gfp_zonelist return directly and bool Yaowei Bai
2015-11-16 10:05   ` David Rientjes
2015-11-17  1:59     ` Yaowei Bai
2015-11-17  5:44       ` David Rientjes
2015-11-17  8:29         ` Yaowei Bai
2015-11-16  6:51 ` [PATCH 7/7] mm/mmzone: refactor memmap_valid_within Yaowei Bai
2015-11-16 12:45   ` Michal Hocko
2015-11-17  2:40     ` Yaowei Bai
2015-11-17  9:02 ` [PATCH] mm/zonelist: enumerate zonelists array index Yaowei Bai
2015-11-18  1:38 ` [PATCH] mm/mmzone: memmap_valid_within can be boolean Yaowei Bai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox