lkml.org 
[lkml]   [2013]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH buf-fix] kernel, range: fix broken mtrr_cleanup(Internet mail)
Date
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.
\
 
 \ /
  Last update: 2013-06-13 05:01    [W:0.092 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site