projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a035686
)
NFS: Use GFP_HIGHUSER for page allocation in nfs_symlink()
author
Jeff Layton
<jlayton@redhat.com>
Thu, 7 Jun 2007 13:58:08 +0000
(09:58 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:25 +0000
(23:40 -0400)
nfs_symlink() allocates a GFP_KERNEL page for the pagecache. Most
pagecache pages are allocated using GFP_HIGHUSER, and there's no reason
not to do that in nfs_symlink() as well.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/nfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index
c02a796
..
0f41678
100644
(file)
--- a/
fs/nfs/dir.c
+++ b/
fs/nfs/dir.c
@@
-1534,7
+1534,7
@@
static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *sym
lock_kernel();
- page = alloc_page(GFP_
KERNEL
);
+ page = alloc_page(GFP_
HIGHUSER
);
if (!page) {
unlock_kernel();
return -ENOMEM;