From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: Small hugetlbpage.c fix
Date: Fri, 05 May 2006 18:45:06 +0000 [thread overview]
Message-ID: <4sur0l$vejv1@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <445B125F.3040405@bull.net>
Zoltan Menyhart wrote on Friday, May 05, 2006 1:53 AM
> --- linux-2.6.16.9-save/arch/ia64/mm/hugetlbpage.c 2006-04-21 09:58:55.000000000 +0200
> +++ linux-2.6.16.9/arch/ia64/mm/hugetlbpage.c 2006-05-05 10:35:14.000000000 +0200
> @@ -125,9 +125,9 @@
>
> addr = htlbpage_to_page(addr);
> end = htlbpage_to_page(end);
> - if (is_hugepage_only_range(tlb->mm, floor, HPAGE_SIZE))
> + if (is_hugepage_only_range((*tlb)->mm, floor, HPAGE_SIZE))
> floor = htlbpage_to_page(floor);
> - if (is_hugepage_only_range(tlb->mm, ceiling, HPAGE_SIZE))
> + if (is_hugepage_only_range((*tlb)->mm, ceiling, HPAGE_SIZE))
> ceiling = htlbpage_to_page(ceiling);
>
> free_pgd_range(tlb, addr, end, floor, ceiling);
Luck, Tony wrote on Friday, May 05, 2006 9:44 AM
> Greg, Chris:
>
> 2.6.17-rcN has moved on and changed this in other ways, but
> this patch looks like a candidate for the stable series.
> What's there looks like it should kick a warning, if not a
> full blown error from the compiler for getting the type wrong.
What's the big fuss about it? The first argument is not even used in
is_hugepage_only_range() for ia64. Plus the fix is a broken fix anyway.
- Ken
next prev parent reply other threads:[~2006-05-05 18:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-05 8:52 Small hugetlbpage.c fix Zoltan Menyhart
2006-05-05 16:44 ` Luck, Tony
2006-05-05 18:45 ` Chen, Kenneth W [this message]
2006-05-05 19:06 ` Chen, Kenneth W
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='4sur0l$vejv1@fmsmga001.fm.intel.com' \
--to=kenneth.w.chen@intel.com \
--cc=linux-ia64@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