1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

Documentation: Fix grammar-o in ProcFSIndexing.md

This commit is contained in:
Nico Weber 2021-09-30 19:55:37 -04:00 committed by Linus Groh
parent 5a951d6258
commit cd7ec294db

View file

@ -25,8 +25,8 @@ effects of the disadvantages of each design.
Since it was decided that heap allocations for ProcFS are *mostly* bad, the new Since it was decided that heap allocations for ProcFS are *mostly* bad, the new
design layout tries to achieve most of the principle of "Don't allocate anything design layout tries to achieve most of the principle of "Don't allocate anything
until actually needed". For that to happen, `InodeIndex` (u64 value) is splitted until actually needed". For that to happen, `InodeIndex` (u64 value) is split
to 3 Segments: into 3 Segments:
- The primary segment: value 0 is reserved for all non-PID inodes in the procfs. - The primary segment: value 0 is reserved for all non-PID inodes in the procfs.
All values from 1 to 0xFFFFFFF are valid PID indices, which represents all PIDs from 0 to 0xFFFFFFE All values from 1 to 0xFFFFFFF are valid PID indices, which represents all PIDs from 0 to 0xFFFFFFE