Add title in index pages, add reference in story
[gofetch.git] / test / expected / LWN / 0000764057.header.html
CommitLineData
1aaa6ba3
NR
1<!DOCTYPE html>
2<html>
3<head>
4 <meta http-equiv='content-type' content='text/html; charset=utf-8'>
5 <meta name='viewport' content='width=device-width, initial-scale=1.0'>
6 <style type='text/css'>
7 body { margin: 1em 15%; }
8 </style>
9</head>
10<body>
11<div class='story-header'>
c715ea02 12 <h2><a href='0000764057.html'>[$] IDA: simplifying the complex task of allocating integers</a></h2>
1aaa6ba3
NR
13 <div class='details'>([Kernel] Sep 4, 2018 0:15 UTC (Tue) (corbet))</div>
14 <br/>
15 <div class='content' style='text-align: justify'>
16 It is common for kernel code to generate unique integers for identifiers. When one plugs in a flash drive, it will show up as /dev/sdN; that N (a letter derived from a number) must be generated in the kernel, and it should not already be in use for another drive or unpleasant things will happen. One might think that generating such numbers would not be a difficult task, but that turns out not to be the case, especially in situations where many numbers must be tracked. The IDA (for &quot;ID allocator&quot;, perhaps) API exists to handle this specialized task. In past kernels, it has managed to make the process of getting an unused number surprisingly complex; the 4.19 kernel has a new IDA API that simplifies things considerably.
17 </div>
18<hr/>
19</div>
20</body>