Subject: Re: Measuring memory to memory copy operations (+ interrupts, DMA)
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/22/2003 14:27:08
>> how does one pin dynamically allocated memory in libc (so that it
>> could be used by an interrupt handler)?
> You can't, and shouldn't be trying to.

Can't?  Isn't that what mlock() does?

(I'm inclined to agree with the "shouldn't be trying to" apart; ISTM
this belongs in or near the proc struct, with added facilities
(sysctl? pseudo-device?) to allow userland to get it when desired.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B