linux-kernel mailing list

FromSubjectsort iconDate
Hannes Eder
[PATCH] alim15x3: fix sparse warning
Fix this sparse warning: drivers/ide/alim15x3.c:594:2: warning: returning void-valued expression Signed-off-by: Hannes Eder <hannes@hanneseder.net> --- drivers/ide/alim15x3.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ide/alim15x3.c b/drivers/ide/alim15x3.c index e56c7b7..45d2356 100644 --- a/drivers/ide/alim15x3.c +++ b/drivers/ide/alim15x3.c @@ -591,7 +591,7 @@ static int __init ali15x3_ide_init(void) static void __exit ...
Nov 27, 3:23 pm 2008
Hannes Eder
[PATCH] udf: fix sparse warnings
Fix this sparse warnings: fs/udf/balloc.c:843:3: warning: returning void-valued expression fs/udf/balloc.c:847:3: warning: returning void-valued expression fs/udf/balloc.c:851:3: warning: returning void-valued expression fs/udf/balloc.c:855:3: warning: returning void-valued expression Signed-off-by: Hannes Eder <hannes@hanneseder.net> --- fs/udf/balloc.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/fs/udf/balloc.c ...
Nov 27, 3:12 pm 2008
Hannes Eder
[PATCH] pkt_sched: fix sparse warning
Impact: make global function static Fix the following sparse warning: net/sched/sch_api.c:192:14: warning: symbol 'qdisc_match_from_root' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> --- net/sched/sch_api.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index f859dd5..6bc29e8 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -189,7 +189,7 @@ ...
Nov 27, 12:33 pm 2008
Frederic Weisbecker
[PATCH] tracing/function-graph-tracer: adjustments of th ...
Impact: increase visibility of the output This patch applies various changes. _CPU is now a decimal number, followed by a parenthesis. _Overhead is now on the second column (gives a good visibility) _Cost is now on the third column, can't exceed 9999.99 us. It is followed by a virtual line based on a "|" character. _Functions calls are now the last column on the right. This way, we haven't dynamic column (which flow is harder to follow) on its right. _CPU and Overhead have their ...
Nov 27, 4:42 pm 2008
Andrea Amerini
kernel 2.6.27.7 TSC calibration issue
- Kernel 2.6.27.7 doesn't use the right value for TSC calibration I've updated my system (Slackware 12.1) to kernel 2.6.27.7 vanilla and looking in dmesg I read this: TSC: PIT calibration deviates from PMTIMER: 2968361 3400012. TSC: Using PIT calibration value But my cpu is : cpu family      : 15 model           : 3 model name      : Intel(R) Pentium(R) 4 CPU 3.40GHz stepping        : 4 So the clock frequency detected is 3Ghz instead of 3,4 Ghz. Also bogomips are different: for ...
Nov 27, 3:35 pm 2008
Justin Piszcz
Intel X25-E running Linux using XFS
Ordered the SSD from newegg. http://www.newegg.com/Product/Product.aspx?Item=N82E16820167013 It comes in a small box with the SSD and a single page about how to install the SSD. Attached it to a 2.5-3.5" converter so it would fit in a standard case. ==== When I got the SSD, it showed 54 hours of usage and 66 power cycles, I assume this is testing at the factory, in any case, this is what the smart stats look like and some basic dd speed tests, as shown in the techreport review, ...
Nov 27, 2:54 pm 2008
Dmitry Baryshkov
[PATCH] [STAGING] Move staging drivers back to staging-s ...
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- drivers/staging/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index c95b286..4089f14 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -22,6 +22,8 @@ menuconfig STAGING If in doubt, say N here. +if STAGING + config STAGING_EXCLUDE_BUILD bool "Exclude Staging drivers from being built" if STAGING default y @@ ...
Nov 27, 2:01 pm 2008
Takashi Iwai
Re: 2.6.28-rc6-git1 -- No sound produced from Intel HDA ...
At Thu, 27 Nov 2008 15:33:37 -0500, Try sound git tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git If it doesn't work, run alsa-info.sh with --no-upload option and attach the generated file. The script is found in http://www.alsa-project.org/alsa-info.sh thanks, Takashi --
Nov 27, 1:36 pm 2008
Miles Lane
2.6.28-rc6-git1 -- No sound produced from Intel HDA ALSA ...
I am running Ubuntu 8.10. The Ubuntu kernel produces sound fine. However, my custom 2.6.28-rc6-git1 test kernel remains silent. Please let me know if you need any additional information. snd_hda_intel 531744 5 snd_pcm_oss 43216 0 snd_mixer_oss 15496 1 snd_pcm_oss snd_pcm 84336 3 snd_hda_intel,snd_pcm_oss snd_page_alloc 9936 2 snd_hda_intel,snd_pcm snd_hwdep 8720 1 snd_hda_intel snd_seq_dummy 3268 ...
Nov 27, 1:33 pm 2008
Cyrill Gorcunov
[PATCH] net: ppp_asynctty_ioctl - remove dead code
ap already checked to be not null. remove useless checks. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Please review diff --git a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c index 451bdb5..6567fab 100644 --- a/drivers/net/ppp_async.c +++ b/drivers/net/ppp_async.c @@ -293,9 +293,6 @@ ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file, err = -EFAULT; switch (cmd) { case PPPIOCGCHAN: - err = -ENXIO; - if (!ap) - break; err = -EFAULT; if ...
Nov 27, 1:12 pm 2008
Oleg Nesterov
Re: + make-get_user_pages-interruptible.patch added to - ...
Please do not export/use sigkill_pending(). It is "private" for ptrace_stop() (and actually should die imho). We have fatal_signal_pending() for that. Oleg. --
Nov 27, 1:04 pm 2008
Matthew Garrett
[PATCH] misc: Add oqo-wmi driver for model 2 OQO backlig ...
misc: Add oqo-wmi driver for model 2 OQO backlight and rfkill control oqo-wmi provides a WMI-based interface to backlight and rfkill control on model 2 OQO devices. It was originally written by Brian Julin (<bri@abrij.org>) - I've ported it to the rfkill layer and tidied it up a little. Signed-off-by: Matthew Garrett <mjg@redhat.com> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 3949a1c..b7af402 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ ...
Nov 27, 12:05 pm 2008
Américo
[Patch] uml: fix the highmem build error
This patch fixes this error: arch/um/kernel/mem.c: In function ‘init_highmem’: arch/um/kernel/mem.c:177: error: ‘pkmap_page_table’ undeclared (first use in this function) arch/um/kernel/mem.c:177: error: (Each undeclared identifier is reported only once arch/um/kernel/mem.c:177: error: for each function it appears in.) Compile and run tested. Signed-off-by: WANG Cong <wangcong@zeuux.org> Cc: Jeff Dike <jdike@addtoit.com> Cc: Al Viro ...
Nov 27, 11:12 am 2008
Américo Wang
Re: [Patch] uml: fix the highmem build error
Ignore the above one, below is the updated version. -------> This patch fixes this error: arch/um/kernel/mem.c: In function 'init_highmem': arch/um/kernel/mem.c:177: error: 'pkmap_page_table' undeclared (first use in this function) arch/um/kernel/mem.c:177: error: (Each undeclared identifier is reported only once arch/um/kernel/mem.c:177: error: for each function it appears in.) Signed-off-by: WANG Cong <wangcong@zeuux.org> Cc: Jeff Dike <jdike@addtoit.com> Cc: Al Viro ...
Nov 27, 2:31 pm 2008
Joerg Roedel
[PATCH] x86: move GART specific stuff from iommu.h to gart.h
Impact: cleanup Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- arch/x86/include/asm/gart.h | 33 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/iommu.h | 33 --------------------------------- arch/x86/kernel/amd_iommu.c | 1 + arch/x86/kernel/amd_iommu_init.c | 1 + arch/x86/kernel/early-quirks.c | 1 + arch/x86/kernel/pci-dma.c | 1 + arch/x86/kernel/setup.c | 1 + 7 files changed, 38 insertions(+), 33 deletions(-) diff ...
Nov 27, 10:39 am 2008
Jan Kara
[GIT PULL] UDF tree fixes
Hi Linus, would you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-udf-2.6.git for_linus to get the following fix: Jan Kara (1): udf: Fix BUG_ON() in destroy_inode() with diffstat: fs/buffer.c | 1 + fs/udf/inode.c | 1 + 2 files changed, 2 insertions(+) Thanks Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Nov 27, 10:23 am 2008
Frédéric
[PATCH] [PPPOL2TP] Add missing sock_put() in pppol2tp_re ...
pppol2tp_sock_to_session() do sock_hold() if the session to release is not NULL. Signed-off-by: Frédéric Moulins <frederic.moulins@alsatis.com> --- Patch is applicable to kernels 2.6.26 and following. Tested with a 2.6.26 stable kernel: without this patch, a session in a persistent tunnel cannot be established again (connect failed: -17), and the pppol2tp kernel module cannot be removed because still considered in use after stopping all userspace daemons. diff --git ...
Nov 27, 9:18 am 2008
Matthew Garrett
[PATCH 2/2] misc: Add dell-laptop driver
Add a driver for controling Dell-specific backlight and rfkill interfaces. This driver makes use of the dcdbas interface to the Dell firmware to allow the backlight and rfkill interfaces on Dell systems to be driven through the standardised sysfs interfaces. Signed-off-by: Matthew Garrett <mjg@redhat.com> diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fee7304..3949a1c 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -498,6 +498,18 @@ config SGI_GRU_DEBUG ...
Nov 27, 9:34 am 2008
Matthew Garrett
[PATCH 1/2] dcdbas: Export functionality for use in othe ...
dcdbas: Export functionality for use in other drivers The dcdbas code allows calls to be made into the firmware on Dell systems. Exporting this to other drivers allows them to implement Dell-specific functionality in a safe way. Signed-off-by: Matthew Garrett <mjg@redhat.com> diff --git a/drivers/firmware/dcdbas.c b/drivers/firmware/dcdbas.c index 50a071f..45f109d 100644 --- a/drivers/firmware/dcdbas.c +++ b/drivers/firmware/dcdbas.c @@ -238,11 +238,11 @@ static ssize_t ...
Nov 27, 9:33 am 2008
Nicolas Ferre
[PATCH] mmc: at91_mci: reorder timer setup and mmc_add_h ...
As said in function comment mmc_add_host() requires that: "The host must be prepared to start servicing requests before this function completes." During this function, at91_mci_request() can be invoqued without timer beeing setup leading to a kernel Oops. This has been reported inserting this driver as a module. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Reported-by: Wu Xuan <wux@landicorp.com> --- drivers/mmc/host/at91_mci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 ...
Nov 27, 9:23 am 2008
Yuri Tikhonov
[PATCH] xsysace: add compatible string
Add one more compatible string to the table for of_platform binding, so that the platforms, which have the SysACE chip on board (e.g. Katmai), could describe it in their device trees correctly. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> --- drivers/block/xsysace.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c index 29e1dfa..381d686 100644 --- a/drivers/block/xsysace.c +++ b/drivers/block/xsysace.c @@ -1206,6 ...
Nov 27, 8:49 am 2008
Joerg Roedel
Re: [PATCH 1/9] KVM: rename vtd.c to iommu.c
Yeah, patches for x86 should have such a line in the description. I just added it here too because of the many x86-patches I did in the last time. Depending on the way this will be merged I can remove the line Ok, will do this in the next post -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner ...
Nov 27, 10:05 am 2008
Joerg Roedel
[PATCH 2/9] introcude linux/iommu.h for an iommu api
This patch introduces the API to abstract the exported VT-d functions for KVM into a generic API. This way the AMD IOMMU implementation can plug into this API later. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- include/linux/iommu.h | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 100 insertions(+), 0 deletions(-) create mode 100644 include/linux/iommu.h diff --git a/include/linux/iommu.h b/include/linux/iommu.h new file mode 100644 index ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 0/9] Factor VT-d KVM functions into a generic API
Hi, this patch series makes the current KVM device passthrough code generic enough so that other IOMMU implementation can also plug into this code. It works by factoring the functions Vt-d code exports to KVM into a generic interface which allows different backends. This a basic implementation of a generic interface. It can and should be improved later to support more types of hardware IOMMUs then VT-d and AMD IOMMU. Since I have no VT-d hardware available these patches are only ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 7/9] VT-d: add domain map and iova_to_phys functi ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/pci/intel-iommu.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index a90c832..8fa0269 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c @@ -2492,3 +2492,25 @@ static void intel_iommu_detach_device(struct iommu_domain *domain, intel_iommu_detach_dev(dmar_domain, pdev->bus->number, pdev->devfn); ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 9/9] KVM: change KVM iommu.c to use IOMMU API
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- arch/x86/include/asm/kvm_host.h | 3 +- virt/kvm/iommu.c | 66 ++++++++++++++++++++------------------- 2 files changed, 36 insertions(+), 33 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index f58f7eb..77f4afa 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -14,6 +14,7 @@ #include <linux/types.h> #include <linux/mm.h> #include ...
Nov 27, 8:40 am 2008
Avi Kivity
Re: [PATCH 1/9] KVM: rename vtd.c to iommu.c
Use the git -M switch, which show renames as renames instead of removes+adds. -- error compiling committee.c: too many arguments to function --
Nov 27, 9:32 am 2008
Joerg Roedel
[PATCH 3/9] add frontend implementation for the IOMMU API
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/base/iommu.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) create mode 100644 drivers/base/iommu.c diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c new file mode 100644 index 0000000..7250b9c --- /dev/null +++ b/drivers/base/iommu.c @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2007-2008 Advanced Micro Devices, Inc. + * Author: Joerg Roedel ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 6/9] VT-d: add device attach and detach functions ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/pci/intel-iommu.c | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index b958b6f..a90c832 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c @@ -2460,3 +2460,35 @@ static void intel_iommu_domain_destroy(struct iommu_domain *domain) intel_iommu_domain_exit(dmar_domain); domain->priv = NULL; ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 4/9] select IOMMU_API when DMAR and/or AMD_IOMMU ...
These two IOMMUs can implement the current version of this API. So select the API if one or both of these IOMMU drivers is selected. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- arch/ia64/Kconfig | 3 +++ arch/x86/Kconfig | 3 +++ drivers/base/Makefile | 1 + 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 6bd91ed..6a7b0c9 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig @@ -687,3 +687,6 @@ ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 5/9] VT-d: add domain init and destroy functions ...
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/pci/intel-iommu.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 5c8baa4..b958b6f 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c @@ -35,6 +35,7 @@ #include <linux/mempool.h> #include <linux/timer.h> #include <linux/iova.h> +#include <linux/iommu.h> #include <linux/intel-iommu.h> #include ...
Nov 27, 8:40 am 2008
Joerg Roedel
[PATCH 8/9] VT-d: register functions for the IOMMU API
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- drivers/pci/intel-iommu.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 8fa0269..71b4d2f 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c @@ -57,6 +57,7 @@ static void flush_unmaps_timeout(unsigned long data); +static struct iommu_ops intel_iommu_ops; DEFINE_TIMER(unmap_timer, flush_unmaps_timeout, 0, ...
Nov 27, 8:40 am 2008
Joerg Roedel
Re: [osrc-patches] [PATCH 0/9] Factor VT-d KVM functions ...
For testing, the patches can be pulled against avi/master from -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --
Nov 27, 8:43 am 2008
Joerg Roedel
[PATCH 1/9] KVM: rename vtd.c to iommu.c
Impace: file renamed The code in the vtd.c file can be reused for other IOMMUs as well. So rename it to make it clear that it handle more than VT-d. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> --- arch/ia64/kvm/Makefile | 2 +- arch/x86/kvm/Makefile | 2 +- virt/kvm/iommu.c | 191 ++++++++++++++++++++++++++++++++++++++++++++++++ virt/kvm/vtd.c | 191 ------------------------------------------------ 4 files changed, 193 insertions(+), 193 deletions(-) create ...
Nov 27, 8:40 am 2008
walimis
about use wild cards for set_ftrace_filter and so on
Hi Steven and Ingo, I encountered an issue when using ftrace. We know that we can use wild cards to set set_ftrace_filter, but there's problem when using such as "echo h* > /debug/tracing/set_ftrace_filter". If there are files named with "h" prefix in current directory, echo "h*" will echo these files' name to set_ftrace_filter, not "h*". For example: #cat /debug/tracing/available_filter_functions |grep ^hr |wc -l 23 #ls #touch hraa hrdd #ls hraa hrdd #echo hr* > ...
Nov 27, 8:21 am 2008
Frédéric Weisbecker Nov 27, 8:58 am 2008
Ingo Molnar Nov 27, 9:21 am 2008
walimis
Re: about use wild cards for set_ftrace_filter and so on
I only add a note, but I wonder whether enough. If needed, I can add a example to this document. Impact: imporve document Signed-off-by: walimis <walimisdev@gmail.com> --- Documentation/ftrace.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Documentation/ftrace.txt b/Documentation/ftrace.txt index de05042..9735434 100644 --- a/Documentation/ftrace.txt +++ b/Documentation/ftrace.txt @@ -1251,6 +1251,9 @@ These are the only wild cards which are supported. ...
Nov 27, 8:50 am 2008
Steven Rostedt
Re: about use wild cards for set_ftrace_filter and so on
Using TB? It's best to inline the patch, that way I can comment on it better. Anyway, you should fix the example. I also recommend a single quote over double, to prevent any other translation that bash might do. The example in ftrace.txt should be: # echo 'hrtimer_*' > /debug/tracing/set_ftrace_filter Thanks, -- Steve /me goes back to eating turkeys. --
Nov 27, 8:34 am 2008
Matthew Wilcox
Re: [PATCH] FRV: Fix mmap2 error handling
*sigh*. My reaction was "Why do we have sys_mmap2 in every architecture?" So I started looking. Oh dear, oh dear oh dear. FRV: /* As with sparc32, make sure the shift for mmap2 is constant (12), no matter what PAGE_SIZE we have.... */ ia64: Just uses PAGE_SIZE (currently supported values: 4k, 8k, 16k and 64k). So what is poor userspace to do? Check which architecture it's on and figure out what PAGE_SIZE to use for mmap2 based on that? How about we introduce a ...
Nov 27, 9:59 am 2008
David Howells
[PATCH] FRV: Fix mmap2 error handling
Fix the error handling in sys_mmap2(). Currently, if the pgoff check fails, fput() might have to be called (which it isn't), so do the pgoff check first, before fget() is called. Signed-off-by: David Howells <dhowells@redhat.com> --- arch/frv/kernel/sys_frv.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/frv/kernel/sys_frv.c b/arch/frv/kernel/sys_frv.c index 49b2cf2..baadc97 100644 --- a/arch/frv/kernel/sys_frv.c +++ ...
Nov 27, 8:12 am 2008
David Howells
Re: [PATCH] arch/frv/kernel/sys_frv.c: add missing fput
There's a better way to fix this. The check on pgoff should be done before fget() is called. David --
Nov 27, 8:05 am 2008
Julia Lawall
[PATCH] arch/frv/kernel/sys_frv.c: add missing fput
From: Julia Lawall <julia@diku.dk> fget increments a reference count, so fput is needed to decrement it. I have added a goto to the end of the function where there was already such a call. The semantic patch that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression x; statement S; position p1,p2; identifier f; expression E; expression *ptr != NULL; @@ x@p1 = fget(...); ... when != x if (x == NULL) S <... when != ...
Nov 27, 7:25 am 2008
Andreas Petlund
RFC: Latency reducing TCP modifications for thin-stream ...
A wide range of Internet-based services that use reliable transport protocols display what we call thin-stream properties. This means that the application sends data with such a low rate that the retransmission mechanisms of the transport protocol are not fully effective. In time-dependent scenarios (like online games, control systems or some sensor networks) where the user experience depends on the data delivery latency, packet loss can be devastating for the service quality. Extreme ...
Nov 27, 6:39 am 2008
Julia Lawall
[PATCH] sound/pci/mixart/mixart.c: Add missing snd_card_free
From: Julia Lawall <julia@diku.dk> The function snd_mixart_create creates a link between mgr and card that allows snd_mixart_free to free card as well. But if snd_mixart_create fails, then the link has not been created and card has to be freed explicitly. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression x; statement S,S1; position p1,p2,p3; expression E,E1; type T,T1; expression *ptr != ...
Nov 27, 6:23 am 2008
Julia Lawall
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
Oops, please ignore this patch. There is a problem, but the modification is not correct. julia --
Nov 27, 6:33 am 2008
Takashi Iwai
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
At Thu, 27 Nov 2008 15:01:51 +0100 (CET), Looks good. Could you repost with a readable comment? thanks, --
Nov 27, 7:36 am 2008
Julia Lawall
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
From: Julia Lawall <julia@diku.dk> The function snd_mixart_create creates a link between mgr and card that allows snd_mixart_free to free card as well. But if snd_mixart_create fails, then the link has not been created and card has to be freed explicitly. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression x; statement S,S1; position p1,p2,p3; expression E,E1; type T,T1; expression *ptr != ...
Nov 27, 7:40 am 2008
Takashi Iwai
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
At Thu, 27 Nov 2008 14:33:30 +0100 (CET), How about the patch below? Takashi --- diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index ae7601f..3cccfed 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c @@ -989,6 +989,7 @@ static int snd_mixart_pcm_digital(struct snd_mixart *chip) static int snd_mixart_chip_free(struct snd_mixart *chip) { + chip->mgr->chip[chip->chip_idx] = NULL; kfree(chip); return 0; } --
Nov 27, 6:43 am 2008
Julia Lawall
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
My solution was to move the initialization of mgr->chip[idx] down below the last error return in snd_mixart_create. I think it depends on what is going to happen to the structure ops. In your solution, if ops.dev_free is used later on, then the link between mgr and card will be broken, and no one will know to free card. There is the same code and the same problem in sound/pci/pcxhr/pcxhr.c I attach a proposed patch for both below. --- sound/pci/mixart/mixart.c | 4 +++- ...
Nov 27, 7:01 am 2008
Takashi Iwai
Re: [PATCH] sound/pci/mixart/mixart.c: Add missing snd_c ...
At Thu, 27 Nov 2008 15:40:40 +0100 (CET), Thanks, applied now. Takashi --
Nov 27, 8:04 am 2008
Abdelghani Ouchabane
Bug report (27/11/08)
Hallo, when the kernel boots on my machine I got the following Warning: Do you have any idea? Cheers, Rani WARNING: at kernel/sched.c:4308 sub_preempt_count+0x5a/0x64() (Not tainted) Modules linked in: Pid: 1, comm: init Not tainted 2.6.27.5-102.delos.i686 #1 [<c0640e0a>] ? printk+0xf/0x15 [<c041f061>] warn_on_slowpath+0x47/0x73 [<c04aec00>] ? elf_map+0xd4/0xfe [<c04adaf7>] ? load_script+0x17b/0x18c [<c046c2c8>] ? follow_page+0x195/0x242 [<c046ae2b>] ? ...
Nov 27, 2:19 am 2008
Julia Lawall
[PATCH] drivers/media/video/cx88/cx88-alsa.c: Adjust err ...
From: Julia Lawall <julia@diku.dk> In the function cx88_audio_initdev, the value card has been created using snd_card_new. The other error handling code in this function frees the value using snd_card_free. I have thus changed the first error case to do the same. On the other hand, it may be that card is not sufficiently initialized at this point to use snd_card_free, in which case something else should be done to free the memory in the error case. In the function snd_cx88_create the call ...
Nov 27, 5:57 am 2008
Grant Likely
Re: [PATCH][v2] xsysace: use resource_size_t instead of ...
Hey Yuri, I actually already picked up the last version of your patch after fixing it up myself. It's currently sitting in Paul's powerpc tree and it will be merged into mainline when Linus gets back from vacation. Can you please spin a new version with just the addition of the compatible value and base it on Paul's tree. Thanks, g. --
Nov 27, 7:11 am 2008
Yuri Tikhonov
[PATCH][v2] xsysace: use resource_size_t instead of unsi ...
Use resource_size_t for physical address of SystemACE chip. This fixes the driver brokeness for 32 bit systems with 64 bit resources (e.g. PPC440SPe). Also this patch adds one more compatible string for more clean description of the hardware, and fixes a sector_t- related compilation warning. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Ilya Yanok <yanok@emcraft.com> --- drivers/block/xsysace.c | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 ...
Nov 27, 5:21 am 2008
Yuri Tikhonov
Re: [PATCH][v2] xsysace: use resource_size_t instead of ...
I'm sorry, but the patch I've just posted turn out to be corrupted. The correct one is below. --- Use resource_size_t for physical address of SystemACE chip. This fixes the driver brokeness for 32 bit systems with 64 bit resources (e.g. PPC440SPe). Also this patch adds one more compatible string for more clean description of the hardware, and fixes a sector_t- related compilation warning. Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Ilya Yanok <yanok@emcraft.com> --- ...
Nov 27, 5:34 am 2008
Yuri Tikhonov
Re: [PATCH][v2] xsysace: use resource_size_t instead of ...
Hello Grant, Sure. I've generated the patch against the origin/merge branch of Paul's tree, and posting it as separate "[PATCH] xsysace: add compatible string ". Regards, Yuri --
Nov 27, 8:48 am 2008
Julia Lawall
[PATCH] drivers/mtd/nand/pasemi_nand.c: Add missing pci_ ...
From: Julia Lawall <julia@diku.dk> pci_get_device increments a reference count that should be decremented using pci_dev_put. I have thus added an extra label in the error handling code to do this. I don't know, however, whether there should be a pci_dev_put before the return 0 as well. The semantic match that finds the problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression x; statement S,S1; position p1,p2,p3; expression E,E1; type ...
Nov 27, 5:19 am 2008
Richard Kennedy
[PATCH] mm: reorder struct bio to remove padding on 64bit
remove 8 bytes of padding from struct bio which also removes 16 bytes from struct bio_pair to make it 248 bytes. bio_pair then fits into one fewer cache lines & into a smaller slab. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> --- Hi Neil, This compiles but hasn't had any testing, as I don't have a raid to test it on. patch against 2.6.28-rc6. regards Richard diff --git a/include/linux/bio.h b/include/linux/bio.h index 6a64209..e6789b2 100644 --- ...
Nov 27, 5:03 am 2008
Stephen Rothwell
linux-next: Tree for November 27
Hi all, Changes since 20081126: Today's tree fails the powerpc allyesconfig build. New tree: fuse Removed tree: userns (subsumed into the security-testing tree) Undropped trees: ocfs2 block Dropped trees (temporarily): v4l-dvb (build problem) kbuild (build problem) semaphore-removal (due to unfixed conflicts against Linus' tree) cpu_alloc (build problem) perfmon3 (concerns from the x86 team) The net tree gained a conflict against the net-current tree. The mtd ...
Nov 27, 4:00 am 2008
Jiri Kosina
linux-next: trivial tree
Hi Stephen, I have taken over trivial patches maintainership from Jesper. I will process all the patches in Jesper's queue when he sends them over to me. Could you please re-introduce trivial tree into linux-next lineup? It is 'for-next' branch of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git for-next Thanks. -- Jiri Kosina --
Nov 27, 3:49 am 2008
Stephen Rothwell
Re: linux-next: trivial tree
Hi Jiri, On Thu, 27 Nov 2008 11:49:59 +0100 (CET) Jiri Kosina <jkosina@suse.cz> wrot= Added from today. What I tell everyone: all patches in that branch must have been posted to a relevant mailing list reviewed unit tested destined for the next merge window (or the current release) *before* they are included. --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Nov 27, 3:58 pm 2008
Martin Schwidefsky
[patch 08/60] zcrypt: Use of Thin Interrupts
From: Felix Beck <felix.beck@de.ibm.com> When the machine supports AP adapter interrupts polling will be switched off at module initialization and the driver will work in interrupt mode. Signed-off-by: Felix Beck <felix.beck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/isc.h | 1 drivers/s390/crypto/ap_bus.c | 174 ++++++++++++++++++++++++++++++++++++++++++- drivers/s390/crypto/ap_bus.h | 6 + 3 files changed, 177 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 21/60] s390/hvc_console: z/VM IUCV hypervisor con ...
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> This patch introduces a new hypervisor console (HVC) back-end that provides terminal access over the z/VM inter-user communication vehicle (IUCV). The z/VM IUCV communication is independent of the regular tcp/ip network and allows access even if there is no network connection between two z/VM guest virtual machines. The z/VM IUCV hypervisor console back-end helps the user to access a z/VM guest virtual machine that lacks of network ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 24/60] remove ptrace warning on 31 bit.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> A kernel compile on 31 bit gives the following warnings in ptrace.c: arch/s390/kernel/ptrace.c: In function 'peek_user': arch/s390/kernel/ptrace.c:207: warning: unused variable 'dummy' arch/s390/kernel/ptrace.c: In function 'poke_user': arch/s390/kernel/ptrace.c:315: warning: unused variable 'dummy' Getting rid of the dummy variables removes the warnings. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 29/60] Add processor type march=z10 and a process ...
From: Martin Schwidefsky <schwidefsky@de.ibm.com> This patch adds the code generation option for IBM System z10 and adds a check in head[31,64].S to prevents the execution of a kernel compiled for a new processor type on an old machine. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/Kconfig | 8 +++++++ arch/s390/Makefile | 1 arch/s390/kernel/head.S | 49 ++++++++++++++++++++++++++++++++++++++++++++++ arch/s390/kernel/head31.S | 27 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 25/60] cio: get rid of compile warning
From: Heiko Carstens <heiko.carstens@de.ibm.com> Move cio_tpi() to the rest of the CONFIG_CCW_CONSOLE functions to get rid of this one: drivers/s390/cio/cio.c:115: warning: 'cio_tpi' defined but not used Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/cio.c | 75 ++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 38 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 28/60] sclp vt220: fix compile warning
From: Heiko Carstens <heiko.carstens@de.ibm.com> get rid of this one: CC drivers/s390/char/sclp_vt220.o drivers/s390/char/sclp_vt220.c:588: warning: '__sclp_vt220_flush_buffer' defined but not used Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/sclp_vt220.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 30/60] dasd: Use accessors instead of using drive ...
From: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/dasd_devmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: quilt-2.6/drivers/s390/block/dasd_devmap.c =================================================================== --- quilt-2.6.orig/drivers/s390/block/dasd_devmap.c +++ quilt-2.6/drivers/s390/block/dasd_devmap.c @@ -562,7 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 32/60] Remove initial kernel stack backchain init ...
From: Heiko Carstens <heiko.carstens@de.ibm.com> Early init code clears the backchain of the initial kernel stack frame. This is not necessary since it is pre initialized with zeros. Plus it was broken on 64 bit since it cleared only four of eight bytes. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/head31.S | 1 - arch/s390/kernel/head64.S | 1 - 2 files changed, 2 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 31/60] cio: update sac values
From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Values for the sac field have changed - update code accordingly. Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/fcx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: quilt-2.6/arch/s390/include/asm/fcx.h =================================================================== --- ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 45/60] convert appldata printks to pr_xxx macros.
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/appldata/appldata.h | 4 ---- arch/s390/appldata/appldata_base.c | 12 +++++++----- arch/s390/appldata/appldata_os.c | 21 +++++++++------------ 3 files changed, 16 insertions(+), 21 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 47/60] convert s390 debug feature printks to pr_x ...
From: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/debug.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) Index: quilt-2.6/arch/s390/kernel/debug.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/debug.c +++ quilt-2.6/arch/s390/kernel/debug.c @@ -10,6 +10,9 @@ ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 51/60] convert iucv printks to dev_xxx and pr_xxx ...
From: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/netiucv.c | 64 ++++++++++++++++++++++++++------------------- net/iucv/af_iucv.c | 19 +++++++++++-- net/iucv/iucv.c | 9 ++++-- 3 files changed, 60 insertions(+), 32 deletions(-) Index: quilt-2.6/drivers/s390/net/netiucv.c =================================================================== --- ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 52/60] convert sclp printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/sclp_cmd.c | 29 ++++++++++++++++------------- drivers/s390/char/sclp_config.c | 10 ++++++---- drivers/s390/char/sclp_cpi_sys.c | 12 ++++++++---- drivers/s390/char/sclp_sdias.c | 18 +++++++++++------- 4 files changed, 41 insertions(+), 28 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 54/60] convert cpu related printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/Makefile | 4 - arch/s390/kernel/processor.c | 98 +++++++++++++++++++++++++++++++++++++++++++ arch/s390/kernel/setup.c | 88 -------------------------------------- arch/s390/kernel/smp.c | 17 +++---- arch/s390/kernel/topology.c | 5 +- 5 files changed, 112 insertions(+), 100 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 53/60] convert qeth printks to dev_xxx and pr_xxx ...
From: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/qeth_core.h | 7 - drivers/s390/net/qeth_core_main.c | 149 ++++++++++++++------------ drivers/s390/net/qeth_l2_main.c | 37 +++--- drivers/s390/net/qeth_l3_main.c | 211 +++++++++++++++++++------------------- 4 files changed, 212 insertions(+), 192 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 60/60] tape message cleanup
From: Carsten Otte <cotte@de.ibm.com> This is a cleanup of all the messages this driver prints. It uses the dev_message macros now. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/tape.h | 2 drivers/s390/char/tape_34xx.c | 155 +++++++---------- drivers/s390/char/tape_3590.c | 360 +++++++++++++++++++---------------------- drivers/s390/char/tape_block.c | 17 - drivers/s390/char/tape_char.c ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 55/60] convert zfcp dumper printks to pr_xxx macros.
From: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/zcore.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) Index: quilt-2.6/drivers/s390/char/zcore.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/zcore.c +++ quilt-2.6/drivers/s390/char/zcore.c @@ -9,6 +9,9 @@ * Author(s): Michael ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 56/60] convert vmlogrdr printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/vmlogrdr.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) Index: quilt-2.6/drivers/s390/char/vmlogrdr.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/vmlogrdr.c +++ quilt-2.6/drivers/s390/char/vmlogrdr.c @@ -10,6 +10,10 @@ * Stefan Weinhuber ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 59/60] provide documentation for hvc_iucv printk ...
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- Documentation/kernel-parameters.txt | 3 ++ Documentation/kmsg/s390/hvc_iucv | 50 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) Index: quilt-2.6/Documentation/kernel-parameters.txt =================================================================== --- ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 58/60] convert ctcm printks to dev_xxx and pr_xxx ...
From: Peter Tiedemann <ptiedem@de.ibm.com> Signed-off-by: Peter Tiedemann <ptiedem@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/ctcm_fsms.c | 46 ++++++++++++++++---------- drivers/s390/net/ctcm_main.c | 72 ++++++++++++++++++++++++++---------------- drivers/s390/net/ctcm_main.h | 6 --- drivers/s390/net/ctcm_mpc.c | 15 +++++--- drivers/s390/net/ctcm_sysfs.c | 3 + 5 files changed, 86 insertions(+), 56 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 57/60] convert zfcp printks to pr_xxx macros.
From: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/scsi/zfcp_aux.c | 9 ++++++--- drivers/s390/scsi/zfcp_ccw.c | 3 +++ drivers/s390/scsi/zfcp_cfdc.c | 3 +++ drivers/s390/scsi/zfcp_dbf.c | 3 +++ drivers/s390/scsi/zfcp_erp.c | 3 +++ drivers/s390/scsi/zfcp_fc.c | 3 +++ drivers/s390/scsi/zfcp_fsf.c | 3 +++ ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 50/60] convert ap_bus printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/crypto/ap_bus.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) Index: quilt-2.6/drivers/s390/crypto/ap_bus.c =================================================================== --- quilt-2.6.orig/drivers/s390/crypto/ap_bus.c +++ quilt-2.6/drivers/s390/crypto/ap_bus.c @@ -24,6 +24,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 49/60] convert dcssblk and extmem printks message ...
From: Hongjie Yang <hongjie@us.ibm.com> Signed-off-by: Hongjie Yang <hongjie@us.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/mm/extmem.c | 106 +++++++++++++++++-------------------------- drivers/s390/block/dcssblk.c | 72 +++++++++++++---------------- 2 files changed, 76 insertions(+), 102 deletions(-) Index: quilt-2.6/arch/s390/mm/extmem.c =================================================================== --- ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 48/60] convert monwriter printks to pr_xxx macros.
From: Melissa Howland <melissah@us.ibm.com> Signed-off-by: Melissa Howland <melissah@us.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/monwriter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: quilt-2.6/drivers/s390/char/monwriter.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/monwriter.c +++ quilt-2.6/drivers/s390/char/monwriter.c @@ -8,6 +8,9 @@ * Author(s): ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 46/60] convert monreader printks to pr_xxx macros.
From: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/monreader.c | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) Index: quilt-2.6/drivers/s390/char/monreader.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/monreader.c +++ ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 42/60] convert time printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/time.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) Index: quilt-2.6/arch/s390/kernel/time.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/time.c +++ quilt-2.6/arch/s390/kernel/time.c @@ -12,6 +12,9 @@ * Copyright (C) 1991, 1992, 1995 Linus Torvalds */ +#define ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 44/60] convert setup printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/setup.c | 72 ++++++++++++++++++++++++++++++----------------- 1 file changed, 46 insertions(+), 26 deletions(-) Index: quilt-2.6/arch/s390/kernel/setup.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/setup.c +++ quilt-2.6/arch/s390/kernel/setup.c @@ -14,6 +14,9 @@ * This file handles the ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 43/60] convert hypfs printks to pr_xxx macros.
From: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Michael Holzheu <holzheu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/hypfs/hypfs_diag.c | 10 +++++++--- arch/s390/hypfs/inode.c | 14 ++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) Index: quilt-2.6/arch/s390/hypfs/hypfs_diag.c =================================================================== --- quilt-2.6.orig/arch/s390/hypfs/hypfs_diag.c +++ ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 41/60] convert cpacf printks to pr_xxx macros.
From: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/crypto/aes_s390.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) Index: quilt-2.6/arch/s390/crypto/aes_s390.c =================================================================== --- quilt-2.6.orig/arch/s390/crypto/aes_s390.c +++ quilt-2.6/arch/s390/crypto/aes_s390.c @@ -17,6 +17,9 @@ * */ ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 34/60] add new machine types to setup_hwcaps.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Add the machine types for z9-bc, z10-ec and z10-bc to the elf_platform detection in setup_hwcaps. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/setup.c | 5 +++++ 1 file changed, 5 insertions(+) Index: quilt-2.6/arch/s390/kernel/setup.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/setup.c +++ quilt-2.6/arch/s390/kernel/setup.c @@ -722,8 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 33/60] cio: move irritating comment.
From: Sebastian Ott <sebott@linux.vnet.ibm.com> Due to former patches a comment and device id initialization were split from the addressed function call in io_subchannel_probe. Move it back to where it belongs. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/device.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 35/60] convert xpram printks to pr_xxx macros.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/xpram.c | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) Index: quilt-2.6/drivers/s390/block/xpram.c =================================================================== --- quilt-2.6.orig/drivers/s390/block/xpram.c +++ quilt-2.6/drivers/s390/block/xpram.c @@ -25,6 +25,9 @@ * generic hard disk support to ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 36/60] convert vmcp printks to pr_xxx macros.
From: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/vmcp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Index: quilt-2.6/drivers/s390/char/vmcp.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/vmcp.c +++ quilt-2.6/drivers/s390/char/vmcp.c @@ -11,6 +11,9 @@ * The ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 37/60] convert lcs printks to dev_xxx and pr_xxx ...
From: Klaus-D. Wacker <kdwacker@de.ibm.com> Signed-off-by: Klaus-D. Wacker <kdwacker@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/net/lcs.c | 92 ++++++++++++++++++++++++++++--------------------- 1 file changed, 53 insertions(+), 39 deletions(-) Index: quilt-2.6/drivers/s390/net/lcs.c =================================================================== --- quilt-2.6.orig/drivers/s390/net/lcs.c +++ quilt-2.6/drivers/s390/net/lcs.c @@ -26,6 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 38/60] convert cpcmd printks to pr_xxx macros.
From: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/cpcmd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) Index: quilt-2.6/arch/s390/kernel/cpcmd.c =================================================================== --- quilt-2.6.orig/arch/s390/kernel/cpcmd.c +++ quilt-2.6/arch/s390/kernel/cpcmd.c @@ -7,6 +7,9 @@ * ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 39/60] convert vmur printks to pr_xxx macros.
From: Frank Munzert <munzert@de.ibm.com> Signed-off-by: Frank Munzert <munzert@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/char/vmur.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) Index: quilt-2.6/drivers/s390/char/vmur.c =================================================================== --- quilt-2.6.orig/drivers/s390/char/vmur.c +++ quilt-2.6/drivers/s390/char/vmur.c @@ -8,6 +8,9 @@ * Frank Munzert ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 40/60] convert cio printks to pr_xxx macros.
From: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/blacklist.c | 14 +++++++++----- drivers/s390/cio/chsc.c | 8 ++++++-- drivers/s390/cio/cio.c | 5 ++++- drivers/s390/cio/cmf.c | 8 +++++--- drivers/s390/cio/css.c | 8 ++++++-- 5 files changed, 30 insertions(+), 13 deletions(-) Index: ...
Nov 27, 3:31 am 2008
Martin Schwidefsky
[patch 27/60] remove warnings with functions ending in BUG
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Functions which end in a BUG() statement and skip the return statement cause compile warnings on s390, e.g.: mm/bootmem.c: In function 'mark_bootmem': mm/bootmem.c:321: warning: control reaches end of non-void function To avoid the warning add an endless loop to the BUG() macro. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/bug.h | 5 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 26/60] mark disabled_wait as noreturn function
From: Heiko Carstens <heiko.carstens@de.ibm.com> disabled_wait() won't return, so add an __attribute__((noreturn)). This will remove a false positive finding which our internal code checker reports. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/processor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 11/60] qdio: add eqbs/sqbs instruction counters
From: Jan Glauber <jang@linux.vnet.ibm.com> Add counters for the eqbs and sqbs instructions that indicate how often we issued the instructions and how often the instructions returned with less buffers than specified. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/qdio_main.c | 7 ++++++- drivers/s390/cio/qdio_perf.c | 6 ++++++ drivers/s390/cio/qdio_perf.h | 4 ++++ 3 files changed, 16 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 20/60] iucv: Locking free version of iucv_message ...
From: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Provide a locking free version of iucv_message_receive and iucv_message_send that do not call local_bh_enable in a spin_lock_(bh|irqsave)() context. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> --- include/net/iucv/iucv.h | 45 ++++++++++++++ net/iucv/iucv.c | 152 ++++++++++++++++++++++++++++++++++++------------ 2 files changed, 161 insertions(+), 36 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 22/60] ftrace: function tracer backend for s390
From: Heiko Carstens <heiko.carstens@de.ibm.com> This implements just the basic function tracer (_mcount) backend for s390. The dynamic variant will come later. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/Kconfig | 1 arch/s390/include/asm/ftrace.h | 8 +++++ arch/s390/kernel/Makefile | 6 ++++ arch/s390/kernel/mcount.S | 56 +++++++++++++++++++++++++++++++++++++++++ ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 23/60] __page_to_pfn warnings
From: Martin Schwidefsky <schwidefsky@de.ibm.com> For CONFIG_SPARSEMEM_VMEMMAP=y on s390 I get warnings like init/main.c: In function 'start_kernel': init/main.c:641: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'int' The warning can be suppressed with a cast to unsigned long in the CONFIG_SPARSEMEM_VMEMMAP=y version of __page_to_pfn. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- include/asm-generic/memory_model.h | 2 +- 1 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 19/60] struct device - replace bus_id with dev_na ...
From: Kay Sievers <kay.sievers@vrfy.org> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/dasd_devmap.c | 13 +++++++------ drivers/s390/block/dcssblk.c | 5 +++-- drivers/s390/cio/ccwgroup.c | 8 +++++--- drivers/s390/cio/device.c ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 13/60] qdio: rework debug feature logging
From: Jan Glauber <jang@linux.vnet.ibm.com> - make qdio_trace a per device view - remove s390dbf exceptions - remove CONFIG_QDIO_DEBUG, not needed anymore if we check for the level before calling sprintf - use snprintf for dbf entries - add start markers to see if the dbf view wrapped - add a global error view for all queues Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/Kconfig | 10 - ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 10/60] qdio: fix qeth port count detection
From: Jan Glauber <jang@linux.vnet.ibm.com> qeth needs to get the port count information before qdio has allocated a page for the chsc operation. Extend qdio_get_ssqd_desc() to store the data in the specified structure. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/qdio.h | 16 ++++++++-------- drivers/s390/cio/qdio.h | 3 +++ drivers/s390/cio/qdio_main.c | 18 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 06/60] convert s390 to generic IPI infrastructure
From: Heiko Carstens <heiko.carstens@de.ibm.com> Since etr/stp don't need the old smp_call_function semantics anymore we can convert s390 to the generic IPI infrastructure. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/Kconfig | 1 arch/s390/include/asm/sigp.h | 1 arch/s390/include/asm/smp.h | 5 - arch/s390/kernel/smp.c | 175 ++++--------------------------------------- 4 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 12/60] qdio: fix compile warning under 31 bit
From: Jan Glauber <jang@linux.vnet.ibm.com> The QEBSM instructions are only available for CONFIG_64BIT, they are not used under 31 bit. Make compiler happy about the false positive: drivers/s390/cio/qdio_main.c: In function ?qdio_inbound_q_done?: drivers/s390/cio/qdio_main.c:532: warning: ?state? may be used uninitialized in this function Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/qdio_main.c | ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 18/60] dasd: improve dasd statistics proc interface
From: Stefan Haberland <stefan.haberland@de.ibm.com> For a large number of I/O requests the values were shifted binary. The shift was not transparent for the user because the shift value was not displayed. To make this interface more human readable the values are shifted decimal and the scale factor is displayed. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/block/dasd_proc.c | 28 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 14/60] qdio: improve error handling for unexpecte ...
From: Jan Glauber <jang@linux.vnet.ibm.com> In case of a qdio internal problem regarding the buffer handling advance the queue and report the problem with WARN_ON instead of getting stuck. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/cio/qdio_main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 15/60] qdio: improve inbound buffer acknowledgement
From: Jan Glauber <jang@linux.vnet.ibm.com> - Use automatic acknowledgement of incoming buffers in QEBSM mode - Move ACK for non-QEBSM mode always to the newest buffer to prevent a race with qdio_stop_polling - Remove the polling spinlock, the upper layer drivers return new buffers in the same code path and could not run in parallel - Don't flood the error log in case of no-target-buffer-empty - In handle_inbound we check if we would overwrite an ACK'ed buffer, if so advance the pointer ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 16/60] service level interface.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Add a new proc interface /proc/service_levels that allows any code to report a relevant service level, e.g. the microcode level of devices, the service level of the hypervisor, etc. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/sysinfo.h | 11 +++ drivers/s390/net/qeth_core.h | 2 drivers/s390/net/qeth_core_main.c | 11 +++ drivers/s390/sysinfo.c | 127 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 17/60] zfcp: Report microcode level through servi ...
From: Christof Schmitt <christof.schmitt@de.ibm.com> Register zfcp with the new /proc/service_level interface to report the FCP microcode level. When the adapter goes offline or a channel path disappears, zfcp unregisters, since the microcode version might change and zfcp does not know about it. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/scsi/zfcp_aux.c | 13 +++++++++++++ ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 03/60] introduce vdso on s390
From: Martin Schwidefsky <schwidefsky@de.ibm.com> Add a vdso to speed up gettimeofday and clock_getres/clock_gettime for CLOCK_REALTIME/CLOCK_MONOTONIC. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/Kconfig | 3 arch/s390/include/asm/auxvec.h | 2 arch/s390/include/asm/elf.h | 16 ++ arch/s390/include/asm/mmu.h | 1 arch/s390/include/asm/page.h | 2 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 04/60] convert etr/stp to stop_machine interface
From: Heiko Carstens <heiko.carstens@de.ibm.com> This converts the etr and stp code to the new stop_machine interface which allows to synchronize all cpus without allocating any memory. This way we get rid of the only reason why we haven't converted s390 to the generic IPI interface yet. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/kernel/time.c | 212 +++++++++++++++++++++++++++++------------------- 1 ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 09/60] ap: Minor code beautification.
From: Christian Maaser <cmaaser@de.ibm.com> Changed some symbol names for a better and clearer code. Signed-off-by: Christian Maaser <cmaaser@de.ibm.com> Signed-off-by: Felix Beck <beckf@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- drivers/s390/crypto/ap_bus.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 05/60] serialize stp/etr work
From: Martin Schwidefsky <schwidefsky@de.ibm.com> The work function dispatched with schedule_work() can be run twice on different cpus because run_workqueue clears the WORK_STRUCT_PENDING bit and then executes the function. Another cpu can call schedule_work() again and run the work function a second time before the first call is completed. This patch serialized the etr and stp work function with a mutex. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 07/60] Move stfle to header file.
From: Heiko Carstens <heiko.carstens@de.ibm.com> stfle will be needed by the ap_bus module to figure out wether the AP queue adapter interruption facility is installed. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- arch/s390/include/asm/system.h | 20 ++++++++++++++++++-- arch/s390/kernel/setup.c | 17 ----------------- 2 files changed, 18 insertions(+), 19 deletions(-) Index: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 02/60] arch_setup_additional_pages arguments
From: Martin Schwidefsky <schwidefsky@de.ibm.com> arch_setup_additional_pages currently gets two arguments, the binary format descripton and an indication if the process uses an executable stack or not. The second argument is not used by anybody, it could be removed without replacement. What actually does make sense is to pass an indication if the process uses the elf interpreter or not. The glibc code will not use anything from the vdso if the process does not use the dynamic linker, so ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 01/60] vmcp: remove BKL
From: Christian Borntraeger <borntraeger@de.ibm.com> The vmcp driver uses the session->mutex for concurrent access of the data structures. Therefore, the BKL in vmcp_open does not protect against any other function in the driver. The BLK in vmcp_open would protect concurrent access to the module init but all necessary steps ave finished before misc_register is called. We can safely remove the lock_kernel from vcmp. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[patch 00/60] s390 feature patches for 2.6.29
Greetings, the features branch of git390 has grown to 60 patches for the next merge window: Carsten Otte (1): [S390] tape message cleanup Christian Borntraeger (3): [S390] vmcp: remove BKL [S390] convert vmcp printks to pr_xxx macros. [S390] convert cpcmd printks to pr_xxx macros. Christian Maaser (1): [S390] ap: Minor code beautification. Christof Schmitt (2): [S390] zfcp: Report microcode level through service level interface [S390] ...
Nov 27, 3:30 am 2008
Martin Schwidefsky
[GIT PULL] s390 patches for 2.6.28-rc6
Hi Linus, please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the presumably last set of updates for 2.6.28: Christian Borntraeger (2): [S390] fix/cleanup sched_clock [S390] pgtable.h: Fix oops in unmap_vmas for KVM processes Heiko Carstens (1): [S390] Fix alignment of initial kernel stack. Martin Schwidefsky (2): [S390] fix system call parameter functions. [S390] Update default ...
Nov 27, 3:16 am 2008
Feng King
[PATCH] cleanup some default configure
Since CONFIG_R8169_NAPI has been removed,no need to include it in defconfig now Signed-off-by: Feng King <kinwin2008@gmail.com> --- arch/arm/configs/iop32x_defconfig | 1 - arch/mips/configs/mtx1_defconfig | 1 - arch/mips/configs/tb0219_defconfig | 1 - arch/mips/configs/tb0287_defconfig | 1 - 4 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/iop32x_defconfig b/arch/arm/configs/iop32x_defconfig index 8612f58..05be5e2 100644 --- ...
Nov 27, 2:09 am 2008
Nico -telmich- Schot ...
Suspend on X200 with next-20081125: Success!
Good morning everybody! I just resumed the Lenovo X200 running 2.6.28-rc6-next-20081125-denkbrett #15 SMP PREEMPT with xorg running! Currently just once and after the resume it beeped until I released it from the docking station (putting back in works), though it looks pretty good! Thanks for your work! Sincerly, Nico --=20 Think about Free and Open Source Software (FOSS). http://nico.schottelius.org/documentations/foss/the-term-foss/ PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE ...
Nov 27, 2:06 am 2008
Keith Packard
Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GP ...
Yeah, I wondered about doing it that way, although not using the LED driver as GPIO is bi-directional. There is an existing GPIO subsystem which makes gpios available within the kernel, but does not expose them Perhaps exposing the existing gpio kernel infrastructure into /dev in some fashion would make sense? We'd have to create some kind of 'protocol' for the write operation that would mark which bits to change, and perhaps some way of explicitly setting pins to tri-state. That would ...
Nov 27, 11:20 am 2008
Arnd Bergmann
Re: [PATCH] usb/serial: Add compat_ioctl pass-through
By convention, compat_ioctl functions should be called without the big kernel lock held. The usb-serial driver all still need to be converted to have their You should probably define compat_ioctl to return an int as well so that it becomes possible to use the same function for both eventually. Then again, we can also drop the file argument, which is entirely unused in all the usb-serial ioctls. Maybe the best way for now is to make the new compat_ioctl be int compat_ioctl(struct ...
Nov 27, 7:31 am 2008
Greg KH
Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GP ...
Yes, there are a number of other ones already in use that have them. What we have done in the past for them is just use a simple userspace program/library that uses usbfs/libusb to access the device directly. Can you do the same thing here as well? Or do you also need to send/recieve serial data through the device at the same time? thanks, greg k-h --
Nov 27, 11:41 am 2008
Keith Packard
[PATCH] usb/serial: Add compat_ioctl pass-through
USB serial devices with extended IOCTLs cannot be used in a 64-bit kernel from 32-bit user space as the compat_ioctl path is missing. This adds a pass-through so that drivers may offer this functionality. This requires that all drivers actually implement a compat_ioctl function if they want to support this operation. Signed-off-by: Keith Packard <keithp@keithp.com> --- drivers/usb/serial/usb-serial.c | 22 ++++++++++++++++++++++ include/linux/usb/serial.h | 2 ++ 2 files changed, ...
Nov 27, 1:29 am 2008
Alan Cox
Re: [PATCH] usb/serial/cp2101: Add support for cp2103 GP ...
On Thu, 27 Nov 2008 00:29:36 -0800 Only concern I have is that a custom ioctl means every time a new serial chip grows GPIO pins we end up with more ioctls. We have an LED class driver which might perhaps do the job but isn't really oriented that way but would keep the tty and gpio pins separate and available to different applications at the same time. Failing that a rename to make it a generic tty gpio ioctl might be more futurerpoof ? Alan --
Nov 27, 3:58 am 2008
Keith Packard
Re: [PATCH] usb/serial: Add compat_ioctl pass-through
The existing tty layer compat_ioctl is defined to return long; is that I'm not sure it's worth the effort; if some future usb serial ioctl needs the argument, we'd end up changing every existing driver back. I assume there are some serial devices for which the file is relevant Let's figure out what the right compat_ioctl interface is first and worry about fixing the existing ioctl interface later. --=20 keith.packard@intel.com
Nov 27, 11:27 am 2008
Keith Packard
[PATCH] usb/serial/cp2101: Add support for cp2103 GPIO pins
The cp2103 is programmed the same as the cp2101/cp2102 except for the addition of a set of four GPIO pins which can be directly controlled by the host. Access to this is done through a custom ioctl. Signed-off-by: Keith Packard <keithp@keithp.com> --- drivers/usb/serial/cp2101.c | 97 ++++++++++++++++++++++++++++++++++++++++++- drivers/usb/serial/cp2101.h | 39 +++++++++++++++++ 2 files changed, 135 insertions(+), 1 deletions(-) create mode 100644 drivers/usb/serial/cp2101.h diff ...
Nov 27, 1:29 am 2008
Len Brown
[GIT PULL] ACPI patches for Linux-2.6.28-rc6
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release 8 regression fixes, a bugfix, and some dmesg and DMI reduction. This will update the files shown below. thanks! -Len ps. individual patches are available on linux-acpi@vger.kernel.org and a consolidated plain patch is available here: ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.28/acpi-rel... ...
Nov 27, 12:36 am 2008
Nadia.Derbey
signal handling description for Michaels CLONE_NEWPID man page
Michael, Here is the proposal for a description of signals handling in pid namespaces. This applies on top of your CLONE_NEWPID patch. Regards, Nadia --- man2/clone.2 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Index: man-pages-3.13/man2/clone.2 =================================================================== --- man-pages-3.13.orig/man2/clone.2 2008-11-24 09:34:30.000000000 +0100 +++ man-pages-3.13/man2/clone.2 2008-11-27 09:17:53.000000000 +0100 @@ ...
Nov 27, 12:07 am 2008
KAMEZAWA Hiroyuki
[RFC][PATCH 1/2] CGROUP ID and Hierarchy Code
Patches for CGROUP ID and Hierarchy Code. (based on mmotm Nov/24...I'll update later.) CGROUP ID is a unique value for each cgroup (struct cgroup) Hierarchy Code is array of CGROUP ID which contains all ID od ancestors. and tries to remove cgroup_lock() to walk tree. This is just an example-level patch but I'm now testing/refleshing this. Works well with memcg's hierarchy relcaim. Any comment is welcome. -Kame == A toy patch for Cgroup ID and hierarchy code. This patch tries to ...
Nov 27, 12:05 am 2008
Balbir Singh
Re: [RFC][PATCH 1/2] CGROUP ID and Hierarchy Code
Hi, Kame, others on the mailing list, I am currently attending FOSS.IN (http://foss.in), I hope to review/see these patches and other reports next week. -- Balbir --
Nov 27, 11:54 am 2008
KAMEZAWA Hiroyuki
[RFC][PATCH 2/2] memcg: hierarchy reclaim with CGROUP ID
Implement hierarchy reclaim by cgroup_id. What changes: - reclaim is not done by tree-walk algorithm - mem_cgroup->last_schan_child is ID, not pointer. - no cgroup_lock. - scanning order is just defined by ID's order. (Scan by round-robin logic.) - Order of scanning can be changed easily(maybe). Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujisu.com> mm/memcontrol.c | 129 +++++++++++--------------------------------------------- 1 file changed, 27 insertions(+), 102 ...
Nov 27, 12:08 am 2008
Daisuke Nishimura
Re: [RFC][PATCH 1/2] CGROUP ID and Hierarchy Code
Great work! I've not reviewed these patches in detail yet, I agree to this direction to remove cgroup_lock() at hierarcal reclaim. Actualy, I was thinking it would be better to manage some array or list at mkdir/rmdir. hmm, but should this ID be implemented in cgroup level, not in memcg level? Thanks, --
Nov 27, 12:46 am 2008
KAMEZAWA Hiroyuki
Re: [RFC][PATCH 1/2] CGROUP ID and Hierarchy Code
On Thu, 27 Nov 2008 16:46:32 +0900 Yes. 2 reasons. 1. When I added cgroup-ID to swap_cgroup, some people said "please do in cgroup generic layer". 2. bio-cgroup people will use this. Thanks, --
Nov 27, 1:00 am 2008
Ben Castricum
Crash with 2.6.28-rc6
My computer was unresponsive yesterday and had to ask my to wife reset the server. The only thing I could find in the logs is below. Judging from the timestamp it was caused by the daily logrotate. The logfiles are moved from an ext3 to an ext4 filesystem. This is probably not enough for a decent bug report but I thought I report it anyway, even if it is just for statistics. my .config can be found at http://www.bencastricum.nl/.config Kind regards, Ben Nov 26 00:00:03 gateway ...
Nov 26, 11:55 pm 2008
Steven Rostedt
[PATCH 1/1] ring-buffer: prevent recursion
From: Lai Jiangshan <laijs@cn.fujitsu.com> Impact: fix to recursion in function tracer with schedule If the resched flag was set before we entered, then don't reschedule. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> --- kernel/trace/ring_buffer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index f780e95..668bbb5 100644 --- ...
Nov 26, 7:52 pm 2008
Ingo Molnar
Re: [PATCH 0/1] ring-buffer fix for 2.6.28
thanks, i've applied Lai's patch from email to tip/tracing/urgent. Ingo --
Nov 27, 2:14 am 2008
Steven Rostedt
Re: [PATCH 0/1] ring-buffer fix for 2.6.28
It's my scripts that post. I should probably modify it so that if there is only one patch, that I append it to the prolog instead, and mail it out the old way. My scripts pull the patches out of my git tree and use quilt top post. I know git has a way to do that too, but I have not set that up. -- Steve --
Nov 27, 6:58 am 2008
Randy Dunlap
Re: [PATCH 0/1] ring-buffer fix for 2.6.28
Is there something about git that causes (or forces) the use of patch 0/1 followed by patch 1/1? I find it terribly unwanted. thanks, -- ~Randy --
Nov 26, 8:11 pm 2008
Steven Rostedt
[PATCH 0/1] ring-buffer fix for 2.6.28
The following patch needs to go into 2.6.28. It protects against a recursion race that can happen when the scheduler is traced. The following patches are in: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git branch: devel Lai Jiangshan (1): ring-buffer: prevent recursion ---- kernel/trace/ring_buffer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --
Nov 26, 7:52 pm 2008
Steven Rostedt
Re: [PATCH] ftrace: prevent recursion
Ouch! Thanks, this patch should go straight to mainline. The version in tip uses the new ftrace_preempt_disable which is not yet in mainline. -- Steve --
Nov 26, 7:36 pm 2008
Lai Jiangshan
[PATCH] ftrace: prevent recursion
if the resched flag was set before we entered, then don't reschedule. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> --- diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index f780e95..668bbb5 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -1215,7 +1215,7 @@ ring_buffer_lock_reserve(struct ring_buffer *buffer, out: if (resched) - preempt_enable_notrace(); + preempt_enable_no_resched_notrace(); else ...
Nov 26, 7:21 pm 2008
Ingo Molnar
Re: [PATCH 1/1] sched: prevent divide by zero error in c ...
good catch! Applied to tip/sched/urgent, thanks Steve! the rebalancer scans remote runqueues without holding the runqueue lock for performance reasons, so nr_running indeed has to be loaded into a local variable here. I think it could hit anywhere upstream as well, even without the branch tracer: depends on the register pressure and GCC's choices for reloading that register. If say FRAME_POINTER is enabled and we are running with some more agressive optimization or just an ...
Nov 27, 2:29 am 2008
Steven Rostedt
[PATCH 1/1] sched: prevent divide by zero error in cpu_a ...
From: Steven Rostedt <rostedt@goodmis.org> Impact: fix to divide by zero While testing the branch profiler, I hit this crash: divide error: 0000 [#1] PREEMPT SMP [...] RIP: 0010:[<ffffffff8024a008>] [<ffffffff8024a008>] cpu_avg_load_per_task+0x50/0x7f [...] Call Trace: <IRQ> <0> [<ffffffff8024fd43>] find_busiest_group+0x3e5/0xcaa [<ffffffff8025da75>] rebalance_domains+0x2da/0xa21 [<ffffffff80478769>] ? find_next_bit+0x1b2/0x1e6 [<ffffffff8025e2ce>] ...
Nov 26, 7:04 pm 2008
Steven Rostedt
[PATCH 0/1] sched: divide by 0 error
There exists a race where we can hit a divide by zero in the scheduler and crash the system. The following patches are in: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git branch: urgent Steven Rostedt (1): sched: prevent divide by zero error in cpu_avg_load_per_task ---- kernel/sched.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) -- --
Nov 26, 7:04 pm 2008
Philip Langdale
[PATCH] ricoh_mmc: Use suspend/resume_noirq
If ricoh_mmc suspends before sdhci_pci, it will pull the card out from under the controller, which could leave the system in a very confused state. Using suspend/resume_noirq ensures that sdhci_pci suspends first and resumes second. Signed-off-by: Philip Langdale <philipl@overt.org> --- ricoh_mmc.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/ricoh_mmc.c b/drivers/mmc/host/ricoh_mmc.c index be9e7b3..34064d2 100644 --- ...
Nov 26, 6:43 pm 2008
Oren Laadan
[RFC v10][PATCH 03/13] General infrastructure for checkp ...
Add those interfaces, as well as helpers needed to easily manage the file format. The code is roughly broken out as follows: checkpoint/sys.c - user/kernel data transfer, as well as setup of the CR context (a per-checkpoint data structure for housekeeping) checkpoint/checkpoint.c - output wrappers and basic checkpoint handling checkpoint/restart.c - input wrappers and basic restart handling For now, we can only checkpoint the 'current' task ("self" checkpoint), and the 'pid' argument to to ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 13/13] Restart multiple processes
Restarting of multiple processes expects all restarting tasks to call sys_restart(). Once inside the system call, each task will restart itself at the same order that they were saved. The internals of the syscall will take care of in-kernel synchronization bewteen tasks. This patch does _not_ create the task tree in the kernel. Instead it assumes that all tasks are created in some way and then invoke the restart syscall. You can use the userspace mktree.c program to do that. The init task ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 07/13] Infrastructure for shared objects
Infrastructure to handle objects that may be shared and referenced by multiple tasks or other objects, e..g open files, memory address space etc. The state of shared objects is saved once. On the first encounter, the state is dumped and the object is assigned a unique identifier (objref) and also stored in a hash table (indexed by its physical kenrel address). From then on the object will be found in the hash and only its identifier is saved. On restart the identifier is looked up in the ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 11/13] Track in-kernel when we expect ch ...
From: Dave Hansen <dave@linux.vnet.ibm.com> Suggested by Ingo. Checkpoint/restart is going to be a long effort to get things working. We're going to have a lot of things that we know just don't work for a long time. That doesn't mean that it will be useless, it just means that there's some complicated features that we are going to have to work incrementally to fix. This patch introduces a new mechanism to help the checkpoint/restart developers. A new function pair: ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 02/13] Checkpoint/restart: initial docum ...
Covers application checkpoint/restart, overall design, interfaces, usage, shared objects, and and checkpoint image format. Changelog[v8]: - Split into multiple files in Documentation/checkpoint/... - Extend documentation, fix typos and comments from feedback Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com> --- Documentation/checkpoint/ckpt.c | 32 +++++++ ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 06/13] Restore memory address space
Restoring the memory address space begins with nuking the existing one of the current process, and then reading the VMA state and contents. Call do_mmap_pgoffset() for each VMA and then read in the data. Changelog[v9]: - Introduce cr_ctx_checkpoint() for checkpoint-specific ctx setup Changelog[v7]: - Fix argument given to kunmap_atomic() in memory dump/restore Changelog[v6]: - Balance all calls to cr_hbuf_get() with matching cr_hbuf_put() (even though it's not really ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 01/13] Create syscalls: sys_checkpoint, ...
Create trivial sys_checkpoint and sys_restore system calls. They will enable to checkpoint and restart an entire container, to and from a checkpoint image file descriptor. The syscalls take a file descriptor (for the image file) and flags as arguments. For sys_checkpoint the first argument identifies the target container; for sys_restart it will identify the checkpoint image. A checkpoint, much like a process coredump, dumps the state of multiple processes at once, including the state of the ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 04/13] x86 support for checkpoint/restart
Add logic to save and restore architecture specific state, including thread-specific state, CPU registers and FPU state. In addition, architecture capabilities are saved in an architecure specific extension of the header (cr_hdr_head_arch); Currently this includes only FPU capabilities. Currently only x86-32 is supported. Compiling on x86-64 will trigger an explicit error. Changelog[v9]: - Add arch-specific header that details architecture capabilities; split FPU restore to send ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 08/13] Dump open file descriptors
Dump the files_struct of a task with 'struct cr_hdr_files', followed by all open file descriptors. Since FDs can be shared, they are assigned an objref and registered in the object hash. For each open FD there is a 'struct cr_hdr_fd_ent' with the FD, its objref and its close-on-exec property. If the FD is to be saved (first time) then this is followed by a 'struct cr_hdr_fd_data' with the FD state. Then will come the next FD and so on. This patch only handles basic FDs - regular files, ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 00/13] Kernel based checkpoint/restart
Checkpoint-restart (c/r): fixes a couple of bugs and a DoS issue (tested against v2.6.28-rc3). We'd like these to make it into -mm. This version addresses the last of the known bugs. Please pull at least the first 11 patches, as they are similar to before. Patches 1-11 are stable, providing self- and external- c/r of a single process. Patches 12 and 13 are newer, adding support for c/r of multiple processes. The git tree tracking v10, branch 'ckpt-v10' (and older ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 12/13] Checkpoint multiple processes
Checkpointing of multiple processes works by recording the tasks tree structure below a given task (usually this task is the container init). For a given task, do a DFS scan of the tasks tree and collect them into an array (keeping a reference to each task). Using DFS simplifies the recreation of tasks either in user space or kernel space. For each task collected, test if it can be checkpointed, and save its pid, tgid, and ppid. The actual work is divided into two passes: a first scan counts ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 05/13] Dump memory address space
For each VMA, there is a 'struct cr_vma'; if the VMA is file-mapped, it will be followed by the file name. Then comes the actual contents, in one or more chunk: each chunk begins with a header that specifies how many pages it holds, then the virtual addresses of all the dumped pages in that chunk, followed by the actual contents of all dumped pages. A header with zero number of pages marks the end of the contents. Then comes the next VMA and so on. Changelog[v10]: - Acquire dcache_lock ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 09/13] Restore open file descriprtors
Restore open file descriptors: for each FD read 'struct cr_hdr_fd_ent' and lookup objref in the hash table; if not found (first occurence), read in 'struct cr_hdr_fd_data', create a new FD and register in the hash. Otherwise attach the file pointer from the hash as an FD. This patch only handles basic FDs - regular files, directories and also symbolic links. Changelog[v6]: - Balance all calls to cr_hbuf_get() with matching cr_hbuf_put() (even though it's not really ...
Nov 26, 6:04 pm 2008
Oren Laadan
[RFC v10][PATCH 10/13] External checkpoint of a task oth ...
Now we can do "external" checkpoint, i.e. act on another task. sys_checkpoint() now looks up the target pid (in our namespace) and checkpoints that corresponding task. That task should be the root of a container. sys_restart() remains the same, as the restart is always done in the context of the restarting task. Changelog[v10]: - Grab vfs root of container init, rather than current process Signed-off-by: Oren Laadan <orenl@cs.columbia.edu> Acked-by: Serge Hallyn ...
Nov 26, 6:04 pm 2008
Steven Rostedt
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
That's because trace_pipe does not use an iterator ;-) It is live stream. There's two cases: static read and consume. On static read we can take our time and we iterate over the data in the file. The data does not get consumed so we use an iterator to traverse the data. The consume read will consume each entry as it reads it. We do not need an iterator for this because we are always reading the head of the file. After we read the data, that data is consumed and we read the next ...
Nov 26, 6:08 pm 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
So perhaps between CPU and time? That would be useful indeed, as the ftrace_trace_pid on this tracer. But I wonder about the cost of double function tracing in this case. --
Nov 27, 8:51 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Ok. Thanks, I will correct it by covering the two cases, like in trace.c : peek_next_entry() --
Nov 27, 5:53 am 2008
Steven Rostedt
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
scissors! Oh that's what they were! ;-) -- Steve --
Nov 27, 7:03 am 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
if you look at it on a console where you look at code, it all looks like a straight line: 0) | sys_read() { 0) 0.331 us | fget_light(); 0) | vfs_read() { 0) | rw_verify_area() { 0) | security_file_permission() { 0) 0.306 us | cap_file_permission(); 0) 0.300 us | cap_file_permission(); 0) 8.909 us | } 0) 0.993 us | } 0) 11.649 us | } 0) ...
Nov 27, 8:03 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
You don't like my ungreppable but cute scissors? :-) Yes, I will fix it. --
Nov 27, 6:11 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Yeah! I agree with all of that. That's fair. I will apply these advices, probably divided in multiple patches.... --
Nov 27, 6:18 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
I didn't think of ftrace_printk yet. That's a good idea, this way we will see where the ftrace_printk was called, in which function at which depth.... Don't you think that would be better to have it as C comments. We are in a C-style output and ftrace_printk are especially designed for comments in a trace. That would make sense to read: do_sync_read() { /* sock: 0x12345 flag: 1 */ sock_aio_read() { 0.123 } --
Nov 27, 7:53 am 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
lets keep it default-enabled, ok? It makes sense. Ingo --
Nov 27, 7:46 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Hmm. I must confess that it draws a useful boundary for the eyes. Ok. --
Nov 27, 8:09 am 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Yeah, wanted to point that out too - but i started with the more commonly used (and most critical) printout portion: the function call That extra column should be a trace_option though - default-off. (it uses up quite some screen real estate) It would have to have a width of 14 characters to be practical: ssssssss-12345 mockup: ---------------------------------------------------------------- CPU) task-PID | cost | ...
Nov 27, 4:29 am 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
We can still add the overhead signs. We still have a single space in the first column before the CPU number (that looks better when these traces are pasted into email, which is one of the most common uses of them), and we can add the sign there. Or we could add them to the function name bit - there we have two free space characters anyway: i think it will be better. I'm biased, so i gave the output to two people with good visual taste (one of them female), [note, i gave them ...
Nov 27, 6:51 am 2008
Frederic Weisbecker
[PATCH] tracing/function-branch-tracer: enhancements for ...
Impact: enhancement This patch applies some ideas of Ingo Molnar and Steven Rostedt. * Output leaf functions in one line with parenthesis, semicolon and duration output. * Add a second column (after cpu) for an overhead sign. if duration > 100 us, "!" if duration > 10 us, "+" else " " * Print output in us with remaining nanosec: u.n * Print duration on the right end, following the indentation of the functions. Use also visual clues: "-" on entry call (no duration to output) ...
Nov 26, 5:46 pm 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
cool :-) One small detail. Could you please make the cost numbers on the right side be aligned to the _left_ boundary of the function name, not the right side of it? I.e. instead of: CPU[000] sys_read() { - CPU[000] fget_light(); + 0.331 us CPU[000] vfs_read() { - CPU[000] rw_verify_area() { - CPU[000] security_file_permission() { - CPU[000] ...
Nov 27, 3:34 am 2008
Peter Zijlstra
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
This is the most horrid thing I've ever seen. Please just put the comm/pid in another left column and leave a plain "---" string for context switches. comm/pid only in the separator is useless, you cannot grep stuff like that, also, what's up with those '8's ? --
Nov 27, 3:55 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
I like it before the CPU number. The main purpose would be to scroll quickly the file and find the overheads. That would be easy if set as a first character. Really? Ok, I will apply it. --
Nov 27, 7:44 am 2008
Ingo Molnar
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Note that your PID filter is in tip/tracing/core already, so Frederic can make use of it if he wishes to. Changing it to struct pid (whenever that happens) will not change its functionality. Ingo --
Nov 27, 7:13 am 2008
Steven Rostedt
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
No, please keep the CPU # first. If anything, you will want to separate out the CPUs first. Otherwise you will see things all mixed up. Hmm, I could also add a per cpu files. debugfs/tracing/buffers/cpu0 debugfs/tracing/buffers/cpu1 debugfs/tracing/buffers/cpu2 debugfs/tracing/buffers/cpu3 That would print out the trace for a single CPU. BTW, I'm really not here. I'm on holiday eating turkeys. -- Steve --
Nov 27, 8:31 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Ok. BTW I understand why it is better to have a "pipe" if there is no time: 0) | do_sync_read() { 0) | sock_aio_read() { 0) | __sock_recvmsg() { 0) | security_socket_recvmsg() { But I don't see why it is necessary to have one just after the time: !0) 100.319 us | cap_socket_recvmsg(); It appears to me as noise.... --
Nov 27, 7:58 am 2008
Ingo Molnar Nov 27, 8:05 am 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
One detail. If you get a trace through the "trace" file, you will have no problem. But if you cat trace_pipe, leaf functions are considered as nested. This is because iter->buffer_iter[iter->cpu]; is very often (always?) false by using this file. I don't know why yet.... But it makes the tracer unable to check the next entry to verify if it matches its own return. --
Nov 26, 5:57 pm 2008
Frédéric Weisbecker
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Yeah, I will miss a bit the overhead signs, they were really useful to find in one quick sight a costly function call. I know that the decimal. The visible width of the duration replaces it but not as much efficiently. Moreover, put these times on the full left will be perhaps harder for the eyes to retrieve the concerned function return (thinking of a deep calls). Ok. --
Nov 27, 6:06 am 2008
Steven Rostedt
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
Yes please. I like the separator better. Sure, we could add a trace_option that will let us print the name on all lines, which will make it grepable better. But this is better to see when the switch happens. Also, Frederic could use my ftrace_trace_pid to filter only on a single thread. But that will need to wait till we figure out this namespace issue. -- Steve --
Nov 27, 7:07 am 2008
Peter Zijlstra
Re: [PATCH] tracing/function-branch-tracer: enhancements ...
May I suggest putting the times in front of the functions, the times can be rendered in fixed with, avoiding all this unaligned foobar. Furthermore, it would be really sweet if ftrace_printk() output would be at the right indentation level wrt the function it was called from. eg. CPU[000] - do_sync_read() { CPU[000] # sock: 0x12345 flag: 1 CPU[000] - sock_aio_read() { ... CPU[000] + 0.123 } Where the # line is the ftrace_printk() output. --
Nov 27, 3:19 am 2008
Thomas Gleixner
Re: [PATCH] Enforce valid shift values in clocksource_re ...
Fair enough. I forgot that we do a late handover from jiffies to the real clocksource. Still a WARN_ON is more prominent and more useful for developers to get to the root cause. Setting the shift to 31 will result in wrong timer values but not brick the box. So espcially for code, which calculates the values this might be worthwhile. Thanks, tglx --
Nov 26, 5:54 pm 2008
John Stultz
Re: [PATCH] Enforce valid shift values in clocksource_re ...
Well, we can't tweak the shift value without changing the mult. And that seemed a bit overreaching (but might be safe). I'll give it a shot. Also early boot we should have the jiffies clocksource around, so unless I'm forgetting something, I don't think it has early boot concerns. thanks -john --
Nov 26, 5:39 pm 2008
Thomas Gleixner
Re: [PATCH] Enforce valid shift values in clocksource_re ...
Just setting the shift value to 31 along with a WARN_ON() should be enough. We don't need to kill the clocksource in that case, as this can be nasty when it happens in the early boot code where we dont have any output. Thanks, tglx --
Nov 26, 5:08 pm 2008
Christoph Hellwig
Re: [PATCH 2/6] fs: Introduce special dentries for pipes ...
The dentry and indoe patches will take some time to review propery as they touch hairy code. For your next respin I'd suggest putting them to the end of the series so we could eventually merge the other bits earlier. Also please changed the special naming to something meanfull, and please try to have just one single flag in the superblock controlling all the behvaiour for the can't be unmouynted special case. --
Nov 27, 3:04 am 2008
David Miller
Re: [PATCH 2/6] fs: Introduce special dentries for pipes ...
From: Eric Dumazet <dada1@cosmosbay.com> Networking bits look fine: Acked-by: David S. Miller <davem@davemloft.net> --
Nov 27, 1:20 am 2008
Robert Hancock
Re: Panic: NMI Watchdog detected LOCKUP on CPU
Normally server-class hardware doesn't cause these kinds of symptoms from hardware problems, they usually spew NMIs, etc. but it's not impossible. 2.6.15 is pretty ancient though. Can you try a newer kernel? --
Nov 26, 5:00 pm 2008
Carsten Menke
Re: Panic: NMI Watchdog detected LOCKUP on CPU
Yes I will try that definitley, but I hoped that someone maybe knows if that was a particular problem of that kernel (according to the panic log) version and chances are good they are fixed in later versions. The second problem is, that it can takes fairly long until I know if the problem is gone because sometimes it takes 2 months until a crash happens. So the second question is, how to prove if this is not hardware or how to prove it is definitley hardware. I have read the list and saw that NMI ...
Nov 26, 5:19 pm 2008
Arjan van de Ven
Re: oops/warning report for the week of November 26, 2008
On Thu, 27 Nov 2008 12:42:10 -0700 right now we do this for oopses, but not for warnings ;( I'll make a patch to add this; it's generally useful. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Nov 27, 12:49 pm 2008
Arjan van de Ven
Re: oops/warning report for the week of November 26, 2008
I don't believe that right now. we see so many of these, including many "there's no MTRRs at all", that I am seriously suspecting that our code is just incorrect somehow and triggering too much. --
Nov 27, 11:01 am 2008
Ingo Molnar
Re: oops/warning report for the week of November 26, 2008
IIRC the problem is that vmware _does_ claim that it supports MTRRs. Ingo --
Nov 27, 1:47 pm 2008
Ingo Molnar
Re: oops/warning report for the week of November 26, 2008
the warning here means: "the BIOS messed up but we fixed it up for you just fine". Should we print a DMI descriptor so that it can be tracked back to the bad BIOSen in question? Or should we (partially) silence the warning itself? Those BIOS bugs need fixing really: older kernels will boot up with bad MTRR settings - resulting in a super-slow system or other weirdnesses. We can tone down the message so that it doesnt show up in kerneloops.org. It's up to you. Ingo --
Nov 27, 4:52 am 2008
Yinghai Lu
Re: oops/warning report for the week of November 26, 2008
that is not needed, we already check that in mtrr_bp_init before this function is called, and it will assign mtrr_if and #define is_cpu(vnd) (mtrr_if && mtrr_if->vendor == X86_VENDOR_##vnd) will make it sure mtrr is there. ps: here INTEL mean any cpu has same interface like intel cpu's --
Nov 27, 2:18 pm 2008
Jesse Barnes
Re: oops/warning report for the week of November 26, 2008
I actually think we're doing something wrong here, since so many platforms have this behavior. It's likely that there's an undocumented, additional check needed to determine whether a slot is hot pluggable. Matthew Garrett recently posted a patch to check for ACPI _RMV methods, which should be an improvement. I'll be putting that into linux-next soon for testing. -- Jesse Barnes, Intel Open Source Technology Center --
Nov 27, 10:02 am 2008
H. Peter Anvin
Re: oops/warning report for the week of November 26, 2008
cpu_has_mtrr there should presumably replace is_cpu(INTEL). I'm not sure if this can be replaced by use_intel(); in particular use_intel() relies on mtrr_if having been initialized. Looking... -hpa (out of town for Thanksgiving) --
Nov 27, 2:18 pm 2008
Ingo Molnar
Re: oops/warning report for the week of November 26, 2008
well we looked at existing reports and Linux was right to fix them up. Show us one that is incorrect, then we can fix it up. the "no MTRR's" are vmware/(also qemu?) guests not implementing a full CPU emulation. Ingo --
Nov 27, 1:18 pm 2008
H. Peter Anvin
Re: oops/warning report for the week of November 26, 2008
Okay... is_cpu() here is defined as: #define is_cpu(vnd) (mtrr_if && mtrr_if->vendor == X86_VENDOR_##vnd) ... so an MTRR interface has been identified. Therefore testing cpu_has_mtrr is redundant. As far as use_intel() versus is_cpu(INTEL), it looks to me as though the two are identical in the current code -- mtrr_if->vendor is never set in the generic code, and so defaults to 0 - meaning X86_VENDOR_INTEL. All in all, it looks like the vendor ID stuff is a bad case of "works by ...
Nov 27, 2:42 pm 2008
Jesse Barnes
Re: oops/warning report for the week of November 26, 2008
IIRC we fixed this one post-2.6.27. I didn't send the patches back to -stable because they were a bit big, but if someone were sufficiently motiviated I'm sure the backport wouldn't be that hard... Jesse --
Nov 26, 5:05 pm 2008
Ingo Molnar
Re: oops/warning report for the week of November 26, 2008
having the commit IDs mentioned here would be nice, should anyone feel motivated. Ingo --
Nov 27, 4:48 am 2008
Arjan van de Ven
Re: oops/warning report for the week of November 26, 2008
On Thu, 27 Nov 2008 21:47:14 +0100 it might. but even if they would fix that, we would still WARN ( at least we should do our side correctly... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org --
Nov 27, 1:53 pm 2008
Arjan van de Ven
Re: oops/warning report for the week of November 26, 2008
On Thu, 27 Nov 2008 21:18:36 +0100 ... and it's still our fault in part, since we don't even check to see if a cpu claims to support MTRR before complaining about it... easy to fix though: From 7e987ae541c41ce908b414fee9d8e2fd2099a083 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven <arjan@linux.intel.com> Date: Thu, 27 Nov 2008 12:25:47 -0800 Subject: [PATCH] x86: make sure the CPU advertizes MTRR support before complaining about the lack thereoff... We complain loudly if a CPU does not ...
Nov 27, 1:28 pm 2008
Alex Chiang
Re: oops/warning report for the week of November 26, 2008
I can do this backport. A few questions though... We're seeing a proliferation of this one presumably because Fedora10 uses 2.6.27.5 as a starting point? If I just backport the fixes against Greg's latest tree, do I have to do anything special to make sure they get into the Fedora kernel? Also, does kerneloops capture any of the machine information, like DMI output, etc. or does it just get the oops? It would be nice to see which machines out there have the broken BIOS that causes this ...
Nov 27, 12:42 pm 2008
Michael Ellerman
Re: [PATCH 4/5] powerpc: ftrace, use create_branch
You're right, that's a lot simpler :) Acked-by: Michael Ellerman <michael@ellerman.id.au> cheers --=20 Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person
Nov 27, 3:06 pm 2008
David Miller
Re: [PATCH-mm 8/8] decnet: remove private wrappers of en ...
From: Harvey Harrison <harvey.harrison@gmail.com> Applied, thanks everyone. --
Nov 27, 1:13 am 2008
Rusty Russell Nov 27, 5:55 am 2008
David Miller
Re: [PATCH-mm 5/8] typhoon: remove uses of __constant_{e ...
From: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> --
Nov 27, 1:11 am 2008
Harvey Harrison
Re: [PATCH-mm 1/8] ntfs: remove private wrapper around e ...
Yes I've checked the compiler output for the new byteorder helpers for gcc 3.4, 4, 4.2 on x86. Notice this depends on the byteorder bits in -mm. The failure of the old bits to properly compile-time swap I've only seen at -O0, which the new bits do properly. If you can cite a particular version/arch that you know of where the bug arose, please let me No, sparse does not complain about it. Bitwise operations are just fine on types such as le16 etc. Try running sparse again with I ...
Nov 27, 12:35 pm 2008
Anton Altaparmakov
Re: [PATCH-mm 1/8] ntfs: remove private wrapper around e ...
Hi, Have you checked the compiler output? And on all architectures? And on all gcc versions? The reason I introduced the constant version are precisely that at least some versions of gcc at least on some architectures do NOT handle the constant folding and actually put in endianness conversion code for the constants instead of converting them at compile time. Also you are breaking sparse checking with this patch as you remove some of the necessary endianness conversions (e.g. ...
Nov 27, 1:22 am 2008
Matthew Garrett
Re: [PATCH v2 2/2] relatime: Allow making relatime the d ...
I'm dropping that hunk - it's easier to default to relatime in userspace, so there's no need to have a kernel fs parameter to forcibly disable it. -- Matthew Garrett | mjg59@srcf.ucam.org --
Nov 27, 10:39 am 2008
Matthew Garrett
[PATCH v2 1/2] relatime: Make relatime behaviour smarter
Make relatime smarter Allow atime to be updated once per day even with relatime. This lets utilities like tmpreaper (which delete files based on last access time) continue working. --- Subset of Ingo's original patch, rediffed against current git diff --git a/fs/inode.c b/fs/inode.c index 0487ddb..348fa16 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -1179,6 +1179,41 @@ sector_t bmap(struct inode * inode, sector_t block) } EXPORT_SYMBOL(bmap); +/* + * Relative atime updates ...
Nov 27, 8:01 am 2008
Pádraig Brady
Re: [PATCH v2 2/2] relatime: Allow making relatime the d ...
That's useful. Without this, to disable relatime you needed to: echo 0 > /proc/sys/fs/default_relatime mount -o remount,atime /mnt/point/ --
Nov 27, 10:30 am 2008
Christoph Hellwig
Re: [PATCH v3] relatime: Make relatime smarter
Maybe rename relatime_need_update to atime_need_update and factor this check into it? Except for this nitpicks this seems extremly useful --
Nov 27, 10:06 am 2008
Karel Zak Nov 27, 9:03 am 2008
Ingo Molnar
Re: [PATCH v2 1/2] relatime: Make relatime behaviour smarter
thanks Matthew for picking this up! Acked-by: Ingo Molnar <mingo@elte.hu> Ingo --
Nov 27, 8:06 am 2008
Ingo Molnar
Re: [PATCH v2 2/2] relatime: Allow making relatime the d ...
This should not be enabled by default - but distros can set it to enabled just fine. Looks good otherwise! Acked-by: Ingo Molnar <mingo@elte.hu> Ingo --
Nov 27, 8:07 am 2008
Andreas Dilger
Re: [PATCH v4] relatime: Make relatime smarter
The one problem with a 1-day default is that cron jobs like updatedb will revert to updating the atime on every single file every day. It would be better to make it slightly more than 1 day (e.g. 25h) to avoid this and at least defer atime updates to every other day for files that are not otherwise accessed except by cron. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. --
Nov 27, 3:08 pm 2008
Christoph Hellwig Nov 27, 10:03 am 2008
Matthew Garrett
Re: [PATCH v2 2/2] relatime: Allow making relatime the d ...
Yes, that sounds like a reasonable approach. In that case I'll update the first to include the support for configuring the timeout. -- Matthew Garrett | mjg59@srcf.ucam.org --
Nov 27, 9:47 am 2008
Matthew Garrett
[PATCH v4] relatime: Make relatime smarter
Make relatime smarter Allow atime to be updated once per day even with relatime. This lets utilities like tmpreaper (which delete files based on last access time) continue working. The time between atime updates can be configured at boot with the relatime_interval kernel argument, or at runtime through a sysctl. Signed-off-by: Matthew Garrett <mjg@redhat.com> --- Adds Christoph's suggestions. Documentation/kernel-parameters.txt | 4 ++ fs/inode.c | ...
Nov 27, 10:58 am 2008
Alan Cox
Re: [PATCH v2 2/2] relatime: Allow making relatime the d ...
NAK this This is a change in behaviour and you don't turn it on by default so most users will miss it. You don't need it anyway and it doesn't need to be NAK this Putting in extra flags to allow the kernel and user space to fight each other over mount defaults is a recipe for disaster. Take your userspace mount command and beat it up appropriately. If you want a mount command that defaults to relatime then ship a mount command that does. This patch really doesn't make sense. You add ...
Nov 27, 9:35 am 2008
Alan Cox
Re: [PATCH v3] relatime: Make relatime smarter
What about leap seconds ;) Acked-by: Alan Cox <alan@redhat.com> --
Nov 27, 12:15 pm 2008
Matthew Garrett
[PATCH v2 2/2] relatime: Allow making relatime the defau ...
Add support for defaulting to relatime Allow the kernel to enable relatime on all mounts by default. This can be configured at build time or by a kernel parameter or sysctl. Also add a MS_NORELATIME mount option to allow the default to be overridden for specific mount points. Signed-off-by: Matthew Garrett <mjg@redhat.com> --- Incorporates Randy's suggestion to change default_relatime to relatime_default, along with a couple of typographical fixes diff --git ...
Nov 27, 8:03 am 2008
Matthew Garrett
[PATCH v3] relatime: Make relatime smarter
Make relatime smarter Allow atime to be updated once per day even with relatime. This lets utilities like tmpreaper (which delete files based on last access time) continue working. The time between atime updates can be configured at boot with the relatime_interval kernel argument, or at runtime through /proc Signed-off-by: Matthew Garrett <mjg@redhat.com> --- Drop the default behaviour section - as Alan suggests, it can be handled in userspace. Merge the configuration code into ...
Nov 27, 9:59 am 2008
Matthew Wilcox
Re: [PATCH v4] relatime: Make relatime smarter
Doesn't updatedb only access directories, not files? I don't think relatime implies nodiratime, but certainly the two could both be specified, and that would fix one of the updatedb problems. Are there any other common cronjobs you're concerned about? -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." --
Nov 27, 3:35 pm 2008
Cyrill Gorcunov
Re: [PATCH 2/5] x86: ret_from_fork - get rid of jump back
[Ingo Molnar - Thu, Nov 27, 2008 at 02:41:21PM +0100] | | * Cyrill Gorcunov <gorcunov@gmail.com> wrote: | ... | | Could you test something like the patch attached below, which cleans | up this code and applies the code reduction and speedup? Warning: | completely untested! Please check that things like strace -f and gdb | attaching to forked tasks still works fine. (it should by all means) | | Thanks, | | Ingo Ingo, I found 2.6.26 test machine where I've patched the ...
Nov 27, 12:12 pm 2008
Alexander van Heukelum
Re: [PATCH 3/5] x86: entry_64.S - use X86_EFLAGS_IF inst ...
-- Alexander van Heukelum heukelum@fastmail.fm -- http://www.fastmail.fm - A no graphics, no pop-ups email service --
Nov 27, 3:37 am 2008
Alexander van Heukelum
Re: [PATCH 4/5] x86: ret_from_fork - add CFI proc annotation
This is not needed/wanted. DEFAULT_FRAME includes "CFI_STARTPROC simple" already. -- Alexander van Heukelum heukelum@fastmail.fm -- http://www.fastmail.fm - The professional email service --
Nov 27, 3:15 am 2008
Ingo Molnar Nov 27, 5:04 am 2008
Cyrill Gorcunov
Re: [PATCH 5/5] x86: entry_64.S - trivial: space, commen ...
[Ingo Molnar - Thu, Nov 27, 2008 at 01:02:34PM +0100] | > > From: Cyrill Gorcunov <gorcunov@gmail.com> | > > | > > Impact: cleanup | > > | > > Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> | > | > Acked-by: Alexander van Heukelum <heukelum@fastmail.fm> | | Cyrill, could you please rework the still relevant bits against latest | tip/master? Alexander's wider patch got in the way. | | Thanks, | | Ingo | Here is an updated version --- From: Cyrill Gorcunov ...
Nov 27, 11:10 am 2008
Ingo Molnar
Re: [PATCH 2/5] x86: ret_from_fork - get rid of jump back
Unfortunately that review got you off the right track ... The principle you applied was good: entry_64.S is murky, and we want to simplify the current overcomplicated assembly code flow spaghetti there. Note that if you take a closer look at rff_trace/rff_action ret_from_fork code here, you'll realize that it does all the wrong things: for example it checks the TIF flag - while later on jumping back to the ret-from-syscall path - duplicating the check needlessly. But it gets worse ...
Nov 27, 6:41 am 2008
Cyrill Gorcunov
Re: [PATCH 2/5] x86: ret_from_fork - get rid of jump back
[Ingo Molnar - Thu, Nov 27, 2008 at 02:41:21PM +0100] ... | | Could you test something like the patch attached below, which cleans | up this code and applies the code reduction and speedup? Warning: | completely untested! Please check that things like strace -f and gdb | attaching to forked tasks still works fine. (it should by all means) | ... Thanks for explanation Ingo! Will try to test this but I will require some time. - Cyrill - --
Nov 27, 9:20 am 2008
Cyrill Gorcunov
Re: [PATCH 4/5] x86: ret_from_fork - add CFI proc annotation
On Thu, Nov 27, 2008 at 1:15 PM, Alexander van Heukelum Indeed, thanks (such an indirect and nested definition sometime confusing) --
Nov 27, 4:27 am 2008
Andi Kleen
Re: [PATCH 2/5] x86: ret_from_fork - get rid of jump back
That's true. I found your 2005 changeset which did that, although it seems to have been written before meaningful changelogs became en vogue so it's unclear why. But assuming strace/gdb always reattach it's probably ok. But _TIF_SYSCALL_AUDIT for which it also checks is not always cleared so it's not completely dead. That said in theory the ret_from_sys checks should handle those too, so it might be unnecessary (I don't remember why I added the additional check here). Still removing it ...
Nov 27, 7:16 am 2008
Ingo Molnar Nov 27, 5:00 am 2008
Cyrill Gorcunov
Re: [PATCH 5/5] x86: entry_64.S - trivial: space, commen ...
yep, no problem (wait 'till evening please) --
Nov 27, 5:25 am 2008
Alexander van Heukelum Nov 27, 3:39 am 2008
Alexander van Heukelum
Re: [PATCH 1/5] x86: entry_64.S - use ENTRY to define ch ...
-- Alexander van Heukelum heukelum@fastmail.fm -- http://www.fastmail.fm - Accessible with your email software or over the web --
Nov 27, 3:37 am 2008
Ingo Molnar
Re: [PATCH 5/5] x86: entry_64.S - trivial: space, commen ...
Cyrill, could you please rework the still relevant bits against latest tip/master? Alexander's wider patch got in the way. Thanks, Ingo --
Nov 27, 5:02 am 2008
Russell King
Re: [RESEND:PATCH] [ARM] clearpage: provide our own clea ...
I'll queue the change to linux/highmem.h for when Linus gets back then. Can I assume that Hugh and James are happy for their ack to apply to both parts of the split patch? And do I have your ack as well? Thanks. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: --
Nov 27, 4:21 am 2008
Paul Mundt
Re: [RESEND:PATCH] [ARM] clearpage: provide our own clea ...
Yes, my apologies for not making that obvious. Acked-by: Paul Mundt <lethal@linux-sh.org> --
Nov 27, 1:09 pm 2008
Paul Mundt
Re: [RESEND:PATCH] [ARM] clearpage: provide our own clea ...
I plan to use it on VIPT SH also, so getting the higmem.h change in by itself sooner rather than later would certainly be welcome. --
Nov 26, 6:07 pm 2008
Hugh Dickins
Re: [RESEND:PATCH] [ARM] clearpage: provide our own clea ...
I rather trusted you on the ARM end of it: I won't be kicking up a fuss if my Acked-by ends up appearing on that part too, but really, it was for the linux/highmem.h end of it. Hugh --
Nov 27, 5:02 am 2008
Jiri Kosina
Re: Document hadling of bad memory
[ linux-doc@vger.kernel.org added, these should be the proper guys to merge this ] -- Jiri Kosina SUSE Labs --
Nov 26, 5:42 pm 2008
Jiri Kosina
Re: [PATCH] add missing printk loglevel
Applied to trivial patches tree, thanks. -- Jiri Kosina --
Nov 27, 4:32 pm 2008
Benny Halevy
Re: WARN_ON out of range error in ERR_PTR?
Right, it is an error I made when developing new code for nfs41 and I caught and fixed it in my branch before releasing the code. I just thought that this WARN_ON could be beneficial for everybody... --
Nov 26, 11:27 pm 2008
Andrew Morton
Re: WARN_ON out of range error in ERR_PTR?
On Wed, 26 Nov 2008 17:48:08 +0200 We have over 2000 ERR_PTR callsites, and WARN_ON() is a big fat porky thing, so this change would add quite a lot of kernel text&data. If this problem does occur again, I expect that the kernel will reliably dereference a small negative address and we'll get an oops, which will give us the same information as that WARN_ON would have done, no? --
Nov 26, 5:15 pm 2008
Jiri Kosina
Re: several messages
On Wed, 26 Nov 2008, Tobias M
Nov 26, 5:57 pm 2008
Herbert Xu
Re: linux-next: Tree for November 26 (lib80211 + crypto)
John, looks like wireless is missing a select on CRYPTO somewhere. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Nov 26, 6:51 pm 2008
Lennart Sorensen
Re: LinuxPPS (Version 10): the PPS Linux implementation.
Yay! Thank you for still working on this. I am using 5.3.1 at the moment on 2.6.26 (was using 3.0.0 for a long time on 2.6.18) and so far things are great. -- Len Sorensen --
Nov 27, 9:43 am 2008
Wu Fengguang
Re: [PATCH] markers: comment marker_synchronize_unregist ...
That's much better! With your comments I'd assume you reviewed this patch ;-) Thanks, Fengguang --- markers: comment marker_synchronize_unregister() on data dependency Add document and comments on marker_synchronize_unregister(): it should be called before freeing resources that the probes depend on. Based on comments from Lai Jiangshan and Mathieu Desnoyers. Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Reviewed-by: Lai Jiangshan ...
Nov 27, 1:14 am 2008
Mathieu Desnoyers
Re: [PATCH] markers: comment marker_synchronize_unregist ...
It looks good to me, thanks! -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
Nov 27, 11:44 am 2008
Wu Fengguang
[PATCH] markers: comment marker_synchronize_unregister() ...
[updated patch to include Documentation/markers.txt changes] Add document and comments on marker_synchronize_unregister(): it should be called before freeing resources that the probes depend on. Based on comments from Lai Jiangshan and Mathieu Desnoyers. Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Wu Fengguang <wfg@linux.intel.com> --- diff --git a/Documentation/markers.txt b/Documentation/markers.txt index 089f613..8bf6afe ...
Nov 26, 6:05 pm 2008
Lai Jiangshan
Re: [PATCH] markers: comment marker_synchronize_unregist ...
Does "destruction" contain the meaning of "free" and other destruction behavior? It's every good job, thank you. --
Nov 26, 6:23 pm 2008
Wu Fengguang
Re: [PATCH] markers: comment marker_synchronize_unregist ...
Thank you, Fengguang --- markers: comment marker_synchronize_unregister() on data dependency Add document and comments on marker_synchronize_unregister(): it should be called before freeing resources that the probes depend on. Based on comments from Lai Jiangshan and Mathieu Desnoyers. Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Wu Fengguang <wfg@linux.intel.com> --- diff --git a/Documentation/markers.txt ...
Nov 26, 6:36 pm 2008
Mathieu Desnoyers
Re: [PATCH] markers: comment marker_synchronize_unregist ...
You should probably say ".. must be called between probe unregistration and the first occurence of..." -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
Nov 27, 1:00 am 2008
Miklos Szeredi
Re: [linux-next] fuse tree
Ack. Thanks, Miklos --
Nov 27, 9:31 am 2008
stephane eranian
Re: [patch 20/24] perfmon: system calls interface
Thomas, I am fine with that (BTW, there is no PFM_RD_PMC). What about we call it pfm_rw_regs() ? --
Nov 27, 7:07 am 2008
stephane eranian
Re: [patch 20/24] perfmon: system calls interface
Ingo, This variable says, there is perfmon support in the kernel but initialization of the That one says that we do not have support for that particular PMU model. In the fully-featured version, there PMU description table is loaded via a kernel module. So you can be in a situation where the subsystem initialized properly but no PMU description module is loaded or none exists for this processor. That's what this second test is about. Note that if all PMU description tables are compiled in, we ...
Nov 27, 7:28 am 2008
stephane eranian
Re: [patch 20/24] perfmon: system calls interface
Hi, Given that this thread discusses the syscall API, I would like to verify something with you at this point. The sys_pfm_create() syscall is used to create a perfmon session (context). In the current patchset, where only counting is supported, the syscall is defined as: int pfm_create(int flags, pfarg_sinfo_t *sif); The plan is to extend this syscall, instead of adding a new syscall, to add support for sampling. The syscall would be used to select which sampling buffer format and ...
Nov 27, 5:25 am 2008
Andi Kleen
Re: [patch 20/24] perfmon: system calls interface
Normally it's a better model to enforce 0 (or whatever appropiate) My recommendation would be to go with the full format from the beginning, because otherwise there is a versioning problem with glibc. -Andi -- ak@linux.intel.com --
Nov 27, 5:41 am 2008
stephane eranian
Re: [patch 20/24] perfmon: system calls interface
Ingo, Perfmon requires ptrace ONLY to stop the thread you want to operate on. For instance, to read the counters in a thread via pfm_read(), you need to have that thread stopped, so perfmon can extract the machine state safely. But when the monitored thread runs, it does not have to remain under the control of ptrace. All that is needed is that the thread is stopped while we are in the perfmon syscall. I think ptrace allows this today. We will be able to drop ptrace() once we switch to ...
Nov 27, 7:22 am 2008
Ingo Molnar
Re: [patch 20/24] perfmon: system calls interface
The meaning of my last sentence is the jist of my argument: you cannot do it like this! You are using a bit of the ptrace infrastructure but unsafely, as pointed out here. and the thing is, i fail to understand the whole justification of the new sys_pfm_attach()/PFM_NO_TARGET system calls. Firstly, there's a taste issue: why didnt you add sys_pfm_detach instead of adding a butt-ugly PFM_NO_TARGET special case into sys_pfm_attach() that maps to pfm_detach?? But more importantly, ...
Nov 27, 7:42 am 2008
stephane eranian
Re: [patch 20/24] perfmon: system calls interface
Ingo, Perfmon requires the application to use ptrace. The function you looked at is just there to verify that the application actually did attach before making a perfmon syscall. If it was not for the stop/resume feature, I would not require using ptrace. That's why I like the utrace functionality. Ptracing and performance monitoring are two different things. One is for debugging the other is for performance analysis. The requirements are different. There are all sorts of nasty side effects ...
Nov 27, 8:16 am 2008
Thomas Gleixner
Re: [patch 20/24] perfmon: system calls interface
After looking at both I did a diff of the two functions: --- r.c 2008-11-27 14:27:54.000000000 +0100 +++ w.c 2008-11-27 14:27:52.000000000 +0100 @@ -36,10 +36,12 @@ ret = pfm_check_task_state(ctx, PFM_CMD_STOPPED, &flags); if (ret) goto skip; - switch(type) { + case PFM_RW_PMC: + ret = __pfm_write_pmcs(ctx, req, count); + break; case PFM_RW_PMD: - ret = __pfm_read_pmds(ctx, req, count); + ret = __pfm_write_pmds(ctx, req, count); break; default: ...
Nov 27, 7:01 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
That's true for Intel. On AMD64, I think you can get at most one sample out of a irq-off region using IBS. --
Nov 27, 5:31 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
Because of the self IPI. You would need a NMI safe queue between NMI and self IPI, but then you could as well have the same queue between NMI and process readers. -Andi -- ak@linux.intel.com --
Nov 27, 6:51 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
The NMI watchdog is now off by default so failing with it enabled is fine. Longer term having NMI profiling is still a useful feature I think, but of course it needs to be implemented cleanly. -Andi -- ak@linux.intel.com --
Nov 27, 4:31 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
What if a threads reprograms the counters while another is reading them? How is the buffer reset? --
Nov 27, 5:28 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
Peter, Yes, you can. There is clearly an interface to do this. I think this is the best solution. I know it can work because it experimented with this approach no later than last month. But I ran into a bug which I reported on LKML. I did not provide a patch because I did not fully understand the connection to suspend/resume. The bug has to do with some obscure suspend/resume sequence in: void setup_apic_nmi_watchdog(void *unused) { if (__get_cpu_var(wd_enabled)) ...
Nov 27, 5:04 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
In newer Intel the counters can be reset/rearmed by accessing only a few global control msrs. But it's probably still a problem on other PMUs. On the other hand it also has PEBS which allows at least some Lockless buffers are nasty, but it works in oprofile at least. Taking out NMis in the first version at least seems like a reasonable solution. After all you can still use standard oprofile where they work just fine. -Andi -- ak@linux.intel.com --
Nov 27, 3:06 am 2008
David Miller
Re: [patch 05/24] perfmon: X86 generic code (x86)
From: Thomas Gleixner <tglx@linutronix.de> Shouldn't be needed and this woule kill performance on RISC (every struct member is accessed with byte sized loads and shifts/masking). We did this for the pfkey.h structures by accident, and I truly regret it. --
Nov 27, 4:37 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
Thomas, I think we agree as to why the user visible structures have to have fixed size. Some structures have bitfields in them (no in the current patchset yet). Here is an example: #define PFM_PMD_BV (256/sizeof(__u64)) struct pfarg_pmd_attr { __u16 reg_num; /* which register */ __u16 reg_set; /* which event set */ __u32 reg_flags; /* REGFL flags */ __u64 reg_value; /* 64-bit value */ __u64 reg_long_reset; /* ...
Nov 27, 2:51 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
Andi, Thomas, The only reason why I have to deal with NMI is not so much to allow for profiling irq-off regions but because I have to share the PMU with the NMI watchdog. Otherwise I'd have to fail or disable the NMI watchdog on the fly. --
Nov 27, 3:09 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
True. It would really need a NMI safe queue. -Andi -- ak@linux.intel.com --
Nov 27, 6:50 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
Thomas, Ok, you've convinced me. I will make the change. Thanks. --
Nov 27, 2:38 am 2008
Thomas Gleixner
Re: [patch 05/24] perfmon: X86 generic code (x86)
Stephane, I really can not see the problem. 1) perfmon.h can have a section for kernel and user space. We have tons of examples of this in the kernel already. The user space data structures are separate, simply because they are an user space ABI and can not be changed. Kernel data structures can be completely different from the user ABI and can be changed at any given time as the code evolves. The design you are proposing is tying the in kernel data structures to the user ABI ...
Nov 27, 3:56 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
Really? Why? Old distros of course do it but only because they run old It uses per CPU buffers (so no races on the writer) and readers can of course use a lock to coordinate between themselves. I wrote a similar scheme for mce_log() (although the current version in tree has some issues too) -Andi --
Nov 27, 5:32 am 2008
Thomas Gleixner
Re: [patch 05/24] perfmon: X86 generic code (x86)
We can limit the functionality here. Fail or disable the NMI watchdog are both valid solutions. Thanks, tglx --
Nov 27, 3:29 am 2008
Peter Zijlstra
Re: [patch 05/24] perfmon: X86 generic code (x86)
Hmm, either we loose that bit and fix the suspend/resume bit properly, or we can send the IPIs one by one in the correct order ;-) Dunno, CC'ed all the folks who touched it last. --
Nov 27, 5:16 am 2008
Thomas Gleixner Nov 27, 7:40 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
Note once Stephane readds PEBS support (it is currently stripped out) you'll be also able to get somewhat reasonable results at least on modern Intel x86 without NMI profiling. But longer term it is still very useful because PEBS has some drawbacks too -Andi -- ak@linux.intel.com --
Nov 27, 5:38 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
Why would you get only one sample per irq-off region if you use NMI? I would think you could get multiple, depending on your sampling period and the size of the region. --
Nov 27, 6:37 am 2008
Thomas Gleixner
Re: [patch 05/24] perfmon: X86 generic code (x86)
Not arguing about that, I'm just not agreeing with the implementation. So for the moment we can go w/o the NMI and implement it cleanly after we got the initial lot in. Thanks, tglx --
Nov 27, 4:49 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
What about a thread doing this and another one in the middle of read the buffer? Or what about a thread trying to reset the buffer while you're processing an PMU interrupt on another CPU. I know each buffer is per-CPU, but that does not prevent two threads for trying to operate on it at the same time from different CPUs. --
Nov 27, 6:30 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
> What if a threads reprograms the counters while another is reading them? In the worst case you get an invalid event, which is then discarded. I think. I've never tried to understand it in all details, but drivers/oprofile/cpu_buffer.c: /* Resets the cpu buffer to a sane state. */ void cpu_buffer_reset(struct oprofile_cpu_buffer *cpu_buf) { /* reset these to invalid values; the next sample * collected will populate the buffer with proper * values to initialize ...
Nov 27, 5:45 am 2008
Thomas Gleixner
Re: [patch 05/24] perfmon: X86 generic code (x86)
Exactly the same amount which you get with the NMI/self_IPI out of an irq-off region. Thanks, tglx --
Nov 27, 6:32 am 2008
David Miller
Re: [patch 05/24] perfmon: X86 generic code (x86)
From: "stephane eranian" <eranian@googlemail.com> There's only one profiling buffer active on a given cpu, so it's pure per-cpu value insertion. In any event I think that NMI profiling is a must, especially for the kernel. You get total unusable crap otherwise. I just learned this the hard way having gotten an NMI'ish scheme working on sparc64 just the other day. --
Nov 27, 4:42 am 2008
Peter Zijlstra
Re: [patch 05/24] perfmon: X86 generic code (x86)
So? You can disable it on the fly when there is a perfmon user. --
Nov 27, 4:52 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
The difficulty with NMI is locking. Unlike Oprofile, perfmon code needs locking. If you recall our discussion yesterday about passing the file descriptor around or even using it with multiple threads inside the same process. You have to handle the case where the NMI fires while you are holding a perfmon lock. What you have in the patch (and the the fully-featured version) is that we get the NMI and we stop the PMU WITHOUT grabbing any perfmon lock, and the we repost the interrupt with the ...
Nov 27, 4:35 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
Assuming that the irqs off regions are not too long (and that's usually the case) that should be enough, shouldn't it? Sure there are still CPUs with neither IBS or PEBS. -Andi -- ak@linux.intel.com --
Nov 27, 5:46 am 2008
Andi Kleen
Re: [patch 05/24] perfmon: X86 generic code (x86)
> What about a thread doing this and another one in the middle of read the buffer? That happens per CPU. -Andi -- ak@linux.intel.com --
Nov 27, 6:49 am 2008
stephane eranian
Re: [patch 05/24] perfmon: X86 generic code (x86)
I think that is fine as long as the interrupt handler does not need to grab locks. But that, in turn, means that the state needed/modified by the handler cannot So you're saying a thread can only access the buffer from the CPU it is running on? --
Nov 27, 6:47 am 2008
stephane eranian
Re: [patch 02/24] perfmon: base code
That's true, but that's because cpu-wide support is not included in the patchset. --
Nov 27, 12:49 pm 2008
Andi Kleen
Re: [patch 02/24] perfmon: base code
> Well, where is it checked ? Where is checked whether Oprofile runs or not ? That is done using the perfctr reservation. I saw that somewhere in the The perfctr reservation is global over all CPUs. -Andi -- ak@linux.intel.com --
Nov 27, 11:41 am 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
That's the whole point I'm making. For the current patch set the simple global vs. thread exclusivity is sufficient and correct. When we gradually add stuff then we simply can add the extra checks and think about the impact and consequences in that context. Thanks, tglx --
Nov 27, 1:59 pm 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
Stephane, Well, if you do a structure then put the lock in it as well, so its on If its not needed now, then we can either remove it or do at least Then it is a percpu session and not system wide. Please use less Ok. Question: if you do a one CPU wide session with perfom, can you still do thread monitoring on the same CPU ? This only prevents oprofile from starting, but it does neither prevent thread sessions nor does it prevent a perfmon per cpu session on a cpu which was ...
Nov 27, 11:28 am 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
Stephane, And how is this achieved ? Currently there seems nothing which prevents a per-thread vs. cpu-wide monitoring. Thanks, tglx --
Nov 27, 12:35 pm 2008
stephane eranian
Re: [patch 02/24] perfmon: base code
Thomas, There is a single instance. I was just trying to regroup related fields together instead of having them as Well, the the cpumask is indeed needed but you don't see the reason why in the patchset! Perfmon in system-wide does not operate like Oprofile. In system-wide a perfmon session (context) monitors only ONE CPU at a time. Each session is independent of each other. You can therefore measure different things on different CPUs. Reservation is thus done independently for ...
Nov 27, 10:47 am 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
Stephane, Can we please use anon_inodefs instead of creating a new one ? It's exaclty for this purpose. See fs/anon_inodes.c and fs/timerfd.c for an usage example. Thanks, tglx --
Nov 27, 4:23 am 2008
stephane eranian
Re: [patch 02/24] perfmon: base code
thomas, It does not care whether it is Oprofile, NMI or any other subsystem. What matters is: - what PMU registers are available? - what CPU are not used for monitoring? I know that. I have used this name since the beginning, it's more legacy than anything else. Let's call this cpu-wide mode. I think people are more Nothing. AND you don't want to change affinity because you are monitoring. So the current restriction is that cpu-wide and per-thread are mutually exclusive. The only way ...
Nov 27, 11:51 am 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
What's the purpose of this being a structure if it's just a single How please ? pfm_res.sys_cpumask is local to this file and you want to check it under the lock and _before_ you increment What's the value of these debugs ? Prove that the compiler managed to compile "pfm_res.thread_sessions--;" correctly ? A WARN_ON(!pfm_res.thread_sessions) instead of blindly decrementing <adding the bits from the oprofile patch, which belong here as they are not x86 specific> + +/** + ...
Nov 27, 10:24 am 2008
stephane eranian
Re: [patch 02/24] perfmon: base code
Thomas, That is a different level of resource management: register level. Both Perfmon and Oprofile can operate with fewer registers than what the hardware actually supports. Take an AMD64 CPU with 4 counters. With the NMI watchdog active, Perfmon or Oprofile will run with only 3. That's better than nothing and is sufficient for many measurments. --
Nov 27, 11:54 am 2008
Thomas Gleixner
Re: [patch 02/24] perfmon: base code
So this mean we manage resources on multiple levels, some bits here and some bits there and five checks in each code path do get them all. Really convincing concept. Thanks, tglx --
Nov 27, 11:36 am 2008
Robert Hancock
Re: ndiswrapper 1.54-2.6.27 released
What devices are there left these days that are still not working with native drivers? --
Nov 26, 5:03 pm 2008
Mihai
Re: ndiswrapper 1.54-2.6.27 released
Broadcom Corporation BCM4312 802.11a/b/g (rev 01) The driver works only if I don't subject it to high traffic. If I begin a large transfer (like a DVD ISO) the card looses the connection with the AP and behaves erratically in a way that interferes with my wireless mouse (I have to unplug the mouse receiver and plug it back in several times, which is very annoying). -- Mihai Donțu --
Nov 27, 5:40 am 2008
Bastian Blank
Re: [RFC][PATCH 3/5] Determine if sender is from ancestor ns
Is it really a wise idea to mix this into the signal number? Also this definition looks odd. If you want the highest bit, you should mention this explicitely with 1U<<31. If I see this correctly this information is already covered in si_code with SI_USER and SI_TKILL. SI_KERNEL is used for explicit kernel This is not used at all here? Bastian -- Those who hate and fight must stop themselves -- otherwise it is not stopped. -- Spock, "Day of the Dove", stardate unknown --
Nov 26, 6:01 pm 2008
Bastian Blank
Re: [RFC][PATCH 4/5] Protect cinit from fatal signals
It sounds not right to make this special case for a "normal" process. However, no idea how to do this better. Bastian -- The heart is not a logical organ. -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4 --
Nov 26, 6:07 pm 2008
Nadia Derbey
Re: [RFC][PATCH 2/5] pid: Generalize task_active_pid_ns
Suka, I'm wondering if it is still safe to keep the call to task_active_pid_ns() in create_new_namespaces(): copy_namespaces() is called a couple of lines above this sequence and it calls create_new_namespaces(). So I don't see why you're now referencing p->nsproxy->pid_ns here and not in create_new_namespaces()? Regards, -- Nadia Derbey <Nadia.Derbey@bull.net> --
Nov 27, 6:09 am 2008
Greg Kurz
Re: [RFC][PATCH 2/5] pid: Generalize task_active_pid_ns
That doesn't save ->nsproxy to be NULL... as shown in the very same example you're talking about. I agree with Eric and Sukadev that task_active_pid_ns() is unsafe. There Yes as long as a pid from that namespace is still in use... -- Gregory Kurz gkurz@fr.ibm.com Software Engineer @ IBM/Meiosys http://www.ibm.com Tel +33 (0)534 638 479 Fax +33 (0)561 400 420 "Anarchy is about taking complete responsibility ...
Nov 27, 2:19 pm 2008
Bastian Blank
Re: [RFC][PATCH 1/5] pid: Implement ns_of_pid
When can the pid argument be null? Bastian -- Another Armenia, Belgium ... the weak innocents who always seem to be located on a natural invasion route. -- Kirk, "Errand of Mercy", stardate 3198.4 --
Nov 26, 6:19 pm 2008
Bastian Blank
Re: [RFC][PATCH 2/5] pid: Generalize task_active_pid_ns
Why do you need to be able to get the pid namespace from zombie processes? Also according to nsproxy.h this access variant is only Why do you expand the old version of the function? Bastian -- Women professionals do tend to over-compensate. -- Dr. Elizabeth Dehaver, "Where No Man Has Gone Before", stardate 1312.9. --
Nov 26, 6:17 pm 2008
Sam Ravnborg
Re: [RFC 2.6.27 1/1] gpiolib: add support for batch set ...
We have such a system at work. And we need fast acces to the gpio pins when updating the LCD. I have not written/looked to deep at the code I just recall it was a bit messy and not something I would be proud of submitting to any ML. Sam --
Nov 27, 1:01 pm 2008
Jaya Kumar
Re: [RFC 2.6.27 1/1] gpiolib: add support for batch set ...
Okay. Please help me understand in case I misunderstood. Are you saying the code that I posted is too messy? To me, actually I am proud of it. :-) But if some parts look messy, I'm happy to work on improving it. I will need some advice though and please advise me on which parts look messy. Thanks, jaya --
Nov 27, 4:43 pm 2008
Lennart Sorensen
Re: Need to pay to use the word "Linux" in commercial pr ...
Or when they added speakers to even allow any music to be played. -- Len Sorensen --
Nov 27, 9:52 am 2008
Matthew Wilcox
Re: [PATCH] fakephp: Allocate PCI resources before addin ...
Because fakephp was the odd one out. Every other hotplug driver registers a slot number and puts the address in the directory. We're making hotplug drivers simpler (by sharing more of the logic in the core) and so fakephp had to change to match the other drivers. I'm sorry for your inconvenience, but it's necessary. We can discuss other ways to make your life better, but it can't be changed back to one 'slot' per PCI function. -- Matthew Wilcox Intel Open Source Technology ...
Nov 26, 7:42 pm 2008
Darrick J. Wong
Re: [PATCH] fakephp: Allocate PCI resources before addin ...
Are you referring to this? ^^^^^^^^^^ Without seeing the raw dump of the PCI config space, it looks to me like the memory space enable bit of the PCICMD register is unset. Probably the device driver should call pci_enable_device() at init time, though I Actually, you can "hot-add" devices that were previously removed. Just rescan the removed device's bridge by running this command: echo 1 > /sys/bus/pci/slots/fakeX/power. Onlining the bridge (even if it's already ...
Nov 26, 6:52 pm 2008
Trent Piepho
Re: [PATCH] fakephp: Allocate PCI resources before addin ...
I wonder how many users of fakephp saw them? I can't monitor every patch to linux kernel. I checked the lkml archive and didn't see any discussion of the change to the fakephp interface. There was stuff about the other patches, but nothing about that. Is there a reason you had to change it? It breaks an existing interface. It's clearly more inefficient and complicated to find a slot using it. The exiting PCI device name, like "0000:01:00.0", has been used in the sysfs interface and ...
Nov 26, 6:44 pm 2008
Bob Copeland
Re: [ath5k-devel] License of changes to ath5k/ath9k
On Tue, Nov 25, 2008 at 5:28 PM, Luis R. Rodriguez Cool, that saved me some work. I updated this so that the files are now up-to-date, and it can be called directly from the commit-msg hook (also handles existing Signed-off-by etc). Feel free to take whatever you like from my version. -- Bob Copeland %% www.bobcopeland.com
Nov 26, 6:53 pm 2008
Oleg Nesterov
Re: [PATCH] poll: allow f_op->poll to sleep, take#5
I think you are very right. Actually, this is just like W: fill_data(&DATA); wmb(); DATA_is_ready = 1; // triggered wake_up(wq); S: set_current_state(state); if (DATA_is_ready) ret = poll(&DATA); else schedule(); without wmb() above poll(&DATA) can obviously return the wrong value. Oleg. --
Nov 27, 1:13 pm 2008
Tejun Heo
Re: [PATCH] poll: allow f_op->poll to sleep, take#5
Hello, Yeah, it seems we'll need something which is equivalent to smp_wmb() in try_to_wake_up(). So, the original set_mb() should have stayed there while just adding the latter one. Will prep yet another take of the patch. Thanks for the detailed analysis. -- tejun --
Nov 27, 2:18 am 2008
Tejun Heo
[PATCH] poll: allow f_op->poll to sleep, take#6
f_op->poll is the only vfs operation which is not allowed to sleep. It's because poll and select implementation used task state to synchronize against wake ups, which doesn't have to be the case anymore as wait/wake interface can now use custom wake up functions. The non-sleep restriction can be a bit tricky because ->poll is not called from an atomic context and the result of accidentally sleeping in ->poll only shows up as temporary busy looping when the timing is right or rather ...
Nov 27, 2:37 am 2008
Peter Zijlstra
Re: [PATCH -v3 5/8] fsnotify: unified filesystem notific ...
do you really need that mutex in the ! case? --
Nov 27, 9:14 am 2008
Peter Zijlstra
Re: [PATCH -v3 5/8] fsnotify: unified filesystem notific ...
Can't you do a lockless lookup and handle the insertion race? Also, since it creates the object if its not found, _find_ might not be the best name, how about obtain? --
Nov 27, 9:17 am 2008
Peter Zijlstra
Re: [PATCH -v3 5/8] fsnotify: unified filesystem notific ...
We're not sending any signals ;-) destroy or free perhaps? --
Nov 27, 9:21 am 2008
Peter Zijlstra
Re: [PATCH -v3 7/8] fsnotify: add in inode fsnotify markings
YUCK, BUT I GUESS VFS PEOPLE WILL HAVE TO VALIDATE ITS MERRIT. --
Nov 27, 9:29 am 2008
Peter Zijlstra
Re: [PATCH -v3 5/8] fsnotify: unified filesystem notific ...
That is quite horrible, please just open code that to keep the locking symmetric. --
Nov 27, 9:20 am 2008
Peter Zijlstra
Re: [PATCH -v3 6/8] fsnotify: add group priorities
What priority range do you need to cater for, and how many groups? I can imagine for many groups and limit range a priority list might be better suited. --
Nov 27, 9:25 am 2008
Henrique de Moraes H ...
Re: [PATCH v2] LEDs: allow led-drivers to use a wider th ...
Yeah, but one thing I learned from messing with rfkill is that little helper Or add an integer attribute for the fractional part (which takes some Frankly, I don't like the fact that LED_FULL survived. That's a trap waiting to be sprung on any unsuspecting maintainers adding or messing with LED support everywhere in the kernel... IMO, it'd be best to have an DEFAULT_LED_FULL_VALUE define you can use to set max_brightness where needed, and use the gcc facilities to deprecate any use of ...
Nov 27, 7:30 am 2008
Guennadi Liakhovetski
Re: [PATCH v2] LEDs: allow led-drivers to use a wider th ...
Emn, sorry, actually, that was supposed to be a joke:-) I would have to be _very_ hungry to programme that:-) Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de --
Nov 27, 7:46 am 2008
Pekka Enberg
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Hi Hugh, For SLUB, I think you can just replace the 100 with KSYM_NAME_LEN and it will work fine. The 100 constant is already supposed to be big enough to fit the symbol and the rest. I like this approach the best but I worry it's a can of worms especially this late in the cycle. As a stop-gap measure, I'm fine with your proposed patch either as-is or with the suggestions I had for the SLUB case. Pekka --
Nov 27, 2:23 pm 2008
Miles Lane
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
I don't recall doing a suspend/resume. I have tried to reproduce this BUG, but haven't managed it thus far. I will keep trying. I can't spend too much time on it, as I have a work project to complete. Thanks, Miles --
Nov 27, 9:14 am 2008
Christoph Lameter
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Your fix looks fine. The maximum symbol length needs to be supported by list_locations() althought a line with a symbol like that would look a bit weird. --
Nov 27, 3:51 pm 2008
Steven Rostedt
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Acked-by: Steven Rostedt <srostedt@redhat.com> Even on Turkey day ;-) -- Steve --
Nov 27, 4:27 pm 2008
Hugh Dickins
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
That would fix the bug that my sprint_symbol patch has exposed (or introduced, according to your perspective!); but that 100 can only be big enough to fit symbol and all the rest if you assume that maximum symbol length is ... I'm not sure exactly ... somewhere around 20 bytes? If we assume that, then why does KSYM_NAME_LEN allow 128? I'll agree that 128 seems rather on the high side (I'd abhor symbols of anywhere near that length in any code I came near), but that's what's allowed, I'd be ...
Nov 27, 2:56 pm 2008
Hugh Dickins
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Thanks for working that out. Several possibilities, I don't know which is the right one for now, hope Andrew can judge. I don't see passing the length of namebuf to kallsyms_lookup() as called for: it could have been designed that way from the start, but it wasn't, and I don't see this bug as any reason to change that. Reverting my patch for now: that's certainly a reasonable possibility, but leaves us with several other such bugs. Suggested patch below, but the ftrace part of it ...
Nov 27, 10:34 am 2008
Pekka Enberg
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Hi Hugh, (I'm adding Vegard to the cc as he pointed out the same thing.) Oh, right. I think I see where this is going. The buffer is coming from sysfs and is PAGE_SIZE long. In SLUB, we do check for overflows but list_locations() allows us to get as close as 100 bytes bytes from the edge of the page. Unfortunately, kallsyms_lookup() does: const char *kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long ...
Nov 27, 7:13 am 2008
Steven Rostedt
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
[ Added Frederic ] Acked-by: Steven Rostedt <srostedt@redhat.com> The boot tracer was written by Frederic. -- Steve --
Nov 27, 4:31 pm 2008
Hugh Dickins
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
I think you're looking at a 2.6.28-rc5 sprint_symbol() there: the world has moved on since those days. I changed it to use the supplied "buffer" instead of local "namebuf" in 2.6.28-rc6, so we have to wonder if my patch is to blame - though I don't see it. Sorry, I'm eating lunch then about to go out for a couple of hours: can't look into it now, but maybe this info will help you to make better sense of what's going on. Hugh --
Nov 27, 6:54 am 2008
Vegard Nossum
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Looks good, but I think you're looking at the wrong version of sprint_symbol(). Try: commit 966c8c12dc9e77f931e2281ba25d2f0244b06949 Author: Hugh Dickins <hugh@veritas.com> Date: Wed Nov 19 15:36:36 2008 -0800 sprint_symbol(): use less stack ... @@ -304,17 +304,24 @@ int sprint_symbol(char *buffer, unsigned long address) char *modname; const char *name; unsigned long offset, size; - char namebuf[KSYM_NAME_LEN]; + int len; - name = ...
Nov 27, 6:50 am 2008
Pekka Enberg
Re: 2.6.28-rc6-git1 -- BUG: unable to handle kernel pagi ...
Hi, (I'm jumping in as Andrew forwarded the bug to us thinking it's SLUB related.) Could be. I looked at the oops and I'm pretty sure SLUB is not at fault here. Decoding the oopsing code: [ 3866.841062] Code: df e8 39 d2 ff ff 5b 41 5c c9 c3 55 48 89 e5 41 57 49 89 cf 41 56 49 89 f6 41 55 49 89 d5 41 54 4d 89 c4 53 48 89 fb 48 83 ec 08 <41> c6 40 7f 00 41 c6 00 00 48 81 ff 00 90 20 80 72 09 48 81 ff results in: 0000000000000000 <.text>: 0: 41 c6 40 7f 00 ...
Nov 27, 6:37 am 2008
Peter Zijlstra
Re: Lockdep warning for iprune_mutex at shrink_icache_memory
Currently, no, but I'll see what I can do, it requires a bit of trickery to make that happen.. I'll let you know when I've sorted that out. --
Nov 27, 1:05 am 2008
Pavel Machek
Re: acpi_evaluate_integer broken by design
No, playing with driver for HP LED. Now... I guess the test confused me. Because it tests for irqs_disabled(), I assumed it was okay to call from interrupt context, Works for me. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Nov 27, 6:58 am 2008
Pavel Machek
Re: acpi_evaluate_integer broken by design
Sorry. I was kind of angry at that code because it does not contain With the HP LED driver... so this is "would be nice for 2.6.28, not Yep. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html --
Nov 27, 6:56 am 2008
KAMEZAWA Hiroyuki
Re: [PATCH] memcg reclaim shouldn't change zone->recent_ ...
On Tue, 25 Nov 2008 15:54:22 -0800 Hmm, I'll prepare renaming patch. scan_global_lru_p() ? or under_scanning_global_lru() ? Thanks, --
Nov 26, 8:49 pm 2008
Johannes Weiner
Re: [PATCH] memcg reclaim shouldn't change zone->recent_ ...
That only works well when you don't have to use underscores, "listp" or in Lisps where words can be hyphenated "loaded-module-p". How about just scanning_global_lru()? Hannes --
Nov 26, 8:59 pm 2008
Hiroshi Shimamoto
Re: [PATCH 3/3] x86: signal: unify signal_{32|64}.c
Hi Ingo, thanks for the above change, I think I was in a hurry because of Thanksgiving Day week. thanks, Hiroshi Shimamoto --
Nov 26, 5:16 pm 2008
Johannes Weiner
[rfc] vmscan: serialize aggressive reclaimers
Since we have to pull through a reclaim cycle once we commited to it, what do you think about serializing the lower priority levels completely? The idea is that when one reclaimer has done a low priority level iteration with a huge reclaim target, chances are that succeeding reclaimers don't even need to drop to lower levels at all because enough memory has already been freed. My testprogram maps and faults in a file that is about as large as my physical memory. Then it spawns off n ...
Nov 27, 10:36 am 2008
Lennart Sorensen
Re: [PATCH 1/9] LinuxPPS core support.
wikipedia (not that that really means much) claims antennae is correct for biology and antennas is correct for electronics. That seems to match what I do, not that I really ever talk about biology myself. :) Of course I am one of those people that thing disc means optical and disk means magnetic. Or disc for spiral track and disk for circular tracks. Both seem to work consistently, although I might be wrong and some optical media may in fact use circular tracks. -- Len Sorensen --
Nov 27, 9:50 am 2008
KOSAKI Motohiro
Re: [ltt-dev] [PATCH] Poll : introduce poll_wait_exclusi ...
Also my lttng knowledge isn't perfect. Then, I'd like to talk about another aspect. This patch was originally written for memory shortage notification to userland patch. Currently, many application has own various cache (e.g. almost GUI app has image cache, the VM of the langueage with GC feature has droppable garbege memory) However, To wake up all process makes thundering herd easily. because it wake up almost process in system. In addision, any process independent on each other. then, I ...
Nov 27, 5:50 am 2008
Davide Libenzi
Re: [ltt-dev] [PATCH] Poll : introduce poll_wait_exclusi ...
I dunno the LTT architecture, so I'm staying out of that discussion. But, if the patch you're trying to push is to avoid thundering herd of so many threads waiting on the single file*, you've got the same problem right there. You've got at least the spinlock protecting the queue where these threads are focusing, whose cacheline is bounced gets bounced all over the CPUs. Do you have any measure of the improvements that such poll_wait_exclusive() will eventually lead to? - ...
Nov 26, 5:08 pm 2008
Yinghai Lu
[PATCH 1/2] irq: sparseirq enabling v3
impact: new feature sparseirq add some kind of hash table as Ingo suggesting. remove dyna_array when sparse_irq is used (CONFIG_SPARSE_IRQ), use kzalloc_node to get irq_desc, irq_cfg use desc->chip_data for x86 to store irq_cfg also prepare need to add struct (irq_desc **descp) to ack_edge/level to make sure desc get updated try to pass desc cfg as more as possible to avoid list looking up. seperate move_irq_desc to another patch v2: use pointer array instead of hash v3: remove ...
Nov 26, 7:26 pm 2008
Yinghai Lu
[PATCH 2/2] irq: move irq_desc according to smp_affinity v3
impact: new feature move irq_desc with sparseirq if CONFIG_MOVE_IRQ_DESC is set make irq_desc to go with affinity aka irq_desc moving etc call move_irq_desc in irq_complete_move() legacy irq_desc is not moved, because they are allocated via static array v3: add calling to irq_to_desc after calling ack/eoi instead of passing desc for logical apic mode, need to add move_desc_in_progress_in_same_domain. otherwise it will not get moved. ==> also could need two phase to get irq_desc ...
Nov 26, 7:26 pm 2008
Fabio Comolli
Re: Regression in 2.6.28-rc and 2.6.27-stable - hibernat ...
Hi Will do tonight. I see that there are some other "ACPI: EC:" commits in 2.6.27.6 and 2.6.27.7. I'l just compile the ec.c file from 2.6.27.4 in 2.6.27.7 and test if the three commits introduced in 2.6.27.5 wouldn't revert cleanly, Regards, Fabio --
Nov 27, 8:17 am 2008
Fabio Comolli
Re: Regression in 2.6.28-rc and 2.6.27-stable - hibernat ...
Hi Reproduced with 2.6.27.7 with ec.c taken from 2.6.27.4 - after three minutes of freeze the laptop came back to normal as nothing had Regards, Fabio --
Nov 27, 2:54 pm 2008
David Miller
Re: [PATCH 14/32] ixgbe section fixes (against netdev)
From: Al Viro <viro@ZenIV.linux.org.uk> Applied, thanks Al. --
Nov 27, 4:34 pm 2008
Al Viro
Re: [PATCH 14/32] ixgbe section fixes (against netdev)
ixgbe_init_interrupt_scheme() is called from ixgbe_resume(). Build that with CONFIG_PM and without CONFIG_HOTPLUG and you've got a problem. Several helpers called by it also are misannotated __devinit. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> --- drivers/net/ixgbe/ixgbe_main.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index 7e1cc6e..f7228ad 100644 --- ...
Nov 27, 4:23 pm 2008
Ingo Molnar
Re: [PATCH 2/2] tracing: identify which executable objec ...
yes. The less intrusive your patch is, the more you utilize and generalize existing facilities, the better. You could split the Kconfig of LOCKSTAT into two bits: LOCKSTAT (core) and LOCKSTAT_PROC, where the proc bits are enabled separately. Your tracing approach could then reuse much of core LOCKSTAT (without even touching the code) and just plain "select LOCKSTAT" - without creating /proc/lockdep_stats. Peter, what do you think? Ingo --
Nov 27, 7:51 am 2008
Peter Zijlstra
Re: [PATCH 2/2] tracing: identify which executable objec ...
gentoo, just rebuild world with frame pointers ;-) --
Nov 27, 3:41 am 2008
Ingo Molnar
Re: [PATCH 2/2] tracing: identify which executable objec ...
Correct, that would be stupid. Your patches are nice. Right now they are in tracing/core and linux-next already. Ingo --
Nov 27, 7:10 am 2008
Peter Zijlstra
Re: [PATCH 2/2] tracing: identify which executable objec ...
Who says you need a distributor to recompile stuff.. there are plenty people running gentoo, and it doesn't take all that long to rebuild world on these multi-socket quad core boxen we have today ;-) Although with gcc getting ever slower and desktop software ever more bloated who knows,.. but then its your own fault if you install gnome and such, gentoo comes lean and mean from the stage3 cage. I wish more distros would be as easy to rebuild as gentoo is, its a real feature. --
Nov 27, 6:02 am 2008
Frank Ch. Eigler
Re: [PATCH 2/2] tracing: identify which executable objec ...
Hi - Well, that only goes so far. If this feature turns out unable to work without distributors recompiling all their stuff on, for example, x86-64, then expectations need to be reset. - FChE --
Nov 27, 5:48 am 2008
Török Edwin
Re: [PATCH 2/2] tracing: identify which executable objec ...
My assumption is that this feature will be used to trace individual applications, and not the system as a whole. Then you only need libc to be recompiled with frame pointers on, and your own application/your own application's libraries. That is what I want to use it for, and there isn't another solution that allows me to do this. Sure I can trace userspace alone using ptrace (which has its own overhead), and the kernel alone by using ftrace, but I can't combine those traces in a meaningful ...
Nov 27, 6:03 am 2008
Török Edwin
Re: [PATCH 2/2] tracing: identify which executable objec ...
Thanks. I can move on to the lock latency tracing ;) I'll send out a draft of tracepoints that I would need to trace lock latency. I'll try to put them in same place as lockstat (but not necesarely depending on lockstat being enabled). Once we reach a lock-tracepoints patch that all agree upon, I can (try to) write a ftrace-lock-latency that will have a histogram view (as you've suggested similar to what the likely/unlikely tracer already does), but also show separate counts per unique ...
Nov 27, 7:27 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
No not at all. It's always really useful to hear any problems like this. I'd like you to keep participating... for one thing I'd like you to test my mmap_sem patch ;) (when I finish it) --
Nov 27, 6:12 am 2008
Mike Waychison
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Yes, we've been slowly rolling out fadvise hints out, though not to prefetch, and definitely not for faulting. I don't see how issuing a prefetch right before we try to fault in a page is going to help matters. The pages may appear in pagecache, but they won't be uptodate by the time we look at them anyway, so we're back to square one. The best use for fadvise we've found is FADV_DONTNEED as it kicks off any IO for dirty pages asynchronously (except it misses metadata..). That it ...
Nov 27, 12:03 pm 2008
KOSAKI Motohiro
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Interesting. I tryed to demonstration /proc slowness. 1. make many process $ nice ./hackbench 120 process 10000 2. read /proc $ time ps -ef 0.16s user 0.57s system 1% cpu 46.859 total HAHAHA! That is really slow over my expected. --
Nov 27, 4:08 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Because as you said, your app is CPU bound and page faults aren't needing to sleep very much. There is too much contention on the write side, rather Yeah, that workload will be completely contended on the mmap_sem write-side if the files are in cache. The google patch won't help at all in that case. --
Nov 27, 6:05 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Are you doing appropriate posix_fadvise to prefetch in the files before faulting, and madvise hints if appropriate? --
Nov 27, 6:08 am 2008
Török Edwin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Thanks for the tips, but lets get back to the original question: why don't I see any performance improvement with the fault-retry patches? My testcase only compares reads file with mmap, vs. reading files with read, with different number of threads. Leaving aside other reasons why mmap is slower, there should be some speedup by running 4 threads vs 1 thread, but: 1 thread: read:27,18 28.76 1 thread: mmap: 25.45, 25.24 2 thread: read: 16.03, 15.66 2 thread: mmap: 22.20, 20.99 4 thread: ...
Nov 27, 5:52 am 2008
Mike Waychison
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Right, this can be an issue. The way around it should be to minimize the length of time any single lock holder can sit on it. Compared to what we have today with: - sleep in major fault with read lock held, - enqueue writer behind it, - and make all other faults wait on the rwsem The retry logic seems to be a lot better for forward progress. --
Nov 27, 12:22 pm 2008
Török Edwin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Hi, Thanks for the patch. I just tested it on top of 2.6.28-rc6-tip, see /proc/lock_stat output at the end. Running my testcase shows no significant performance difference. What am I doing wrong? Number of CPUs, 4 Number of threads ->, 1,, 2,, 4,, 8,, 16 Kernel version, read, mmap, read, mmap, read, mmap, read, mmap, read, mmap 2.6.27.6, 27.18, 25.45, 16.03, 22.20, 11.20, 19.90, 9.05, 19.69, 9.15, 20.38 2.6.28-rc6-tip + faultretry, 28.76, 25.24, 15.66, 20.99, 10.74, 19.41, 9.16, ...
Nov 27, 4:39 am 2008
Török Edwin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
It would be interesting to compare the performance of a threaded clamd, and of a clamd that uses multiple processes. Distributing tasks will be a bit more tricky, since it would need to use How about distributing tasks to a set of worked threads, is the overhead of using IPC instead of I understood that mmap() is not scalable, however look at http://lkml.org/lkml/2008/9/12/185, even fopen/fdopen does an (anonymous) mmap internally. That does not affect performance that much, since the ...
Nov 27, 5:21 am 2008
Peter Zijlstra
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
If its only monitoring, there might be another solution. If you can keep the required data in a separate (approximate) copy so that you don't need mmap_sem at all to show them. If your mmap_sem is so contended your latencies are unacceptable, adding more users to it - even statistics gathering, just isn't going to cure the situation. Furthermore, /proc code usually isn't written with performance in mind, so its usually simple and robust code. Adding it to a 'hot'-path like you're doing ...
Nov 27, 3:00 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Yes, it would be nice to reduce mmap_sem load regardless of any other fixes or problems. I guess they're not very worried about cacheline bouncing but more about hold time (how many sockets in these systems? 4 at most?) I guess it is the pagemap stuff that they use most heavily? pagemap_read looks like it can use get_user_pages_fast. The smaps and clear_refs stuff might have been nicer if they could work on ranges like pagemap. Then they could avoid mmap_sem as well (although maps would ...
Nov 27, 3:14 am 2008
Török Edwin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Sure, just send me your patch when it is ready (together, or before/after the rwsems patch). Best regards, --Edwin --
Nov 27, 6:23 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Software may just be doing a lot of mmap/munmap activity. threads + mmap is never going to be pretty because it is always going to involve broadcasting tlb flushes to other cores... Software writers shouldn't be scared of using processes (possibly with some shared memory). Actually, a lot of things get faster (like malloc, or file descriptor operations) because locks aren't needed. Despite common perception, processes are actually much *faster* than threads when doing common operations like ...
Nov 27, 5:03 am 2008
Peter Zijlstra
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Inter process pthread mutexes should be very fast in the latest kernels as they'll avoid the mmap_sem by use of get_user_pages_fast(). Not sure if pthread condition variables also work inter-process. --
Nov 27, 5:32 am 2008
Mike Waychison
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
This is much less of a worry. We expect to be able to look at these things on the order of 1HZ, so cacheline bouncing becomes negligible. Latency to lock acquire however hurts and is silly considering it's just another reader. Our monitoring software here is acting as a litmus test and the real pain is felt by other threads in the same process who are also blocked trying to acquire the read lock. --
Nov 27, 12:10 pm 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Yes, although you could use PTHREAD_PROCESS_SHARED pthread mutexes on It is really going to depend on a lot of things. What is involved in distributing tasks, how many cores and cache/TLB architecture of the system running on, etc. You want to distribute as much work as possible while touching as little memory as possible, in general. But if you're distributing threads over cores, and shared caches are physically tagged (which I think all x86 CPUs are), then you should be able to have ...
Nov 27, 5:39 am 2008
Nick Piggin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Hmm. How quantifiable is the benefit? Does it actually matter that you can read the proc file much faster? (this is for some automated workload management daemon or something, right?) Would it be possible to reduce mmap()/munmap() activity? eg. if it is due to a heap memory allocator, then perhaps do more batching or set As far as I understand, glibc does actually seperate notions of allocated virtual memory and allocated pages. By that I mean that it is very careful to return pages back to ...
Nov 27, 1:55 am 2008
Török Edwin
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Ok. Sorry for hijacking the thread, my testcase is not a good testcase for what this patch tries to solve. Best regards, --Edwin --
Nov 27, 6:10 am 2008
Mike Waychison
Re: [RFC v1][PATCH]page_fault retry with NOPAGE_RETRY
Correct. I don't recall the numbers from the pathelogical cases we were seeing, but iirc, it was on the order of 10s of seconds, likely exascerbated by slower than usual disks. I've been digging through my inbox to find numbers without much success -- we've been using a variant of this patch since 2.6.11. Török however identified mmap taking on the order of several milliseconds due to this exact problem: I know our tcmalloc team had made great strides to reduce mmap_sem ...
Nov 27, 2:28 am 2008
Hirokazu Takata
Re: [PATCH 1/3] percpu: fix percpu accessors to potentia ...
Acked-by: Hirokazu Takata <takata@linux-m32r.org> --
Nov 27, 10:59 am 2008
Jesse Barnes
Re: [PATCH] x86: always define DECLARE_PCI_UNMAP* macros
Yeah, that's fine with me. OTOH removing config options generally seems like a good idea too, so maybe this combination should just be disallowed. Or is there a good reason for this type of config? -- Jesse Barnes, Intel Open Source Technology Center --
Nov 27, 10:04 am 2008
Ingo Molnar
Re: [PATCH] x86: always define DECLARE_PCI_UNMAP* macros
applied to tip/x86/urgent (for v2.6.28), as this is a DMA mapping bugfix for IOMMUs. If the AMD IOMMU is turned on in the .config but CONFIG_GART_IOMMU is off (a rare but possible combo), we'd leak on unmap and crash the box quickly. Jesse, is that path of upstream merge fine with you? Ingo --
Nov 27, 4:45 am 2008
Rusty Russell
Re: core_param: call these really, really early.
True, I'd forgotten that most setup_arch()s call parse_early_param (there's a general call lower down in start_kernel). I actually think start_kernel should take a char *params as a parameter, but that's a big multi-arch change I wasn't prepared to hack up just yet. OK, now have three patches which clean up cmdline handling. They're big :( Will test a little and post... Cheers, Rusty. --
Nov 27, 1:02 am 2008
Christoph Hellwig
Re: [PATCH 1/6] fs: Introduce a per_cpu nr_dentry
Looks good modulo the exact version of the for_each_cpu loops that the experts in that area can help with. Same for the per_cpu nr_inodes patch. --
Nov 27, 2:41 am 2008
Christoph Hellwig
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to mo ...
special is not a useful name for a flag, by definition everything that needs a flag is special compared to the version that doesn't need a flag. The general idea of skippign the writer counts makes sense, but please give it a descriptive name that explains the not unmountable thing. And please kill your kern_mount wrapper and just set the flag manually. Also I think it should be a superblock flag, not a mount flag as you don't want thse to differ for multiple mounts of the same ...
Nov 27, 2:53 am 2008
Peter Zijlstra
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
It would be good to get a cpu hotplug handler here and move to for_each_online_cpu(). People are wanting distro's to be build with NR_CPUS=4096. --
Nov 27, 2:32 am 2008
David Miller
Re: [PATCH 5/6] fs: Introduce special inodes
From: Eric Dumazet <dada1@cosmosbay.com> No problem with networking part: Acked-by: David S. Miller <davem@davemloft.net> --
Nov 27, 1:20 am 2008
Christoph Lameter
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocat ...
I'd rather not be that drastic. Did you try increasing slub_min_objects instead? Try 40-100. If we find the right number then we should update the tuning to make sure that it pickes the right slab page sizes. --
Nov 26, 6:37 pm 2008
David Miller
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to mo ...
From: Eric Dumazet <dada1@cosmosbay.com> For networking bits: Acked-by: David S. Miller <davem@davemloft.net> --
Nov 27, 1:21 am 2008
Christoph Hellwig
Re: [PATCH 3/6] fs: Introduce a per_cpu last_ino allocator
Looks a little clumsy. One idea might be to have a special slab for synthetic inodes using new_inode and only assign it on the first allocation and after that re-use it. --
Nov 27, 2:46 am 2008
Eric Dumazet
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
Hum, I guess we can use regular percpu_counter for this... --
Nov 27, 3:01 am 2008
Christoph Hellwig
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to mo ...
Well, run a benchmark to see if it makes any difference. And when it does please always set the mount flag from the common mount code when it's set on the superblock, and document that this is the only valid way to set it. --
Nov 27, 3:10 am 2008
Eric Dumazet
Re: [PATCH 6/6] fs: Introduce kern_mount_special() to mo ...
Hum.. we have a superblock flag already, but testing it in mntput()/mntget() is going to be a litle bit expensive if we add a derefence ? if (mnt && mnt->mnt_sb->s_flags & MS_SPECIAL) { ... } --
Nov 27, 3:04 am 2008
Christoph Hellwig
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocat ...
As I told you before, you absolutely must include the fsdevel list and the VFS maintainer for a patchset like this. --
Nov 27, 2:39 am 2008
Eric Dumazet
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocat ...
4096/192 = 21 with slub_min_objects=22 : # cat /sys/kernel/slab/filp/order 1 # time ./socket8 real 0m1.725s user 0m0.685s sys 0m12.955s with slub_min_objects=45 : # cat /sys/kernel/slab/filp/order 2 # time ./socket8 real 0m1.652s user 0m0.694s sys 0m12.367s with slub_min_objects=80 : # cat /sys/kernel/slab/filp/order 3 # time ./socket8 real 0m1.642s user 0m0.719s sys 0m12.315s I would say slub_min_objects=45 is the optimal value on ...
Nov 26, 11:27 pm 2008
Christoph Lameter
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
NR_CPUS=4096 does not necessarily increase the number of possible cpus. --
Nov 27, 7:46 am 2008
Christoph Hellwig
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
The way it's used in writeback is utterly stupid and should be fixed :) But otherwise agreed. --
Nov 27, 2:48 am 2008
Peter Zijlstra
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
Also, this trade-off between global vs per_cpu only works if get_nr_inodes() is called significantly less than nr_inodes is changed. With it being called from writeback that might not be true for all workloads. One thing you can do about it is use the regular per-cpu counter stuff, which allows you to do an approximation of the global number (it also does all the hotplug stuff for you already). --
Nov 27, 2:39 am 2008
Andi Kleen
Re: [PATCH 4/6] fs: Introduce a per_cpu nr_inodes
Doesn't matter, possible cpus is always only set to what the machine supports. -Andi -- ak@linux.intel.com --
Nov 27, 3:07 am 2008
Christoph Lameter
Re: [PATCH 0/6] fs: Scalability of sockets/pipes allocat ...
That may be a good value. How many processor do you have? Look at calculate_order() in mm/slub.c: if (!min_objects) min_objects = 4 * (fls(nr_cpu_ids) + 1); We couild increase the scaling factor there or start with a mininum of 20 objects? Try Its good though to have examples where the queue management gets in the way of performance. --
Nov 27, 7:44 am 2008
Ian Campbell
Re: [PATCH 18 of 38] x86: unify pci iommu setup and allo ...
Yes, I think adding a comment to the existing code (option a) would be best. I actually have a small queue of other fixes which make swiotlb work properly for x86 PAE and HighMem but they are not particularly well baked at the moment. I'll include a patch to add a comment in that series. Ian. --
Nov 27, 10:14 am 2008
FUJITA Tomonori
Re: [PATCH 18 of 38] x86: unify pci iommu setup and allo ...
On Wed, 26 Nov 2008 09:36:49 +0000 If someone changes dma_get_seg_boundary to return a u64 value instead of unsigned long, this BUG_ON could happen on 32bit architectures. But you don't need to trigger BUG_ON for it. max_slots > 1UL << (BITS_PER_LONG - IO_TLB_SHIFT) should be fine for iommu_is_span_boundary(). Anyway, this is minor but would it be nice to make sure that anyone can easily understand the code without digging into the git log? a) dropping this patch and adding some comments ...
Nov 26, 8:43 pm 2008
Willy Tarreau
Re: WARNING: at net/sched/sch_generic.c:219 dev_watchdog ...
I had been facing this same issue 5-6 years ago when I tried my first DL2K. It always stopped transmitting after a few hundreds of packets on my machine while it was OK on another one. Mine was dual-athlon with an AMD chipset. A working one was a P3-933 with a ServerWorks chipset. I noticed that it would only lock up when plugged into a 64-bit slot, and it was fine in 32-bit slots (though it did work well on the P3 in a 64-bit slot). It was such a crappy chip that I finally threw it away, so I ...
Nov 27, 1:33 pm 2008
Willy Tarreau
Re: WARNING: at net/sched/sch_generic.c:219 dev_watchdog ...
On Wed, Nov 26, 2008 at 02:54:21PM -0800, Matt Carlson wrote: yes the switch does advertuse FC : willy@wtap:~$ dmesg|grep eth0 eth0: Tigon3 [partno(BMC5705mA3) rev 3003 PHY(5705)] (PCI:33MHz:32-bit) 10/100/1000Base-T Ethernet 00:0d:9d:91:ef:24 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[0] TSOcap[1] eth0: dma_rwctrl[763f0000] dma_mask[64-bit] tg3: eth0: Link is up at 100 Mbps, full duplex. I know ;-) but not seeing the problem, I started to suspect that the other switch was a ...
Nov 26, 10:16 pm 2008
Frantisek Hanzlik
Re: WARNING: at net/sched/sch_generic.c:219 dev_watchdog ...
I got same issue two days ago on PCI-X Fiber 1000BASE-SX D-Link Adapter DGE-550SX/dl2k driver (I report it yesterday). This card work fine in old DEC Alphaserver 800/Fedora Core 5/kernel 2.6.17. We use it for our internet connections, which is limited to approx. 50 Mb/sec by ISP, then I think there should be no bottleneck in LAN card. We just tried install new i386 based router (Core2Duo E8500/4GB RAM/ 4x Realtek 8111C and this D-Link from old Alphaserver, on Fedora 10, kernel 2.6.27.5). Router ...
Nov 27, 3:06 am 2008
Avi Kivity
Re: [Lguest] [PATCH RFC/RFB] x86_64, i386: interrupt dis ...
Nice. Can actually go to zero, by pointing the IDT at (unmapped_area + vector), and deducing the vector in the page fault handler from cr2. -- error compiling committee.c: too many arguments to function --
Nov 27, 3:13 am 2008
H. Peter Anvin
Re: [Lguest] [PATCH RFC/RFB] x86_64, i386: interrupt dis ...
On the entirely silly level... CC xx -hpa --
Nov 26, 5:03 pm 2008
Avi Kivity
Re: [Lguest] [PATCH RFC/RFB] x86_64, i386: interrupt dis ...
One virtual byte; zero physical bytes. unmapped_area above need not be mapped. -- error compiling committee.c: too many arguments to function --
Nov 27, 3:59 am 2008
Andi Kleen
Re: [Lguest] [PATCH RFC/RFB] x86_64, i386: interrupt dis ...
That would be still one byte, otherwise you wouldn't get a unique index. -Andi -- ak@linux.intel.com --
Nov 27, 3:56 am 2008
Vladislav Bolkhovitin
Re: Slow file transfer speeds with CFQ IO scheduler in s ...
Actually, there's one more thing, which should have been mentioned. It is possible that remote clients have several sequential read streams at time together with some "noise" of random requests. A good read-ahead subsystem should handle such case by keeping big read-ahead windows for the sequential streams and don't do any read ahead for the random requests. And all at the same time. Currently on such workloads read ahead will be completely disabled for all the requests. Hence, there ...
Nov 27, 10:46 am 2008
Takashi Iwai
Re: [alsa-devel] 2.6.26.[6|7]-rt11, alsa rawmidi, seq ha ...
At Wed, 19 Nov 2008 12:44:23 +0100, Nando, any chance to test on your machines? thanks, --
Nov 27, 9:50 am 2008
Fernando Luis
Re: [patch 0/4] [RFC] Another proportional weight IO con ...
On the client side NFS does not go through the block layer so no control is possible there. As Vivek pointed out this could be tackled at the network layer. Though I guess we could make do with a solution that controls just the number of dirty pages (this would work for NFS writes since the NFS superblock has a backing_device_info structure associated No, it is not equivalent. When using devices drivers that provide their own make_request_fn() (check for devices that ...
Nov 27, 1:43 am 2008
Peter Zijlstra
Re: [PATCH V2 1/3] Factor out #ifdef's from kernel/spinl ...
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --
Nov 27, 8:32 am 2008
Peter Zijlstra Nov 27, 8:33 am 2008
Pekka Enberg
Re: [PATCH 1/7] Adding empia base driver
On Thu, Nov 27, 2008 at 6:25 AM, Markus Rechberger Again, it's not personal, it's the way we do things here. But you should already know that by now so whatever. What puzzles me the most here is why isn't Empia simply providing datasheets to other developers as well. I mean, even the GPU and wireless vendors know how to play well with the community now, so what's the problem? Being locked to just one developer who's unwilling to cooperate doesn't sound like a winning strategy to me. Greg, ...
Nov 27, 2:33 am 2008
Markus Rechberger
Re: [PATCH 1/7] Adding empia base driver
the exact cause was that the vbi buffer handling was connected with the video buffer handling back then. It crashed at certain scenarios. VBI has been reworked completely since then, also the offsets. It's a well I initially worked on that driver since 2005(!) and at least helped more than I pointed out a couple of times that the license is no issue with the The driver has been exported so far, that's all I'll ever offer. In future to avoid those clashes I'll simply use the i2c-dev ...
Nov 26, 9:25 pm 2008
Lennart Sorensen
Re: How to add the Asus R1F to asus-laptop.c?
I finally got a chance to play with this. Turns out asus-laptop DOES work. It however does NOT work if asus-acpi is already loaded, which for some reason udev likes to do automatically because both claim to support the same devices, but they sure aren't equal. Now once asus-acpi is unloaded and asus-laptop loaded, then it does appear to do stuff. fn+f2 does manage to do something, although not consistently or very reliably, but I suspect that may be a user space acpi events problem to do ...
Nov 27, 8:14 am 2008
Jan Engelhardt
Re: [ANNOUNCE] OSS Proxy using CUSE
Unreal Tournament GOTY/99 does not (seem to). And I doubt someone is going to fix commercial games. Though being a static binary, its use of shared libraries that do the sound device open makes aoss a possibility, if that helps. But it does not support ALSA natively - and would make a point for CUSE. --
Nov 27, 1:59 pm 2008
previous daytodaynext day
November 26, 2008November 27, 2008November 28, 2008