login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
5
Re: [2.6 patch] mm/hugetlb.c: fix duplicate variable
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
KOSAKI Motohiro <kosaki.motohiro@...>
To: Adrian Bunk <bunk@...>
Cc: <wli@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Subject:
Re: [2.6 patch] mm/hugetlb.c: fix duplicate variable
Date: Monday, May 5, 2008 - 4:11 pm
> It's confusing that set_max_huge_pages() contained two different
quoted text
> variables named "ret", and although the code works correctly this should > be fixed. > > The inner of the two variables can simply be removed.
^^^^ two? I think removal inner variable is 1, no? but, your change is perfectly right, IMHO. Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
quoted text
> while (count > persistent_huge_pages) { > - int ret; > /* > * If this allocation races such that we no longer need the > * page, free_huge_page will handle it by freeing the page > * and reducing the surplus. > */
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[2.6 patch] mm/hugetlb.c: fix duplicate variable
, Adrian Bunk
, (Mon May 5, 2:28 pm)
Re: [2.6 patch] mm/hugetlb.c: fix duplicate variable
, KOSAKI Motohiro
, (Mon May 5, 4:11 pm)
Re: [2.6 patch] mm/hugetlb.c: fix duplicate variable
, Adrian Bunk
, (Mon May 5, 4:19 pm)
Re: [2.6 patch] mm/hugetlb.c: fix duplicate variable
, KOSAKI Motohiro
, (Mon May 5, 4:28 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Faik Uygur
Re: Linux 2.6.21-rc1
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jens Axboe
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
835 guests
online.
Online users
zeekec
Syndicate