Linux Kernel Architecture

(Jacob Rumans) #1
Mauerer bindex.tex V1 - 09/05/2008 9:44am Page 1328

semaphores, System V


semaphores, System V


data structures, 369–375
IPC permissions, 376
overview of, 367–369
system calls, 375

Sending Packets


network access layer, 768
network layer, 775
transport layer, 796–797

sending signals, 387–388


sequential file interface


connecting with VFS, 684
overview of, 680
writing sequential file handlers, 681–684

serial interfaces, 394


session layer, in OSI model, 736


sessions, process groups combined in, 54


setitimersystem call, 945


shared libraries, 83


shared mappings, 301


shared memory, System V, 380–381


shared mounts, 558


shared subtrees, VFS, 558–562


shrinkers, cache


data structures, 1092
registering/removing, 1092
shrinking caches with, 1093–1095

sibling processes, tree structures for


resource management, 443

signals


data structures for signal handling,
383–386
default actions for standard, 385
implementing signal handlers, 382–383
overview of, 381–389
processing signal queue, 388–389
sending, 387–388
system calls for implementing signal
handling, 386–387
system calls for managing signal handling,
827

simple file system, 680–689


simplification, C optimization techniques,
1185–1187
single indirect blocks, 590
slab allocator, 256–285
allocating objects, 276–279
alternative allocators to, 258–259
chicken-and-egg problem, 270
creating caches, 271–276
data structures for implementing, 266–270
destroying caches, 283
fineness of cache structure and, 261–262
fineness of slab structure and, 262–265
freeing objects, 280–282
general caches, 283–285
growing the cache, 279–280
implementing, 265
initializing, 270–271
memory management in kernel and,
259–261
overview of, 256–258
principle of, 261
slab cache
allocation of physical memory, 15
buffer head and, 976
creating, 271–276
destroying, 283
fineness of cache structure, 261–262
general caches, 283–285
growing, 279–280
processor cache and TLB control,
285–287
shrinking, 1092
slave mounts, 558
sleeping state, processes, 38–39
slob allocator
alternatives to slab allocator, 258
shrinking slob cache, 1092
slow path, TCP connections, 795
slub allocator
allocation of physical memory, 150
alternatives to slab allocator, 258
shrinking slub cache, 1092
Free download pdf