Added new kernel with USE patches bfq and bfs.

atratsevskiy
Mike Hiretsky 14 years ago
parent 1028c24857
commit f30736ca75

@ -65,6 +65,7 @@ CONFIG_CONSTRUCTORS=y
#
# General setup
#
CONFIG_SCHED_BFS=y
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
@ -202,8 +203,10 @@ CONFIG_LBDAF=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_IOSCHED_BFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_BFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set

@ -65,6 +65,7 @@ CONFIG_CONSTRUCTORS=y
#
# General setup
#
CONFIG_SCHED_BFS=y
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
@ -202,8 +203,10 @@ CONFIG_BLOCK_COMPAT=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_IOSCHED_BFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_BFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_PREEMPT_NOTIFIERS=y

@ -3,3 +3,5 @@
# $Header: $
sys-kernel/calculate-sources:vmlinuz - Build kernel, modules and initramfs
sys-kernel/calculate-sources:bfq - Apply kernel patch for BFQ I/O scheduler
sys-kernel/calculate-sources:bfs - Apply kernel patch for BF scheduler

@ -2,6 +2,14 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*calculate-sources-2.6.35.7 (13 Oct 2010)
13 Oct 2010; Mike Hiretsky (mhiretskiy) <mh@calculate.ru>
+files/4600_sched-bfs_2.6.35.patch, -calculate-sources-2.6.35.6.ebuild,
+calculate-sources-2.6.35.7.ebuild, +files/4700_BFQ_2.6.35.patch,
metadata.xml:
New kernel version with patches BFQ and BFS.
*calculate-sources-2.6.32.24 (10 Oct 2010)
10 Oct 2010; Трацевский Александр <alex@gentoo.org>

@ -1,3 +1,5 @@
AUX 4600_sched-bfs_2.6.35.patch 223091 RMD160 cd86cef32a6eea44edd6d790ba77d549a2816179 SHA1 330c631f1dcde91242acfa664d642baaba96bd7f SHA256 d6c2bc3de1d7e46e2693eb9bd5d56967765efb76fa6de796567fd58399adbb8e
AUX 4700_BFQ_2.6.35.patch 156590 RMD160 f7bc67e0a08c597e33006252935bf54ecf6791c9 SHA1 bd4062453f48fca1efb50cb383d35ac46972eb0a SHA256 504079d621572f7534dd6cda4fe105602896d451dce318228dc3ba53458b6921
AUX modprobe_i915.conf 85 RMD160 7a897deae5fa6c952def82d57af86e4768c8978d SHA1 0b9672f9b32414d25aef7b2f8939edaf3fc29d3d SHA256 51056261fc07321272f46427cb0f7d069ecf574431729e6653ead8636c1c0240
DIST calculate-sources-2.6.32.tar.bz2 133992 RMD160 6c8ad119807c591ad926435dad7986098f26e3ef SHA1 2b398bf6e9a6bceca26e3df42c471c9321c0a6f2 SHA256 b30e70642569bae7dff4c9b2046066774c6a8e2a2c1252b353b908824cf64bc4
DIST calculate-sources-2.6.34.tar.bz2 116866 RMD160 43bc5502268093bc1a1d3561840b91143656e30e SHA1 5e36f5a8cc3d917b2f9c277718510923ad8c4788 SHA256 518027ec18f1374901e1e9701e1062b4abdd451eab0d13c98eaedb6cff0baee6
@ -14,10 +16,10 @@ DIST linux-2.6.35.tar.bz2 69305709 RMD160 f5d91abb4fa72fac812578d830b22180d85a0e
DIST patch-2.6.32.24.bz2 625226 RMD160 0c93627648f2ac1a7e5dee0c3ce7b7c1d9de4987 SHA1 c82ec2f079356173992956d4201ee198d3a86471 SHA256 b84e59395e168c2300f6d858d1a7cb998bf6a04355ad8587fe7146c6ab457ce8
DIST patch-2.6.34.7.bz2 184957 RMD160 0f72e9496ff0082df05424ec75aff166ba6dff27 SHA1 b346d804a428239145b6c058ff0df88792c31094 SHA256 b146904ea07cc87a3fbcbd4eab51d331d56718431539e6aa29c24b072e6b7832
DIST patch-2.6.35.5.bz2 115391 RMD160 8a6d0b71aa043531575203aa61ac6807532f35e8 SHA1 1267c980179fe4ab35ac7344523c4dd616d2d5a6 SHA256 94bbeb43c6bd8047fa5f42766a68879199dfdadee11bd3e8f10f1317f698b0f4
DIST patch-2.6.35.6.bz2 141668 RMD160 e78612076af139429d92aa819da3586be62a3130 SHA1 2e0404856ec2ec311fc5c4dedcb09f9adc8b2faa SHA256 8f4c635265d1e7049bc94e22d3c3989dae15ea5cb4ae99bb11cd4a39757eafeb
DIST patch-2.6.35.7.bz2 141728 RMD160 fbde02939d58fe2f9fd9f3fae1141a08e00c2f4a SHA1 e898d93008cecdd429a9332b148eda2b446b9fd5 SHA256 e917d593b975853be4118934c35919936dec6069b35c277d26e7e85e88af062e
EBUILD calculate-sources-2.6.32.24.ebuild 746 RMD160 e7683435e0f449453c016be2e3888ebb81372cb1 SHA1 19a3aa25464ed50bdeaeed66bd924a1e745746c8 SHA256 96f403498be3196cff45c515b37db834095bd1166916e2889a75d9e492c9cdf3
EBUILD calculate-sources-2.6.34.7.ebuild 730 RMD160 03829000741607b551f63823a12df566bae495d6 SHA1 65c76f8c936acda61f12991e3756db6a4f3f4142 SHA256 0e0593a099c5d3d5f087e1fd5f55eb94a7d49ee6d1e4c55e5b5e23f19b0ddd71
EBUILD calculate-sources-2.6.35.5.ebuild 730 RMD160 03829000741607b551f63823a12df566bae495d6 SHA1 65c76f8c936acda61f12991e3756db6a4f3f4142 SHA256 0e0593a099c5d3d5f087e1fd5f55eb94a7d49ee6d1e4c55e5b5e23f19b0ddd71
EBUILD calculate-sources-2.6.35.6.ebuild 732 RMD160 4eb92daf4c535ce529c8930847f4503bd4431617 SHA1 5aeeff74e73d173257844c4a3ebfea11fc87f69d SHA256 b584166d290c6738947dee840e678ea00821d33892402643dffa8a7f88610880
MISC ChangeLog 3972 RMD160 76ac605101de9635d1e42b0b6d99bdbfbe887ec3 SHA1 c8f2d18ba47bc7e467d882ceb6bfab91368fd654 SHA256 1b1eb7236b1a26983a7ac6dfd356fdc9f641489d35ce79d8bd6173d2baa98b70
MISC metadata.xml 364 RMD160 308abbf758102b5591c353f41a62be6836f98693 SHA1 5029bd7cf897e4eb8f8e8fa935c02d4c73eb59db SHA256 0bee25282d797e432206373a8535689412a3f76f8974315f8ecf73536bf0e505
EBUILD calculate-sources-2.6.35.7.ebuild 1293 RMD160 da3be49e496327be6e2c9568a108221db4ad3856 SHA1 9d8d681475adaacd71b54c03201aa8962d1fc339 SHA256 911993d35af1358f1af2e2da3685b9a9937019c5b4af422be8b4803610ded0ed
MISC ChangeLog 4281 RMD160 4730d79699859dd43d2f6de3d7781b2c4a91cec1 SHA1 26a0b1721c31f36a094f2865ad2b49dab5a4c24a SHA256 420b00bbf24a88d87dbd44c36fb381c79732578d570064c640c7ac5c3056730a
MISC metadata.xml 523 RMD160 855108e020b3f1fe32f843accc94a57f15affa0e SHA1 7fbeb862ff719c9ef63925b7f18104ff6eac27dd SHA256 997dc6d02e44eef86cc9653d7588b9f65e9033f02e28b3a8d98f48df82561f3c

