linux-kernel mailing list

FromSubjectsort iconDate
Arnaldo Carvalho de Melo
[PATCH v2 1/5] perf symbols: Bump plt synthesizing warni ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/symbol.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 323c0ae..75cd468 100644 --- a/tools/perf/util/symbol.c +++ ...
Mar 11, 4:12 pm 2010
Arnaldo Carvalho de Melo
[PATCH v2 5/5] perf report: Initial TUI using newt
From: Arnaldo Carvalho de Melo <acme@redhat.com> Newt has widespread availability and provides a rather simple API as can be seen by the size of this patch. The work needed to support it will benefit other frontends too. In this initial patch it just checks if the output is a tty, if not it falls back to the previous behaviour, also if newt-devel/libnewt-dev is not installed the previous behaviour is maintaned. Pressing enter on a symbol will annotate it, ESC in the annotation window ...
Mar 11, 4:12 pm 2010
Arnaldo Carvalho de Melo
Re: [PATCH v2 5/5] perf report: Initial TUI using newt
For those not so curious as to apply and try it out, here is a screenshot of it in action: - Arnaldo --
Mar 11, 4:29 pm 2010
Arnaldo Carvalho de Melo
[PATCH v2 3/5] perf tools: Use eprintf for pr_{err,warni ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> Just like we do for pr_debug, so that we can have a single point where to redirect to the currently used output system, be it stdio or newt. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/debug.h | 2 -- ...
Mar 11, 4:12 pm 2010
Arnaldo Carvalho de Melo
[PATCH v2 4/5] perf tools: Add missing bytes printed in ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> We need those to properly size the browser widht in the newt TUI. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/hist.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/perf/util/hist.c ...
Mar 11, 4:12 pm 2010
Arnaldo Carvalho de Melo
[PATCH v2 2/5] perf top: Export get_window_dimensions
From: Arnaldo Carvalho de Melo <acme@redhat.com> Will be used by the newt code too. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/builtin-top.c | 2 +- tools/perf/perf.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tools/perf/builtin-top.c ...
Mar 11, 4:12 pm 2010
Lars Lindley
[PATCH 2/2] staging: hv: trivial whitespace fixes found ...
--- drivers/staging/hv/Connection.c | 4 ++-- drivers/staging/hv/NetVsc.c | 4 ++-- drivers/staging/hv/RingBuffer.c | 2 +- drivers/staging/hv/StorVsc.c | 4 ++-- drivers/staging/hv/VersionInfo.h | 4 ++-- drivers/staging/hv/blkvsc_drv.c | 10 +++++----- drivers/staging/hv/rndis.h | 2 +- drivers/staging/hv/storvsc_drv.c | 4 ++-- drivers/staging/hv/vmbus_drv.c | 14 +++++++------- 9 files changed, 24 insertions(+), 24 deletions(-) diff --git ...
Mar 11, 3:51 pm 2010
Johannes Berg
firmware loading vs. initrd
Hi, We recently converted a few wireless drivers to use request_firmware_nowait() in order to be able to load firmware from probe. We would like to continue with that so we can load the firmware before registering with any other subsystems, as we had discussed at the wireless summit last year. However, in actually trying this today, I noticed that there's a problem with this. I made my drivers all built in, and then I ended up with it not working because the firmware agent that was in my ...
Mar 11, 3:39 pm 2010
Johannes Berg
[PATCH] firmware class: export nowait to userspace
When we use request_firmware_nowait(), userspace may not want to answer negatively right away when for example it is answering from an initrd only, but with request_firmware() it has to in order to not delay the kernel boot until the request times out. This allows userspace to differentiate between the two in order to be able to reply negatively to async requests only when all filesystems have been mounted and have been checked for the requested firmware file. Signed-off-by: Johannes Berg ...
Mar 11, 3:56 pm 2010
Arnaldo Carvalho de Melo
[PATCH 1/6] perf symbols: Bump plt synthesizing warning ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/symbol.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 323c0ae..75cd468 100644 --- a/tools/perf/util/symbol.c +++ ...
Mar 11, 3:13 pm 2010
Arnaldo Carvalho de Melo
[PATCH 3/6] perf tools: Use eprintf for pr_{err,warning, ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> Just like we do for pr_debug, so that we can have a single point where to redirect to the currently used output system, be it stdio or newt. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/debug.h | 2 -- ...
Mar 11, 3:13 pm 2010
Arnaldo Carvalho de Melo
[PATCH 2/6] perf top: Export get_window_dimensions
From: Arnaldo Carvalho de Melo <acme@redhat.com> Will be used by the newt code too. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/builtin-top.c | 2 +- tools/perf/perf.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tools/perf/builtin-top.c ...
Mar 11, 3:13 pm 2010
Arnaldo Carvalho de Melo
[PATCH 6/6] perf report: Initial TUI using newt
From: Arnaldo Carvalho de Melo <acme@redhat.com> Newt has widespread availability and provides a rather simple API as can be seen by the size of this patch. The work needed to support it will benefit other frontends too. In this initial patch it just checks if the output is a tty, if not it falls back to the previous behaviour, also if newt-devel/libnewt-dev is not installed the previous behaviour is maintaned. Pressing enter on a symbol will annotate it, ESC in the annotation window ...
Mar 11, 3:13 pm 2010
Arnaldo Carvalho de Melo
Re: [PATCH 6/6] perf report: Initial TUI using newt
Argh, please don't consider this last patch (6/6), I messed up, will repost just this one in a few moments. - Arnaldo --
Mar 11, 3:15 pm 2010
Arnaldo Carvalho de Melo
Re: [PATCH 6/6] perf report: Initial TUI using newt
Actually the problem was that 4/6 should be merged with 6/6, so I'm just sending the by now 5 patch series with a v2 tag in some jiffies. Sorry for the confusion, - Arnaldo --
Mar 11, 3:22 pm 2010
Arnaldo Carvalho de Melo
[PATCH 4/6] perf report: Initial TUI using newt
From: Arnaldo Carvalho de Melo <acme@redhat.com> Newt has widespread availability and provides a rather simple API as can be seen by the size of this patch. The work needed to support it will benefit other frontends too. In this initial patch it just checks if the output is a tty, if not it falls back to the previous behaviour, also if newt-devel/libnewt-dev is not installed the previous behaviour is maintaned. Pressing enter on a symbol will annotate it, enter again and the report ...
Mar 11, 3:13 pm 2010
Arnaldo Carvalho de Melo
[PATCH 5/6] perf tools: Add missing bytes printed in his ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> We need those to properly size the browser widht in the newt TUI. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/util/hist.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/hist.c ...
Mar 11, 3:13 pm 2010
Takashi Iwai
[GIT PULL] sound fixes
Linus, please pull ALSA updates for v2.6.34-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus containing the following small fixes. Thanks! Takashi === Ralf Gerbig (1): ALSA: hda - Sound MSI fallout on a Asus mobo NVIDIA MCP55 Randy Dunlap (1): sound: fix opti92x-ad1848 build Takashi Iwai (2): ALSA: hda - Fix wrong model range check for ALC268 ALSA: hda - Fix input source elements of secondary ADCs on ...
Mar 11, 2:41 pm 2010
akpm
mmotm 2010-03-11-13-13 uploaded
The mm-of-the-moment snapshot 2010-03-11-13-13 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://zen-kernel.org/kernel/mmotm.git It contains the following patches against ...
Mar 11, 2:13 pm 2010
Fabio Comolli
Re: Possible bug in eeepc-laptop.c - EeePC 900
Hi. Well, it turns out that this is indeed a regression, but I don't know from which kernel version. I reverted (not cleanly) this patch: http://patchwork.kernel.org/patch/28591 and now echo 1 > /sys/devices/platform/eeepc/cpufv enables the powersave mode and echo 0 > /sys/devices/platform/eeepc/cpufv enables the performance mode. Tested with the non-benchmark glxgears (275 frames/sec in powersave mode and 405 in performance mode) and stellarium (14 ...
Mar 11, 2:28 pm 2010
Grant Likely
[git pull] driver bug fixes and mpc5200 defconfig updates
Hi Linus, Here are some driver bug fixes, and the requisite powerpc-mpc5200 defconfig updates. The defconfig updates would normally go through Ben's tree, but since that is the only change I have that would go through his tree I'm hoping that it is okay to have it here. Cheers, g. The following changes since commit 57d54889cd00db2752994b389ba714138652e60c: Linus Torvalds (1): Linux 2.6.34-rc1 are available in the git repository at: git://git.secretlab.ca/git/linux-2.6 ...
Mar 11, 2:11 pm 2010
Andrew Lutomirski
Missing btrfs.8.in in latest git
The new btrfs util was just added on the subvol branch of btrfs-progs-unstable, and man/Makefile wants to build btrfs.8.gz, but the source is missing. Presumably it should either be added or the makefile adjusted. --
Mar 11, 2:09 pm 2010
eranian
[PATCH] perf_events: remove bogus Intel Core constraint ...
Contrary to what Vol3b section 30.4.3 leads to believe, there is no constraint on ITLB_MISS_RETIRED on Intel Core-based CPU, so remove it. Signed-off-by: Stephane Eranian <eranian@google.com> -- perf_event_intel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c b/arch/x86/kernel/cpu/perf_event_intel.c index 971dc6e..58e83cd 100644 --- a/arch/x86/kernel/cpu/perf_event_intel.c +++ b/arch/x86/kernel/cpu/perf_event_intel.c @@ -43,7 +43,6 @@ static ...
Mar 11, 1:59 pm 2010
Peter Zijlstra
Re: [PATCH] perf_events: remove bogus Intel Core constra ...
Is that from Intel, and will they clarify the text in the next version --
Mar 11, 2:07 pm 2010
Stephane Eranian
Re: [PATCH] perf_events: remove bogus Intel Core constra ...
-- Stephane Eranian  | EMEA Software Engineering Google France | 38 avenue de l'Opéra | 75002 Paris Tel : +33 (0) 1 42 68 53 00 This email may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it went to the wrong person. Thanks --
Mar 11, 2:09 pm 2010
Eric Dumazet
[PATCH] kobject: Fix kobject_set_name_vargs()
In case of kvasprintf() failure, we can leak old kobject name. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> --- diff --git a/lib/kobject.c b/lib/kobject.c index 8115eb1..1247c57 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -222,8 +222,10 @@ int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, return 0; kobj->name = kvasprintf(GFP_KERNEL, fmt, vargs); - if (!kobj->name) + if (!kobj->name) { + kobj->name = old_name; return -ENOMEM; + } /* ewww... ...
Mar 11, 1:50 pm 2010
Marcelo Roberto Jimenez
[PATCH 1/4] ARM: mach-sa1100: fix checkpatch.pl issues.
This patch fixes checkpatch.pl issues in drivers/rtc/rtc-sa1100.c, which I will later mofify. Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> --- drivers/rtc/rtc-sa1100.c | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index e4a44b6..e19ed0f 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c @@ -39,7 +39,7 @@ #include <mach/regs-ost.h> #endif ...
Mar 11, 1:10 pm 2010
Marcelo Roberto Jimenez
[PATCH 2/4] ARM: mach-sa1100: Print the value of RTSR on ...
This patch adds a line to the output of /proc/drivers/rtc to show the value of the RTSR register. It will be used to demonstrate a nasty initialization bug that will be fixed in the sequence. Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> --- drivers/rtc/rtc-sa1100.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index e19ed0f..b04c837 100644 --- a/drivers/rtc/rtc-sa1100.c +++ ...
Mar 11, 1:10 pm 2010
Marcelo Roberto Jimenez
[PATCH 4/4] ARM: mach-sa1100: Better use of the RTC fram ...
This patch uses the RTC framework to treat some common ioctl. In particular, it fixes the behaviour of rtc_irq_set_freq(), which did not work as expected because the timer was not beeing retriggered. Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> --- drivers/rtc/rtc-sa1100.c | 90 +++++++++++++++++++++++++++++++++------------ 1 files changed, 66 insertions(+), 24 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index b0985f7..738503c ...
Mar 11, 1:10 pm 2010
Marcelo Roberto Jimenez
[PATCH 3/4] ARM: mach-sa1100: Fix for a nasty initializa ...
This patch fixes a nasty initialization condition on the RTSR register. Sometimes, bit 1 will wake up set, sometimes not. This can be seen by checking the value of the RTSR by typing '$ cat /proc/driver/rtc', which has been provided by the previous patch. If this bit is set, the command '$ cat /dev/rtc0' will lock the system in an endless interrupt routine calling loop. This patch fixes the issue both at sa1100_rtc_probe(), where it avoids a spurious interrupt from happening, and at ...
Mar 11, 1:10 pm 2010
Marcelo Roberto Jimenez
[PATCH] ARM: mach-sa1100: Put nanoEngine support back in ...
Adds Bright Star Engineering's nanoEngine board support to the kernel. Signed-off-by: Marcelo Roberto Jimenez <mroberto@cpti.cetuc.puc-rio.br> Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com> --- arch/arm/configs/nanoengine_defconfig | 1396 +++++++++++++++++++++++++++++++++ arch/arm/mach-sa1100/Kconfig | 8 + arch/arm/mach-sa1100/Makefile | 2 + arch/arm/mach-sa1100/nanoengine.c | 116 +++ 4 files changed, 1522 insertions(+), 0 deletions(-) create ...
Mar 11, 1:09 pm 2010
Andreas Mohr
Re: Anyone using ray_cs wireless driver?
Would that be... me? ;) I _think_ my cards are ray_cs. What I know for 199% certainty is that they _are_ FHSS, i.e. pre-DSSS 802.11, as such chances are moderately high ;) (these are two or possibly even three PCMCIA cards, with a PCI-PCMCIA adapter) I don't have them here right now (and didn't find any meaningful traces on the PC that I used to use them with, back in <= 2002 or so...), but I can fetch them very soon and possibly test them (no promises ATM though). Out of interest: how ...
Mar 11, 1:06 pm 2010
Andreas Mohr Mar 11, 1:26 pm 2010
Bjorn Helgaas
Re: PCI: Cannot allocate resource regions of bridge and ...
Hi Andrew, Did you ever get this ancient (2006!) issue resolved? I didn't see any responses on the list, and Lara is having a sort of similar issue: http://bugzilla.kernel.org/show_bug.cgi?id=15436 I think your problem was that Linux saw the Radeon card but didn't assign resources correctly, while in Lara's case, Linux doesn't see the card at all. I suspect that your problem has been resolved in the meantime and that Lara's might be broken hardware, but if yours is still broken, I'd ...
Mar 11, 1:05 pm 2010
Andrew Baumann
Re: PCI: Cannot allocate resource regions of bridge and ...
Wow, that is ancient! I'm afraid I can't help you, as I no longer have the hardware in question, but I found some sort of workaround. It either involved kernel boot parameters or a newer version of the kernel, and I don't recall the details, but I did eventually get the card to work. Sorry this isn't any use, Andrew --
Mar 11, 4:58 pm 2010
Philby John
[PATCH] MIPS: Fix compile error implicit declaration of ...
The commit 38b7827fc removed cpu_local_xx macros that lead to a compile error: implicit declaration of function 'cpu_local_wrap', when compiled for the MIPS Cavium Octeon processors. Revert back to old code. CC: Christoph Lameter <cl@linux-foundation.org> CC: Tejun Heo <tj@kernel.org> CC: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Philby John <pjohn@mvista.com> --- arch/mips/include/asm/local.h | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 ...
Mar 11, 1:03 pm 2010
David Daney
Re: [PATCH] MIPS: Fix compile error implicit declaration ...
Ralf is testing a different patch for this problem. --
Mar 11, 1:09 pm 2010
David Howells
[PATCH] Document Linux's circular buffering capabilities ...
Document the circular buffering capabilities available in Linux. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> --- Documentation/circular-buffers.txt | 231 ++++++++++++++++++++++++++++++++++++ Documentation/memory-barriers.txt | 20 +++ include/linux/circ_buf.h | 4 + 3 files changed, 255 insertions(+), 0 deletions(-) create mode 100644 Documentation/circular-buffers.txt diff --git ...
Mar 11, 12:26 pm 2010
Randy Dunlap Mar 11, 1:05 pm 2010
David Howells
[PATCH] Document Linux's circular buffering capabilities ...
Document the circular buffering capabilities available in Linux. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> --- Documentation/circular-buffers.txt | 231 ++++++++++++++++++++++++++++++++++++ Documentation/memory-barriers.txt | 20 +++ include/linux/circ_buf.h | 4 + 3 files changed, 255 insertions(+), 0 deletions(-) create mode 100644 Documentation/circular-buffers.txt diff --git ...
Mar 11, 12:20 pm 2010
David Howells Mar 11, 12:25 pm 2010
Ingo Molnar
[GIT PULL] perf fixes
Linus, Please pull the latest perf-fixes-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git perf-fixes-for-linus Thanks, Ingo ------------------> Arnaldo Carvalho de Melo (1): perf archive: Don't try to collect files without a build-id Frederic Weisbecker (5): perf lock: Drop the buffers multiplexing dependency perf: Remove pointless breakpoint union x86/hw-breakpoints: Remove the name field ...
Mar 11, 12:12 pm 2010
pavel
trivial: remove no longer working email address
pavel@suse.cz address is no longer working email address, remove its traces. (And yes, it means I'm looking for a job.) Signed-off-by: Pavel Machek <pavel@ucw.cz> diff --git a/Documentation/hwmon/hpfall.c b/Documentation/hwmon/hpfall.c index 5ac7e42..0b48254 100644 --- a/Documentation/hwmon/hpfall.c +++ b/Documentation/hwmon/hpfall.c @@ -1,7 +1,7 @@ /* Disk protection for HP machines. * * Copyright 2008 Eric Piel - * Copyright 2009 Pavel Machek <pavel@suse.cz> + * Copyright 2009 ...
Mar 11, 12:00 pm 2010
pavel
lxfb_core: support 800x480 panel
I need something like this to support full resolution of internal LCD panel on Kohjinsha subnotebook. (Note: I basically made up the numbers, if someone knows how to generate them properly, let me know. It somehow works even on external display, but last few columns are missing.) Signed-off-by: Pavel Machek <pavel@ucw.cz> index 889cbe3..2c04a01 100644 --- a/drivers/video/geode/lxfb_core.c +++ b/drivers/video/geode/lxfb_core.c @@ -37,6 +37,9 @@ static int vt_switch; */ static ...
Mar 11, 12:00 pm 2010
Arnaldo Carvalho de Melo
[PATCH 1/2] perf record: Don't try to find buildids in a ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> Fixing this symptom: [acme@mica linux-2.6-tip]$ perf record -a -f Fatal: Permission error - are you root? Bus error [acme@mica linux-2.6-tip]$ I.e. if for some reason no data is collected, in this case a non root user trying to do systemwide profiling, no data will be collected, and then we end up trying to mmap a zero sized file and access the file header, b00m. Reported-by: Ingo Molnar <mingo@elte.hu> Cc: Frédéric Weisbecker ...
Mar 11, 11:53 am 2010
Arnaldo Carvalho de Melo
[PATCH 2/2] perf record: Mention paranoid sysctl when fa ...
From: Arnaldo Carvalho de Melo <acme@redhat.com> [acme@mica linux-2.6-tip]$ perf record -a -f Fatal: Permission error - are you root? Consider tweaking /proc/sys/kernel/perf_event_paranoid. [acme@mica linux-2.6-tip]$ Suggested-by: Ingo Molnar <mingo@elte.hu> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- ...
Mar 11, 11:53 am 2010
Jack Steiner
[PATCH] x86, UV: Fix target_cpus() in x2apic_uv_x.c
target_cpu() should initially target all cpus, not just cpu 0. Otherwise systems with lots of disks can exhaust the interrupt vectors on cpu 0 if a large number of disks are discovered before the irq balancer is running. Note: UV code only... Signed-off-by: Jack Steiner <steiner@sgi.com> --- arch/x86/kernel/apic/x2apic_uv_x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index: ...
Mar 11, 11:43 am 2010
Alexey Dobriyan
[PATCH] headers: detach sched.h and mm_types.h
* remove mm_types.h inclusion and the rest of mm stuff from sched.h to make sched.h inclusion cheaper. * move stuff to linux/mm.h * move init_mm declaration to mm_types.h to overcome interdependencies on sparc64 * remove linux/aio.h inclusion, it wasn't needed in sched.h, no need to move it. Patch not exactly well compiled tested as I'd like, still survived many configs across 10 arches and even UML. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> --- ...
Mar 11, 11:31 am 2010
Sachin Prabhu
[PATCH] v9fs: Skip check for mandatory locks when unlocking
While investigating a bug, I came across a possible bug in v9fs. The problem is similar to the one reported for NFS by ASANO Masahiro in http://lkml.org/lkml/2005/12/21/334. v9fs_file_lock() will skip locks on file which has mode set to 02666. This is a problem in cases where the mode of the file is changed after a process has obtained a lock on the file. Such a lock will be skipped during unlock and the machine will end up with a BUG in locks_remove_flock(). v9fs_file_lock() should skip the ...
Mar 11, 10:53 am 2010
Chihau Chau
[PATCH] Drivers: pci: code style cleanup
From: Chihau Chau <chihau@gmail.com> This is a code style cleanup related with spaces, like a lot of trailing withspaces, spaces before a TAB, to use "foo * bar" instead of "foo *bar" and to put a else sentence below close brace '}'. Signed-off-by: Chihau Chau <chihau@gmail.com> --- drivers/pci/pci.c | 51 +++++++++++++++++++++++++-------------------------- 1 files changed, 25 insertions(+), 26 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 77b493b..d81d02e ...
Mar 11, 10:53 am 2010
Steven Whitehouse
GFS2: Pull request (fixes)
Hi, Please consider pulling the following small fixes, Steve. ------------------------------------------------------------------------------ The following changes since commit 57d54889cd00db2752994b389ba714138652e60c: Linus Torvalds (1): Linux 2.6.34-rc1 are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes.git master Benjamin Marzinski (1): GFS2: Allow the number of committed revokes to temporarily be ...
Mar 11, 10:41 am 2010
Eric Dumazet
[RFC] kmemleak: Is DMI supported ?
Hi Catalin On my i686 machine, I have CONFIG_DMI=y and 12 entries in /sys/firmware/memmap/ like first one named "0" : $ grep . /sys/firmware/memmap/0/* /sys/firmware/memmap/0/end:0x9f3ff /sys/firmware/memmap/0/start:0x0 /sys/firmware/memmap/0/type:System RAM All 12 kobjects are allocated in DMI zone between c1001000 b .brk.dmi_alloc c1011000 B __brk_limit) see arch/x86/kernel/setup.c:124 #ifdef CONFIG_DMI RESERVE_BRK(dmi_alloc, 65536); #endif Still kmemleak seems to thing ...
Mar 11, 10:34 am 2010
Yang, Xu
Code 2:3:5 {urgent}
Dear Email user, Your mailbox has exceeded the storage limit set by your administrator. You may not be able to send or receive new mail until your mailbox size is increased by our helpdesk administrator. To increase your storage limit.click http://www.mysurvs.com/survey/230247907/1/ You will continue to receive this warning message periodically if your inbox size continues to exceed its size limit. This email is intended only for the use of the individual or entity to which it is ...
Mar 11, 10:33 am 2010
Steven Whitehouse
GFS2: Pre-pull patch posting
Here are three small (but important!) fixes to GFS2. Steve. --
Mar 11, 10:21 am 2010
Steven Whitehouse
[PATCH 2/3] GFS2: Allow the number of committed revokes ...
From: Benjamin Marzinski <bmarzins@redhat.com> GFS2 tracks the number of revokes and unrevokes that are part of committed transactions via sd_log_commited_revoke. It is possible for one process to add revokes during its transaction, while another process unrevokes them during its transaction. If the second process finishes its transaction first, sd_log_commited_revoke will be decremented by the number of unrevokes that the second process did, without first being incremented by the number of ...
Mar 11, 10:22 am 2010
Steven Whitehouse
[PATCH 3/3] GFS2: Skip check for mandatory locks when un ...
From: Sachin Prabhu <sprabhu@redhat.com> gfs2_lock() will skip locks on file which have mode set to 02666. This is a problem in cases where the mode of the file is changed after a process has obtained a lock on the file. Such a lock will be skipped and will result in a BUG in locks_remove_flock(). gfs2_lock() should skip the check for mandatory locks when unlocking a file. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> --- ...
Mar 11, 10:22 am 2010
Steven Whitehouse
[PATCH 1/3] GFS2: do not select QUOTA
From: Christoph Hellwig <hch@infradead.org> gfs2 only needs the quotactl code, not the generic quota implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> --- fs/gfs2/Kconfig | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/gfs2/Kconfig b/fs/gfs2/Kconfig index 4dcddf8..a47b431 100644 --- a/fs/gfs2/Kconfig +++ b/fs/gfs2/Kconfig @@ -8,7 +8,6 @@ config GFS2_FS select FS_POSIX_ACL select CRC32 ...
Mar 11, 10:21 am 2010
Stephen Rothwell Mar 11, 4:48 pm 2010
Grant Likely
[PATCH 0/3] Various OF cleanups
Here are some simple fixes to make the OF header files safe to include when CONFIG_OF is not set, and add some debug context messages. Cheers, g. --- Grant Likely (3): of: protect contents of of_platform.h and of_device.h of/flattree: Make unflatten_device_tree() safe to call from any arch of/flattree: make of_fdt.h safe to unconditionally include. drivers/of/fdt.c | 15 +++++++++++++++ include/linux/of_device.h | 2 ++ include/linux/of_fdt.h ...
Mar 11, 10:31 am 2010
Grant Likely
[PATCH 1/3] of/flattree: make of_fdt.h safe to unconditi ...
If CONFIG_OF_FLATTREE is not set, then don't process the body of linux/of_fdt.h Signed-off-by: Grant Likely <grant.likely@secretlab.ca> --- include/linux/of_fdt.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/of_fdt.h b/include/linux/of_fdt.h index a1ca92c..f0fdd1f 100644 --- a/include/linux/of_fdt.h +++ b/include/linux/of_fdt.h @@ -57,6 +57,7 @@ struct boot_param_header { __be32 dt_struct_size; /* size of the DT structure block */ }; ...
Mar 11, 10:31 am 2010
Grant Likely
[PATCH 2/3] of/flattree: Make unflatten_device_tree() sa ...
This patch makes unflatten_device_tree() safe to call from any arch setup code with the following changes: - Make sure initial_boot_params actually points to a device tree blob before unflattening - Make sure the initial_boot_params->magic field is correct - If CONFIG_OF_FLATTREE is not set, then make unflatten_device_tree() an empty #define. This patch also adds some additional debug output to the top of unflatten_device_tree(). Signed-off-by: Grant Likely ...
Mar 11, 10:32 am 2010
Grant Likely
[PATCH 3/3] of: protect contents of of_platform.h and of ...
Only process contents of of_platform.h and of_device.h if CONFIG_OF_DEVICE is set. --- include/linux/of_device.h | 2 ++ include/linux/of_platform.h | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/linux/of_device.h b/include/linux/of_device.h index d3a74e0..e7904a9 100644 --- a/include/linux/of_device.h +++ b/include/linux/of_device.h @@ -1,6 +1,7 @@ #ifndef _LINUX_OF_DEVICE_H #define _LINUX_OF_DEVICE_H +#ifdef CONFIG_OF_DEVICE #include ...
Mar 11, 10:32 am 2010
Yang, Xu
WebCT Service Helpdesk
Your mailbox has exceeded one or more size limits set by your administrator. Your mailbox size is 239787 KB. Mailbox size limits:You may not be able to send or receive new mail until you reduce your mailbox size. To re-set your SPACE on our database prior to maintenance on your INBOX: CLICK HERE: <http://www.oneminutepoll.com/OneMinutePoll/OneMinuteSurvey.aspx?SID=-2147479857> Regards WebCT Service Helpdesk --
Mar 11, 10:07 am 2010
David Howells
[PATCH] Document Linux's circular buffering capabilities
Document the circular buffering capabilities available in Linux. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> --- Documentation/circular-buffers.txt | 231 ++++++++++++++++++++++++++++++++++++ Documentation/memory-barriers.txt | 20 +++ include/linux/circ_buf.h | 4 + 3 files changed, 255 insertions(+), 0 deletions(-) create mode 100644 Documentation/circular-buffers.txt diff --git ...
Mar 11, 10:20 am 2010
Randy Dunlap
Re: [PATCH] Document Linux's circular buffering capabilities
Do the "[1]" here and in the previous section refer to note [1] below? -- ~Randy --
Mar 11, 11:10 am 2010
David Howells Mar 11, 12:20 pm 2010
Jeff Garzik
Re: ata2: lost interrupt with kernel 2.6.34-rc1
Does 2.6.33 also have this behavior? Jeff --
Mar 11, 4:41 pm 2010
Andrew Benton
ata2: lost interrupt with kernel 2.6.34-rc1
Hello, I'm not subscribed to this list, sorry if it's the wrong place to send this. I've been having problems with 2.6.34-rc1, when the system tries to access a lot of files (eg, if I recompile the kernel) it freezes for about 10 seconds or so and then I get a message like this in the sys.log: ata2: lost interrupt (Status 0x50) ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 frozen ata2.01: failed command: WRITE DMA ata2.01: cmd ca/00:08:4c:37:6f/00:00:00:00:00/fd tag 0 dma 4096 ...
Mar 11, 9:57 am 2010
Alan Stern
Re: USBFS Memory allocation Bug
Considering that this is the first report I have heard about this sort of problem, and that adding swap space would probably fix it, I'm not inclined to make any changes. Alan Stern --
Mar 11, 9:56 am 2010
Jani Nikula
[PATCH] c2port: fix device_create() return value check
From: Jani Nikula <ext-jani.1.nikula@nokia.com> Use IS_ERR() instead of comparing to NULL. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> --- NOTE: I'm afraid I'm unable to test this; please consider this more a bug report than a complete patch. --- drivers/misc/c2port/core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/misc/c2port/core.c b/drivers/misc/c2port/core.c index b5346b4..3276216 100644 --- a/drivers/misc/c2port/core.c +++ ...
Mar 11, 9:20 am 2010
Robin Holt
[Patch] x86,pat Update the page flags for memtype atomic ...
While testing an application using the xpmem (out of kernel) driver, we noticed a significant page fault rate reduction of x86_64 with respect to ia64. For one test running with 32 cpus, one thread per cpu, it took 01:08 for each of the threads to vm_insert_pfn 2GB worth of pages. For the same test running on 256 cpus, one thread per cpu, it took 14:48 to vm_insert_pfn 2 GB worth of pages. The slowdown was tracked to lookup_memtype which acquires the spinlock memtype_lock. This heavily ...
Mar 11, 9:17 am 2010
Sonny Rao
Re: [PATCH] powerpc/BSR: fix device_create() return valu ...
This looks fine to me, good catch. Acked-by: Sonny Rao <sonnyrao@us.ibm.com> --
Mar 11, 2:21 pm 2010
Jani Nikula
[PATCH] powerpc/BSR: fix device_create() return value check
From: Jani Nikula <ext-jani.1.nikula@nokia.com> Use IS_ERR() instead of comparing to NULL. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> --- NOTE: I'm afraid I'm unable to test this; please consider this more a bug report than a complete patch. --- drivers/char/bsr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index c02db01..3b31f74 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -252,7 ...
Mar 11, 9:15 am 2010
Jani Nikula
[PATCH] trivial: driver-core: document ERR_PTR() return values
From: Jani Nikula <ext-jani.1.nikula@nokia.com> A number of functions in the driver core return ERR_PTR() values on error. Document this in the kernel-doc of the functions. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> --- drivers/base/class.c | 2 ++ drivers/base/core.c | 6 ++++++ drivers/base/platform.c | 6 ++++++ 3 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/base/class.c b/drivers/base/class.c index 0147f47..9c6a0d6 100644 --- ...
Mar 11, 9:11 am 2010
Tejun Heo
[RFC] remove implicit slab.h inclusion from percpu.h
Hello, Lee Schermerhorn was trying to use percpu from slab.h and ran into a dependency loop. percpu.h was using slab.h for UP inline implementation which isn't a big deal in itself but it turns out that percpu.h ends up being included everywhere via module.h and sched.h. So, removing that implicit inclusion breaks a lot of files. The following git tree contains trial conversion on x86_64. allmodconfig builds fine on it but a lot of other archs are likely to break although fixing them up ...
Mar 11, 7:56 am 2010
Alexey Dobriyan
Re: [RFC] remove implicit slab.h inclusion from percpu.h
You can include slab.h only for UP case. Since everyone tests on allmodconfig which has SMP=y, configuration will be more strict wrt headers, and compile breakages amount negligible. --
Mar 11, 10:48 am 2010
Tejun Heo
Re: [RFC] remove implicit slab.h inclusion from percpu.h
Hello, But that wouldn't change anything about having to do an oneshot huge change, right? And, if we're gonna do that anyway, I think it would be better to remove the implicit dependency for UP case too so that for example slab.h in this case doesn't have to do ifdef on CONFIG_SMP before using percpu accessors. Thanks. -- tejun --
Mar 11, 3:33 pm 2010
John Kacur
Re: [PATCH] perf: Make the install relative to DESTDIR i ...
No, not really. Well, logical for people quickly prototyping code on their own machines, but perf has grown beyond that. However, I don't like my quick fix either, maybe I can come-up with something cleaner. John --
Mar 11, 7:46 am 2010
Ingo Molnar
Re: [PATCH] perf: Make the install relative to DESTDIR i ...
I've applied it meanwhile though, as /home/jkacur/home/jkacur/ is clearly a misbehavior :-) Ingo --
Mar 11, 8:24 am 2010
tip-bot for Peter Zi ...
[tip:sched/core] sched: Fix pick_next_highest_task_rt() ...
Commit-ID: 3d07467b7aa91623b31d7b5888a123a2c8c8e9cc Gitweb: http://git.kernel.org/tip/3d07467b7aa91623b31d7b5888a123a2c8c8e9cc Author: Peter Zijlstra <a.p.zijlstra@chello.nl> AuthorDate: Wed, 10 Mar 2010 17:07:24 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:21:50 +0100 sched: Fix pick_next_highest_task_rt() for cgroups Since pick_next_highest_task_rt() already iterates all the cgroups and is really only interested in tasks, skip over the !task ...
Mar 11, 7:41 am 2010
tip-bot for Peter Zi ...
[tip:perf/urgent] perf, ppc: Fix compile error due to ne ...
Commit-ID: 85cfabbcd10f8d112feee6e2ec64ee78033b6d3c Gitweb: http://git.kernel.org/tip/85cfabbcd10f8d112feee6e2ec64ee78033b6d3c Author: Peter Zijlstra <a.p.zijlstra@chello.nl> AuthorDate: Thu, 11 Mar 2010 13:06:56 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:21:27 +0100 perf, ppc: Fix compile error due to new cpu notifiers Fix: arch/powerpc/kernel/perf_event.c:1334: error: 'power_pmu_notifier' undeclared (first use in this function) ...
Mar 11, 7:41 am 2010
tip-bot for Dan Carp ...
[tip:sched/core] sched: Cleanup: remove unused variable ...
Commit-ID: ab3b3aa5dd01b3aaa6b15caee113b21b1b6520c4 Gitweb: http://git.kernel.org/tip/ab3b3aa5dd01b3aaa6b15caee113b21b1b6520c4 Author: Dan Carpenter <error27@gmail.com> AuthorDate: Sat, 6 Mar 2010 14:17:52 +0300 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:59:59 +0100 sched: Cleanup: remove unused variable in try_to_wake_up() We haven't used the "orig_rq" variable since 055a00865d "Fix/add missing update_rq_clock() calls" Signed-off-by: Dan Carpenter ...
Mar 11, 7:39 am 2010
Robert P. J. Day
[PATCH] MEMORY MANAGEMENT: Remove deprecated memclear_hi ...
Since this routine is all of static, deprecated and unreferenced, it seems safe to delete it. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> --- diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 74152c0..c77f913 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -173,12 +173,6 @@ static inline void zero_user(struct page *page, zero_user_segments(page, start, start + size, 0, 0); } -static inline void __deprecated ...
Mar 11, 6:49 am 2010
Johannes Weiner Mar 11, 7:42 am 2010
Michal Simek
[GIT PULL] arch/microblaze fixes for 2.6.34-rc2
Hi Linus, Please pull Microblaze changes to your tree. There is support for PCI and new DMA interface. Thanks, Michal The following changes since commit 522dba7134d6b2e5821d3457f7941ec34f668e6d: Linus Torvalds (1): Merge branch 'for-linus' of git://git.kernel.org/.../jbarnes/pci-2.6 are available in the git repository at: git://git.monstr.eu/linux-2.6-microblaze.git for-linus Frans Pop (1): microblaze: remove trailing space in messages Michal Simek ...
Mar 11, 6:42 am 2010
Zeno Davatz
kmemleak: 17 new suspected memory leaks
This may or may not be connected to the ata-timeout issue but it is in the same place in my dmesg: kmemleak: 17 new suspected memory leaks (see /sys/kernel/debug/kmemleak) See attached file for all of the 17 issues. Let me know if you need any other information. kmemleak: 17 new suspected memory leaks (see /sys/kernel/debug/kmemleak) ata1: clearing spurious IRQ ata1: lost interrupt (Status 0x50) ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen ata1.00: failed command: ...
Mar 11, 6:34 am 2010
Carsten Emde
[PATCH 0/1] tracing: Fix erroneous task states in sched_ ...
A recent change in the task state definitions was omitted to apply to the sched_switch event output. In addition, move task state definitions to a common place. This ensures that future changes make it to all places where needed. Carsten. --
Mar 11, 5:24 am 2010
Carsten Emde
[PATCH 1/1] fix-taskstates-in-sched_switch-trace.patch
The sched_switch trace event displays erroneous character codes of task states, after a new task state was added in the scheduler code but omitted to add in the trace event code. Define character codes of task states individually. In addition, define task state descriptions needed in /proc at the same place. This will help to keep the task state bits, characters and descriptions in sync should they ever need to be changed again. Signed-off-by: Carsten Emde <C.Emde@osadl.org> Index: ...
Mar 11, 5:24 am 2010
Govindraj.R
Re: Reposting: [PATCH v1] serial: Add OMAP high-speed UA ...
Hi Greg, Could you please have this patch into your tty tree now? As I do not see any further comment in community on this for quite long time now. -- Regards, --
Mar 11, 6:14 am 2010
Tony Lindgren
Re: Reposting: [PATCH v1] serial: Add OMAP high-speed UA ...
There are still outstanding comments. I've commented several times that this patch needs to be posted with the related patches so people can actually try it out. Regards, Tony --
Mar 11, 9:37 am 2010
Mathias Buren
RAID + LUKS + LVM performance
Hi, (please cc me as I'm not subscribed) I've a friend who's going to set up a fileserver consisting of 8x 1.5TB HDDs, an 8-port PCI-E RAID card (Areca ARC-1220 @ http://www.areca.com.tw/products/pcie.htm ) etc. The plan is create a RAID5 array spanning all the disks, then create 4 partitions. These 4 partitions would be encrypted using LUKS (Twofish or AES256). These 4 encrypted partition would be set up in RAID0 using Linux' software (mdadm), then LVM would be used on top of that (one ...
Mar 11, 6:08 am 2010
Matthias Schniedermeyer
Re: RAID + LUKS + LVM performance
The setup you describe would only work with SSDs. HDDs would seek themselves to death. The problem is the RAID-0 over the 4 partitions. At that point you would need, instead of the 4 partitions, something that is round-robin. So that the mapping of the (physical) blocks from the upper to the lower would be effectivly linear/unchanged. AFAIK something like that is (currently) not possible. Bis denn -- Real Programmers consider "what you see is what you get" to be just as ...
Mar 11, 10:36 am 2010
david
Re: RAID + LUKS + LVM performance
linux software raid (the md tools) support linear or striped modes for raid0, so what you are looking for is available. however I think that defeats part of the OPs purpose, which was to try and spread the I/O across all 4 partitions to be able to use multiple cores for the encryption. David Lang --
Mar 11, 10:51 am 2010
Matthias Schniedermeyer
Re: RAID + LUKS + LVM performance
Nope. What i meant is: Let say you had a block-device which has 16 blocks: 0-15 With the OPs description the blocks would be distributed like this: Part 0: 00 01 02 03 Part 1: 04 05 06 07 Part 2: 08 09 10 11 Part 3: 12 13 14 15 What you need is a distribution like this: Device 0: 01 05 09 13 Device 1: 02 06 10 14 Device 2: 03 07 11 15 Device 3: 04 08 12 16 IOW: Blocks % 4 == 0 on device 0 Blocks % 4 == 1 on device 1 Blocks % 4 == 2 on device 2 Blocks % 4 == 3 on device 3 I ...
Mar 11, 12:07 pm 2010
John Kacur
Re: [PATCH] perf: Make the install relative to DESTDIR i ...
Sorry, I'd like to withdraw this patch. I see I can achieve my desired ends without changing the behaviour for others who expect the old behaviour, simply by setting "prefix" on the command line, eg: make -C tools/perf prefix="" DESTDIR=/home/jkacur/tmp install-man Thanks. --
Mar 11, 6:50 am 2010
Ingo Molnar
Re: [PATCH] perf: Make the install relative to DESTDIR i ...
The old behavior doesnt look very logical though, right? Ingo --
Mar 11, 7:14 am 2010
tip-bot for John Kacur
[tip:perf/urgent] perf: Make the install relative to DES ...
Commit-ID: 7ae5f21361fea11f58c398701da635f778635d13 Gitweb: http://git.kernel.org/tip/7ae5f21361fea11f58c398701da635f778635d13 Author: John Kacur <jkacur@redhat.com> AuthorDate: Thu, 11 Mar 2010 13:57:00 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 14:08:11 +0100 perf: Make the install relative to DESTDIR if specified Without this change, the install path is relative to prefix/DESTDIR where prefix is automatically set to $HOME. This can produce ...
Mar 11, 7:39 am 2010
John Kacur
[PATCH] perf: Make the install relative to DESTDIR if sp ...
Without this change, the install path is relative to prefix/DESTDIR where prefix is automatically set to $HOME This can produce unexpected results. For example make -C tools/perf DESTDIR=/home/jkacur/tmp install-man creates the directory: /home/jkacur/home/jkacur/tmp/share/... instead of the expected: /home/jkacur/tmp/share/... Signed-off-by: John Kacur <jkacur@redhat.com> --- tools/perf/Documentation/Makefile | 4 +++- tools/perf/Makefile | 4 +++- 2 files ...
Mar 11, 5:57 am 2010
Jef Driesen
Low latency mode and performance of pty's?
Hi, I have an application that uses a pair of pseudo terminals (using socat to link them together) to simulate a serial nullmodem cable. I use this setup to simulate the serial communication with an external device in my test environment. It works fine, but I noticed the performance is quite bad. You can reproduce the problem by running these commands in three different terminals: # Terminal 1: Setup the pty's. socat PTY,link=/tmp/ttyS0 PTY,link=/tmp/ttyS1 # Terminal 2: Send some ...
Mar 11, 4:24 am 2010
ExxonMobil Oil Compa ...
(No subject)
Your Email just won you ($500,000.00 US Dollars ATM CARD) You are to contact Mr. Abdul Razi With your,Names....Age...Country....Tell.... --
Mar 11, 4:19 am 2010
ExxonMobil Oil Compa ...
(No subject)
Your Email just won you ($500,000.00 US Dollars ATM CARD) You are to contact Mr. Abdul Razi With your,Names....Age...Country....Tell.... --
Mar 11, 4:17 am 2010
Valery Reznic
execve for script don't return ENOEXEC, bug ?
Hi, I Have following to scripts: a.sh #!/bin/sh echo "It's a.sh and b.sh: #! ./b.sh echo "It's b.sh" As per execve man page, script interpreter should not be script itself. When I run it on my Fedora 8 x86_64 box (with stock kernel, never updated) under strace I got following: strace -f -e execve setarch x86_64 ./b.sh execve("/usr/bin/setarch", ["setarch", "x86_64", "./b.sh"], [/* 23 vars */]) = 0 execve("./b.sh", ["./b.sh"], [/* 23 vars */]) = -1 ENOEXEC (Exec format ...
Mar 11, 3:56 am 2010
Pavel Emelyanov
[PATCH] inotify: Don't leak user struct on inotify release
The inotify_new_group receives a get_uid-ed user_struct and saves the reference on group->inotify_data.user. The problem is that the free_uid is never called on it. Issue seem to be introduced by 63c882a0 (inotify: reimplement inotify using fsnotify) after 2.6.30 (so stable is in Cc) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c index 1afb0a1..e27960c 100644 --- ...
Mar 11, 3:37 am 2010
Michal Marek
[PATCH] kbuild: Really don't clean bounds.h and asm-offsets.h
Commit 7d3cc8b tried to keep bounds.h and asm-offsets.h during make clean by filtering these out of $(clean-files), but they are listed in $(targets) and $(always) and thus removed automatically. Introduce a new $(no-clean-files) variable to really skip such files in Makefile.clean. Signed-off-by: Michal Marek <mmarek@suse.cz> --- Documentation/kbuild/makefiles.txt | 7 +++++++ Kbuild | 4 ++-- scripts/Makefile.clean | 2 ++ 3 files changed, ...
Mar 11, 3:18 am 2010
=?UTF-8?Q?Am=C3=A9ri ...
2.6.34-rc1: rcu lockdep bug?
Hello, Paul and Peter, Attached is the lockdep warning that I triggered today. I am not sure if this is a bug of rcu lockdep, because I am testing my patch when this occurred. However, in the backtrace, there is none of the functions that I touched, weird. So, please help to check if this is a bug of rcu lockdep. Please Cc netdev when necessary. Thanks much!
Mar 11, 3:05 am 2010
Paul E. McKenney
Re: 2.6.34-rc1: rcu lockdep bug?
This sort of thing is caused by acquiring the same lock with softirq (AKA BH) blocked and not, which can result in self-deadlock. There was such a bug in the RCU lockdep stuff in -tip, but it has long since been fixed. If you were seeing that bug, rcu_do_batch() would be on the stack, which it does not appear to be. So does your patch involve the usbfs_mutex? Or attempt to manipulate vfs/fs state from withing networking softirq/BH context? --
Mar 11, 6:45 am 2010
=?utf-8?Q?Am=C3=A9ri ...
Re: 2.6.34-rc1: rcu lockdep bug?
Nope, it is a patch for netpoll, nothing related with usb, nor vfs. Thanks much! --
Mar 11, 9:17 am 2010
Mike Galbraith
Re: [patch 8/12] sched: remove FAIR_SLEEPERS feature
sched: remove FAIR_SLEEPERS feature Our preemption model relies too heavily on sleeper fairness to disable it without dire consequences. Remove the feature, and save a branch or two. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 2 +- kernel/sched_features.h | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) Index: ...
Mar 11, 2:58 am 2010
Mike Galbraith
[patch 0/12] sched: fastpath cycle recovery
Hi Peter, The following patchlets take a pinned pipe-test context switch frequency in tip from 663KHZ to 694KHZ, and an unpinned instance from 450KHz to 540KHz. With these applied to tip.today, I have zero 31-12->today regressions, and even some modest progressions. The biggest difference is made by the first patch. We have a problem with nohz when waking cross-cpu, which given select_idle_sibling(), we do quite a bit. In testing netperf TCP_RR, hitting nohz code on every micro-idle was ...
Mar 11, 2:49 am 2010
Mike Galbraith
Re: [patch 12/12] sched: remove AFFINE_WAKEUPS feature
sched: remove AFFINE_WAKEUPS feature Disabling affine wakeups is too horrible to contemplate. Remove it. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6/kernel/sched_fair.c =================================================================== --- ...
Mar 11, 3:04 am 2010
Mike Galbraith
Re: [patch 1/12] sched: ratelimit nohz
sched: ratelimit nohz Entering nohz code on every micro-idle is costing ~10% throughput for netperf TCP_RR when scheduling cross-cpu. Rate limiting entry fixes this, but raises ticks a bit. On my Q6600, an idle box goes from ~85 interrupts/sec to 128. The higher the context switch rate, the more nohz entry costs. With this patch and some cycle recovery patches in my tree, max cross cpu context switch rate is improved by ~16%, a large portion of which of which is this ...
Mar 11, 2:50 am 2010
Mike Galbraith
Re: [patch 2/12] sched: remove avg_wakeup
sched: remove avg_wakeup. Testing the load which led to this heuristic (nfs4 kbuild) shows that it has outlived it's usefullness. With intervening load balancing changes, I cannot see any difference with/without, so recover there fastpath cycles. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- include/linux/sched.h | 3 --- kernel/sched.c | 26 ...
Mar 11, 2:51 am 2010
Mike Galbraith
Re: [patch 3/12] sched: remove avg_overlap
sched: remove avg_overlap Both avg_overlap and avg_wakeup had an inherent problem in that their accuracy was detrimentally affected by cross-cpu wakeups, this because we are missing the necessary call to update_curr(). This can't be fixed without increasing overhead in our already too fat fastpath. Additionally, with recent load balancing changes making us prefer to place tasks in an idle cache domain (which is good for compute bound loads), communicating tasks suffer when a sync wakeup, ...
Mar 11, 2:52 am 2010
Mike Galbraith
Re: [patch 4/12] sched: cleanup/optimize clock updates
sched: cleanup and optimize clock updates Now that we no longer depend on the clock being updated prior to enqueueing on migratory wakeup, we can clean up a bit, placing calls to update_rq_clock() exactly where they are needed, ie on enqueue, dequeue and schedule events. In the case of a freshly enqueued task immediately preempting, we can skip the update during preemption, as the clock was just updated by the enqueue event. We also save an unneeded call during a migratory wakeup by not ...
Mar 11, 2:53 am 2010
Mike Galbraith
Re: [patch 5/12] sched: tweak sched_latency and min_gran ...
sched: tweak sched_latency and min_granularity Allow LAST_BUDDY to kick in sooner, improving cache utilization as soon as a second buddy pair arrives on scene. The cost is latency starting to climb sooner, the tbenefit for tbench 8 on my Q6600 box is ~2%. No detrimental effects noted in normal idesktop usage. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- ...
Mar 11, 2:54 am 2010
Mike Galbraith
Re: [patch 6/12] sched: fix select_idle_sibling()
sched: fix select_idle_sibling() Don't bother with selection when the current cpu is idle. Recent load balancing changes also make it no longer necessary to check wake_affine() success before returning the selected sibling, so we now always use it. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 ...
Mar 11, 2:56 am 2010
Mike Galbraith
Re: [patch 7/12] sched: remove NORMALIZED_SLEEPER
sched: remove NORMALIZED_SLEEPER This feature hasn't been enabled in a long time, remove effectively dead code. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 10 ---------- kernel/sched_features.h | 7 ------- 2 files changed, 17 deletions(-) Index: ...
Mar 11, 2:57 am 2010
Mike Galbraith
Re: [patch 9/12] sched: remove WAKEUP_SYNC feature
sched: remove WAKEUP_SYNC feature This feature never earned it's keep, remove it. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 4 ---- kernel/sched_features.h | 5 ----- 2 files changed, 9 deletions(-) Index: linux-2.6/kernel/sched_fair.c =================================================================== --- ...
Mar 11, 2:59 am 2010
Mike Galbraith
Re: [patch 11/12] sched: remove ASYM_GRAN feature
sched: remove ASYM_GRAN feature This features has been enabled for quite a while, after testing showed that easing preemption for light tasks was harmful to high priority threads. Remove it. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched_fair.c | 28 +++++++++++----------------- kernel/sched_features.h | 6 ------ 2 files changed, 11 insertions(+), ...
Mar 11, 3:01 am 2010
Mike Galbraith
Re: [patch 10/12] sched: remove SYNC_WAKEUPS feature
sched: remove SYNC_WAKEUPS feature Sync wakeups are critical functionality with a long history. Remove it, we don't need the branch or icache footprint. Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> --- kernel/sched.c | 3 --- kernel/sched_features.h | 8 -------- 2 files changed, 11 deletions(-) Index: ...
Mar 11, 3:03 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Rate-limit nohz
Commit-ID: 39c0cbe2150cbd848a25ba6cdb271d1ad46818ad Gitweb: http://git.kernel.org/tip/39c0cbe2150cbd848a25ba6cdb271d1ad46818ad Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:13 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:49 +0100 sched: Rate-limit nohz Entering nohz code on every micro-idle is costing ~10% throughput for netperf TCP_RR when scheduling cross-cpu. Rate limiting entry fixes this, but raises ticks a bit. ...
Mar 11, 11:30 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove avg_wakeup
Commit-ID: b42e0c41a422a212ddea0666d5a3a0e3c35206db Gitweb: http://git.kernel.org/tip/b42e0c41a422a212ddea0666d5a3a0e3c35206db Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:15:38 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:50 +0100 sched: Remove avg_wakeup Testing the load which led to this heuristic (nfs4 kbuild) shows that it has outlived it's usefullness. With intervening load balancing changes, I cannot see any ...
Mar 11, 11:30 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Cleanup/optimize clock updates
Commit-ID: a64692a3afd85fe048551ab89142fd5ca99a0dbd Gitweb: http://git.kernel.org/tip/a64692a3afd85fe048551ab89142fd5ca99a0dbd Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:16:20 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:50 +0100 sched: Cleanup/optimize clock updates Now that we no longer depend on the clock being updated prior to enqueueing on migratory wakeup, we can clean up a bit, placing calls to ...
Mar 11, 11:31 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove avg_overlap
Commit-ID: e12f31d3e5d36328c7fbd0fce40a95e70b59152c Gitweb: http://git.kernel.org/tip/e12f31d3e5d36328c7fbd0fce40a95e70b59152c Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:15:51 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:50 +0100 sched: Remove avg_overlap Both avg_overlap and avg_wakeup had an inherent problem in that their accuracy was detrimentally affected by cross-cpu wakeups, this because we are missing the ...
Mar 11, 11:31 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Tweak sched_latency and min_gran ...
Commit-ID: 21406928afe43f1db6acab4931bb8c886f4d04ce Gitweb: http://git.kernel.org/tip/21406928afe43f1db6acab4931bb8c886f4d04ce Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:15 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:51 +0100 sched: Tweak sched_latency and min_granularity Allow LAST_BUDDY to kick in sooner, improving cache utilization as soon as a second buddy pair arrives on scene. The cost is latency starting to ...
Mar 11, 11:31 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Fix select_idle_sibling()
Commit-ID: 8b911acdf08477c059d1c36c21113ab1696c612b Gitweb: http://git.kernel.org/tip/8b911acdf08477c059d1c36c21113ab1696c612b Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:16 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:51 +0100 sched: Fix select_idle_sibling() Don't bother with selection when the current cpu is idle. Recent load balancing changes also make it no longer necessary to check wake_affine() success before ...
Mar 11, 11:32 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove NORMALIZED_SLEEPER
Commit-ID: 6bc6cf2b61336ed0c55a615eb4c0c8ed5daf3f08 Gitweb: http://git.kernel.org/tip/6bc6cf2b61336ed0c55a615eb4c0c8ed5daf3f08 Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:17 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:52 +0100 sched: Remove NORMALIZED_SLEEPER This feature hasn't been enabled in a long time, remove effectively dead code. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra ...
Mar 11, 11:32 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove FAIR_SLEEPERS feature
Commit-ID: 5ca9880c6f4ba4c84b517bc2fed5366adf63d191 Gitweb: http://git.kernel.org/tip/5ca9880c6f4ba4c84b517bc2fed5366adf63d191 Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:17 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:52 +0100 sched: Remove FAIR_SLEEPERS feature Our preemption model relies too heavily on sleeper fairness to disable it without dire consequences. Remove the feature, and save a branch or ...
Mar 11, 11:32 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove WAKEUP_SYNC feature
Commit-ID: f2e74eeac03ffb779d64b66a643c5e598145a28b Gitweb: http://git.kernel.org/tip/f2e74eeac03ffb779d64b66a643c5e598145a28b Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:18 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:52 +0100 sched: Remove WAKEUP_SYNC feature This feature never earned its keep, remove it. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra ...
Mar 11, 11:32 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove SYNC_WAKEUPS feature
Commit-ID: c6ee36c423c3ed1fb86bb3eabba9fc256a300d16 Gitweb: http://git.kernel.org/tip/c6ee36c423c3ed1fb86bb3eabba9fc256a300d16 Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:16:43 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:53 +0100 sched: Remove SYNC_WAKEUPS feature Sync wakeups are critical functionality with a long history. Remove it, we don't need the branch or icache footprint. Signed-off-by: Mike Galbraith ...
Mar 11, 11:33 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove ASYM_GRAN feature
Commit-ID: 13814d42e45dfbe845a0bbe5184565d9236896ae Gitweb: http://git.kernel.org/tip/13814d42e45dfbe845a0bbe5184565d9236896ae Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:04 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:53 +0100 sched: Remove ASYM_GRAN feature This features has been enabled for quite a while, after testing showed that easing preemption for light tasks was harmful to high priority threads. Remove the ...
Mar 11, 11:33 am 2010
tip-bot for Mike Gal ...
[tip:sched/core] sched: Remove AFFINE_WAKEUPS feature
Commit-ID: beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 Gitweb: http://git.kernel.org/tip/beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 Author: Mike Galbraith <efault@gmx.de> AuthorDate: Thu, 11 Mar 2010 17:17:20 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:32:53 +0100 sched: Remove AFFINE_WAKEUPS feature Disabling affine wakeups is too horrible to contemplate. Remove the feature flag. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter ...
Mar 11, 11:33 am 2010
Xiao Guangrong
lock's trace events can improve mutex's performance in u ...
We found that if enable lock's trace events, the 'sysbench mutex' benchmark program can run quicker. The simple program that is attached can reproduce it, the system info, kernel config, and the script are also attached. The test step is below: # tar -zxvf test-mutex.tar.bz # cd test-mutex # make # ./tscript.sh >& log # cat log | grep "real" real 0m46.765s < all trace events are disabled > real 0m47.073s real 0m47.402s real 0m46.458s real 0m47.433s real ...
Mar 11, 2:43 am 2010
Florian Fainelli
[PATCH 2/4 v2] MFD: add support for the RDC321x southbridge
This patch adds a new MFD driver for the RDC321x southbridge. This southbridge is always present in the RDC321x System-on-a-Chip and provides access to some GPIOs as well as a watchdog. Access to these two functions is done using the southbridge PCI device configuration space. Signed-off-by: Florian Fainelli <florian@openwrt.org> --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 951fa9b..8cc8218 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -398,6 +398,15 @@ ...
Mar 11, 1:42 am 2010
Florian Fainelli
[PATCH 4/4 v2] WATCHDOG: convert rdc321x_wdt to use sout ...
With the introduction of the MFD driver which abstracts access to the PCI device configuration space the watchdog driver must be converted to use these accessors and provide safe register read/write. As a result we now use the memory resource which comes with the platform device. Signed-off-by: Florian Fainelli <florian@openwrt.org> --- diff --git a/drivers/watchdog/rdc321x_wdt.c b/drivers/watchdog/rdc321x_wdt.c index 69c6adb..5f68805 100644 --- a/drivers/watchdog/rdc321x_wdt.c +++ ...
Mar 11, 1:42 am 2010
Florian Fainelli
[PATCH 3/4 v2] GPIO: add support for RDC321x GPIO controller
This patch adds a new GPIO driver for the RDC321x SoC GPIO controller. Signed-off-by: Florian Fainelli <florian@openwrt.org> --- diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index fee678f..dd10eb8 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -275,6 +275,14 @@ config GPIO_TIMBERDALE ---help--- Add support for the GPIO IP in the timberdale FPGA. +config GPIO_RDC321X + tristate "RDC R-321x GPIO support" + depends on PCI && GPIOLIB + select ...
Mar 11, 1:42 am 2010
Ingo Molnar
Re: [PATCH 1/4 v2] x86: remove rdc321x_defs.h
Acked-by: Ingo Molnar <mingo@elte.hu> Feel free to carry it in the driver tree that ends up picking up the other patches. (the MTD tree?) Thanks, Ingo --
Mar 11, 3:53 am 2010
Florian Fainelli
[PATCH 1/4 v2] x86: remove rdc321x_defs.h
This file is going to be replaced with a cleaner version with the adding of a MFD driver for the southbridge. Signed-off-by: Florian Fainelli <florian@openwrt.org> --- diff --git a/arch/x86/include/asm/rdc321x_defs.h b/arch/x86/include/asm/rdc321x_defs.h deleted file mode 100644 index c8e9c8b..0000000 --- a/arch/x86/include/asm/rdc321x_defs.h +++ /dev/null @@ -1,12 +0,0 @@ -#define PFX "rdc321x: " - -/* General purpose configuration and data registers */ -#define RDC3210_CFGREG_ADDR ...
Mar 11, 1:42 am 2010
Florian Fainelli
[PATCH v2 0/4] RDC321x southbridge and GPIO support
Hi Wim, Samuel, Ingo, Here are 4 patches relative to adding support for the RDC321x southbridge. This southbridge is present on all x86-based RDC321x System-on-a-Chip and provides access to GPIOs and Wathchdog. The watchdog driver is already merged. Samuel, this is rebased on top of your mfd-2.6 master branch after commit 522dba7 and I think the 4 patches should go via your tree to make sure the merge is consistent. Thank you. Florian Fainelli (4): x86: remove rdc321x_defs.h MFD: ...
Mar 11, 1:42 am 2010
Li Zefan
[PATCH] drm/i915: Convert some trace events to DEFINE_TRACE
Use DECLARE_EVENT_CLASS to remove duplicate code: text data bss dec hex filename 14655 2732 15 17402 43fa i915_trace_points.o.orig 11625 2732 10 14367 381f i915_trace_points.o 8 events are converted: i915_gem_object: i915_gem_object_{unbind, destroy} i915_gem_request: i915_gem_request_{complete, retire, wait_begin, wait_end} i915_ring: i915_ring_{wait_begin, wait_end} No functional change. Signed-off-by: Li Zefan ...
Mar 11, 1:41 am 2010
Li Zefan
[PATCH 1/2] tracing: Convert some signal events to DEFIN ...
Use DECLARE_EVENT_CLASS to remove duplicate code: text data bss dec hex filename 23639 6084 8 29731 7423 kernel/signal.o.orig 22727 6084 8 28819 7093 kernel/signal.o 2 events are converted: signal_queue_overflow: signal_overflow_fail, signal_lose_info No functional change. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> --- include/trace/events/signal.h | 52 +++++++++++++++++----------------------- 1 files changed, 22 ...
Mar 11, 1:40 am 2010
Li Zefan
[PATCH 2/2] tracing: Update comments
Make some comments consistent with the code. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> --- include/trace/ftrace.h | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 25ab56f..9d05eab 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h @@ -154,9 +154,11 @@ * * field = (typeof(field))entry; * - * p = get_cpu_var(ftrace_event_seq); + * p = ...
Mar 11, 1:41 am 2010
Dmitry Torokhov
[PATCH] firmware loader: use statically initialized data ...
There is no reason why we are using a template for binary attribute and copying it into per-firmware data before registering. Using the original works as well and gets rid of the following lockdep compaint: platform microcode: firmware: requesting intel-ucode/06-0f-0b BUG: key ffff88011371be70 not in .data! ------------[ cut here ]------------ WARNING: at kernel/lockdep.c:2706 lockdep_init_map+0x125/0x140() Hardware name: Latitude D630 Modules linked in: ... Pid: 738, comm: modprobe ...
Mar 11, 1:31 am 2010
Sudhakar Rajashekhara
[PATCH] davinci: MMC: Pass number of SG segments as plat ...
On some platforms like DM355, the number of EDMA parameter slots available for EDMA_SLOT_ANY usage are few. In such cases, if MMC/SD uses 16 slots for each instance of MMC controller, then the number of slots available for other modules will be very few. By passing the number of EDMA slots to be used in MMC driver from platform data, EDMA slots available for other purposes can be controlled. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> --- ...
Mar 11, 12:32 am 2010
Sergei Shtylyov Mar 11, 4:00 am 2010
Kevin Hilman
Re: [PATCH] davinci: MMC: Pass number of SG segments as ...
If a board doesn't setup pdata->nr_sg it will be zero, leaving Since host->nr_sg is unsigned, you get lucky and fix it up here, but for readability, this not too clean and should be more thorough. Wrapping the above in 'if (pdata->nr_sg)' is a more standard way of handling optional platform_data paramaters. Kevin --
Mar 11, 4:39 pm 2010
KAMEZAWA Hiroyuki
[RFC][PATCH 0/3] memcg: oom notifier at el. (v3)
Updated against mmotm-Mar9. This patch set's feature is - add filter to memcg's oom waitq. - oom kill notifier for memcg. - oom kill disable for memcg. Major changes since previous one are - add filter to wakeup queue. - use its own function and logic rather than reusing thresholds. - some minor fixes. If oom-killer disabled, all tasks under memcg will sleep in memcg_oom_waitq. What users can do when memcg-oom-killer is disabled is: - enlarge limit. - kill some task. ---(*) - ...
Mar 11, 12:53 am 2010
KAMEZAWA Hiroyuki
[RFC][PATCH 1/3] memcg: wake up filter in oom waitqueue
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> memcg's oom waitqueue is a system-wide wait_queue (for handling hierarchy.) So, it's better to add custom wake function and do flitering in wake up path. This patch adds a filtering feature for waking up oom-waiters. Hierarchy is properly handled. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --- mm/memcontrol.c | 61 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), ...
Mar 11, 12:55 am 2010
KAMEZAWA Hiroyuki
[RFC][PATCH 2/3] memcg: oom notifier
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Considering containers or other resource management softwares in userland, event notification of OOM in memcg should be implemented. Now, memcg has "threshold" notifier which uses eventfd, we can make use of it for oom notification. This patch adds oom notification eventfd callback for memcg. The usage is very similar to threshold notifier, but control file is memory.oom_control and no arguments other than eventfd is required. % ...
Mar 11, 12:57 am 2010
KAMEZAWA Hiroyuki
[RFC][PATCH 3/3] memcg: oom kill disable and stop and go ...
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> This adds a feature to disable oom-killer for memcg, if disabled, of course, tasks under memcg will stop. But now, we have oom-notifier for memcg. And the world around memcg is not under out-of-memory. memcg's out-of-memory just shows memcg hits limit. Then, administrator or management daemon can recover the situation by - kill some process - enlarge limit, add more swap. - migrate some tasks - remove file cache on tmps ...
Mar 11, 12:58 am 2010
Kirill A. Shutemov
Re: [RFC][PATCH 2/3] memcg: oom notifier
On Thu, Mar 11, 2010 at 9:57 AM, KAMEZAWA Hiroyuki Looks great! Two remarks below. --
Mar 11, 7:47 am 2010
KAMEZAWA Hiroyuki
Re: [RFC][PATCH 2/3] memcg: oom notifier
Thank you. On Thu, 11 Mar 2010 16:47:00 +0200 Ah...sorry for garbages..I'll clean these up. Thanks, -Kame --
Mar 11, 4:54 pm 2010
Peter Zijlstra
Re: [PATCH] perf: export perf_trace_regs and perf_arch_f ...
Shouldn't that be: EXPORT_PER_CPU_SYMBOL_GPL(perf_trace_regs); ? --
Mar 11, 1:39 am 2010
Xiao Guangrong
[PATCH] perf: export perf_trace_regs and perf_arch_fetch ...
Export perf_trace_regs and perf_arch_fetch_caller_regs since module will use these Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- arch/x86/kernel/cpu/perf_event.c | 1 + kernel/trace/trace_event_perf.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c index 4a0514d..8700643 100644 --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -1697,3 +1697,4 ...
Mar 11, 12:30 am 2010
Christoph Hellwig
Re: [PATCH] perf: export perf_trace_regs and perf_arch_f ...
What modules exactly? Uusually you add the export together with the series adding the users. --
Mar 11, 2:02 am 2010
Peter Zijlstra
Re: [PATCH] perf: export perf_trace_regs and perf_arch_f ...
Pretty much all modular tracepoint users I think, I just got this from a pp64_defconfig build: ERROR: "perf_trace_regs" [fs/xfs/xfs.ko] undefined! ERROR: ".perf_arch_fetch_caller_regs" [fs/xfs/xfs.ko] undefined! ERROR: "perf_trace_regs" [arch/powerpc/platforms/cell/spufs/spufs.ko] undefined! ERROR: ".perf_arch_fetch_caller_regs" [arch/powerpc/platforms/cell/spufs/spufs.ko] undefined! --
Mar 11, 2:10 am 2010
Christoph Hellwig
Re: [PATCH] perf: export perf_trace_regs and perf_arch_f ...
Interesting, that doesn't happen in mainline yet. --
Mar 11, 2:14 am 2010
Frederic Weisbecker
Re: [PATCH] perf: export perf_trace_regs and perf_arch_f ...
Yeah, it's in -tip. Thanks guys for this fix. I think I'm unable to remind there are modules in the kernel, I'm not counting anymore the number of times I forget to export symbols for modules. May be I should start to stick posters with photos of modules entitled "I want to believe" everywhere in my flat. Or perhaps I'm going to buy electronic glasses that display modules advertizing in the street. I'm not sure yet but I'll find a way. --
Mar 11, 7:18 am 2010
tip-bot for Xiao Gua ...
[tip:perf/urgent] perf: export perf_trace_regs and perf_ ...
Commit-ID: 639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63 Gitweb: http://git.kernel.org/tip/639fe4b12f92b54c9c3b38c82cdafaa38cfd3e63 Author: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> AuthorDate: Thu, 11 Mar 2010 15:30:35 +0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:21:29 +0100 perf: export perf_trace_regs and perf_arch_fetch_caller_regs Export perf_trace_regs and perf_arch_fetch_caller_regs since module will use these. Signed-off-by: Xiao Guangrong ...
Mar 11, 7:41 am 2010
Sheng Yang
[PATCH] x86/kvm: Show guest system/user cputime in cpustat
Currently we can only get the cpu_stat of whole guest as one. This patch enhanced cpu_stat with more detail, has guest_system and guest_user cpu time statistics with a little overhead. Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- This draft patch based on KVM upstream to show the idea. I would split it into more kernel friendly version later. The overhead is, the cost of get_cpl() after each exit from guest. Comments are welcome! arch/x86/kvm/x86.c | 10 ...
Mar 11, 12:20 am 2010
Avi Kivity
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat
This can be very expensive in the nested virtualization case, so I wouldn't like this to be in normal paths. I think detailed profiling like that can be left to 'perf kvm', which only has overhead if enabled at runtime. For example you can put the code to note the cpl in a tracepoint which is enabled dynamically. -- error compiling committee.c: too many arguments to function --
Mar 11, 12:36 am 2010
Sheng Yang
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat
Yes, that's my concern too(though nested vmcs/vmcb read already too expensive, they should be optimized...). The other concern is, perf alike mechanism would Yanmin have already implement "perf kvm" to support this. We are just arguing if a normal top-alike mechanism is necessary. I am also considering to make it a feature that can be disabled. But seems it make things complicate and result in uncertain cpustat output. -- regards Yang, Sheng --
Mar 11, 12:46 am 2010
Avi Kivity
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat
Any ideas on how to do that? Perhaps use paravirt_ops to covert the Ordinarily users won't care if time is spent in guest kernel mode or guest user mode. They want to see which guest is imposing a load on a system. I consider a user profiling a guest from the host an advanced and rarer use case, so it's okay to require tools and additional I'm not even sure that guest time was a good idea. -- error compiling committee.c: too many arguments to function --
Mar 11, 12:50 am 2010
Zhang, Yanmin
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat
Another method is to add sysctl entry, such like /proc/sys/kernel/collect_guest_utilization, Here is the story why Sheng worked out the patch. Some guys work on KVM performance. They want us to extend top to show guest utilization info, such like guest kernel and guest userspace cpu utilization. With the new tool, they could find which VM (mapping with qemu process id) consumes too much cpu time in host space (including kernel and userspace), and compare them with guest kernel/userspace. That ...
Mar 11, 1:21 am 2010
Sheng Yang
Re: [PATCH] x86/kvm: Show guest system/user cputime in cpustat
When Qing(CCed) was working on nested VMX in the past, he found PV vmread/vmwrite indeed works well(it would write to the virtual vmcs so vmwrite can also benefit). Though compared to old machine(one our internal patch shows improve more than 5%), NHM get less benefit due to the reduced vmexit cost. -- regards --
Mar 11, 2:17 am 2010
Mattera Gina Marie F ...
(No subject)
You have won,confirm receipt (£891,934.00) by sending your name,address,age,phone number etc to cgclaims15@9.cn<mailto:cgclaims15@9.cn> --
Mar 10, 11:34 pm 2010
Sheng Yang
[PATCH][v8 0/7] PV extension of HVM (Hybrid) for Xen
The 8th version of patchset to enable PV extension of HVM support in Linux kernel of Xen. The patch based on upstream 2.6.33, also applied to 2.6.33-rc1-tip+. And we target for Linux upstream as well. The PV extension of HVM is started from real mode like HVM guest, but also with a a range of PV features(e.g. PV timer, event channel, and PV drivers in the future). So guest with this feature can takes the advantages of both H/W virtualization and Para-Virtualization. The first two of the ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 1/7] xen: add support for hvm_op
From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Add support for hvm_op hypercall. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- arch/x86/include/asm/xen/hypercall.h | 6 ++ include/xen/hvm.h | 23 +++++++ include/xen/interface/hvm/hvm_op.h | 72 ++++++++++++++++++++++ include/xen/interface/hvm/params.h | 111 ++++++++++++++++++++++++++++++++++ 4 files changed, 212 ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 6/7] xen: Enable PV clocksource for HVM
PV clocksource can provide a reliable clocksource for HVM running on Xen. To enable it, put following line to the HVM configure file: cpuid = [ '0x40000002:edx=0x3' ] It would set bit 0 and bit 1 in 0x40000002:edx, which enable PV extension framework and PV clocksource. Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- arch/x86/xen/hvmpv.c | 24 ++++++++++++++++++++++++ arch/x86/xen/time.c | 12 +++++++++++- arch/x86/xen/xen-ops.h | 1 + 3 files changed, 36 ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 7/7] xen: Enable event channel of PV extensio ...
We mapped each IOAPIC pin to a VIRQ, so that we can deliver interrupt through these VIRQs. We used X86_PLATFORM_IPI_VECTOR as the notification vector for hypervisor to notify guest about the event. The patch also enabled SMP support, then we can support IPI through evtchn as well. When this feature is enabled, we would relay on Xen PV timer for clockevent, rather than other hardware emulated ones. Then we don't use IOAPIC/LAPIC, eliminated the overhead brought by unnecessary VMExit ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 3/7] xen: Make pv drivers only work with xen_ ...
Otherwise they would still try to enable with HVM domain type. Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- drivers/block/xen-blkfront.c | 2 +- drivers/input/xen-kbdfront.c | 2 +- drivers/net/xen-netfront.c | 2 +- drivers/video/xen-fbfront.c | 2 +- drivers/xen/grant-table.c | 2 +- drivers/xen/xenbus/xenbus_probe.c | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/block/xen-blkfront.c ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 4/7] xen/hvm: Xen PV extension of HVM initial ...
The PV extended HVM(once known as Hybrid) is started from real mode like HVM guest, but also with a component based PV feature selection(e.g. PV halt, PV timer, event channel, then PV drivers). So guest can takes the advantages of both H/W virtualization and Para-Virtualization. This patch introduced the PV extension of HVM guest initialization. Guest would detect the capability using CPUID 0x40000002.edx, then call HVMOP_enable_pv hypercall to enable pv support in ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 2/7] xen: Import cpuid.h from Xen
From: Keir Fraser <keir.fraser@citrix.com> Which would be used by CPUID detection later Signed-off-by: Keir Fraser <keir.fraser@citrix.com> Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- arch/x86/include/asm/xen/cpuid.h | 68 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 arch/x86/include/asm/xen/cpuid.h diff --git a/arch/x86/include/asm/xen/cpuid.h b/arch/x86/include/asm/xen/cpuid.h new file mode 100644 index ...
Mar 10, 11:28 pm 2010
Sheng Yang
[PATCH][v8 5/7] x86/xen: The entrance for PV extension of HVM
xen_guest_init() would setup the environment. Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- arch/x86/include/asm/xen/hypervisor.h | 6 ++++++ arch/x86/kernel/setup.c | 4 ++++ 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h index 396ff4c..13e089a 100644 --- a/arch/x86/include/asm/xen/hypervisor.h +++ b/arch/x86/include/asm/xen/hypervisor.h @@ -37,4 +37,10 @@ extern ...
Mar 10, 11:28 pm 2010
eranian
[PATCH] perf_events: improve task_sched_in()
This patch is an optimization in perf_event_task_sched_in() to avoid scheduling the events twice in a row. Without it, the perf_disable()/perf_enable() pair is invoked twice, thereby pinned events counts while scheduling flexible events and we go throuh hw_perf_enable() twice. By encapsulating, the whole sequence into perf_disable()/perf_enable() we ensure, hw_perf_enable() is going to be invoked only once because of the refcount protection. Signed-off-by: Stephane Eranian ...
Mar 10, 11:26 pm 2010
Peter Zijlstra
Re: [PATCH] perf_events: improve task_sched_in()
Agreed, this makes perfect sense. --
Mar 11, 1:35 am 2010
tip-bot for eranian@ ...
[tip:perf/core] perf_events: Improve task_sched_in()
Commit-ID: 9b33fa6ba0e2f90fdf407501db801c2511121564 Gitweb: http://git.kernel.org/tip/9b33fa6ba0e2f90fdf407501db801c2511121564 Author: eranian@google.com <eranian@google.com> AuthorDate: Wed, 10 Mar 2010 22:26:05 -0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:23:28 +0100 perf_events: Improve task_sched_in() This patch is an optimization in perf_event_task_sched_in() to avoid scheduling the events twice in a row. Without it, the ...
Mar 11, 7:42 am 2010
eranian
[PATCH] perf_events: fix X86 bogus counts when multiplexing
This patch fixes a bug in 2.6.33 X86 event scheduling whereby all counts are bogus as soon as events need to be multiplexed because the PMU is overcommitted. The code in hw_perf_enable() was causing multiplexed events to accumulate collected counts twice causing bogus results. This is demonstrated on AMD Barcelona with the example below. First run, no conflict, you obtain the actual counts. Second run, PMU overcommitted, multiplexing, all events are over-counted. Third run, patch applied, ...
Mar 10, 11:17 pm 2010
Peter Zijlstra
Re: [PATCH] perf_events: fix X86 bogus counts when multi ...
I'm a bit puzzled by this one, if we, during scheduling move an event from idx 1 to idx 2, we need to stop it on 1 and start if on 2, otherwise we do not properly transfer its count, right? With the below patch it does no such thing. I did fix some funnies I observed with hw_perf_enable() while doing the PEBS stuff, and -tip does it wrong differently from what you illustrate, so while there defenately is something to fix, I doubt the below is --
Mar 11, 1:32 am 2010
tip-bot for Peter Zi ...
[tip:perf/urgent] perf, x86: Fix hw_perf_enable() event ...
Commit-ID: 45e16a6834b6af098702e5ea6c9a40de42ff77d8 Gitweb: http://git.kernel.org/tip/45e16a6834b6af098702e5ea6c9a40de42ff77d8 Author: Peter Zijlstra <a.p.zijlstra@chello.nl> AuthorDate: Thu, 11 Mar 2010 13:40:30 +0100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:21:28 +0100 perf, x86: Fix hw_perf_enable() event assignment What happens is that we schedule badly like: <...>-1987 [019] 280.252808: x86_pmu_start: event-46/1300c0: idx: 0 <...>-1987 ...
Mar 11, 7:41 am 2010
Peter Zijlstra
Re: [PATCH] perf_events: fix X86 bogus counts when multi ...
OK, so what happens is that we schedule badly like: <...>-1987 [019] 280.252808: x86_pmu_start: event-46/1300c0: idx: 0 <...>-1987 [019] 280.252811: x86_pmu_start: event-47/1300c0: idx: 1 <...>-1987 [019] 280.252812: x86_pmu_start: event-48/1300c0: idx: 2 <...>-1987 [019] 280.252813: x86_pmu_start: event-49/1300c0: idx: 3 <...>-1987 [019] 280.252814: x86_pmu_start: event-50/1300c0: idx: 32 <...>-1987 [019] 280.252825: x86_pmu_stop: event-46/1300c0: idx: 0 <...>-1987 [019] ...
Mar 11, 5:37 am 2010
Srinivas Nayak
Re: BUG: Is it a bug in Linux time() function or Linux O ...
Dear John, Thanks for your answer. This is informative. With best regards, Yours sincerely, Srinivas Nayak My Home page: http://www.mathmeth.com/sn/ My Blog: http://srinivas-nayak.blogspot.com Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ --
Mar 10, 11:10 pm 2010
KOSAKI Motohiro
[PATCH] cpuset: current_cpuset_is_being_rebound() need r ...
rcu lockdep detected cpuset have wrong rcu usage. the fixing is trivial. but I wonder why don't cpuset_being_rebound assignment and read need a memory barrier pairing? =============== CUT HERE ========================================== Subject: [PATCH] cpuset: current_cpuset_is_being_rebound() need rcu lock. Currently, rcu-lockdep display following warning. because current_cpuset_is_being_rebound() call task_cs(), but it isn't protected by rcu lock. This patch fixes ...
Mar 10, 10:46 pm 2010
Paul E. McKenney
Re: [PATCH] cpuset: current_cpuset_is_being_rebound() ne ...
The fix is in -tip, commit 99ee4ca746dda71326db7645463b4075ac1d665c. This is an initialization-time use of rcu_dereference(), so no other task has a reference to this data. Hence it is constant. Other uses of this code operate on shared data structures, which might change at any time. --
Mar 11, 12:08 pm 2010
Stephen Rothwell
linux-next: Tree for March 11
Hi all, Changes since 20100310: Dropped tree: tmio-mmc (long unresolved conflicts and unable to fetch) My fixes tree contains: a patch for a pktcdvd build error from Arnd Bergmann two fixes for i2c-xii.c The kbuild tree gained a build failure for which I reverted a commit. The wireless tree lost its build failure but gained a conflict against the wireless-current tree.. The pcmcia tree gained a build failure so I used the version from next-20100310. The omap_dss2 tree gained a ...
Mar 10, 10:36 pm 2010
Stephen Rothwell
linux-next: build failure after merge of the kbuild tree
Hi Michal, After merging the kbuild tree, a build like "make modules modules_install" failed like this: cp: cannot stat `/home/sfr/kernels/ntest.obj/modules.builtin': No such file or directory Caused by commit a6c366324cacd5f71107dd01362b995a1c67b1ad ("kbuild: Do not unnecessarily regenerate modules.builtin"). I have reverted that commit for today. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Mar 10, 10:15 pm 2010
=?iso-8859-1?Q?"=A9W ...
Irish 2010 Grant Winner
£1,000,000Pounds has been awarded to you in the U.K PROMO.send to this office the following: Names........... Tel.............. Age............ Address.......... Occupation......... Country............. E-mail To: redeem_prize101@hotmail.com --
Mar 10, 10:13 pm 2010
Stephen Rothwell Mar 11, 3:18 pm 2010
Stephen Rothwell
linux-next: manual merge of the omap_dss2 tree with the ...
Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in drivers/video/omap2/vram.c between commit 4ff6baf45cd23593592e5786ccd607bdc8785f4c ("omap: Fix compile for early_param and omap_smc1") from the omap tree and commit 5c1f96f4cffbdde9e194f3ae5373953f3fa12836 ("OMAP: DSS2: VRAM: Fix early_param for vram") from the omap_dss2 tree. Just two versions of the same fix to omap_vram_early_vram(). I used the omap tree version. -- Cheers, Stephen Rothwell ...
Mar 10, 9:18 pm 2010
Tony Lindgren
Re: linux-next: manual merge of the omap_dss2 tree with ...
I'll split my patch in two parts, and let Tomi queue this fix. Regards, Tony --
Mar 11, 9:53 am 2010
Bruno Bigras
[PATCH 1/2] xen: balloon: Fix checkpatch issues
drivers/xen/balloon.c:50: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> drivers/xen/balloon.c:158: ERROR: else should follow close brace '}' drivers/xen/balloon.c:277: ERROR: do not use assignment in if condition drivers/xen/balloon.c:293: ERROR: code indent should use tabs where possible drivers/xen/balloon.c:364: ERROR: that open brace { should be on the previous line drivers/xen/balloon.c:463: WARNING: line over 80 characters drivers/xen/balloon.c:491: WARNING: line over 80 ...
Mar 10, 9:00 pm 2010
Bruno Bigras
[PATCH 2/2] xen: events: Fix checkpatch issues
drivers/xen/events.c:31: WARNING: Use #include <linux/ptrace.h> instead of <asm/ptrace.h> drivers/xen/events.c:76: ERROR: open brace '{' following struct go on the same line drivers/xen/events.c:509: WARNING: line over 80 characters drivers/xen/events.c:581: ERROR: space required before the open parenthesis '(' drivers/xen/events.c:585: ERROR: space required before the open parenthesis '(' drivers/xen/events.c:590: ERROR: space required before the open parenthesis '(' drivers/xen/events.c:595: ...
Mar 10, 9:00 pm 2010
Chase Douglas
Re: [regression]: soft lockup in dmesg after suspend/resume
I wanted to ask about potential work arounds for the issue noted at [1]. I wasn't subscribed to this list when that thread was started, so unfortunately I can't reply directly. I also haven't found any follow up to the thread, but please point me in the right direction if there has been any. We're seeing a number of reports against Ubuntu Lucid caused by timestamps being highly warped coming out of suspend/resume. When a warp occurs, the TSC register is throwing off timestamps with the upper ...
Mar 10, 7:22 pm 2010
Stephen Rothwell Mar 11, 3:32 am 2010
Stephen Rothwell
linux-next: build failure after merge of the pcmcia tree
Hi Dominik, After merging the pcmcia tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/pcmcia/pcmcia_resource.c:704:1: error: unterminated #ifdef Caused by commit 484f4b3fdd8f3de102b07a9b6d0d72342bcc1590 ("pcmcia: revert "irq probe can be done without risking an IRQ storm"") which has conflict resolution fragments still in it ... Please, please, read and build test this stuff ... I have used the version of the pcmcis tree from next-20100310 for ...
Mar 10, 7:21 pm 2010
Dominik Brodowski
Re: linux-next: build failure after merge of the pcmcia tree
Hey Stephen, oops, I'm very sorry, seems like I pushed the wrong tree to master... fixed it; so should be fine for tomorrow. Best, Dominik --
Mar 11, 1:17 am 2010
Huang Ying
[PATCH -v2 0/2] ACPI, APEI, use general HEST table parsi ...
Changelog: v2: - Setup firmware_first for every PCIE end point instead of just root point. - Wrap firmware accessing in a function instead of raw hardware, because HEST parsing involved. --
Mar 10, 7:14 pm 2010
Huang Ying
[PATCH -v2 2/2] ACPI, APEI, PCIE AER, use general HEST t ...
Now, a dedicated HEST tabling parsing code is used for PCIE AER firmware_first setup. It is rebased on general HEST tabling parsing code of APEI. The firmware_first setup code is moved from PCI core to AER driver too, because it is only AER related. Signed-off-by: Huang Ying <ying.huang@intel.com> --- drivers/acpi/Makefile | 1 drivers/acpi/hest.c | 135 ------------------------------------- drivers/pci/pcie/aer/aerdrv.h | 9 ++ ...
Mar 10, 7:14 pm 2010
Huang Ying
[PATCH -v2 1/2] ACPI, APEI, Make APEI core configurable ...
PCIE AER optionally depends on APEI HEST tabling parsing. If AER is built-in, HEST should be built-in or not configured at all instead of module. It is hard to express this elegantly in Kconfig. It is better to make APEI code part configurable built-in instead of module. On the other hand, APEI core code is used for hardware error processing. It may run in very bad condition. It is reasonable to keep it built-in if enabled. Signed-off-by: Huang Ying <ying.huang@intel.com> --- ...
Mar 10, 7:14 pm 2010
Bruno Randolf
Re: linux-next: manual merge of the wireless tree with t ...
not sure what happened... but wireless-next-2.6.git 86415d43efd4f7093979cfa8a80232114266f1a4 is an older version of my patch. i have sent one which applies cleanly later on. your fix is correct, though. bruno --
Mar 10, 7:38 pm 2010
Stephen Rothwell
linux-next: manual merge of the wireless tree with the w ...
Hi John, Today's linux-next merge of the wireless tree got a conflict in drivers/net/wireless/ath/ath5k/phy.c between commit 86415d43efd4f7093979cfa8a80232114266f1a4 ("ath5k: fix I/Q calibration (for real)") from the wireless-current tree and commit 49a85d211a63ad1d565842ebc535c5168d85d86a ("ath5k: IQ calibration for AR5211 is slightly different") from the wireless tree. I fixed it up (I think - see below) and can carry the fix for a while. -- Cheers, Stephen Rothwell ...
Mar 10, 7:15 pm 2010
Stephen Rothwell
Re: linux-next: manual merge of the wireless tree with t ...
Hi Bruno, The tree I call wireless-current usually only contains bug fixes, the Thanks for the confirmation. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Mar 10, 8:04 pm 2010
Liam Girdwood
Re: [PATCH] lp3971: Fix BUCK_VOL_CHANGE_SHIFT logic
Marek, Kyungmin, could someone please test/ack this before both are applied. Thanks Liam -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk --
Mar 11, 4:18 am 2010
Mark Brown
Re: [PATCH] lp3971: Fix BUCK_VOL_CHANGE_SHIFT logic
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> with the same comment about ideally wanting someone who worked on the driver previously to check stuff. --
Mar 11, 4:04 am 2010
axel lin
[PATCH] lp3971: Fix BUCK_VOL_CHANGE_SHIFT logic
From 99175ed0f281d54efdaf8eef548077a8f0b4924a Mon Sep 17 00:00:00 2001 From: Axel Lin <axel.lin@gmail.com> Date: Thu, 11 Mar 2010 09:50:07 +0800 Subject: [PATCH] lp3971: Fix BUCK_VOL_CHANGE_SHIFT logic Given x=0,1,2, current implementation of BUCK_VOL_CHANGE_SHIFT(x) returns 0,4,8. The correct return value should be 0,4,6. This patch fix the logic. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/regulator/lp3971.c | 2 +- 1 files changed, 1 insertions(+), 1 ...
Mar 10, 6:56 pm 2010
Ingo Molnar
Re: [patch] x86: increase CONFIG_NODES_SHIFT max to 10
It does not 'need' to be in .34 but if the fix is trivial enough then you could give it a try? Ingo --
Mar 11, 7:15 am 2010
Ingo Molnar
Re: [patch] x86: increase CONFIG_NODES_SHIFT max to 10
Not so here: erm. Alas I cannot merge it in the x86 tree without that fix being upstream. Why for v2.6.35 - shouldnt that be v2.6.34? Ingo --
Mar 11, 6:23 am 2010
Greg KH
Re: [patch] x86: increase CONFIG_NODES_SHIFT max to 10
If it needs to go in before .35, or it should go through Ingo's trees, I have no objection. thanks, greg k-h --
Mar 11, 7:06 am 2010
Greg KH
Re: [patch] x86: increase CONFIG_NODES_SHIFT max to 10
The fix is trivial, I'll queue it up. thanks, greg k-h --
Mar 11, 10:58 am 2010
Ingo Molnar Mar 11, 11:18 am 2010
Jiri Kosina
Re: ZTE MF636 USB modem is not supported
It is likely that your modem will need to have been switched to "serial" mode over from the default "storage" mode before it could be used (usb_modemswitch is an userspace application to do that for many ZTE modems). Could you please post 1) dmesg once your modem is plugged in 2) lsusb -v output for this modem -- Jiri Kosina SUSE Labs, Novell Inc. --
Mar 11, 6:16 am 2010
Jiri Kosina
Re: ZTE MF636 USB modem is not supported
Yes, this works for most of the ZTE modems with exception for 628 IIRC, which needs 5553424312345678000000000000061b000000030000000000000000000000 instead. -- Jiri Kosina SUSE Labs, Novell Inc. --
Mar 11, 6:40 am 2010
Ondrej Zary
Re: ZTE MF636 USB modem is not supported
Not sure about MF636, but MF637 works with this udev rule: -- Ondrej Zary --
Mar 11, 6:23 am 2010
Andy Shevchenko Mar 11, 12:59 am 2010
Andy Shevchenko
Re: [PATCH 4/5] fs: fat: use hex_asc_lo/hex_asc_hi inste ...
On Thu, Mar 11, 2010 at 1:18 AM, OGAWA Hirofumi No specific reason, it could be so. Would you like me to change this? -- With Best Regards, Andy Shevchenko
Mar 11, 12:14 am 2010
Joe Perches Mar 11, 12:21 am 2010
Joe Perches
Re: [PATCH 4/5] fs: fat: use hex_asc_lo/hex_asc_hi inste ...
It's shorter and more intelligible though op += sprintf(op, ":%04x:%04x", etc) cheers, Joe --
Mar 11, 1:10 am 2010
OGAWA Hirofumi
Re: [PATCH 4/5] fs: fat: use hex_asc_lo/hex_asc_hi inste ...
Yes, please change it if you have no problem. Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 2:03 am 2010
Andy Shevchenko
[PATCHv2] fs: fat: use pack_hex_byte() instead of custom one
From: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> --- fs/fat/dir.c | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/fs/fat/dir.c b/fs/fat/dir.c index 530b4ca..5de1a70 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -19,6 +19,7 @@ #include <linux/buffer_head.h> #include <linux/compat.h> #include <asm/uaccess.h> +#include <linux/kernel.h> #include "fat.h" /* @@ -149,19 ...
Mar 11, 8:00 am 2010
OGAWA Hirofumi
Re: [PATCHv2] fs: fat: use pack_hex_byte() instead of cu ...
Looks good to me. Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (From 1/4 with previous patch, I guess it's series of patches) Or I should take this patch into my tree? -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 8:12 am 2010
Andy Shevchenko
Re: [PATCHv2] fs: fat: use pack_hex_byte() instead of cu ...
On Thu, Mar 11, 2010 at 5:12 PM, OGAWA Hirofumi It has only one in common - cleanup. Basically it's a bunch of independent fixes. Please, take it in your tree. thank you. -- With Best Regards, Andy Shevchenko --
Mar 11, 8:15 am 2010
Miguel Ojeda
Re: [PATCH] intel-agp.c: Fix crash when accessing nonexi ...
On Wed, Mar 10, 2010 at 11:09 PM, Miguel Ojeda Cc'ing the original committers. --
Mar 11, 12:31 am 2010
Zhenyu Wang
Re: [PATCH] intel-agp.c: Fix crash when accessing nonexi ...
I think that page is wrong, and http://www.intel.com/design/chipsets/datashts/301467.htm has info that 256K is for GTT bar, so max video memory size is 256M. On my 915G I can't produce this on my 915G board with 128M or 256M memory config. Could you -- Open Source Technology Center, Intel ltd. $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
Mar 11, 1:34 am 2010
Miguel Ojeda
Re: [PATCH] intel-agp.c: Fix crash when accessing nonexi ...
You are right, I can choose between 128M/256M in BIOS too. The BIOS config is the following: IGD Aperture Size: 128 MB DVMT MODE: FIXED I see. I just guessed by seeing that gtt_total_size is the double than older num_entries and that "default" gtt_map_size is 256 instead of 128. Then I checked the webpage and lspci, I wrote the fix and it It also occurs in other applications/ways. Maybe you could try to do some scrolling (I recall it also triggered it) or try to open other browsers ...
Mar 11, 8:54 am 2010
Yinghai Lu
Re: [RFC PATCH 6/6] sparc64: use early_res and nobootmem
let see: 1. if early_res + fw_memmap could be simplified... 2. or let x86 to use lmb instead of early_res,then add more to lmb. YH --
Mar 10, 5:02 pm 2010
Paul Mundt
Re: [RFC PATCH 6/6] sparc64: use early_res and nobootmem
I vote for LMB too, it's already used across multiple architectures and has proven to be quite versatile. If x86 is concerned about consolidation, then it's a good a place to start as any, particularly since it's not even that conceptually different from how the e820 maps are used. This may come as a surprise, but if this had actually been brought up on linux-arch instead of buried in -tip and magically showing up in -next everyone involved could have saved a lot of time. --
Mar 10, 8:59 pm 2010
Daisuke Nishimura
Re: [PATCH] mm: fix typo in refill_stock() comment
Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Thanks, --
Mar 10, 5:32 pm 2010
Balbir Singh
Re: [PATCH] mm: fix typo in refill_stock() comment
Thanks for catching and fixing this. -- Three Cheers, Balbir --
Mar 10, 9:45 pm 2010
tip-bot for Jack Steiner
[tip:x86/uv] x86, UV: Clean up UV headers for MMR definitions
Commit-ID: 6f4edd69e40aba4f45bf9558c1e9a950d79ab4e4 Gitweb: http://git.kernel.org/tip/6f4edd69e40aba4f45bf9558c1e9a950d79ab4e4 Author: Jack Steiner <steiner@sgi.com> AuthorDate: Wed, 10 Mar 2010 14:44:58 -0600 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 14:11:26 +0100 x86, UV: Clean up UV headers for MMR definitions Update UV mmr definitions header file. Eliminate definitions no longer needed. Move 2 definitions from tlb_uv.c into the header file where they ...
Mar 11, 7:40 am 2010
Paolo Ornati
Re: Linux 2.6.24 Through Linux 2.6.33 Benchmarks
On Wed, 10 Mar 2010 20:34:12 +0200 The extra performance was just a "bug": http://www.mail-archive.com/pgsql-performance@postgresql.org/msg34841.html "[This change] is required for safe behavior with volatile write caches on drives. You could mount with -o nobarrier and [the performance drop] would go away, but a sequence like write->fsync->lose power->reboot may well find your file without the data that you synced, if the drive had write caches enabled. If you know you have no write cache, ...
Mar 11, 12:27 pm 2010
Ingo Molnar
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
an Athlon64 testbox was not as happy: [ 0.253338] calling spawn_nmi_watchdog_task+0x0/0x63 @ 1 [ 0.256675] NMI watchdog enabled, takes one hw-pmu counter. [ 0.260013] nmi_watchdog: hardware not available, trying software events [ 0.263380] BUG: unable to handle kernel NULL pointer dereference at (null) [ 0.266666] IP: [<(null)>] (null) [ 0.266666] *pde = 00000000 [ 0.266666] Oops: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 0.266666] last sysfs file: [ 0.266666] [ ...
Mar 11, 11:39 am 2010
Lin Ming
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
commit ca03770(perf, x86: Add PEBS infrastructure) introduces a new function validate_event that calls x86_pmu.get_event_constraints. static int validate_event(struct perf_event *event) { ... c = x86_pmu.get_event_constraints(fake_cpuc, event); ... } So we need to add .get_event_constraints to p4_pmu. diff --git a/arch/x86/kernel/cpu/perf_event_p4.c b/arch/x86/kernel/cpu/perf_event_p4.c index 4eb79b1..99a2a7c 100644 --- a/arch/x86/kernel/cpu/perf_event_p4.c +++ ...
Mar 10, 7:32 pm 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
Thanks, Ming! This snippet somehow escaped me. Will update. --
Mar 10, 9:12 pm 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
Patch is updated (and latest -tip/master is taken into account as well). Robert, introducing additional logic instead of function pointers would lead to a valuable code duplication. But I'll think about it anyway. Perhaps there is a way (still) to implement it with a minimal former code intersection. Also note that the patch squash really a small change into former code, which make pretty easy to step back if we will need it (for some reason). And naming issue of header file is ...
Mar 11, 9:54 am 2010
Ingo Molnar
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
tried it on a Pentium-D dual core CPU, and it boots fine: [ 0.020009] using mwait in idle threads. [ 0.021004] Performance Events: Netburst events, Netburst P4/Xeon PMU driver. [ 0.024006] ... version: 0 [ 0.025003] ... bit width: 40 [ 0.026003] ... generic registers: 18 [ 0.027003] ... value mask: 000000ffffffffff [ 0.028003] ... max period: 0000007fffffffff [ 0.029003] ... fixed-purpose events: 0 [ ...
Mar 11, 11:16 am 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
yes, it's expected since it's not implemented yet, but there yeah, wide testing would be great. Thanks! -- Cyrill --
Mar 11, 11:29 am 2010
tip-bot for Cyrill G ...
[tip:perf/x86] perf, x86: Implement initial P4 PMU driver
Commit-ID: a072738e04f0eb26370e39ec679e9a0d65e49aea Gitweb: http://git.kernel.org/tip/a072738e04f0eb26370e39ec679e9a0d65e49aea Author: Cyrill Gorcunov <gorcunov@openvz.org> AuthorDate: Thu, 11 Mar 2010 19:54:39 +0300 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 18:51:08 +0100 perf, x86: Implement initial P4 PMU driver The netburst PMU is way different from the "architectural perfomance monitoring" specification that current CPUs use. P4 uses a tuple of ...
Mar 11, 11:33 am 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
Perhaps something like the patch below (tested with kvm)? With this patch we will actually waste ~4/8 bytes per PMU (intel,amd,p6) since this call hits on p4 only, so I think perhaps better to use one x86 scheduler hook instead of empty schedule_events() in PMU, hmm? --- x86,perf: Fix NULL deref on not assigned x86_pmu In case of not assigned x86_pmu and software events NULL dereference may being hit via x86_pmu::schedule_events method. Fix it by calling x86_pmu::schedule_events only if ...
Mar 11, 2:15 pm 2010
Peter Zijlstra
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
Hrm,.. not sure that makes sense, sure it might not crash anymore, but its not making much sense to compute anything if we don't have an initialized x86_pmu. Doesn't adding something like: if (!x86_pmu_initialized()) return; to hw_perf_group_sched_in() make more sense? We seem to do that for all these weak things except this one. --
Mar 11, 2:24 pm 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
As far as I see it'll not update tstamp_running then (in x86_event_sched_in). Or I miss somethig? -- Cyrill --
Mar 11, 2:31 pm 2010
Peter Zijlstra
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
Have it return 0 and it will fallback to defaults. Since there is no initialized x86_pmu there's no point in doing anything x86 specific. --
Mar 11, 2:38 pm 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
OK, thanks, I see what you mean. Will cook patch shortly. -- Cyrill --
Mar 11, 2:41 pm 2010
Cyrill Gorcunov
Re: [RFC] x86,perf: Implement minimal P4 PMU driver v14
I suppose you mean something like below. -- Cyrill --- x86,perf: Fix NULL deref on not assigned x86_pmu In case of not assigned x86_pmu and software events NULL dereference may being hit via x86_pmu::schedule_events method. Fix it by checking if x86_pmu is initialized at all. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> --- arch/x86/kernel/cpu/perf_event.c | 3 +++ 1 file changed, 3 insertions(+) Index: ...
Mar 11, 2:50 pm 2010
Hans-Peter Jansen
Re: howto combat highly pathologic latencies on a server?
Dave, this modification sounds promising. Will do them during the weekend. Also Christoph mentioned some pending patches for fdatasync and NFS metadata updates in his XFS status report from February, that sounded _really_ exciting. Happily awaiting these bits in the stable universe ;-) Thanks, Pete --
Mar 10, 5:27 pm 2010
Hans-Peter Jansen
Re: howto combat highly pathologic latencies on a server?
Christoph, thanks for this valuable suggestion: I've changed it to noop right away, and also: vm.dirty_ratio = 20 vm.dirty_background_ratio = 1 since the defaults of 40 and 10 seem to also not fit my needs. Even the 20 might be still oversized with 8GB total mem. Thanks, Pete --
Mar 10, 5:15 pm 2010
Hans-Peter Jansen
Re: howto combat highly pathologic latencies on a server?
Yes, already done. Hopefully my users will notice.. As I've upgraded this server and the clients only two weeks ago, calming things down has highest priority. Switching kernel versions in production systems is always painful, thus I try to avoid that, but this time I already needed to roll my own kernel for the clients due to some aufs2 vs. apparmor disharmony. That led to the loss of the latter - I can live without apparmor, but certainly not without a reliable layered filesystem¹. ...
Mar 10, 6:20 pm 2010
Hans-Peter Jansen
Re: howto combat highly pathologic latencies on a server?
Done that now on my local test system, but on one of its filesystems, xfs_admin -c1 didn't succeed, it simply stopped (waiting for a futex): Famous last syscall: 6750 futex(0x868330c8, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...> Consequently, xfs_repair behaved similar, hanging in phase 6, traversing filesystem... I have a huge strace from this run, if someone is interested. It's an 3 TB Raid 5 array (4 * 1 TB hd) with one FS also driven by areca: meta-data=/dev/sdb1 ...
Mar 11, 9:58 am 2010
Jeremy Fitzhardinge
Re: [Xen-devel] [PATCH 2 of 5] early PV on HVM
Is this 64-bit specific like Sheng's version? I also asked him to move the setup code out of enlighten.c into a new There's no point testing this; if we don't use hypercalls beyond the I think you can combine these into the same if(). Also put it in a --
Mar 11, 2:20 pm 2010
Jeremy Fitzhardinge
Re: [Xen-devel] [PATCH 5 of 5] xen pci platform device driver
Will you add the ability to event channels via this device's interrupt for back-compat? Is there any way of getting these devices back? How does the unplug appear to the kernel? Does it depend on this happening before the normal disk/net/etc drivers come up? Shouldn't the unplug happen as each PV device comes up, rather than J --
Mar 11, 2:31 pm 2010
Jeremy Fitzhardinge
Re: [Xen-devel] [PATCH 4 of 5] evtchn delivery on HVM
Please see my comments on Sheng's version of this patch and his updates, specifically regarding the xen_hvm_domain() tests in xen_evtchn_do_upcall(). Thanks, --
Mar 11, 1:55 pm 2010
OGAWA Hirofumi
Re: [PATCH vfat] allow retrieving entries with trailing dots
This changed vfat_find(), so, this patch will change the behavior of all callers more or less. And the behavior seems to be really strange, you can remove "a.", but you can't create it? The behavior sounds random, right? Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 2:26 am 2010
Philippe De Muyter
Re: [PATCH vfat] allow retrieving entries with trailing dots
Hello Ogawa, We could perhaps reduce the disadvantage by moving the logic (test first with the trailing dots, and then without if needed) into fat_search_long instead of putting it in vfat_find as my patch proposal does. This way the name to find would only be compared once to unrelated entries, instead of possibly twice as my patch does. But therefore I need your help : fat_search_long isn't easy to read/modify. The logic could be modified as such : - if the searched name contains ...
Mar 11, 5:02 am 2010
OGAWA Hirofumi
Re: [PATCH vfat] allow retrieving entries with trailing dots
Sorry, but I'm not thinking this is primary one. So, requiring option No, this breaks consistency. With this patch, unlink("a."), then open("a.", O_CREAT) and write(), the result depend on existent files. This patch is providing two files on one name. Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 5:41 am 2010
Wu Fengguang
Re: [RFC PATCH] Fix Readahead stalling by plugged device ...
I mean, when readahead windows A and B are submitted in one IO -- let's call it AB -- commit 65a80b4c61 will explicitly unplug on doing readahead C. While in your trace, the unplug appears on AB. The 68% improvement is very impressive. Wondering if commit 65a80b4c61 They are reasonable assumptions. However I'm not sure if this unconditional unplug will defeat CFQ's anticipatory logic -- if there are any. You know commit 65a80b4c61 is more about a *defensive* protection against the rare ...
Mar 10, 6:45 pm 2010
Christian Ehrhardt
Re: [RFC PATCH] Fix Readahead stalling by plugged device ...
That patch fixes my issue completely and is as we discussed less aggressive which is fine - thanks for pointing it out - Now I have Yep it can ! Just sequential read where I see the win, but I also had sequential write, and random read/write as well as some mixed stuff like dbench. It improved sequential read and did not impact the others which is fine. -- Grüsse / regards, Christian Ehrhardt IBM Linux Technology Center, System z Linux Performance --
Mar 11, 2:58 am 2010
Wu Fengguang
Re: [RFC PATCH] Fix Readahead stalling by plugged device ...
Andrew/Greg, shall we push the patch to .32 stable? You are welcome~ Thanks, Fengguang --
Mar 11, 6:29 am 2010
Xiaotian Feng
Re: 'struct uart_port' has no member named 'info
uart_port->info has been removed by commit ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 --
Mar 10, 8:10 pm 2010
FUJITA Tomonori
Re: DMA_ERROR_CODE (was: Re: linux-next: build failure a ...
On Wed, 10 Mar 2010 12:03:37 +0100 Why can't use dma_mapping_error()? --
Mar 10, 5:15 pm 2010
David Woodhouse Mar 11, 10:30 am 2010
Avi Kivity
Re: [PATCH] kvm: cleanup kvm trace
Applied, thanks. -- error compiling committee.c: too many arguments to function --
Mar 11, 12:31 am 2010
Ingo Molnar Mar 11, 4:42 am 2010
tip-bot for Paul Mac ...
[tip:perf/urgent] perf tools: Fix sparse CPU numbering r ...
Commit-ID: a12b51c478899fe0b7e874a559b05ba35f1128ee Gitweb: http://git.kernel.org/tip/a12b51c478899fe0b7e874a559b05ba35f1128ee Author: Paul Mackerras <paulus@samba.org> AuthorDate: Wed, 10 Mar 2010 20:36:09 +1100 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:36:53 +0100 perf tools: Fix sparse CPU numbering related bugs At present, the perf subcommands that do system-wide monitoring (perf stat, perf record and perf top) don't work properly unless the online ...
Mar 11, 7:38 am 2010
=?UTF-8?Q?Am=C3=A9ri ...
Re: 2.6.34-rc1: kernel BUG at mm/slab.c:2989!
On Wed, Mar 10, 2010 at 10:33 PM, Christoph Lameter Ok, I will try it today. --
Mar 10, 7:42 pm 2010
=?UTF-8?Q?Am=C3=A9ri ...
Re: 2.6.34-rc1: kernel BUG at mm/slab.c:2989!
Sorry, I can't trigger it today, either with SLAB or SLUB. --
Mar 11, 2:57 am 2010
Pekka Enberg
Re: 2.6.34-rc1: kernel BUG at mm/slab.c:2989!
Is it the exact same version or is it a new git snapshot? --
Mar 11, 3:49 am 2010
=?utf-8?Q?Am=C3=A9ri ...
Re: 2.6.34-rc1: kernel BUG at mm/slab.c:2989!
No, I did a git pull, but it looks like only some btrfs updates... --
Mar 11, 9:19 am 2010
Richard Purdie
Re: linux-next: build failure after merge of the final t ...
Hi, Sorry about that, I knew there were going to be issues with that patch and had meant to commit and test but not push until I fixed that issue. I've fixed up the tree now. Cheers, Richard --
Mar 11, 10:36 am 2010
Peter Zijlstra Mar 11, 6:13 am 2010
Lucas De Marchi
Re: [PATCH] Group scheduler statistics in one struct
On Wed, Mar 10, 2010 at 02:18, Lucas De Marchi And of course this does not work because it has a typo and I forgot to test with SCHED_DEBUG enabled. I'm sending the right version in a following email. --
Mar 10, 7:29 pm 2010
Lucas De Marchi
[PATCH] Group scheduler statistics in one struct
Put all statistic fields of sched_entity in one struct, sched_statistics, and embed it into sched_entity. This change allows to memset the sched_statistics to 0 when needed (for instance when forking), avoiding bugs of non initialized fields. Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com> --- include/linux/sched.h | 54 ++++++++++++-------------- kernel/sched.c | 47 ++++------------------ kernel/sched_debug.c | 101 ++++++++++++++++++------------------------------ ...
Mar 10, 7:37 pm 2010
tip-bot for Lucas De ...
[tip:sched/core] sched: Implement group scheduler statis ...
Commit-ID: 41acab8851a0408c1d5ad6c21a07456f88b54d40 Gitweb: http://git.kernel.org/tip/41acab8851a0408c1d5ad6c21a07456f88b54d40 Author: Lucas De Marchi <lucas.de.marchi@gmail.com> AuthorDate: Wed, 10 Mar 2010 23:37:45 -0300 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 15:22:28 +0100 sched: Implement group scheduler statistics in one struct Put all statistic fields of sched_entity in one struct, sched_statistics, and embed it into sched_entity. This change ...
Mar 11, 7:42 am 2010
CaT
Re: Regression? 2.6.23.16 -> 2.6.32.9: ide/libata HD rec ...
this is for the working setup: $ ls /sys/block/ fd0 hdb loop0 loop2 loop4 loop6 md0 md2 md4 hda hdc loop1 loop3 loop5 loop7 md1 md3 md5 I don't have one for the notworking side of things as that'd require taking the server down, opening it, cursing heavily as I tried to manipulate a tiny jumper in the worst location possible (thank god From /var/log/messages I'm assuming you want the dmesg output. That's attached. I'll provide both the libata and ide subsystem ones as ...
Mar 11, 3:54 pm 2010
Andi Kleen
Re: mmotm 2010-03-09-19-15: Lot of scheduling while atom ...
The data actually has to be copied, there's a helper for this in rcustring. Yes, except rcustring already has a helper for that :) -Andi --
Mar 11, 3:30 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Wed, 10 Mar 2010 00:00:31 +0100 maybe. But in this 2 years, one of our biggest concerns was the performance. So, we do something complex in memcg. But complex-locking is , yes, complex. Hmm..I don't want to bet we can fix locking scheme without something complex. Thanks, -Kame --
Mar 10, 5:39 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Thu, 11 Mar 2010 09:39:13 +0900 But overall patch set seems good (to me.) And dirty_ratio and dirty_background_ratio will give us much benefit (of performance) than we lose by small overheads. IIUC, this series affects trgger for background-write-out. Could you show some score which dirty_ratio give us benefit in the cases of - copying a file in a memcg which hits limit ex) copying a 100M file in 120MB limit. etc.. - kernel make performance in limited memcg. ex) making a ...
Mar 10, 6:17 pm 2010
Peter Zijlstra
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
Not sure though, while this does the accounting the actual writeout is still !cgroup aware and can definately impact performance negatively by shrinking too much. --
Mar 11, 2:14 am 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Thu, 11 Mar 2010 10:14:25 +0100 Ah, okay, your point is !cgroup (ROOT cgroup case.) I don't think accounting these file cache status against root cgroup is necessary. BTW, in other thread, I'm now proposing this style. == +void mem_cgroup_update_stat(struct page *page, int idx, bool charge) +{ + struct page_cgroup *pc; + + pc = lookup_page_cgroup(page); + if (unlikely(!pc)) + return; + + if (trylock_page_cgroup(pc)) { + __mem_cgroup_update_stat(pc, idx, ...
Mar 11, 2:25 am 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Thu, 11 Mar 2010 18:25:00 +0900 Hmm..like this ? The bad point of this patch is that this will corrupt FILE_MAPPED status in root cgroup. This kind of change is not very good. So, one way is to use this kind of function only for new parameters. Hmm. == From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Now, file-mapped is maintaiend. But more generic update function will be needed for dirty page accounting. For accountig page status, we have to guarantee lock_page_cgroup() will ...
Mar 11, 2:42 am 2010
Vivek Goyal
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
I think what peter meant was that with memory cgroups created we will do writeouts much more aggressively. In balance_dirty_pages() if (bdi_nr_reclaimable + bdi_nr_writeback <= bdi_thresh) break; Now with Andrea's patches, we are calculating bdi_thres per memory cgroup (almost) bdi_thres ~= per_memory_cgroup_dirty * bdi_fraction But bdi_nr_reclaimable and bdi_nr_writeback stats are still global. So for the same number of dirty pages system wide on this bdi, we will ...
Mar 11, 8:03 am 2010
Vivek Goyal
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
Hi Andrea, I am doing a simple dd test of writting a 4G file. This machine has got 64G of memory and I have created one cgroup with 100M as limit_in_bytes. I run following dd program both in root cgroup as well as test1/ cgroup(100M limit) one after the other. In root cgroup ============== dd if=/dev/zero of=/root/zerofile bs=4K count=1000000 1000000+0 records in 1000000+0 records out 4096000000 bytes (4.1 GB) copied, 59.5571 s, 68.8 MB/s In test1/ cgroup =============== dd ...
Mar 11, 11:07 am 2010
Andrea Righi
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
This kind of accouting shouldn't be a big problem for the dirty memory write-out. The benefit in terms of performance is much more important I think. The missing accounting of root cgroup statistics could be an issue if we move a lot of pages from root cgroup into a child cgroup (when migration of file cache pages will be supported and enabled). But at worst we'll continue to write-out pages using the global settings. Remember that memcg dirty memory is always the min(memcg_dirty_memory, ...
Mar 11, 3:20 pm 2010
Andrea Righi
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
Consider that I'm not running the kernel build on tmpfs, but on a fs defined on /dev/sda. So the additional overhead should be normal compared to the mmotm vanilla, where there's only FILE_MAPPED accounting. -Andrea --
Mar 11, 3:23 pm 2010
Andrea Righi
Re: [PATCH -mmotm 4/5] memcg: dirty pages accounting and ...
Thanks! Will fix in the next version. (mmh... why I didn't see this? probably because I'm building a static kernel...) -Andrea --
Mar 11, 3:27 pm 2010
Andrea Righi
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
Correct. More exactly: bdi_thresh = memcg dirty memory limit * BDI's share of the global dirty memory Before: There'll be the opposite problem I think, the number of dirty pages (system-wide) will increase, because in this way we'll consider BDI shares of memcg dirty memory. So I think we need both: per memcg BDI stats and system-wide BDI stats, then we need to take the min of the two when evaluating bdi_thresh. Maybe... I'm not really sure about this, and need to figure better this ...
Mar 11, 4:27 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Thu, 11 Mar 2010 10:03:07 -0500 Thank you for clarification. IIUC, dirty_limit implemanation shoul assume there is I/O resource controller, maybe usual users will use I/O resource controller and memcg at the same time. Yes. I think so. Thanks, -Kame --
Mar 11, 4:42 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
On Fri, 12 Mar 2010 00:27:09 +0100 Ah, sorry. I misunderstood something. But it's depends on dirty_ratio param. If background_dirty_ratio = 5 dirty_ratio = 100 under 100M cgroup, I think background write-out will be a help. (nonsense ? ;) And I wonder make -j can get better number....Hmm. Thanks, -Kame --
Mar 11, 4:52 pm 2010
Andrea Righi
Re: [PATCH -mmotm 0/5] memcg: per cgroup dirty limit (v6)
mmmh.. strange, on my side I get something as expected: <root cgroup> $ dd if=/dev/zero of=test bs=1M count=500 500+0 records in 500+0 records out 524288000 bytes (524 MB) copied, 6.28377 s, 83.4 MB/s <child cgroup with 100M memory.limit_in_bytes> $ dd if=/dev/zero of=test bs=1M count=500 500+0 records in 500+0 records out 524288000 bytes (524 MB) copied, 11.8884 s, 44.1 MB/s Did you change the global /proc/sys/vm/dirty_* or memcg dirty parameters? -Andrea --
Mar 11, 4:59 pm 2010
Benjamin Herrenschmidt Mar 11, 2:45 pm 2010
Oleg Nesterov
Re: Q: select_fallback_rq() && cpuset_lock()
That was a great plan, but it doesn't work. With the recent changes we have even more problems with cpuset_cpus_allowed_locked(). Not only it misses cpuset_lock() (which doesn't work anyway and must die imho), it is very wrong to even call this function from try_to_wakeup() - this can deadlock. Because task_cs() is protected by task_lock() which is not irq-safe, and cpuset_cpus_allowed_locked() takes this lock. We need more changes in cpuset.c. Btw, select_fallback_rq() ...
Mar 11, 7:52 am 2010
Oleg Nesterov
Re: Q: select_fallback_rq() && cpuset_lock()
Wait. We need to fix the CPU_DEAD case anyway? Hmm. 6ad4c18884e864cf4c77f9074d3d1816063f99cd "sched: Fix balance vs hotplug race" did s/CPU_DEAD/CPU_DOWN_PREPARE/ in cpuset_track_online_cpus(). This doesn't look exactly right to me, we shouldn't do remove_tasks_in_empty_cpuset() at CPU_DOWN_PREPARE stage, it can fail. Otoh. This means that move_task_of_dead_cpu() can never see the task without active cpus in ->cpus_allowed, it is called later by CPU_DEAD. So, cpuset_lock() is not needed at ...
Mar 11, 8:22 am 2010
Peter Zijlstra
Re: Q: select_fallback_rq() && cpuset_lock()
You're right, and lockdep doesn't normally warn about that because Problem is, we can't really fix up tasks, wakeup must be able to find a Right, this seems safe. --
Mar 11, 8:35 am 2010
Peter Zijlstra
Re: Q: select_fallback_rq() && cpuset_lock()
Right,.. so the whole problem is cpumask ops are terribly expensive since we got this CONFIG_CPUMASK_OFFSTACK muck, so we try to reduce these ops in the regular scheduling paths, in the patch you referenced above the tradeof was between fixing the sched_domains up too often vs adding a cpumask_and in a hot-path, guess who won ;-) --
Mar 11, 8:41 am 2010
Oleg Nesterov
Re: Q: select_fallback_rq() && cpuset_lock()
Yes sure. I meant, wakeup()->select_fallback_rq() sets cpus_allowed = cpu_possible_map as we discussed. Then cpuset_track_online_cpus(CPU_DEAD) What do you mean? Afaics, cpusets always uses set_cpus_allowed() to Yes, I mentioned retry logic too. But it can't always help, even without cpusets. Suppose a task T is bound to the dead CPU, and move_task_off_dead_cpu() races with set_cpus_allowed(new_mask). I think it is fine if T gets either new_mask or cpu_possible_map in ->cpus_allowed. ...
Mar 11, 9:19 am 2010
Peter Zijlstra
Re: Q: select_fallback_rq() && cpuset_lock()
Ah, have that re-validate the p->cpus_allowed for all cpuset tasks, ok Confusion^2 ;-), I failed to grasp your fixup idea and got confused, Ah indeed. One would almost construct a cpumask_assign that uses RCU Thanks! --
Mar 11, 9:29 am 2010
Shinya Kuribayashi
Re: [PATCH 1/3] Loongson-2F: Flush the branch target his ...
Are you sure that RAS represents "Row Address Strobe", not "Return Address Stack?" By the way, we have a similar local workaround for vr55xx processors when switching from kernel mode to user mode. It's not necessarily related to out-of-order issues, but we need to prevent the processor from doing instruction prefetch beyond "eret" instruction. In the long term, it would be appreciated that the kernel has a set of hooks when switching KUX-modes, so that each machine could have his own, ...
Mar 10, 8:27 pm 2010
Wu Zhangjin Mar 10, 8:35 pm 2010
Ralf Baechle
Re: [PATCH 1/3] Loongson-2F: Flush the branch target his ...
Some R4000 revisions may do silly things in case of an NMI where c0_errorepc is pointing is pointing to an ERET instruction. There are various processors which want to save and restore core-specific It seems that uasm is the tool of choice. Ralf --
Mar 11, 2:59 am 2010
tip-bot for Masami H ...
[tip:perf/urgent] kprobes: Calculate the index correctly ...
Commit-ID: 83ff56f46a8532488ee364bb93a9cb2a59490d33 Gitweb: http://git.kernel.org/tip/83ff56f46a8532488ee364bb93a9cb2a59490d33 Author: Masami Hiramatsu <mhiramat@redhat.com> AuthorDate: Tue, 9 Mar 2010 10:22:19 -0500 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 14:06:16 +0100 kprobes: Calculate the index correctly when freeing the out-of-line execution slot From : Ananth N Mavinakayanahalli <ananth@in.ibm.com> When freeing the instruction slot, the ...
Mar 11, 7:39 am 2010
Kay Sievers
Re: [PATCH] driver core: Early dev_name() support.
This should probably state that it's used for getting names out of Thanks, Kay
Mar 11, 12:59 pm 2010
Yong Zhang
Re: [RFC][PATCH] IRQ: Fix oneshot irq race between irq_f ...
I must say this patch isn't based on your previous one in which mask_ack_irq() is modified to flag IRQ_MASKED. I let IRQ_MASKED serialise interrupt-handler and irq-thread in oneshot I have thought of that kind of reentering you point above, if IRQ_MASKED is cleared by irq_finalize_oneshot(), the thread_fn() is done as well as the hardware opration. If another irq comes in, the reentering does happen, but I think it's harmless because at this time we just set IRQTF_RUNTHREAD and IRQ_MASKED and ...
Mar 10, 7:55 pm 2010
Thomas Gleixner
Re: [RFC][PATCH] IRQ: Fix oneshot irq race between irq_f ...
And I said in a previous mail, that magically covering stuff with inconsistent status information is the wrong way to fix it. The IRQ_MASKED state is inconsistent in the current code and that needs to be fixed first. And your patch does solve nothing at all. It merily violates the No, it is _NOT_ harmless. interrupt handlers are guaranteed _NOT_ to be reentered. That's why we check the INPROGRESS flag. And you totally miss the case which caused the disussion in the first place: When ...
Mar 11, 1:41 am 2010
Yong Zhang
Re: [RFC][PATCH] IRQ: Fix oneshot irq race between irq_f ...
Yeah, I see. Thanks for your point. It will smooth the concerns. Thanks, Yong --
Mar 11, 2:13 am 2010
Masami Hiramatsu
Re: [PATCH] OPTPROBES: Don't default to y in Kconfig
OK, that will be good for finding bugs. :) Thank you, -- Masami Hiramatsu e-mail: mhiramat@redhat.com --
Mar 11, 3:21 pm 2010
Ingo Molnar
Re: [PATCH] OPTPROBES: Don't default to y in Kconfig
Well, since this is a prime time optimization i'd rather see the Kconfig value eliminated and the optimization to become unconditional. (if it doesnt work somewhere then it should be fixed) Ingo --
Mar 11, 6:15 am 2010
Jeff Moyer
Re: aio: compat_ioctl issue?
Yeah, whoops. I built the libaio test harness using -m32 and this patch works for me. Would you mind giving it a try? Thanks, Jeff diff --git a/fs/aio.c b/fs/aio.c index 1cf12b3..5a38805 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -36,6 +36,7 @@ #include <linux/blkdev.h> #include <linux/mempool.h> #include <linux/hash.h> +#include <linux/compat.h> #include <asm/kmap_types.h> #include <asm/uaccess.h> @@ -1384,13 +1385,20 @@ static ssize_t aio_fsync(struct kiocb *iocb) return ...
Mar 11, 9:06 am 2010
Michael Tokarev
Re: aio: compat_ioctl issue?
Jeff Moyer wrote: It appears to work here so far. I did not run massive i/o test suite but it now passes basic multiple kernel unpacking in parallel tests (before it didnt' even recognize the partition table). So the patch - at least basically - works. Except that we now have code duplication in kernel. Look at fs/compat.c:compat_do_readv_writev() - it does the same as compat_rw_copy_check_uvector() plus a bit more. I guess it is a good idea to use compat_rw_copy_check_uvector() ...
Mar 11, 12:10 pm 2010
Jeff Moyer
Re: aio: compat_ioctl issue?
I'm well aware of the code duplication, thanks. You can even find another copy in net/compat.c. I'll see what I can do about it. Cheers, Jeff --
Mar 11, 12:13 pm 2010
Michael Tokarev
Re: aio: compat_ioctl issue?
It looks like the conclusion was preliminary a bit. I tested the wrong kvm binary which does not have aio support... And when running real thing it crashes. I tested it on 2.6.32 (trivial corrections to the patch required). BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: [<ffffffff810c0e57>] generic_segment_checks+0x17/0xd0 PGD 18afe0067 PUD 18ace1067 PMD 0 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/virtual/input/mice/uevent CPU 0 Modules linked ...
Mar 11, 12:46 pm 2010
Jeff Moyer
Re: aio: compat_ioctl issue?
Could you just post your version of the patch so I can have a look? Thanks, Jeff --
Mar 11, 12:57 pm 2010
Michael Tokarev
Re: aio: compat_ioctl issue?
I think there's no need since in 2.6.33 (where your patch applies without any offsets) it crashes in exactly the same way: ------ BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 IP: [<ffffffff810bbf37>] generic_segment_checks+0x17/0xd0 PGD 184f1c067 PUD 184cd1067 PMD 0 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/virtual/input/mice/uevent CPU 1 Pid: 5182, comm: kvm Not tainted 2.6.33-amd64 #2.6.33.0 M3A78-EM/System Product Name RIP: 0010:[<ffffffff810bbf37>] ...
Mar 11, 1:13 pm 2010
Jan Kara
Please pull UDF updates for 2.6.34-rc1
OK, changing the subject line to catch attention. Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Mar 11, 8:08 am 2010
Andrey Panin
Re: SIIG DP CyberSerial 4S PCIe Support
Now I'm confused, because I can't remember SIIG related patches for 2.6.28. --
Mar 11, 6:45 am 2010
Ingo Molnar
Re: [PATCH] x86, k8 nb: Enable k8_northbridges unconditi ...
alas, your patch doesnt always build: drivers/built-in.o: In function `agp_amd64_probe': amd64-agp.c:(.devinit.text+0x81d2): undefined reference to `cache_k8_northbridges' amd64-agp.c:(.devinit.text+0x8207): undefined reference to `k8_northbridges' amd64-agp.c:(.devinit.text+0x8409): undefined reference to `num_k8_northbridges' amd64-agp.c:(.devinit.text+0x8500): undefined reference to `k8_northbridges' Thanks, Ingo --
Mar 11, 6:22 am 2010
Borislav Petkov
Re: [PATCH] x86, k8 nb: Enable k8_northbridges unconditi ...
From: Ingo Molnar <mingo@elte.hu> Ah, yep, this patch removes the dependency on K8_NB and it could be that your config has CONFIG_K8_NB disabled but with CONFIG_AGP_AMD64 enabled. Can you send me your .config pls? -- Regards/Gruss, Boris. -- Advanced Micro Devices, Inc. Operating Systems Research Center --
Mar 11, 7:17 am 2010
Andrew Morton
Re: [RFC PATCH 0/3] Avoid the use of congestion_wait und ...
On Mon, 8 Mar 2010 11:48:20 +0000 clear_bdi_congested() is called each time a write completes and the queue is below the congestion threshold. So if the page allocator or kswapd call congestion_wait() against a non-congested queue, they'll wake up on the very next write completion. Hence the above-quoted claim seems to me to be a significant mis-analysis and perhaps explains why the patchset didn't seem to help anything? --
Mar 11, 4:41 pm 2010
Stephen Rothwell Mar 11, 3:33 am 2010
Stephen Rothwell
Re: [PATCH] kbuild: Do not unnecessarily regenerate modu ...
Hi Michal, This breaks a "make modules modules_install" type build: $ rm -rf ../ntest.obj ../lib $ mkdir ../ntest.obj ../lib $ echo CONFIG_MODULES=y >../ntest.conf $ KCONFIG_ALLCONFIG=../ntest.conf make O=../ntest.obj allnoconfig . . $ make O=../ntest.obj INSTALL_MOD_PATH=../ -s modules modules_install cp: cannot stat `/home/sfr/kernels/ntest.obj/modules.builtin': No such file or directory reverting that patch allows that build to work again. Unfortunately, this breaks our test ...
Mar 10, 10:03 pm 2010
Michal Marek
Re: [PATCH] kbuild: Do not unnecessarily regenerate modu ...
Hi Stephen, Andrew reported this yesterday, too. The followin patch should fix it (added to the for-next branch): From 73d1393eb8507ed5fd7f8e696f6b1ecc18035ebe Mon Sep 17 00:00:00 2001 From: Michal Marek <mmarek@suse.cz> Date: Wed, 10 Mar 2010 12:28:58 +0100 Subject: [PATCH] kbuild: Generate modules.builtin in make modules_install The previous approach didn't work if one did make modules && make modules_install Add modules.builtin as dependency of _modinst_, which is the target ...
Mar 11, 1:12 am 2010
Nick Piggin
Re: [PATCH V2 4/4] cpuset,mm: update task's mems_allowed ...
I like your focus on keeping the hotpath light, but it is getting a bit crazy. I wonder if it wouldn't be better just to teach those places that matter to retry on finding an inconsistent nodemask? The only failure case to worry about is getting an empty nodemask, isn't it? --
Mar 11, 1:15 am 2010
Miao Xie
Re: [PATCH V2 4/4] cpuset,mm: update task's mems_allowed ...
Ok, I try to make a new patch by using seqlock. Miao --
Mar 11, 3:33 am 2010
Nick Piggin
Re: [PATCH V2 4/4] cpuset,mm: update task's mems_allowed ...
Well... I do think seqlocks would be a bit simpler because they don't require this checking and synchronizing of this patch. But you are right: on non-x86 architectures seqlocks would probably be more costly than your patch in the fastpaths. Unless you can avoid using the seqlock in fastpaths and just have callers handle the rare case of an empty nodemask. cpuset_node_allowed_*wall doesn't need anything because it is just interested in one bit in the mask. cpuset_mem_spread_node doesn't ...
Mar 11, 4:03 am 2010
Arnaldo Carvalho de Melo
Re: [PATCH] perf: Make printing table easily
I'm going thru the printing routines now to get them usable by TUI/GUIs, starting with a libnewt based browser integrating initially report and annotate, after I get the first patch in shape for merging I'll revisit this table class of yours :-) - Arnaldo --
Mar 11, 7:06 am 2010
Ingo Molnar
Re: [PATCH] perf: Make printing table easily
Looks quite reasonable in theory. I suspect it would be useful to see a few table printing places converted to this facility, to see the simplification factor in practice. Ingo --
Mar 11, 5:51 am 2010
Sheng Yang
Re: [Xen-devel] [PATCH 7/7] xen: Enable event channel of ...
I think my first 6 patches can be used without modification. And I've already spent lots of efforts on them with Jeremy. We can work on evtchn and platform pci later. Thanks. -- regards Yang, Sheng --
Mar 10, 6:34 pm 2010
Stefano Stabellini
Re: [Xen-devel] [PATCH 7/7] xen: Enable event channel of ...
Agreed on evtchn but platform pci should be present even in the basic version. Please read the series "basic PV on HVM support" I posted yesterday because I believe has already everything needed to be accepted upstream right now; at the same time it introduces the pv clocksource and the vector based callback mechanism that is going to be needed for the interrupt remapping we are going to work on later on. --
Mar 11, 4:43 am 2010
Nikanth Karthikesan
Re: ATA 4 KiB sector issues.
I guess, what he meant was, to keep filesystem blocks aligned, even if the partition is not. Say if the partition is mis-aligned by 512-bytes, let the filesystem waste 4k-512bytes and keep it's blocks aligned. But it might be a case of over-engineering, possibly requiring disk format change. Thanks Nikanth --
Mar 11, 6:57 am 2010
Theodore Tso
Re: ATA 4 KiB sector issues.
Ah, yes, I agree with you; that's probably what he meant. Sure, that's theoretically possible, but it would mean changing every single filesystem, and it would require a file system format change --- or at least a file system format extension. It would seem to be way easier to simply fix the partitioning tools to do the right thing, though. -- Ted --
Mar 11, 7:28 am 2010
James Bottomley
Re: ATA 4 KiB sector issues.
Actually, it's a layering violation. The filesystem shouldn't need to probe the device layout ... particularly when there are complexities like is it logical 512 or physical, and if logical 512 on 4k does it have an offset exponent or not. We can transmit certain abstractions of information up the stack (like stripe width for RAID arrays which should be the fs optimal write size), but for this type of alignment, which can be completely solved at the partition layer, the information should ...
Mar 11, 7:39 am 2010
Mike Snitzer
Re: ATA 4 KiB sector issues.
Yes, the current supported approach is to rely on partitions (parted, fdisk) or LVM to account for 'alignment_offset'. This avoids having a filesystem add its own padding (format change). But e2fsprogs at least warns if a device, that it is to format, has an alignment_offset != 0. Mike --
Mar 11, 7:48 am 2010
Nikanth Karthikesan
Re: ATA 4 KiB sector issues.
Yes. May be, just a simple but transparent device-mapper like mapping on top of the mis-aligned partition, to do the alignment. Then the file-system code need not change much. But Linux already has device-mapper and Linux will not be affected with mis- aligned partitions, when we use LVM. But the actual problem here is that partitioning tools might create partitions that wont allow other operating-systems to boot. So it might be enough, if the partitioning tools just create partitions ...
Mar 11, 8:00 am 2010
Nikanth Karthikesan
Re: ATA 4 KiB sector issues.
Right. It would be layering violation and we have LVM to solve it already. The real problem, here is just that partitioning-tools should create partitions that can work with both XP as well as Windows7. May be distro installers, should ask the user which compatibility he needs. Thanks Nikanth --
Mar 11, 8:05 am 2010
Tejun Heo
Re: ATA 4 KiB sector issues.
Hello, Turns out XP is generally OK. The reported problem was only on specific configurations (some BIOS stuff). Windows 2000 reportedly would be hurt but I really think we don't have to care about that too much. So, it seems like we wouldn't have to worry too much about it and just go ahead with new alignment schemes. I'll update the doc this weekend with new information from this now rather large thread. Thanks. -- tejun --
Mar 11, 8:10 am 2010
tytso
Re: ATA 4 KiB sector issues.
4k aligned sectors will *work* with Windows XP, will it not? It's just simply a matter of Windows XP, being really ancient, doesn't create properly alligned partitions by default. And how often are we going to see Windows XP systems with these new 4k physical sector drives anyway, where the first OS to touch the partition is Windows XP? And in the case where this does happy, the resulting partition will be result in terribly performance for Windows XP as well as Linux. What's the ...
Mar 11, 8:25 am 2010
Mike Snitzer
Re: ATA 4 KiB sector issues.
Well, device-mapper and LVM needed to be updated to make them "just I'm not following... Anyway, 4K drives that are 512b logical and 4K physical may or may not also have "DOS partition compensation" that use LBA -1 as the first naturally (4K) aligned start. This means that the partition tools need to shift the start of the first primary partition to be offset by 3584 bytes (7 512b sectors) for use with Linux. But for windows, AFAIK windows XP and windows 7 create all partitions aligned on ...
Mar 11, 9:01 am 2010
Gene Heskett
Re: ATA 4 KiB sector issues.
And potentially one more question from a list lurker, Ted. Where are the tools that allow us to check and/or adjust that? I ask since I have 3 of these terrabyte drives in this box now and have no clue how to either check to see if we're off, or how to fix it if it is. And I have called my self following this discussion without noting if the tools have been specifically named. Thanks -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ...
Mar 11, 9:26 am 2010
Greg Freemyer
Re: ATA 4 KiB sector issues.
Ted, Apparently the real issue is Win2K, not XP. It seems to require the boot partition and possibly all partitions start on a cylinder boundary. And may have 255/63 hard-coded in to define what a cylinder is. I agree with the apparent consensus that a 2010 era linux partitioner does not need to be Win2K compatible. If someone wants to install Win2K they will need to either use an older generation partitioner to create the partitions or use specific command-line args to force a ...
Mar 11, 9:34 am 2010
H. Peter Anvin
Re: ATA 4 KiB sector issues.
That's basically what you end up having to do for FAT filesystems to be aligned. -hpa --
Mar 11, 9:33 am 2010
Christoph Hellwig
Re: ATA 4 KiB sector issues.
I also have some older patches for btrfs that I need to get back out to the list. There was some talk of major changes to the organization of the tools so I held it back for a while longer. --
Mar 11, 11:26 am 2010
Theodore Tso
Re: ATA 4 KiB sector issues.
No, it's really a partitioning issue. If the paging subsystem wants a 4k block to fill a particular page, we need to read that 4k block into memory. If we need to swap out that 4k block, we need to write that 4k block to swap space, or to the memory segment's backing store. If the partition is misaligned by 512 bytes, this is simply not possible. The file system has to do what is requested of it by its users, and the reality is that we need to do 4k aligned reads and writes with respect to the ...
Mar 11, 6:04 am 2010
Paul E. McKenney
Re: INFO: suspicious rcu_dereference_check() usage - inc ...
Hello, Miles, This one is a false positive that is addressed by a set of boot-time fixes that have recently gone into mainline, this series of commits: c598a070..71da8132 --
Mar 10, 8:28 pm 2010
Eric W. Biederman
Re: Upstream first policy
Weird. Somehow I only got a copy of this from lkml. The long term plan is to change that to. if (nscapable(mnt_ns->user_ns, CAP_SYS_ADMIN)) return -EPERM. That is. - Create a new user/credential namespace (ultimately an unprivileged operation). - Have the root user of the new user namespace create a new mount namespace. - Over that new mount namespace the root user of the new user namespace has full control. It is a little convoluted but it maintains backwards compatibility. ...
Mar 10, 8:52 pm 2010
Daisuke Nishimura
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
I made a patch(attached) using both local_irq_disable/enable and local_irq_save/restore. local_irq_save/restore is used only in mem_cgroup_update_file_mapped. And I attached a histogram graph of 30 times kernel build in root cgroup for each. before_root: no irq operation(original) after_root: local_irq_disable/enable for all after2_root: local_irq_save/restore for all after3_root: mixed version(attached) hmm, there seems to be a tendency that before < after < after3 < after2 ...
Mar 10, 9:31 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
On Thu, 11 Mar 2010 13:31:23 +0900 IMHO, starting from after2_root version is the easist. If there is a chance to call lock/unlock page_cgroup can be called in interrupt context, we _have to_ disable IRQ, anyway. And if we have to do this, I prefer migration_lock rather than this mixture. BTW, how big your system is ? Balbir-san's concern is for bigger machines. But I'm not sure this change is affecte by the size of machines. I'm sorry I have no big machine, now. I'll consider yet another ...
Mar 10, 9:49 pm 2010
Daisuke Nishimura
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
My test machine have 8CPUs, and I run all the test with "make -j8". me too. Thanks, Daisuke Nishimura. --
Mar 10, 9:58 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
On Thu, 11 Mar 2010 13:58:47 +0900 How about this ? Assume that the race is very rare. 1. use trylock when updating statistics. If trylock fails, don't account it. 2. add PCG_FLAG for all status as + PCG_ACCT_FILE_MAPPED, /* page is accounted as file rss*/ + PCG_ACCT_DIRTY, /* page is dirty */ + PCG_ACCT_WRITEBACK, /* page is being written back to disk */ + PCG_ACCT_WRITEBACK_TEMP, /* page is used as temporary buffer for FUSE */ + PCG_ACCT_UNSTABLE_NFS, /* NFS page not yet ...
Mar 10, 10:13 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
On Thu, 11 Mar 2010 14:13:00 +0900 How this looks ? == From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Now, file-mapped is maintaiend. But more generic update function will be needed for dirty page accounting. For accountig page status, we have to guarantee lock_page_cgroup() will be never called under tree_lock held. To guarantee that, we use trylock at updating status. By this, we do fuzyy accounting, but in almost all case, it's correct. Signed-off-by: KAMEZAWA Hiroyuki ...
Mar 10, 11:15 pm 2010
Daisuke Nishimura
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
I agree with you. I've been thinking whether we can remove page cgroup lock I agree to this direction. One concern is we re-introduce "trylock" again.. I welcome this fixup. IIUC, we have stat leak in current implementation. Thanks, --
Mar 11, 12:50 am 2010
KAMEZAWA Hiroyuki
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
On Thu, 11 Mar 2010 16:50:20 +0900 If necessary, I'd like to prepare fixed one as independent patch for mmotm. Thanks, -Kame --
Mar 11, 1:06 am 2010
Vivek Goyal
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
FWIW, I took andrea's patches (local_irq_save/restore solution) and compiled the kernel on 32 cores hyperthreaded (64 cpus) with make -j32 in /dev/shm/. On this system, I can't see much difference. I compiled the kernel 10 times and took average. Without andrea's patches: 28.698 (seconds) With andrea's patches: 28.711 (seconds). Diff is .04% This is all should be in root cgroup. Note, I have not mounted memory cgroup controller but it is compiled in. So I am assuming that root ...
Mar 11, 9:54 am 2010
Andrea Righi
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
cgroup disable is at boot time "cgroup_disable=...", so root cgroup accounting should be enabled. The same for the local_irq_save/restore() overhead, lock/unlock_page_cgroup() is called during each charge. Many thanks for testing! -Andrea --
Mar 11, 3:34 pm 2010
KAMEZAWA Hiroyuki
Re: [PATCH mmotm 2.5/4] memcg: disable irq at page cgrou ...
On Thu, 11 Mar 2010 11:54:13 -0500 Thank you!. Hmm.then, irq_xxxx is not core of problem. The overhead problem is using spinlock or not... Regards, -Kame --
Mar 11, 4:46 pm 2010
Helight.Xu
Re: [patch] proc: cleanup: remove unused assignments
why not do it like this: @@ -2434,7 +2434,7 @@ static struct dentry *proc_base_instantiate(struct inode *dir, const struct pid_entry *p = ptr; struct inode *inode; struct proc_inode *ei; - struct dentry *error = ERR_PTR(-EINVAL); + struct dentry *error = ERR_PTR(-ENOMEM); /* Allocate the inode */ -- Zhenwen Xu - Seven Helight Home Page: http://zhwen.org --
Mar 11, 3:17 am 2010
Dan Carpenter
Re: [patch] proc: cleanup: remove unused assignments
It's a personal preference. If anyone read the code in initializers, I wouldn't have had had anything to clean up in the first place. ;) regards, --
Mar 11, 3:29 am 2010
Russell King - ARM Linux
Re: weirdness with compiling a 2.6.33 kernel on arm debian
I think most of the points have already been convered, but just for completeness, What is the history of the hardware you're running these builds on? Has it proven itself on previous kernel versions running much the same tests? Another point to consider: how are you running the compiler - is it over NFS from a PC? The reason I ask is that you can suffer from very weird corruption issues - I have a nice illustration of one which takes a copy of 1GB worth of data each day, and every once ...
Mar 11, 6:33 am 2010
dave b
Re: weirdness with compiling a 2.6.33 kernel on arm debian
U-boot apparently has a very simple memory checker, this doesn't help me as I don't have serial access. I have now re-compiled the 2.6.33 kernel whilst the device has been on the 2.6.33 kernel 4 times now *without* an *error*. I also ran memtester for a while using most of the memory on the device, without invoking the oom killer. I will re-run these tests on the 2.6.32.7 kernel soon. --
Mar 11, 6:10 am 2010
Ingo Molnar Mar 11, 5:40 am 2010
tip-bot for Paul E. ...
[tip:core/urgent] ftrace: Replace read_barrier_depends() ...
Commit-ID: 3f379b03fbfddd20536389a85c6456f8233d1f8d Gitweb: http://git.kernel.org/tip/3f379b03fbfddd20536389a85c6456f8233d1f8d Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com> AuthorDate: Fri, 5 Mar 2010 15:03:25 -0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:38:01 +0100 ftrace: Replace read_barrier_depends() with rcu_dereference_raw() Replace the calls to read_barrier_depends() in ftrace_list_func() with rcu_dereference_raw() to ...
Mar 11, 7:38 am 2010
tip-bot for Paul E. ...
[tip:core/urgent] rcu: Increase RCU CPU stall timeouts i ...
Commit-ID: 007b09243b099811124f69d492adeebe9e439f96 Gitweb: http://git.kernel.org/tip/007b09243b099811124f69d492adeebe9e439f96 Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com> AuthorDate: Fri, 5 Mar 2010 15:03:26 -0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:38:01 +0100 rcu: Increase RCU CPU stall timeouts if PROVE_RCU CONFIG_PROVE_RCU imposes additional overhead on the kernel, so increase the RCU CPU stall timeouts in an attempt to allow ...
Mar 11, 7:38 am 2010
tip-bot for Paul E. ...
[tip:core/urgent] x86/mce: Fix RCU lockdep splats
Commit-ID: f56e8a0765cc4374e02f4e3a79e2427b5096b075 Gitweb: http://git.kernel.org/tip/f56e8a0765cc4374e02f4e3a79e2427b5096b075 Author: Paul E. McKenney <paulmck@linux.vnet.ibm.com> AuthorDate: Fri, 5 Mar 2010 15:03:27 -0800 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:38:02 +0100 x86/mce: Fix RCU lockdep splats Create an rcu_dereference_check_mce() that checks for RCU-sched read side and mce_read_mutex being held on update side. Replace uses of ...
Mar 11, 7:38 am 2010
Andy Green
Re: bit errors on spitz
I saw very similar failures for a long time on our iMX31 based device. Eventually I found a Freescale errata where the RAM inside the USB2 macrocell started to make single bit errors below 1.38V Vcore; ours was 1.4V at that time but dipped on CPU load. I cranked up the Vcore to 1.6V and that solved it, we also added some ceramic caps to Vcore to help with the dips. So it might be worth looking at PMU arrangements for Vcore level / look for dips with a 'scope (despite this isn't an ...
Mar 11, 6:25 am 2010
Stanislav Brabec
Re: bit errors on spitz
Good tip. It seems that nobody ported driver for the voltage control chip ISL6271 from 2.4 kernel, and bootloader probably does not set correct values. Datasheet: http://www.penguin.cz/~utx/zaurus/datasheets/power/Xscale/ISL6271.pdf -- Stanislav Brabec http://www.penguin.cz/~utx/zaurus --
Mar 11, 8:42 am 2010
Andy Green
Re: bit errors on spitz
Unless there's more to it in the way the zaurus using it that regulator isn't programmable digitally. Reading about your CF Card WLAN related issues they suck down a good amount of power when their radio is up, I would definitely suggest monitoring with a 'scope the various rails (Vcore, RAM and whatever it is the CF Card is powered by) while putting it under load. -Andy --
Mar 11, 2:21 pm 2010
tip-bot for Arnaldo ...
[tip:tracing/urgent] tracing: Update the comm field in t ...
Commit-ID: 1acaa1b2d9b5904c9cce06122990a2d71046ce16 Gitweb: http://git.kernel.org/tip/1acaa1b2d9b5904c9cce06122990a2d71046ce16 Author: Arnaldo Carvalho de Melo <acme@redhat.com> AuthorDate: Fri, 5 Mar 2010 18:23:50 -0300 Committer: Steven Rostedt <rostedt@goodmis.org> CommitDate: Fri, 5 Mar 2010 21:12:08 -0500 tracing: Update the comm field in the right variable in update_max_tr The latency output showed: # | task: -3 (uid:0 nice:0 policy:1 rt_prio:99) The comm is missing ...
Mar 11, 7:37 am 2010
Paul E. McKenney
Re: [PATCH 0/2] v4 kconfig: place git SHA1 in .config ou ...
Thank you for the pointer, I will take a look. Thanx, Paul --
Mar 10, 7:59 pm 2010
tip-bot for Dimitri ...
[tip:x86/microcode] x86: Improve Intel microcode loader ...
Commit-ID: 938179b4f8cf8a4f11234ebf2dff2eb48400acfe Gitweb: http://git.kernel.org/tip/938179b4f8cf8a4f11234ebf2dff2eb48400acfe Author: Dimitri Sivanich <sivanich@sgi.com> AuthorDate: Fri, 5 Mar 2010 11:42:03 -0600 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Thu, 11 Mar 2010 13:49:06 +0100 x86: Improve Intel microcode loader performance We've noticed that on large SGI UV system configurations, running microcode.ctl can take very long periods of time. This is due to the ...
Mar 11, 7:39 am 2010
Hugh Dickins
Re: [PATCH 0/3] ramzswap: Eliminate stale data in compre ...
This is one of the various solutions I disliked already, isn't it? To me this is just a more convoluted and obscure variant of the block_device_operations swap_slot_free_notify patch you had in mmotm, which Linus has rejected. I admit, I did not understand at all what Linus was proposing with readpage, writepage and address_space_operations: I kept quiet in the hope that you'd understand where I didn't! Hugh --
Mar 11, 12:22 am 2010
Nitin Gupta
Re: [PATCH 0/3] ramzswap: Eliminate stale data in compre ...
On Thu, Mar 11, 2010 at 12:52 PM, Hugh Dickins This is a kind of hybrid of previous approaches. We now have notifier for swapon/off events only -- which Linus seems to be okay with (earlier we had notifier for slot free event also). Handler for swapon is responsible for setting callback for slot free event (earlier we were installing it from This slot free notification is a sort of black area for which I have really run out of ideas. I tried all the approaches I could think of (and all you ...
Mar 11, 4:36 am 2010
Jiri Slaby Mar 11, 3:54 am 2010
Yinghai Lu Mar 11, 1:12 pm 2010
Jiri Slaby
Re: mmotm boot panic bootmem-avoid-dma32-zone-by-default.patch
Sorry I wrote that in haste. It is SLES 10 in the end. That means it is 2.6.16, not 2.6.27. Hence no sparsemem whatsoever. With SLES11 it should be OK, we are using flatmem only for i386. Whatever, it should be no issue now, as flatmem currently (as of 2.6.25) depends on i386. On the other hand I still considered the patch as applicable to contemporary kernels since there might be weird bios e820 maps and huge (and sparse) bootmem allocations/reservations (memory cgroups, initrd) so ...
Mar 11, 2:40 pm 2010
Yinghai Lu
Re: mmotm boot panic bootmem-avoid-dma32-zone-by-default.patch
the point is: we should only put the memmap put high. that is big chunk... other users should be ok... and leave them alone. YH --
Mar 11, 2:42 pm 2010
Mike Hayward
Re: O_NONBLOCK is NOOP on block devices
Hi M, > > > > What you missed is that the native aio system calls require O_DIRECT. > > > > > > > > > > Thanks, that made it work. It seems without O_DIRECT it's just like > > > aio_* but without the separate thread. But I now get the "benefits" of > > > O_DIRECT for free... > > > > That is awesome news; I was worried. I saw that about O_DIRECT in the > > doc but assumed you were doing it. > > > > > Where did you see that? I reverted to the kernel source where ...
Mar 11, 12:41 am 2010
Simon Horman
Re: [PATCH] staging/dt3155: make copy_{to/from}_user and ...
Could you be more specific about what you mean by typesafe? --
Mar 10, 5:01 pm 2010
H Hartley Sweeten
RE: [PATCH] staging/dt3155: make copy_{to/from}_user and ...
From include/asm-generic/uaccess.h static inline long copy_from_user(void *to, const void __user * from, unsigned long n) { might_sleep(); if (access_ok(VERIFY_READ, from, n)) return __copy_from_user(to, from, n); else return n; } static inline long copy_to_user(void __user *to, const void *from, unsigned long n) { might_sleep(); if (access_ok(VERIFY_WRITE, to, n)) return __copy_to_user(to, from, n); else return n; This cast is needed, and common, since 'arg' ...
Mar 10, 5:19 pm 2010
Simon Horman
Re: [PATCH] staging/dt3155: make copy_{to/from}_user and ...
Hi, thanks for the clarification. I agree that your patch is an improvement and I don't see any problems with it (other than typesafe possibly being the wrong term). --
Mar 10, 8:20 pm 2010
Peter Zijlstra
Re: [PATCH 0/9] oprofile, perf, x86: introduce new funct ...
Alternatively, could we maybe further simplify this reservation into: int reserve_pmu(void); void release_pmu(void); And not bother with anything finer grained. --
Mar 11, 4:48 am 2010
Ingo Molnar
Re: [PATCH 0/9] oprofile, perf, x86: introduce new funct ...
Yeah, that looks quite a bit simpler. It's all about making it easier to live with legacies anyway - all modern facilities will use perf events to access the PMU. Ingo --
Mar 11, 5:47 am 2010
Robert Richter
Re: [PATCH 0/9] oprofile, perf, x86: introduce new funct ...
It does not solve the current problem that some parts of the pmu *are* used simultaneously by different subsystems. But, even if only perf would be used in the kernel you still can't be sure that all parts of the pmu are available to be used, you simply don't have it under your control. So why such limitations as an 'int reserve_pmu(int index)' is almost the same but provides much more flexibility? The question already arose if the watchdog would use perf permanently and thus would block ...
Mar 11, 8:45 am 2010
Greg Freemyer
Re: Linux kernel - Libata bad block error handling to us ...
This thread seems to have died off. If there is a real problem, I hope it picks back up. Mark, as to your question the few times I've tried that the bios on the test machine blocked the command. So it may have some specific utility, but it's a not a generic solution in my mind. Greg --
Mar 11, 11:29 am 2010
Corey Ashford
Re: [RFC] [PATCH 1/1] perf: add support for arch-depende ...
On 3/11/2010 4:46 AM, Ingo Molnar wrote: Is TRACE_EVENT an appropriate way to add hardware-specific counter events? I We can enumerate events this way, but there are other aspects to events than I'm not sure how that would work. The issue I am trying to solve here is that Power arch chips have a large number of very hardware-specific events that are not generalizable. Many of these events not only have names, but other user-configurable bits as well that select or narrow the scope of ...
Mar 11, 11:47 am 2010
Ingo Molnar
Re: [RFC] [PATCH 1/1] perf: add support for arch-depende ...
Could you give a few relevant examples of events in question, and the kind of configurability/attributes they have on Power? Thanks, Ingo --
Mar 11, 12:14 pm 2010
Corey Ashford
Re: [RFC] [PATCH 1/1] perf: add support for arch-depende ...
Here are a few examples for the Power A2 processor. I've distorted the names because PMU architecture isn't publicly released yet. PM_DE_PMC_9:hrd_mask=0xff:hrd=0x22:pma_mask=0x3fff:pma=0x1b2d:culling_mode=3 PM_EX_0x03:lane=2:vlane=1 PM_OWE_ENG_MAC_FULL:usu=3 Note that the attribute fields shown above are fitted into the config field of Regards, - Corey --
Mar 11, 1:46 pm 2010
Ingo Molnar
Re: [RFC] [PATCH 1/1] perf: add support for arch-depende ...
I'm quite much against stop-gap measures like this - they tend to become tomorrow's impossible-to-remove quirk. If you want extensible events you can already do it by providing an ftrace tracepoint event via TRACE_EVENT. They are easy to add and ad-hoc, and are supported throughout by perf. That could be librarized further by providing an /eventfs or /proc/events interface to enumerate them. Or if you want to extend the perf events namespace ABI you can send patches for that as ...
Mar 11, 5:46 am 2010
Joerg Roedel
Re: [PATCH 02/18] KVM: MMU: Make tdp_enabled a mmu-conte ...
I like the mmu.direct_map name. Its a good term too, I will change it in the patch. Joerg --
Mar 11, 3:33 am 2010
Avi Kivity
Re: [PATCH 02/18] KVM: MMU: Make tdp_enabled a mmu-conte ...
tdp is still used in both cases, so that name is confusing. We could call it mmu.direct_map (and set it for real mode?) or mmu.virtual_map (with the opposite sense). Or something. -- error compiling committee.c: too many arguments to function --
Mar 10, 11:47 pm 2010
Marcelo Tosatti
Re: [PATCH 0/18][RFC] Nested Paging support for Nested S ...
OK, makes sense now, I was missing the fact that the l1-nested-ptable needs to be shadowed and l1 translations to it must be write protected. You should disable out of sync shadow so that l1 guest writes to l1-nested-ptables always trap. And in the trap case, you'd have to invalidate l2 shadow pagetable entries that used the (now obsolete) --
Mar 11, 1:58 pm 2010
Miao Xie
Re: [PATCH 4/4] cpuset,mm: use rwlock to protect task->m ...
I think this method can't fix the problem because we can guarantee the second read is after the update of mask completes. Thanks! --
Mar 10, 10:04 pm 2010
Nick Piggin
Re: [PATCH 4/4] cpuset,mm: use rwlock to protect task->m ...
Any problem with using a seqlock? The other thing you could do is store a pointer to the nodemask, and allocate a new nodemask when changing it, issue a smp_wmb(), and then store the new pointer. Read side only needs a smp_read_barrier_depends() --
Mar 10, 10:30 pm 2010
Miao Xie
Re: [PATCH 4/4] cpuset,mm: use rwlock to protect task->m ...
Comparing with my second version patch, I think both of these methods will cause worse performance and the changing of code is more. Thanks Miao --
Mar 11, 12:57 am 2010
Manuel Benitez
Re: [PATCH 1/2 V3] io-controller: Add a new interface "w ...
On a closely related topic, I've just recently made a change to one of my branches that exposes the blkio.time and blkio.sectors information for the root cgroup. These stats would not show because the major and minor information for the root blkio_croup structures is zero. This information is not available at the when the root blkio_cgroup structures are instantiated, so they are left without major and minor information. I have a simple fix that updates the major and minor information for the ...
Mar 11, 12:21 pm 2010
Russell King - ARM Linux
Re: [PATCH 02/11] ST SPEAr: Added basic header files for ...
Don't define it like this - define VMALLOC_END to be the maximum virtual address which you can permit the vmalloc area to extend to - which is generally the start of your peripheral mappings. It's rather pointless defining it in terms of PAGE_OFFSET, because this can vary, whereas the start of your peripheral mappings tends to be fixed. --
Mar 11, 3:33 am 2010
Russell King - ARM Linux
Re: [PATCH 01/11] ST SPEAr: Added ARM PrimeXsys System C ...
It'll also give people heart-attacks because they'll think it adds a new set of deprecated binary sysctl() interfaces to the kernel. Best drop the 'sysctl' part of the name as well. --
Mar 11, 3:45 am 2010
Linus Walleij
Re: [PATCH 04/11] ST SPEAr: Added basic header files for ...
The timer people have already explained well enough I think, we have some 16 timers on U8500, one we use as clocksource, one for clock events and 14 are currently unused. I plan to add them as clock events as soon as there is some practical use for them. I think there is nothing stopping you from modelling some extra clock events for the remaining timers if you absolutely want to, the kernel will just disregard them currently, which is just as good/bad as the way you're exposing the ...
Mar 10, 11:43 pm 2010
Linus Walleij
Re: [PATCH 05/11] ST SPEAr: Added clock framework for SP ...
I don't understand one bit of this. What happens if the RESET_TO_ENABLE flag is set for the clock? The exact same bit is &-masked and then immediately |:ed to 1 again. Then it is written to the register. Practical effect: absolutely none. Is there a writel(val, clk->en_reg); missing from the unlikely() execution Isnt if (++clk.>usage_count == 1) easier to understand, or is it just me? BTW doing this: clk->usage_count++; if (clk->usage_count == 1) will not use more memory, the compiler ...
Mar 11, 12:00 am 2010
Shiraz HASHIM
Re: [PATCH 05/11] ST SPEAr: Added clock framework for SP ...
Hello Linus, Thanks for your comments. Replying on some of these. For the rest Viresh would reply tomorrow. The intention to use RESET_TO_ENABLE flag is to generalize clock enable/disable across platforms. To enable particular clock, we may require to set/reset some particular bit in system register. If RESET_TO_ENABLE is set in the flags, this means we need to reset the corresponding bit (clk->en_reg_bit) to enable the clock else we need to set The purpose of RESET_TO_ENABLE is ...
Mar 11, 3:18 am 2010
Shiraz HASHIM
Re: [PATCH 04/11] ST SPEAr: Added basic header files for ...
Hello Linus, Can we use clockevents directly? I though they are abstracted by the kernel framework and using them directly is not advisable/feasible. regards Shiraz --
Mar 11, 2:47 am 2010
Russell King - ARM Linux
Re: [PATCH 05/11] ST SPEAr: Added clock framework for SP ...
This is rather wasteful - rather than defining structures, and then having a one-time-used set of pointers to the structures, why not just declare the whole lot as an array like most other implementations do? --
Mar 11, 3:28 am 2010
Linus Walleij
Re: [PATCH 04/11] ST SPEAr: Added basic header files for ...
Not that I know, but as tglx says it might soon be possible to do so, and if you have a patch for using some surplus clockevents for this along with some example of it actually being used too, people will probably react, atleast they will have opinions. Yours, Linus Walleij --
Mar 11, 4:26 am 2010
Russell King - ARM Linux
Re: [PATCH 07/11] ST SPEAr: Added source files for SPEAr ...
There is no need to specify the ID when the device provides it - in fact the code will override you by reading the ID from the device if it finds it. The only reason to explicitly provide one is for the very early Primecell devices which didn't implement the ID scheme - such as PL010. --
Mar 11, 3:41 am 2010
Linus Walleij
Re: [PATCH 06/11] ST SPEAr: Added source files for SPEAr ...
Hi Viresh, I'm working my way through the patch set, be patient :) As mentioned I prefer that you merge this file into the timer.c file and remove the extra .h interface totally. Also of course refactor to I usually just have raw writew() and skip all this extra abstraction in I forgot to mention that if .reserved can only have the values 0 and 1, the chances are big that you should turn that member of struct spear_timer I don't see the need for this functions. Are not all timers the ...
Mar 11, 4:22 am 2010
Linus Walleij
Re: [PATCH 10/11] ST SPEAr: Added default configuration ...
Not specifically related to this defconfig because hundreds of defconfigs use this, but HAVE_GENERIC_DMA_COHERENT is not used in anything but a few Kconfig files, all just defining it. No single Makefile, #ifdef or anything else seems to be using this, so what is it for?? I can't find any use even if I You're obviously doing a lot of networking in this system, but the machine has no network interfaces defined... yet, I suppose, so if it's coming, Same here, make sure you're really going ...
Mar 11, 1:18 pm 2010
Russell King - ARM Linux
Re: [PATCH 10/11] ST SPEAr: Added default configuration ...
Err... drivers/base/Makefile:obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o include/asm-generic/dma-coherent.h:#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT --
Mar 11, 1:26 pm 2010
Ingo Molnar
Re: [PATCH] perf_events: add sampling period randomizati ...
What's your point? I corrected your statement which said that the goal of auto-freq was to maintain a target interrupt-rate and as such wouldnt be randomizable. So i said that auto-freq is slightly different from that: it provides a steady _average_ rate, and as such small amounts of randomization 'fuzz' could still be injected - the auto-freq system would auto-correct the effects of that. Think of it as a dynamic steady-state equilibrium with noise injected. If the noise isnt too ...
Mar 11, 4:52 am 2010
Jaroslav Kysela
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio
-EPIPE means underrun condition. Try 'echo 101 > /proc/asound/card0/pcm0p/xrun_debug' and send dmesg output to check if the ring buffer pointer in the hda-intel driver does not return wrong values. Replace card0 and pcm0p with right identifiers (look to 'aplay -l' for right numbers). More info: http://www.alsa-project.org/main/index.php/XRUN_Debug Jaroslav ----- Jaroslav Kysela <perex@perex.cz> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. --
Mar 11, 12:30 am 2010
VDR User
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio
Hi, thanks for your further reply. However, I don't see "CONFIG_SND_PCM_XRUN_DEBUG" anywhere in the kernel config (both in menuconfig or .config). Also, in order to use the snapshot I had to disable ALSA in my kernel anyways. I did try to enable it just to see if that option would appear somewhere but it did not. I am using stable kernel 2.6.33 btw. I don't see how I can create /proc/asound/card1/pcm3p/xrun_debug! Best regards, Derek --
Mar 11, 11:15 am 2010
Jaroslav Kysela
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio
All these parameters should be set: CONFIG_SND_PCM_XRUN_DEBUG, CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG . I updated wiki. Jaroslav ----- Jaroslav Kysela <perex@perex.cz> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. --
Mar 11, 11:32 am 2010
VDR User
Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio
Ok, I have now compiled the alsa snapshot with the following: ./configure --with-cards=hda-intel --with-card-options=hda-hwdep,hda-reconfig,hda-codec-realtek,hda-codec-nvhdmi,hda-generic,pcm-xrun-debug --with-debug=verbose --enable-verbose-procfs --with-isapnp=no --with-sequencer=no --with-oss=no --with-pcm-oss-plugins=no Attached are samples of my dmesg and /var/log/syslog files. Hopefully there is some useful information there? Best regards, Derek
Mar 11, 12:24 pm 2010
Randy Dunlap
Re: [PATCH -next] mtd/nand/r852: fix build for CONFIG_PM=n
Ping. can we get this added to linux-next, please? -- ~Randy --
Mar 11, 9:29 am 2010
Randy Dunlap
Re: [PATCH -next] mtd/nand/r852: fix build for CONFIG_PM=n
Sorry, it's there, but there are still build errors. I will look at those... -- ~Randy --
Mar 11, 9:34 am 2010
Randy Dunlap
[PATCH -next] mtd/nand/r852: fix build for CONFIG_PCI disabled
From: Randy Dunlap <randy.dunlap@oracle.com> r852 fails to build when CONFIG_PCI is not enabled since it uses pci_*() calls and is a PCI driver, so it should depend on PCI to prevent build errors. It should also #include <linux/pci.h>. drivers/mtd/nand/r852.c:1053: error: implicit declaration of function 'pci_prepare_to_sleep' drivers/mtd/nand/r852.c:1062: error: implicit declaration of function 'pci_back_from_sleep' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: David ...
Mar 11, 10:10 am 2010
Maxim Levitsky
Re: [PATCH -next] mtd/nand/r852: fix build for CONFIG_PC ...
Folks, sorry for Kconfig mess, I didn't test it well enough it seems... However, I #include the <linux/pci.h> in r852.h, so I don't think it is necessary here. Also, I disagree with the unconditional dependency on nand in sm_ftl. The purpose of CONFIG_SM_FTL_MUSEUM is solely to make it independent of nand. I'll look at how to fix that properly. Best regards, Maxim Levitsky --
Mar 11, 1:59 pm 2010
Andrew Morton
Re: [PATCH] crypto: Add AES-NI accelerated CTR mode
On Mon, 01 Mar 2010 14:14:36 +0800 ^^ these two lines don't assemble with gas 2.16.1: arch/x86/crypto/aesni-intel_asm.S: Assembler messages: arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix or operands invalid for `movq' --
Mar 11, 1:15 pm 2010
Jason Baron
Re: [PATCH 00/12] tracing: add compat syscall support v2
I kept separate namespaces to avoid collisions and generally simplify things. However, you are right - we can maintain namespace separation at the "sys32_blah", "compat_sys", level and map to a common "compat_blah" for the trace event name. We can avoid collisions by simply storing the "sys32" or the other question is how to go about getting arch support, since right now we break non-x86 arches which have CONFIG_FTRACE_SYSCALLS and CONFIG_COMPAT set with this patch. thanks, -Jason --
Mar 11, 3:12 pm 2010
tip-bot for Tim Bird
[tip:tracing/urgent] function-graph: Add tracing_thresh ...
Commit-ID: 0e95017355dcf43031da6d0e360a748717e56df1 Gitweb: http://git.kernel.org/tip/0e95017355dcf43031da6d0e360a748717e56df1 Author: Tim Bird <tim.bird@am.sony.com> AuthorDate: Thu, 25 Feb 2010 15:36:43 -0800 Committer: Steven Rostedt <rostedt@goodmis.org> CommitDate: Fri, 5 Mar 2010 21:20:57 -0500 function-graph: Add tracing_thresh support to function_graph tracer Add support for tracing_thresh to the function_graph tracer. This version of this feature isolates the checks into ...
Mar 11, 7:37 am 2010
Paul Mundt
Re: [RFC] microblaze: Support FRAME_POINTER for better b ...
Local functions under kallsyms are a bit of a bother, particularly since there are bound to be namespace collisions that the linker will never see. You would also want to set KALLSYMS_ALL if you are valuing debugging over space savings, which seems to be the case if you are considering disabling unit-at-a-time. On the kprobes side there was an attempt by jejb to prefix local symbols with their file and line numbers to differentiate the symbols, but while this might work in the case of manual ...
Mar 10, 5:05 pm 2010
OGAWA Hirofumi
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
Of course, if we can fix, it's better. However, probably, users of this patch would be only boot loader, because this is a first sector on extended-partition itself, not logical-partitions in extended-partition. So, maybe this wouldn't be so major problem for normal users, and what is needed actually is not sure to me for now (I guess it might be depending to BIOS, if boot loader is using BIOS call.). Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 4:57 am 2010
Daniel Taylor
RE: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
I have not yet tried booting from one of these disks. They are in USB-attached enclosures, attached well after boot, so the bootloader has never seen them. They simply refuse to mount to a running Linux system because, when the storage for partition size and start was expanded to 64-bit, no one bothered to fix the intermediate storage in msdos.c, so the kernel cannot locate the start nor figure the size of the partitions. Logically, this patch is not complicated. The data types in ...
Mar 11, 2:25 pm 2010
H. Peter Anvin
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
Wrong. A lot of BIOSes will attempt to boot from USB storage. Worse, a fair number of BIOSes will hang during startup if a USB storage device I would consider this a bugfix. As such, it should be pushed outside the merge window. -hpa --
Mar 11, 2:58 pm 2010
Daniel Taylor
RE: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
BIOS failures prior to loading the kernel are not Linux' responsibility. Confused BIOS will still fail, even if the patch is not implemented, so how does that effect the --
Mar 11, 3:06 pm 2010
H. Peter Anvin
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
Just in case I wasn't clear enough -- this patch is a bugfix and should be pushed upstream as long as it is technically ready. -hpa --
Mar 11, 3:09 pm 2010
OGAWA Hirofumi
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
Those are all about the first (1/2) patch, not this second patch. Personally, I'm thinking we should apply the first patch as bugfix. I'm talking about only second (2/2) patch in here. Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 3:17 pm 2010
H. Peter Anvin
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
The 2/2 patch seems to be a bug fix too; it implements the intent of the original code as far as I can see. -hpa --
Mar 11, 3:27 pm 2010
OGAWA Hirofumi
Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extende ...
Yes, however the state is not so sure if compared to first patch. So I said, if we want, we can drop it (2/2), because it's not so sure to fix the real problem (bootloader's requirement). Even if we apply this patch too, it shouldn't introduce new problems though. Thanks. -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> --
Mar 11, 3:40 pm 2010
Michel Dagenais
Re: [ltt-dev] [linuxtools-dev] Standard protocols/interf ...
Great! it may be a good idea to start accumulating pointers, identified This is indeed the problem I currently see with Ftrace, suitability for huge live/realtime traces. For this you need an extremely compact format and a good way to pass and update metadata along with the trace. Otherwise, Ftrace and Perf offer a large number of exciting features. In LTTng, following some feedback from Google among others, quite a bit of information is implicit: per cpu files and scheduling events ...
Mar 11, 12:58 pm 2010
Ingo Molnar
Re: Patch for tracing c states (power_end) on x86
We can do that. Robert, mind sending the patch with a changelog and with your Signed-off-by and with Peter's Acked-by? Thanks, Ingo --
Mar 11, 3:56 am 2010
Robert =?ISO-8859-1? ...
Re: Patch for tracing c states (power_end) on x86
Did anyone look at the problem described and checked the patch? I still received no reply. -- Robert Schoene Technische Universitaet Dresden Zentrum fuer Informationsdienste und Hochleistungsrechnen 01062 Dresden Tel.: (0351) 463-42483, Fax: (0351) 463-37773 E-Mail: Robert.Schoene@tu-dresden.de --
Mar 10, 11:36 pm 2010
Peter Zijlstra
Re: Patch for tracing c states (power_end) on x86
Ingo, how about applying it and letting people complain when they don't --
Mar 11, 1:12 am 2010
David Howells
Re: [PATCH 00/24] Rename kernel's magic sections for com ...
These look reasonable. Do you have a GIT tree I can pull? David --
Mar 11, 8:04 am 2010
Eric W. Biederman
Re: [PATCH] exit: PR_SET_ANCHOR for marking processes as ...
Have you take a look at the pid namespace? Except for the fact it requires privilege to create it seems to do what you want. It is certainly what I have been using when I want an inescapable environment. If nothing else I get the feeling that what you are after is a generalization of the child_reaper feature in the pid namespace and yet you haven't touched any of that code. Eric --
Mar 10, 9:14 pm 2010
KOSAKI Motohiro
Re: [PATCH] exit: PR_SET_ANCHOR for marking processes as ...
I guess it doesn't fit for gnome-session. because gtop or similar system monitoring process assume it can see all processes in the system. thanks. --
Mar 11, 12:56 am 2010
Samuel Ortiz
Re: [PATCH] mfd: MFD_WM831X should depend on GENERIC_HARDIRQS
Hi Geert, Oh, that one slipped through, sorry about it. Patch applied to my for-linus branch now, many thanks. Cheers, -- Intel Open Source Technology Centre http://oss.intel.com/ --
Mar 10, 5:30 pm 2010
previous daytodaynext day
March 10, 2010March 11, 2010March 12, 2010