public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chuck Lever <chuck.lever@oracle.com>
To: Neil Brown <neilb@suse.de>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: releasing result pages in svc_xprt_release()
Date: Fri, 29 Jan 2021 16:19:13 +0000	[thread overview]
Message-ID: <811BE98B-F196-4EC1-899F-6B62F313640C@oracle.com> (raw)

Hi Neil-

I'd like to reduce the amount of page allocation that NFSD does,
and was wondering about the release and reset of pages in
svc_xprt_release(). This logic was added when the socket transport
was converted to use kernel_sendpage() back in 2002. Do you
remember why releasing the result pages is necessary?


--
Chuck Lever




             reply	other threads:[~2021-01-29 21:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 16:19 Chuck Lever [this message]
2021-01-29 22:43 ` releasing result pages in svc_xprt_release() NeilBrown
2021-01-29 23:06   ` Chuck Lever
2021-01-31 23:45     ` NeilBrown
2021-02-01  0:19       ` Chuck Lever
2021-02-01 23:27         ` NeilBrown
2021-02-05 20:20           ` Chuck Lever
2021-02-05 21:13             ` J. Bruce Fields
2021-02-06 17:59               ` Chuck Lever
2021-02-07 23:59               ` NeilBrown
2021-02-07 23:42             ` NeilBrown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=811BE98B-F196-4EC1-899F-6B62F313640C@oracle.com \
    --to=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox