linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1 v2] mm: Use BIT macro in SLAB bitmaps
@ 2017-05-09 11:04 Igor Stoppa
  2017-05-09 11:04 ` [PATCH 1/1 v2] Rework slab bitmasks Igor Stoppa
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Stoppa @ 2017-05-09 11:04 UTC (permalink / raw)
  To: mhocko; +Cc: linux-mm, Igor Stoppa

The file include/linux/slab.h can be simplified by moving to use the
macro BIT() and making other bitmaps depend on their correspective
master-toggle configuration option.

checkpatch.pl will generate some warnings about line lenght, but I didn't
want to alter the initial layout, which already sufferend from this
problem.

The previous version was redefining a macro that is used by the exinos bsp.

Igor Stoppa (1):
  Rework slab bitmasks

 include/linux/slab.h | 71 +++++++++++++++++++++++-----------------------------
 1 file changed, 31 insertions(+), 40 deletions(-)

-- 
2.9.3

--
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] 2+ messages in thread

end of thread, other threads:[~2017-05-09 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 11:04 [PATCH 0/1 v2] mm: Use BIT macro in SLAB bitmaps Igor Stoppa
2017-05-09 11:04 ` [PATCH 1/1 v2] Rework slab bitmasks Igor Stoppa

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