Repository navigation
Commit 496d83c
committed
NFSD: Batch release pages during splice read
Large splice reads call put_page() repeatedly. put_page() is
relatively expensive to call, so replace it with the new
svc_rqst_replace_page() helper to help amortize that cost.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neilb@suse.de>1 parent 2f0f88f commit 496d83c
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
852 | | - | |
853 | | - | |
854 | | - | |
| 852 | + | |
855 | 853 | | |
856 | 854 | | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
| 855 | + | |
861 | 856 | | |
862 | 857 | | |
863 | 858 | | |
| |||
0 commit comments