diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-02-24 23:58:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-25 02:46:55 +0100 |
commit | e2f466e32f56c8b3ee0d1a40cc39e1c779dfd598 (patch) | |
tree | f37685b18f07689ed884b912f226b9a19c320e7a /net/rds/info.h | |
parent | mm: alloc_contig_range: allow to specify GFP mask (diff) | |
download | linux-e2f466e32f56c8b3ee0d1a40cc39e1c779dfd598.tar.xz linux-e2f466e32f56c8b3ee0d1a40cc39e1c779dfd598.zip |
mm: cma_alloc: allow to specify GFP mask
Most users of this interface just want to use it with the default
GFP_KERNEL flags, but for cases where DMA memory is allocated it may be
called from a different context.
No functional change yet, just passing through the flag to the
underlying alloc_contig_range function.
Link: http://lkml.kernel.org/r/20170127172328.18574-2-l.stach@pengutronix.de
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Radim Krcmar <rkrcmar@redhat.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Alexander Graf <agraf@suse.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rds/info.h')
0 files changed, 0 insertions, 0 deletions