projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/nfs/dir.c
b/fs/nfs/dir.c
index c02a7962e69d00ec10222132f4fa9c951ad2406c..0f41678fd7ee651aa9b2ecda68ccb90deb58a751 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;