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 32.389.541 Times

smalloc 1.0

  Date Added: April 23, 2010  |  Visits: 997

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  -  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  -  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  
File Synchronizers  -  MapFS 1.0-0.1035
MapFS implements a Linux filesystem which utilizes copy-on-write functionality and existing Linux filesystems to allow component filesystems (or portions thereof) to be combined into a single virtual filesystem that appears to be fully writable....
77.82 KB  
File Utilities  -  Linux DiskTool 1.6.4-1
Linux DiskTool project is a small, full-featured file manager for the Linux console or an xterm-style terminal. Installation: You need to be root to install this package. That is because it is considered a system file, and will use some of the...
174.08 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
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...
3.88 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