@ -4,7 +4,7 @@
ETYPE="sources"
inherit calculate-kernel-2
inherit calculate-kernel-2 eutils
DESCRIPTION="Full sources including the Calculate patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
KEYWORDS="~amd64 ~x86"
@ -19,8 +19,34 @@ DEPEND="vmlinuz? ( >=sys-kernel/calckernel-3.4.10.903-r23
|| ( app-arch/xz-utils app-arch/lzma-utils )
sys-apps/v86d )"
IUSE="bfq bfs"
src_unpack() {
calculate-kernel-2_src_unpack
# apply patch bfq
if use bfq
then
epatch "${FILESDIR}/4700_BFQ_2.6.35.patch" || \
die "Failed apply bfq patch"
fi
# apply patch bfs
if use bfs
then
epatch "${FILESDIR}/4600_sched-bfs_2.6.35.patch" || \
die "Failed apply bfs patch"
fi
}
pkg_postinst() {
calculate-kernel-2_pkg_postinst
if use bfq
then
einfo "Change value of elevator to bfq in /boot/grub/grub.conf for"
einfo "using BFQ I/O scheduler."
einfo "Part of grub.conf for example:"
einfo "kernel /boot/vmlinuz-a7acd396 root=/dev/sda2 elevator=bfq"
fi
einfo "For more info on this patchset, and how to report problems, see:"
einfo "${HOMEPAGE}"
}

File diff suppressed because it is too large Load Diff

@ -8,4 +8,10 @@
<use>
<flag name='vmlinuz'>Build kernel, modules and initramfs</flag>
</use>
<use>
<flag name='bfq'>Apply kernel patch for BFQ I/O scheduler</flag>
</use>
<use>
<flag name='bfs'>Apply kernel patch for BF scheduler</flag>
</use>
</pkgmetadata>

Loading…
Cancel
Save