diff options
author | Mel Gorman <mgorman@suse.de> | 2012-07-31 16:44:14 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-31 18:42:46 -0700 |
commit | 99a1dec70d5acbd8c6b3928cdebb4a2d1da676c8 (patch) | |
tree | ac61a8b479065fa3ed3fdddf17e91366dcddcea5 /net/sctp/sm_statetable.c | |
parent | 183f6371aac2a5496a8ef2b0b0a68562652c3cdb (diff) | |
download | op-kernel-dev-99a1dec70d5acbd8c6b3928cdebb4a2d1da676c8.zip op-kernel-dev-99a1dec70d5acbd8c6b3928cdebb4a2d1da676c8.tar.gz |
net: introduce sk_gfp_atomic() to allow addition of GFP flags depending on the individual socket
Introduce sk_gfp_atomic(), this function allows to inject sock specific
flags to each sock related allocation. It is only used on allocation
paths that may be required for writing pages back to network storage.
[davem@davemloft.net: Use sk_gfp_atomic only when necessary]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Neil Brown <neilb@suse.de>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: Eric B Munson <emunson@mgebm.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/sctp/sm_statetable.c')
0 files changed, 0 insertions, 0 deletions