If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:module mem.ko

From BoxMatrix
(Redirected from module mem.ko)


BoxMatrix >> Shell-Commands >> module_mem.ko @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Kernel-Module

Note that Kernel 2.4 and builtin *.o modules have been renamed to *.ko for an easier comparison.

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

module_mem.ko is the AVM module_mem allocator, API and procfs interface.
It provides the procfs files sizes, reserved (procfs) and allocated.

The reason for an own allocator is the fact that some modules need to be loaded into Kernel memory,
by default they would be loaded into virtual memory. See the kernelmem_module.ko article for a llist.

Excerpt from the source:

/*
 * Module mem basically consists of five main parts.
 *
 * 1) The early memory reservation code.
 *
 *    It tries to steal the required memory from the system
 *    in an very early boot phase. This mostly works on phys addresses.
 *
 * 2) The module_mem-Allocator
 *
 *    This is a simple sbrk-style allocator which does not support freeing.
 *    It is used to allocate space reserved at boot into module_spaces
 *
 * 3) The module_space-Allocator
 *
 *    The module_space allocator divides the module memory into spaces for
 *    each module. It allows freeing and reusing with some restrictions.
 *    The main restriction is that a reused space can not grow.
 *
 * 4) The module_mem_proc-Interface
 *
 *    The module_mem_proc interface provides a simple proc interface to read
 *    out various information stored in avm_module_mem.
 *
 * 5) The avm_module_mem-API
 *
 *    This is the public api exposed to the rest of the system. It will access
 *    the other three as needed and provides an consistent view to the outside.
 *
 */

See also kseg0_module.ko.

GPL-Browser

Daily updated index of all module_mem.ko code findings on the GPL-Browser. Last update: 2024-05-02 04:08 GMT.
The Files header attempts to list the files which belong to this module. Useful if a directory contains multiple modules.
The Browse column points to the Path of the Makefile referring this code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Note that this list matches module names with hyphen (-) and underscore (_) exchangeable, same as modprobe does.

Dependencies

Daily updated index of all dependencies of this module. Last update: 2024-05-02 07:33 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Enabled by kcfg CONFIG_AVM_MODULE_MEM 24 7.19 - 7.90 AVM Module Memory (module_mem.ko) Linux
1 dependency for this module

Model-Matrix

Daily updated index of the presence, path and size of this module for each model. Last update: 2024-05-02 05:07 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
0 models use this module

Symbols

Daily updated index of all symbols of this module. Last update: 2024-05-02 07:33 GMT.

Firmware Symbol
0 symbols for this module

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

m