From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: Prasad Joshi <prasadjoshi124@gmail.com>
Cc: heiko.carstens@de.ibm.com, linux390@de.ibm.com,
linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
mitra@kqinfotech.com
Subject: Re: [RFC][PATCH v3 09/22] mm, s390: add gfp flags variant of pud, pte, and pte allocations
Date: Mon, 21 Mar 2011 09:34:12 +0100 [thread overview]
Message-ID: <20110321093412.2776a69f@mschwide.boeblingen.de.ibm.com> (raw)
In-Reply-To: <20110318195643.GJ4746@prasad-kvm>
On Fri, 18 Mar 2011 19:56:44 +0000
Prasad Joshi <prasadjoshi124@gmail.com> wrote:
> - Added function __crst_table_alloc() which is similar to crst_table_alloc()
> but accepts an extra argument gfp_t. The function uses given allocation
> flag to allocate pages.
>
> - Added a function __page_table_alloc() to allocate page table entries. This
> function is allows caller to specify the page allocation flag. The
> allocation flag is then passed to alloc_page(). The rest of the function is
> copy of the original page_table_alloc().
The approach of this patch series seems straightforward, the only nitpick I
have is the fact that two new functions __crst_table_alloc/__page_table_alloc
are introduced. There aren't many call sites for the two original functions,
namely 4 for crst_table_alloc and 3 for page_table_alloc. Why not add the
gfp flag GFP_KERNEL to these call sites? Then the two additional functions
would not be needed.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
next prev parent reply other threads:[~2011-03-21 8:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110318194135.GA4746@prasad-kvm>
[not found] ` <20110318194341.GB4746@prasad-kvm>
[not found] ` <20110318194600.GC4746@prasad-kvm>
[not found] ` <20110318194740.GD4746@prasad-kvm>
[not found] ` <20110318194929.GE4746@prasad-kvm>
[not found] ` <20110318195035.GF4746@prasad-kvm>
[not found] ` <20110318195141.GG4746@prasad-kvm>
[not found] ` <20110318195307.GH4746@prasad-kvm>
[not found] ` <20110318195507.GI4746@prasad-kvm>
2011-03-18 19:56 ` [RFC][PATCH v3 09/22] mm, s390: add gfp flags variant of pud, pte, and pte allocations Prasad Joshi
2011-03-21 8:34 ` Martin Schwidefsky [this message]
2011-03-21 19:02 ` Prasad Joshi
2011-03-22 7:56 ` Martin Schwidefsky
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=20110321093412.2776a69f@mschwide.boeblingen.de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=mitra@kqinfotech.com \
--cc=prasadjoshi124@gmail.com \
/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