Skip to content

Commit

Permalink
Merge pull request #2 from jwilk/spelling
Browse files Browse the repository at this point in the history
README: Fix typos
  • Loading branch information
chris-se authored Jul 27, 2016
2 parents 450daca + 0fb5f15 commit e593718
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Features
* Very trivial module loading support (**no** automatic dependency
resolution).

When compiled on a x86_64 system with the default `-Og` compiler flags,
When compiled on an x86_64 system with the default `-Og` compiler flags,
statically linked against dietlibc 0.33~cvs20120325-6, the binary
stripped and the resulting initramfs (without any modules added)
compressed with `gzip -9`, the images produced are between 9 kiB and
Expand Down Expand Up @@ -328,15 +328,15 @@ many buffers that the amount of RAM used is a concern just yet, even
for small systems), so that no real flexibility is sacrificed.

None of this is extremely performance-critical (it is going to be quite
fast regardless, because very little is done compared to a even just
fast regardless, because very little is done compared to even just
running a shell), so no algorithm is optimized for speed directly. For
example, the mount option parser table is somewhat compressed to reduce
the code size (negation and recursive variants of mount options are not
repeated), to the point where further reduction would likely sacrifice
the readability of the code. Execution speed is achieved by doing very
little, not by micro-optimizing algorithms.

Some times it is necessary to reimplement certain libc functios because
Sometimes it is necessary to reimplement certain libc functions because
using the libc variants increase the image size too much. For example,
using `inet_ntoa` and `inet_aton` (to convert between ASCII to binary
representations of IP addresses) from the musl C library will cause
Expand Down Expand Up @@ -371,7 +371,7 @@ be interesting regardless:
file systems.

Note that the goal is to keep the `initrd.img` size smaller than 16 KiB
on all plattforms, so a cutoff of 15 KiB is used on x86_64, to leave
on all platforms, so a cutoff of 15 KiB is used on x86_64, to leave
room for different assembly code sizes etc., at least when used in a
minimal configuration. Therefore, some features (such as `UUID=` and
NFSv4 support) are compile-time optional.
Expand Down

0 comments on commit e593718

Please sign in to comment.