SkillAgentSearch skills...

Sloba

Stacking List Oriented Basic Architecture Allocator

Install / Use

/learn @atsisy/Sloba
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

sloba

Simple and fast slab allocator using slob interface

SLOBAはSLOBのソースコードを見て0から書き直したシンプルで高速なSlab allocatorです。

How to develop

開発を簡単に行うためにいくつかのシェルスクリプトを用意しました。

I prepared several shell scripts for easier development.

Initialize

$ ./init.sh

このスクリプトはGitHubからLinuxカーネルのGitリポジトリをダウンロードします。

This script downloads linux kernel git repository.

Build

$ ./build.sh

このスクリプトはsrc/slob.c, src/slab.hをlinux/mm下にコピーしカーネルのビルドを行います。

This script copies src/slob.c and src/slab.h under linux/mm and builds the kernel.

$ ./build.sh update-config

"update-config"をオプションとして追加すると、src/.configをカーネルソースツリーのトップにコピーします。

If you add "update-config" as an option for build.sh, this script copies src/.config to the top of the kernel source tree.

Run

$ ./run.sh [VM]

このスクリプトはビルドされたカーネルをqemuまたはqemu-kvm上で動作させます。

This script will let bzImage runs on qemu or qemu-kvm.

VMのオプションは以下の通りです。

You can choose VM from followings.

| Options | Description | |:-----------|:------------| | qemu | qemu-system-x86_x64 | | kvm | qemu-kvm | | qemu-debug | qemu-system-x86_x64 with gdb debugging | | kvm-debug | qemu-kvm with gdb debugging |

LICENSE

GPL v2

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated2y ago
Forks1

Languages

C

Security Score

75/100

Audited on Sep 19, 2023

No findings