summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2003-02-18 12:09:20 +0000
committermatusita <matusita@FreeBSD.org>2003-02-18 12:09:20 +0000
commit79fa543e5259b5ffa5d18e5eea292aec0839868a (patch)
tree27ce45bb6ca03e752549167ad27cd96c05cad282
parentccc0127ea3da1005ebc2299e3f74a0c71adb1843 (diff)
downloadFreeBSD-src-79fa543e5259b5ffa5d18e5eea292aec0839868a.zip
FreeBSD-src-79fa543e5259b5ffa5d18e5eea292aec0839868a.tar.gz
Yet another kernel diet: remove aacp and _KPOSIX_PRIORITY_SCHEDULING.
aacp is a passthrough driver for aac, but it seems that aac kernel module has a feature provided by aacp; so it can be removed safely. _KPOSIX_PRIORITY_SCHEDULING provides P1003.1B realtime extension. However, in an installation phase, it seems that it helps a little for us, so we can remove this option from a kernel for floppy installation. I know _KPOSIX_PRIORITY_SCHEDULING option is defined in other architecture. However, I don't touch them at this time; I can't test it. Anyway here's result. Before diet: -rwxr-xr-x 1 matusita matusita 4849883 Feb 18 11:22 kernel -rwxr-xr-x 1 matusita matusita 1727143 Feb 18 11:47 kernel.kgz After diet: -rwxr-xr-x 1 matusita matusita 4840949 Feb 18 09:48 kernel -rwxr-xr-x 1 matusita matusita 1723911 Feb 18 11:47 kernel.kgz We've got extra 3232 bytes (using 5-current as of Feb/18/2003). In cooperation with: jwd (test ISO installation image) Boot tested on: several PCs around myself Installation tested on: VMware Workstation e.x.p build-4099
-rwxr-xr-xrelease/amd64/dokern.sh2
-rwxr-xr-xrelease/i386/dokern.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/release/amd64/dokern.sh b/release/amd64/dokern.sh
index 5346927..1351187 100755
--- a/release/amd64/dokern.sh
+++ b/release/amd64/dokern.sh
@@ -21,6 +21,8 @@ sed \
-e '/UFS_ACL/d' \
-e '/UFS_DIRHASH/d' \
-e '/WITNESS/d' \
+ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \
+ -e '/ aacp /d' \
-e '/ atapist /d' \
-e '/ faith /d' \
-e '/ gif /d' \
diff --git a/release/i386/dokern.sh b/release/i386/dokern.sh
index 5346927..1351187 100755
--- a/release/i386/dokern.sh
+++ b/release/i386/dokern.sh
@@ -21,6 +21,8 @@ sed \
-e '/UFS_ACL/d' \
-e '/UFS_DIRHASH/d' \
-e '/WITNESS/d' \
+ -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \
+ -e '/ aacp /d' \
-e '/ atapist /d' \
-e '/ faith /d' \
-e '/ gif /d' \
OpenPOWER on IntegriCloud