Date: Wed, 10 Nov 2010 18:36:05 +0100 From: Bernhard Schmidt <bschmidt@freebsd.org> To: Paul B Mahol <onemda@gmail.com> Cc: net@freebsd.org Subject: Re: ndis: properly allocate memory Message-ID: <AANLkTinjXrWZFp13D%2BmafW2CQpD03WFvDpb%2ByX2YUgA=@mail.gmail.com> In-Reply-To: <AANLkTimJSYG4s0sF9Cfhz2NYoaY8LEkYu%2BqGWZ3dkjFY@mail.gmail.com> References: <AANLkTimJSYG4s0sF9Cfhz2NYoaY8LEkYu%2BqGWZ3dkjFY@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 10, 2010 at 15:56, Paul B Mahol <onemda@gmail.com> wrote: > Hi, > > Attached patch resolves buggy allocation of memory in NDISulator. > Correct behavior is to not ignore parameters specified by miniport driver. The important point to mention here is that those restrictions are to be applied to physical memory according to specs for MmAllocateContiguousMemorySpecifyCache(), therefore the call to contigmalloc(). I'll take care of the commit. -- Bernhard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinjXrWZFp13D%2BmafW2CQpD03WFvDpb%2ByX2YUgA=>