Hello community, here is the log from the commit of package preload for openSUSE:Factory checked in at Tue Jun 9 12:27:25 CEST 2009. -------- --- preload/preload.changes 2009-05-25 17:18:02.000000000 +0200 +++ /mounts/work_src_done/STABLE/preload/preload.changes 2009-06-09 11:28:57.000000000 +0200 @@ -1,0 +2,10 @@ +Tue Jun 9 11:28:45 CEST 2009 - coolo@suse.de + +- pae should work again + +------------------------------------------------------------------- +Tue May 26 13:41:18 CEST 2009 - coolo@suse.de + +- hopefully fix the handling of reads on pipes + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ preload.spec ++++++ --- /var/tmp/diff_new_pack.I18382/_old 2009-06-09 12:26:49.000000000 +0200 +++ /var/tmp/diff_new_pack.I18382/_new 2009-06-09 12:26:49.000000000 +0200 @@ -20,7 +20,7 @@ Name: preload Version: 1.0 -Release: 14 +Release: 15 Summary: Preloads Files into System Cache for Faster Booting License: GPL v2 or later Group: System/Boot @@ -35,12 +35,12 @@ PreReq: %fillup_prereq %insserv_prereq # for the kmp BuildRequires: kernel-default kernel-default-debuginfo kernel-source kernel-syms module-init-tools systemtap -#%ifarch %ix86 -#BuildRequires: kernel-legacy kernel-legacy-debuginfo -#%endif +%ifarch %ix86 +BuildRequires: kernel-pae kernel-pae-debuginfo +%endif ExclusiveArch: %ix86 x86_64 Recommends: preload-kmp systemtap-runtime -%suse_kernel_module_package -p %_sourcedir/preamble kdump um debug trace xen vim legacy pae +%suse_kernel_module_package -p %_sourcedir/preamble kdump um debug trace xen vim %description Preload lists files to load into the system cache. This shortens system @@ -149,6 +149,10 @@ #/opt/kde3 %changelog +* Tue Jun 09 2009 coolo@suse.de +- pae should work again +* Tue May 26 2009 coolo@suse.de +- hopefully fix the handling of reads on pipes * Mon May 25 2009 coolo@suse.de - ignore pae too for now * Sat May 23 2009 coolo@suse.de ++++++ preload.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/preload/stap/preloadtrace.stp new/preload/stap/preloadtrace.stp --- old/preload/stap/preloadtrace.stp 2009-04-08 08:29:35.000000000 +0200 +++ new/preload/stap/preloadtrace.stp 2009-05-26 13:37:53.000000000 +0200 @@ -56,7 +56,7 @@ println(process_indent() . "failedopen("" . user_string($filename) . "")" ) next } - readfrom[pid(), fd] = 0 + readfrom[pid(), fd] = 1 if (!file_ignored(user_string($filename))) { println(process_indent() . "open("" . user_string($filename) . "") = " . sprint(fd)) } else { @@ -72,7 +72,7 @@ println(process_indent() . "failedopenat(" . _dfd_str($dfd) . ", "" . user_string($filename) . "")" ); next } - readfrom[pid(), fd] = 0 + readfrom[pid(), fd] = 1 println(process_indent() . "openat(" . _dfd_str($dfd) . ", "" . user_string($filename) . "") = " . sprint(fd) ); } @@ -92,11 +92,11 @@ } probe syscall.chdir.return { - println(process_indent() . "chdir("" . user_string($filename) . "") = " . retstr ) + println(process_indent() . "chdir("" . user_string($filename) . "") = " . retstr ) } probe syscall.fchdir.return { - println(process_indent() . sprintf("fchdir(%d) = ", $fd) . retstr ) + println(process_indent() . sprintf("fchdir(%d) = ", $fd) . retstr ) } %( arch == "x86_64" %? @@ -105,20 +105,18 @@ probe syscall.mmap2.return { %) # print(process_indent() . " mmap " . sprintf("%d", $fd) . "\n") - if ($fd >= 0) { - if (readfrom[pid(), $fd] != 1 && fdstoignore[pid(), $fd] != 1 ) { - println(process_indent() . sprintf("read(%d)", $fd)) - } - readfrom[pid(), $fd] = 1 - } + if ($fd >= 0 && $fd < 66000 && readfrom[pid(), $fd] == 1 && fdstoignore[pid(), $fd] != 1 ) { + println(process_indent() . sprintf("read(%d)", $fd)) + readfrom[pid(), $fd] = 2 + } } probe syscall.read { # print(process_indent() . " read " . sprintf("%d", $fd) . "\n") - if (readfrom[pid(), $fd] != 1 && fdstoignore[pid(), $fd] != 1 ) { - println(process_indent() . sprintf("read(%d)", $fd)) - } - readfrom[pid(), $fd] = 1 + if ($fd >= 0 && $fd < 66000 && readfrom[pid(), $fd] == 1 && fdstoignore[pid(), $fd] != 1 ) { + println(process_indent() . sprintf("read(%d)", $fd)) + readfrom[pid(), $fd] = 2 + } } probe syscall.close { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org