From: "Jan Beulich" <JBeulich@novell.com>
To: <linux-kernel@vger.kernel.org>
Subject: pte_alloc_kernel parameters
Date: Thu, 15 Dec 2005 15:53:52 +0100 [thread overview]
Message-ID: <43A19190.76F0.0078.0@novell.com> (raw)
Is there any particular reason why pte_alloc_kernel() has to have
'struct mm_struct*' as its first parameter? Except for a case in parisc
(where NULL gets passed) and another (ill-looking one) in arm26 it is
always &init_mm, and since the function is not inline the compiler can't
eliminate the needless passing of the argument.
Thanks, Jan
next reply other threads:[~2005-12-15 14:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-15 14:53 Jan Beulich [this message]
2005-12-16 21:05 ` Hugh Dickins
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=43A19190.76F0.0078.0@novell.com \
--to=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®