Commit:     83d93f2229348837bf988a1048f7f38789474471
Parent:     a0356862bcbeb20acf64bc1a82d28a4c5bb957a7
Author:     Jeff Layton <[EMAIL PROTECTED]>
AuthorDate: Thu Jun 7 09:58:08 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Tue Jul 10 23:40:25 2007 -0400

    NFS: Use GFP_HIGHUSER for page allocation in nfs_symlink()
    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 <[EMAIL PROTECTED]>
 fs/nfs/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index c02a796..0f41678 100644
--- 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
-       page = alloc_page(GFP_KERNEL);
+       page = alloc_page(GFP_HIGHUSER);
        if (!page) {
                return -ENOMEM;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to