]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/gfp.h: further document GFP_DMA32
authorMiles Chen <miles.chen@mediatek.com>
Fri, 14 Jan 2022 22:07:30 +0000 (14:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:29 +0000 (16:30 +0200)
commitd6e53e0289c4ab199e95afc37c41addf31f0f0bf
tree146a188e565085726087865260ed8d67719065ba
parent765facbb499dedb4929aace85bc8e3988c1ab84a
include/linux/gfp.h: further document GFP_DMA32

kmalloc(..., GFP_DMA32) does not return DMA32 memory because the DMA32
kmalloc cache array is not implemented.  (Reason: there is no such user
in kernel).

Put a short comment about this so people can understand this by reading
the comment.

[1] https://lists.linuxfoundation.org/pipermail/iommu/2018-December/031696.html

Link: https://lkml.kernel.org/r/20211207093610.6406-1-miles.chen@mediatek.com
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h