From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] account for start offset on largepage aligned-sized memslots Date: Sat, 05 Apr 2008 00:24:05 +0300 Message-ID: <47F69C75.5000203@qumranet.com> References: <20080404202121.GA1763@dmt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , Chris Lalancette To: Marcelo Tosatti Return-path: In-Reply-To: <20080404202121.GA1763@dmt> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Marcelo Tosatti wrote: > Account for the case where memslot size is largepage aligned, but does not > start on largepage aligned offset. > > Otherwise it allocates one lpage_info struct less than what the memslot > spans, possibly resulting in memory corruption. > Applied, thanks. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace