From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: vdso: clean up vdso_pagelist initialization
Date: Wed, 12 Feb 2014 10:30:07 +0000 [thread overview]
Message-ID: <20140212103007.GF13441@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <1392157722-6372-1-git-send-email-nathan_lynch@mentor.com>
On Tue, Feb 11, 2014 at 10:28:42PM +0000, Nathan Lynch wrote:
> Remove some unnecessary bits that were apparently carried over from
> another architecture's implementation:
>
> - No need to get_page() the vdso text/data - these are part of the
> kernel image.
> - No need for ClearPageReserved on the vdso text.
> - No need to vmap the first text page to check the ELF header - this
> can be done through &vdso_start.
>
> Also some minor cleanup:
> - Use kcalloc for vdso_pagelist array allocation.
> - Don't print on allocation failure, slab/slub will do that for us.
>
> Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Thanks Nathan, this cleans things up a bit.
Acked-by: Will Deacon <will.deacon@arm.com>
Will
prev parent reply other threads:[~2014-02-12 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 22:28 [PATCH] arm64: vdso: clean up vdso_pagelist initialization Nathan Lynch
2014-02-12 10:30 ` Will Deacon [this message]
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=20140212103007.GF13441@mudshark.cambridge.arm.com \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.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