Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.890.876 Times

smalloc 1.0

  Date Added: April 23, 2010  |  Visits: 957

smalloc

Report Broken Link
Printer Friendly Version


Product Homepage
Download (108 downloads)



smalloc short from Static memory buffer malloc, is an ideal memory manager for Realtime Linux Kernel modules that cant use dynamic memory offered by kmalloc because of the non-realtime nature of kmalloc. Like malloc(), smalloc() doles out memory to client code. Unlike malloc, however, smalloc takes a static memory buffer (as an initialization parameter). It is this buffer that smalloc manages when doling out memory to client code. This design makes smalloc ideal for use inside a Realtime Linux kernel module. It also makes it much easire to port userspace code that relies on malloc() in C or operator new() in C++ for memory management to a realtime kernel module. For example: (the below is linux kernel code) < code > #include "smalloc.h" #include < linux/slab.h > #define MEMPOOLSZ (1024*1024*1024) char *buf; ... buf = kmalloc(MEMPOOLSZ, GFP_KERNEL); /* 1 megabyte buffer in kernel module.. */ smalloc_set_memory_pool(buf, sizeof(buf)); ... MyStruct *s; s = smalloc(sizeof(MyStruct)); /* example of code that uses this static memory buffer */ < /code > The above example is a typical usage pattern of smalloc..

Requirements: No special requirements
Platforms: Linux
Keyword: Buffer Kernel Libraries Linux Kernel Malloc Memory Memory Buffer Memory Manager Programming Realtime Linux Kernel Smalloc Static Static Memory
Users rating: 0/10

License: Freeware Size: 7.17 KB
USER REVIEWS
More Reviews or Write Review


SMALLOC RELATED
Utilities  -  Realtime Linux Security Module 0.8.7
The Realtime Linux Security Module (LSM) is a loadable extension for Linux 2.6kernels. It selectively grants realtime permissions to specific user groups or applications.
10.24 KB  
Utilities  -  Linux Wacom Tablet Project 0.9.0
The Linux Wacom Project manages the drivers, libraries, and documentation for configuring and running Wacom tablets under the Linux operating system. It contains diagnostic applications as well as updated kernel drivers and XFree86/Xorg XInput...
716.8 KB  
Utilities  -  Trinity Rescue Kit 3.2 build 279
Trinity Rescue Kit or TRK is a 100% free CD bootable Linux distribution aimed specifically at offline operations for Windows and Linux systems such as rescue, repair, password resets and cloning, with the ability to update itself. It has custom...
104.5 MB  
Utilities  -  Damn Small Linux 3.4.1 / 4.0 RC1
Damn Small Linux is a business card size (50MB) bootable Live CD Linux distribution. Despite its minuscule size, Damn Small Linux strives to have a functional and easy to use desktop. Having a working Linux desktop distro on a 50 mb bootable...
49.5 MB  
Utilities  -  HELIOS PS3 Linux Server 1.0
HELIOS PS3 Linux Server is a customized version of the Yellow Dog Linux for PlayStation3 gaming console. The PS3 GameOS offers entertainment features such as video games, movies, and photos, and HELIOS simplified Yellow Dog Linux adds a powerful...
 
Utilities  -  Pocket Linux 2.51
Pocket Linux is an almost minimal, one floppy linux system designed to quickly convert PC workstation into secure linux-based workstation using ssh to connect to remote host (other networking clients are also supported). It supports bootp for...
1.44 MB  
Utilities  -  SAM Linux Desktop 2007.1 Test 1
SAM Linux Desktop is a live and installation CD based on Mandriva Linux, is an easy-to-use, fast and clean XFce Linux desktop for home users. SAM Linux Desktop is enhanced by several popular non-free applications, such Macromedia Flash plugin,...
699 MB  
Games  -  4x4 Memory Trainer 1.0
Want to improve your memory skills? Tired with memorizing pictures / items / sequences? Try this absolutely new memory training game! You will have limited time to memorize a color combination and then to restore it. Get more points...
13.5 MB  
Games  -  My Christmas Memory 1.0
Christmas Memory is a classic memory-game adapted to the theme of Christmas. Perfect for exercising your memory and ideal for young children with its progressive difficulty. Complete the game in less moves and challenge your friends via...
9.2 MB  
Utilities  -  ATmission 2.0-01
ATmission is a Fedora-based Linux live CD that enables you to experiment with the Linux operating system and other open source software, without the requirement to install Linux on your PC. The ATmission Live CD contains the KDE desktop,...
711 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB