Re: Best way to lock malloc'd memory in kernel

2000-07-28 Thread Alfred Perlstein
* Isaac Waldron <[EMAIL PROTECTED]> [000728 18:31] wrote: > > > > I'm writing a device driver for plex86 (the FreeMWare virtual machine > > > software), and have a buffer that needs to be non-pageable. It was > malloc'd > > > with the malloc(size, type, flags) kernel malloc function. What's the

Re: Best way to lock malloc'd memory in kernel

2000-07-28 Thread Daniel O'Connor
On 29-Jul-00 Isaac Waldron wrote: > Thanks! I didn't realize that, I suppose I should have RTFM'ed a bit more > before asking, but I just kind of assumed (we all know what that does) that > memory malloc'd in kernel mode was pageable. I guess I should ask whether Yes, well it would be nice to

Re: Best way to lock malloc'd memory in kernel

2000-07-28 Thread Isaac Waldron
> > I'm writing a device driver for plex86 (the FreeMWare virtual machine > > software), and have a buffer that needs to be non-pageable. It was malloc'd > > with the malloc(size, type, flags) kernel malloc function. What's the best > > way to make this memory unpageable? > > No kernel memory i

RE: Best way to lock malloc'd memory in kernel

2000-07-28 Thread Daniel O'Connor
On 29-Jul-00 Isaac Waldron wrote: > I'm writing a device driver for plex86 (the FreeMWare virtual machine > software), and have a buffer that needs to be non-pageable. It was malloc'd > with the malloc(size, type, flags) kernel malloc function. What's the best > way to make this memory unpageab

Best way to lock malloc'd memory in kernel

2000-07-28 Thread Isaac Waldron
I'm writing a device driver for plex86 (the FreeMWare virtual machine software), and have a buffer that needs to be non-pageable. It was malloc'd with the malloc(size, type, flags) kernel malloc function. What's the best way to make this memory unpageable? Thanks in advance, Isaac Waldron waldr