[LITMUS^RT] RFP: Jumbo Ring Buffers

Björn Brandenburg bbb at mpi-sws.org
Tue Apr 23 08:55:22 CEST 2013


On Apr 23, 2013, at 8:48 AM, Christopher Kenna <cjk at cs.unc.edu> wrote:

> On Mon, Apr 22, 2013 at 11:44 PM, Christopher Kenna <cjk at cs.unc.edu> wrote:
>> It looks like vm_map_ram is the newer function to use.
> 
> Actually, the file has been relatively unchanged since the original
> commit, and the commit message specifically says that this is for
> mapping a small number of pages. Back to the drawing board, I guess.
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=db64fe02258f1507e13fe5212a989922323685ce
> 

Thanks a lot for the pointers! How about this function?

	http://lxr.linux.no/linux+v3.0/mm/vmalloc.c#L1680

From the inline documentation, it doesn't sound like there's a limit on the maximum vmalloc() allocation. We don't care whether it is expensive or not; it's a one-time thing anyways.

- Björn





More information about the litmus-dev mailing list