]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Remove XDRBUF_SPARSE_PAGES flag in gss_proxy upcall
authorChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 19:58:19 +0000 (14:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Dec 2020 15:06:52 +0000 (10:06 -0500)
commit270da5e4d92e4ad7d27b4494fcb5ceda36ac49b2
treea416f138161de7fd451b7cdf418caaa6273e87fb
parent208ed4f92a65bba46013024d85457e5c1c9dd08d
SUNRPC: Remove XDRBUF_SPARSE_PAGES flag in gss_proxy upcall

There's no need to defer allocation of pages for the receive buffer.

- This upcall is quite infrequent
- gssp_alloc_receive_pages() can allocate the pages with GFP_KERNEL,
  unlike the transport
- gssp_alloc_receive_pages() knows exactly how many pages are needed

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Olga Kornievskaia <aglo@umich.edu>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/auth_gss/gss_rpc_upcall.c
net/sunrpc/auth_gss/gss_rpc_xdr.c