[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <A98DEB4ACFCFC841976D4371742E02E07623124C@EXMBX-SZ003.tencent.com>
Date: Thu, 13 Jun 2013 02:18:29 +0000
From: samuelliao(廖生苗) <samuelliao@...cent.com>
To: Yinghai Lu <yinghai@...nel.org>, Shan Wei <shanwei88@...il.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Lin Feng <linfeng@...fujitsu.com>,
"H. Peter Anvin" <hpa@...ux.intel.com>,
Kernel-Maillist <linux-kernel@...r.kernel.org>,
davidshan(单卫) <davidshan@...cent.com>
Subject: Re: [PATCH buf-fix] kernel, range: fix broken mtrr_cleanup(Internet
mail)
I forget change final_start/final_end to start/end. The old code add empty range in following case:
Before mtrr cleanup:
1. got initial MTRR range: 0-3G.
2. MTRR code try to merge 0-1M
3. result is 0-0, 0-3G, total 2 range count
After cleanup:
1. got final MTRR range: 0-3G, total 1 range count
the cleanup code failed, because range count mismatch.
Powered by blists - more mailing lists