aboutsummaryrefslogtreecommitdiff
path: root/miscutils/readahead.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/readahead.c')
-rw-r--r--miscutils/readahead.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/miscutils/readahead.c b/miscutils/readahead.c
index eb966b0f0..972302a18 100644
--- a/miscutils/readahead.c
+++ b/miscutils/readahead.c
@@ -15,17 +15,17 @@
15//config: depends on LFS 15//config: depends on LFS
16//config: select PLATFORM_LINUX 16//config: select PLATFORM_LINUX
17//config: help 17//config: help
18//config: Preload the files listed on the command line into RAM cache so that 18//config: Preload the files listed on the command line into RAM cache so that
19//config: subsequent reads on these files will not block on disk I/O. 19//config: subsequent reads on these files will not block on disk I/O.
20//config: 20//config:
21//config: This applet just calls the readahead(2) system call on each file. 21//config: This applet just calls the readahead(2) system call on each file.
22//config: It is mainly useful in system startup scripts to preload files 22//config: It is mainly useful in system startup scripts to preload files
23//config: or executables before they are used. When used at the right time 23//config: or executables before they are used. When used at the right time
24//config: (in particular when a CPU bound process is running) it can 24//config: (in particular when a CPU bound process is running) it can
25//config: significantly speed up system startup. 25//config: significantly speed up system startup.
26//config: 26//config:
27//config: As readahead(2) blocks until each file has been read, it is best to 27//config: As readahead(2) blocks until each file has been read, it is best to
28//config: run this applet as a background job. 28//config: run this applet as a background job.
29 29
30//applet:IF_READAHEAD(APPLET(readahead, BB_DIR_USR_SBIN, BB_SUID_DROP)) 30//applet:IF_READAHEAD(APPLET(readahead, BB_DIR_USR_SBIN, BB_SUID_DROP))
31 31