skbuff: export mm_[un]account_pinned_pages for other modules
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 15 Feb 2018 18:49:32 +0000 (10:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 21:04:16 +0000 (16:04 -0500)
commit6f89dbce8e1134458de8a8e376acaaca4eee602e
tree4db6ba33d7bd7bc250b69d86a864b57666bbc75a
parentee99b2d8bf4ad6d03046a8c2f25bad7cfd9de64a
skbuff: export mm_[un]account_pinned_pages for other modules

RDS would like to use the helper functions for managing pinned pages
added by Commit a91dbff551a6 ("sock: ulimit on MSG_ZEROCOPY pages")

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c