summaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorMartin Olsson <martin@minimum.se>2009-04-23 11:37:37 +0200
committerJiri Kosina <jkosina@suse.cz>2009-06-12 18:01:46 +0200
commit19af5cdb7c79ff5ec96a99893ffb7f894f4a3dc1 (patch)
tree09e855da51df91fc35e98b26e420f26e84305cff /Documentation/CodingStyle
parent98a1708de1bfa5fe1c490febba850d6043d3c7fa (diff)
downloadop-kernel-dev-19af5cdb7c79ff5ec96a99893ffb7f894f4a3dc1.zip
op-kernel-dev-19af5cdb7c79ff5ec96a99893ffb7f894f4a3dc1.tar.gz
trivial: fix typo milisecond/millisecond for documentation and source comments.
Signed-off-by: Martin Olsson <martin@minimum.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r--Documentation/CodingStyle4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 72968cd..8bb3723 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -698,8 +698,8 @@ very often is not. Abundant use of the inline keyword leads to a much bigger
kernel, which in turn slows the system as a whole down, due to a bigger
icache footprint for the CPU and simply because there is less memory
available for the pagecache. Just think about it; a pagecache miss causes a
-disk seek, which easily takes 5 miliseconds. There are a LOT of cpu cycles
-that can go into these 5 miliseconds.
+disk seek, which easily takes 5 milliseconds. There are a LOT of cpu cycles
+that can go into these 5 milliseconds.
A reasonable rule of thumb is to not put inline at functions that have more
than 3 lines of code in them. An exception to this rule are the cases where
OpenPOWER on IntegriCloud