Re: [PATCH] mm: slab: remove ZONE_DMA_FLAG

From: Shi, Yang
Date: Mon May 09 2016 - 13:27:56 EST


On 5/5/2016 4:49 AM, Michal Hocko wrote:
On Wed 04-05-16 10:01:37, Yang Shi wrote:
Now we have IS_ENABLED helper to check if a Kconfig option is enabled or not,
so ZONE_DMA_FLAG sounds no longer useful.

And, the use of ZONE_DMA_FLAG in slab looks pointless according to the
comment [1] from Johannes Weiner, so remove them and ORing passed in flags with
the cache gfp flags has been done in kmem_getpages().

[1] https://lkml.org/lkml/2014/9/25/553

I haven't checked the patch but I have a formal suggestion.
lkml.org tends to break and forget, please use
http://lkml.kernel.org/r/$msg-id instead. In this case
http://lkml.kernel.org/r/20140925185047.GA21089@xxxxxxxxxxx

Thanks for the suggestion. Will use msg-id in later post.

Regards,
Yang


Thanks!