| From | Subject | Date |
|---|---|---|
| Nils Radtke | BUG: unable to handle kernel NULL ptr Xorg, scheduling w ...
Hi,
Some more kernel NULL ptr deref, a lot of scheduling while atomic
(probably due to first bug occurred) and again this "last sysfs file"
from wireless. ath5k is a real source of trouble here:
- resume from suspend fails 7 times out of 10 and always seems the
ath driver being the culprit.
- ath5k: when starting a blob transfer eg. ssh summer.jpg to the
notebook with the ath5k driver running, the wNIC freezes almost
immediately! Dead device. This is unfortunately too ...
| May 4, 3:51 pm 2010 |
| Nils Radtke | BUG: unable to handle kernel NULL pointer dereference, i ...
Hi,
It happens quite often that X crashes for unknown reasons but this time
there it's left us a note, this BUG:
BUG: unable to handle kernel NULL pointer dereference at 000001e4
IP: [<c134ddbc>] i915_gem_object_move_to_active+0x1c/0xa0
*pde = 00000000
Oops: 0000 [#4] PREEMPT
last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:04:00.0/net/wlan0/wireless/link
Modules linked in: wlan_scan_sta ath_rate_sample ath_pci ath_hal option usbserial usb_storage snd_usb_audio snd_usb_lib ...
| May 4, 3:22 pm 2010 |
| Dan Magenheimer | RE: [RFC] Exposing TSC "reliability" to userland
Hi Venki --
In some offlist discussion, a similar solution was suggested:
If /sys/devices/system/clocksource/clocksource*/current_clocksource
is "tsc" AND the "Invariant TSC" CPUID bit is set, then "reliable TSC"
can be assumed.
BUT, exposing the information explicitly from the kernel would be
more comforting rather than requiring some reverse-engineering some
combination of kernel tests that might change over time. If the
kernel determines TSC is reliable, that seems like it should ...
| May 4, 4:51 pm 2010 |
| Jeremy Fitzhardinge | Re: [patch 7/8] Add a bootparameter to reserve high line ...
(Missed this because your datestamp was 1969...)
The idea was that you could boot a guest under VMWare fully virtualized
then switch it to a VMI guest by loading a module. I don't think it
ever worked out - the transition was too trick to get right (especially
applying all the pvops patching to a live system).
J
--
| May 4, 4:37 pm 2010 |
| Pankaj Thakkar | RFC: Network Plugin Architecture (NPA) for vmxnet3
Device passthrough technology allows a guest to bypass the hypervisor and drive
the underlying physical device. VMware has been exploring various ways to
deliver this technology to users in a manner which is easy to adopt. In this
process we have prepared an architecture along with Intel - NPA (Network Plugin
Architecture). NPA allows the guest to use the virtualized NIC vmxnet3 to
passthrough to a number of physical NICs which support it. The document below
provides an overview of NPA.
We ...
| May 4, 4:02 pm 2010 |
| Joel Becker | [GIT PULL] ocfs2 fixes for 2.6.34-rc
Linus et al,
Here are all the fixes I currently have for 2.6.34-rc. A couple
very notable. We could race truncate when O_DIRECT falls back to
buffered I/O, and we could crash when creating a directory or symlink
runs up against a user's quota.
Please pull.
Joel
The following changes since commit 623e5a23724d09283c238960946ec6f65733afe:
Linus Torvalds (1):
Merge branch 'upstream-linus' of git://git.kernel.org/.../jlbec/ocfs2
are available in the git repository at:
...
| May 4, 3:57 pm 2010 |
| Arnd Bergmann | [PATCH v2 00/13] BKL conversion in tty layer
This is the second attempt to get the BKL out of the
TTY code. I've updated the patches to be based on top
of Alan's series and improved a number of things.
This series still introduces a new Big TTY Mutex
that is based on the earlier implementation of the
Big Kernel Semaphore, but comes with a number of changes:
- based on the mutex code instead of a semaphore,
so we can use all the mutex debugging.
- no autorelease on sleep, which is what most of the
series is about.
- limited ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 05/13] tty: make ldisc_mutex nest under tty_lock
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/tty_io.c | 2 +-
drivers/char/tty_ldisc.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index b1a40a1..82c723a 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -1284,7 +1284,7 @@ static int tty_reopen(struct tty_struct *tty)
tty->count++;
tty->driver = driver; /* N.B. why do this every time?? */
...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 03/13] tty: make tty_port->mutex nest under tty_lock
tty_port->mutex has a lock order problem with
tty_lock. By using mutex_lock_tty to drop tty_lock
while waiting for tty_port->mutex we can work
around this.
Make sure that we document for each mutex_lock(port->mutex)
whether we hold the BTM or not, in the hope that this
helps us eliminate the BTM eventually.
All users of tty_port_hangup call that with the BTM held,
except for stl_cleanup_panels. Take the BTM explicitly
there to make the locking more consistent.
Signed-off-by: Arnd ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 12/13] tty: remove release_tty_lock/reacquire_tty_lock
All users are nonrecursive now, and we don't call release_tty_lock()
in places where it's not held to start with, so it is safe to
replace it with tty_lock().
Same for reacquire_tty_lock()/tty_unlock().
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/tty_ldisc.c | 8 +++---
drivers/char/tty_mutex.c | 35 ------------------------
include/linux/tty.h | 65 ++++++++++++---------------------------------
kernel/printk.c | 9 ++++--
4 files changed, 28 ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 11/13] tty: remove tty_lock_nested
This changes all remaining users of tty_lock_nested
to be non-recursive, which lets us kill this function.
As a consequence, we won't need to keep the lock count
any more, which allows more simplifications later.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/pty.c | 2 +-
drivers/char/selection.c | 4 ++--
drivers/char/tty_io.c | 41 ++++++++++++++++++++---------------------
drivers/char/tty_ldisc.c | 3 +--
drivers/char/tty_mutex.c | 15 ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 04/13] tty: make termios mutex nest under tty_lock
Most of these are always called without the BTM held.
Annotate them so we know in the future which places
to look at. If we can change the code to never
get termios_mutex while holding the BTM, this
will solve all lock-order problems between the two.
tty_set_termios_ldisc and tty_reset_termios are currently
the only functions that always get termios_mutex while
already holding the BTM.
tty_throttle and tty_unthrottle are called from
receive_buf which in turn is called from a lot
of places. ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 02/13] tty: make atomic_write_lock release tty_lock
atomic_write_lock never nests below BTM as far
as I can tell, so this can eventually get
reverted again unless it triggers bugs.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/tty_io.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 3bf2c75..8331dd3 100644
--- a/drivers/char/tty_io.c
+++ b/drivers/char/tty_io.c
@@ -912,10 +912,15 @@ void tty_write_unlock(struct tty_struct *tty)
int ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 06/13] tty: never hold BTM while getting tty_mutex
tty_mutex is never taken with the BTM held, except for
two corner cases that are worked around here.
We give up the BTM before calling tty_release() in the
error path of tty_open().
Similarly, we reorder the locking in ptmx_open()
to get tty_mutex before the BTM.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/pty.c | 22 ++++++++--------------
drivers/char/tty_io.c | 13 +++++++------
2 files changed, 15 insertions(+), 20 deletions(-)
diff --git a/drivers/char/pty.c ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 10/13] tty: untangle locking of wait_until_sent
Some wait_until_sent versions require the big
tty mutex, others don't and some callers of
wait_until_sent already hold it while other don't.
That leads to recursive use of the BTM in these
functions, which we're trying to get rid of.
This patch changes both the implementations and
the users of wait_until_sent so that the
device driver implementations are always called
with the lock held so they don't need to get
it themselves.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 01/13] tty: replace BKL with a new tty_lock
As a preparation for replacing the big kernel lock
in the TTY layer, wrap all the callers in new
macros tty_lock, tty_lock_nested and tty_unlock.
Every user of tty_lock_nested should come with
a comment explaining why we could get the lock
recursively. This will help turning the BTM
into a nonrecursive lock.
We also need to deal with lock order problems that
are currently solved by the BKL autorelease semantics.
For this, we get new macros that can be used to
replace sleeping calls like ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 09/13] tty: implement BTM as mutex instead of BKL
The TTY layer now has its own ways to deal with recursive
locking and release-on-sleep for the tty_lock() calls,
meaning that it's safe to replace the Big Kernel Lock
with a subsystem specific Big TTY Mutex (BTM).
This patch for now makes the new behaviour an optional
experimental feature that can be enabled for testing
purposes.
Using a regular mutex here will change the behaviour
when blocked on the BTM from spinning to sleeping,
but that should be visible to the user.
Using the mutex ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 13/13] tty: turn ldisc_mutex into a regular mutex
This fixes the lock order of the BTM and
ldisc_mutex so that we never take the BTM
while holding ldisc_mutex, which means
we no longer have to use mutex_lock_tty
when getting ldisc_mutex.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/tty_io.c | 2 +-
drivers/char/tty_ldisc.c | 15 ++++++++-------
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c
index 4e16b34..80178cc 100644
--- ...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 07/13] tty: give up BTM in acquire_console_sem
This was not caught in the initial sweep through
the TTY layer, nor by lockdep, which does not know
about classic semaphores.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
kernel/printk.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/kernel/printk.c b/kernel/printk.c
index 75077ad..30669a3 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -970,7 +970,16 @@ void resume_console(void)
void acquire_console_sem(void)
{
...
| May 4, 3:33 pm 2010 |
| Arnd Bergmann | [PATCH 08/13] tty: release tty lock when blocking
All wait_event variants and work queue functions
that block on another thread need to release the
tty lock if the thread they are waiting on might
take it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/char/cyclades.c | 2 +-
drivers/char/istallion.c | 12 ++++++++----
drivers/char/n_r3964.c | 2 +-
drivers/char/tty_buffer.c | 6 +++++-
drivers/char/tty_ioctl.c | 2 +-
drivers/char/tty_ldisc.c | 26 ++++++++++++++++++++++----
...
| May 4, 3:33 pm 2010 |
| Andrew Morton | Re: [PATCH v2] fs: use kmalloc() to allocate fdmem if possible
On Mon, 3 May 2010 03:02:00 +0800
Seems a reasonable thing to do. It might also be reasonable to make
And these should be uninlined - they're too large to be inlined.
My version of gcc seems to just uninline them anyway, but forcing them
to be inlined with __always_inline indeed causes 70-80 bytes more text,
and we figure that larger text generally causes a slower kernel due to
cache eviction effects.
--
| May 4, 3:27 pm 2010 |
| Anatolij Gustschin | [PATCH] serial: mpc52xx_uart: fix null pointer dereference
Commit 6acc6833510db8f72b5ef343296d97480555fda9
introduced NULL pointer dereference and kernel crash
on ppc32 machines while booting. Fix this bug now.
Reported-by: Leonardo Chiquitto <leonardo.lists@gmail.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
drivers/serial/mpc52xx_uart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index a176ab4..02469c3 100644
--- ...
| May 4, 3:18 pm 2010 |
| Mimi Zohar | [PATCH] ima: remove ACPI dependency
The ACPI dependency moved to the TPM, where it belongs. Although
IMA per-se does not require access to the bios measurement log,
verifying the IMA boot aggregate does, which requires ACPI.
This patch prereq's 'TPM: ACPI/PNP dependency removal'
http://lkml.org/lkml/2010/5/4/378.
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Reported-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Tested-by: Serge Hallyn <serue@us.ibm.com>
---
...
| May 4, 3:16 pm 2010 |
| Rajiv Andrade | [PATCH] TPM: ACPI/PNP dependency removal
This patch pushes the ACPI dependency into the device driver code
itself. Now, even without ACPI/PNP enabled, the device can be registered
using the TIS specified memory space. This will however result in the
lack of access to the bios event log, being the only implication of such
ACPI removal.
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
---
drivers/char/tpm/Kconfig | 14 +++++++++++---
drivers/char/tpm/tpm_tis.c | 42 ...
| May 4, 2:49 pm 2010 |
| Mimi Zohar | Re: [PATCH] TPM: ACPI/PNP dependency removal
Just posted a patch removing the ACPI dependency from IMA, as IMA can
run with/without ACPI or TPM enabled. However, without ACPI enabled, the
Mimi
--
| May 4, 3:30 pm 2010 |
| Randy Dunlap | Re: [PATCH] TPM: ACPI/PNP dependency removal
BIOS
and if I had any say-so, I would Nack this part of the patch.
Selecting ACPI adds a huge amount of code, so it should just depend on ACPI IMO.
Also, ACPI depends on PCI and PM, so if this "select" part remains,
this should be more like:
depends on X86 && PCI && PM
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 4, 3:00 pm 2010 |
| Nico Schottelius | Instant shutdown with startx on 2.6.34-rc6-00106-gd93ac51
Hello folks!
I've now seen that sometimes (!) if I startup the system
with latest linux-2.6 series kernels that my systems shuts down
(i.e. no halt, directly to power off) when I startx.
With this kernel I've seen it some minutes ago.
The shutdown situation happened after the suspend issues
(i.e. rebooted after suspend, forced power off via power button,
restart, startx; see thread "2.6.33-2.6.34-rc5 suspend issues" for
more information), not sure whether this is related.
Not sure how to ...
| May 4, 2:06 pm 2010 |
| Rafael J. Wysocki | [Bug #15788] external usb sound card doesn't work after resume
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15788
Subject : external usb sound card doesn't work after resume
Submitter : François Valenduc <francois.valenduc@tvcablenet.be>
Date : 2010-04-15 10:16 (20 days ...
| May 4, 2:21 pm 2010 |
| Randy Dunlap | Re: [Bug #15729] BUG: physmap modprobe & rmmod
Yes, leave it as open until the patch is merged, please.
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 4, 3:18 pm 2010 |
| Rafael J. Wysocki | Re: [Bug #15625] BUG: 2.6.34-rc1, RIP is (null)
Done.
Thanks,
Rafael
--
| May 4, 3:22 pm 2010 |
| Rafael J. Wysocki | [Bug #15601] [BUG] SLOB breaks Crypto
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15601
Subject : [BUG] SLOB breaks Crypto
Submitter : michael-dev@fami-braun.de
Date : 2010-03-15 13:39 (51 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15858] [2.6.34-rc5] bad page state copying to/from ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15858
Subject : [2.6.34-rc5] bad page state copying to/from HFS+ filesystem...
Submitter : Daniel J Blueman <daniel.blueman@gmail.com>
Date : 2010-04-25 21:14 (10 days ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15862] 2.6.34-rc4/5: iwlagn unusable until reload
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15862
Subject : 2.6.34-rc4/5: iwlagn unusable until reload
Submitter : Nico Schottelius <nico-linux-20100427@schottelius.org>
Date : 2010-04-27 7:49 (8 days ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15880] Very bad regression from 2.6.33 as of 1600f9def
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15880
Subject : Very bad regression from 2.6.33 as of 1600f9def
Submitter : Alex Elsayed <eternaleye@gmail.com>
Date : 2010-04-29 2:28 (6 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15893] Alps: No edge-scrolling since 2.6.34-rc5
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15893
Subject : Alps: No edge-scrolling since 2.6.34-rc5
Submitter : Felix Zweig <f.zweig@yahoo.de>
Date : 2010-05-01 16:23 (4 days old)
Handled-By : Dan Carpenter ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15664] Graphics hang and kernel backtrace when sta ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15664
Subject : Graphics hang and kernel backtrace when starting Azureus with Compiz enabled
Submitter : Alex Villacis Lasso <avillaci@ceibo.fiec.espol.edu.ec>
Date : ...
| May 4, 2:21 pm 2010 |
| H Hartley Sweeten | RE: [Bug #15729] BUG: physmap modprobe & rmmod
[Empty message]
| May 4, 3:15 pm 2010 |
| Rafael J. Wysocki | [Bug #15805] reiserfs locking
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15805
Subject : reiserfs locking
Submitter : Alexander Beregalov <a.beregalov@gmail.com>
Date : 2010-04-15 21:02 (20 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15589
Subject : 2.6.34-rc1: Badness at fs/proc/generic.c:316
Submitter : Christian Kujau <lists@nerdbynature.de>
Date : 2010-03-13 23:53 (53 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15790] Meta-Bug: Regressions
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15790
Subject : Meta-Bug: Regressions
Submitter : Florian Mickler <fmickler@gmx.de>
Date : 2010-04-15 18:21 (20 days old)
--
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15671] intel graphic card hanging (Hangcheck timer ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15671
Subject : intel graphic card hanging (Hangcheck timer elapsed... GPU hung)
Submitter : Norbert Preining <preining@logic.at>
Date : 2010-03-27 16:11 (39 days ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15669] INFO: suspicious rcu_dereference_check()
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15669
Subject : INFO: suspicious rcu_dereference_check()
Submitter : Zdenek Kabelac <zdenek.kabelac@gmail.com>
Date : 2010-03-08 1:26 (58 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15717] bluetooth oops
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15717
Subject : bluetooth oops
Submitter : Pavel Machek <pavel@ucw.cz>
Date : 2010-03-14 20:14 (52 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15704
Subject : [r8169] WARNING: at net/sched/sch_generic.c
Submitter : Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Date : 2010-03-31 10:21 (35 days ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15712] [regression] 2.6.34-rc1 to -rc3 on zaurus: ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15712
Subject : [regression] 2.6.34-rc1 to -rc3 on zaurus: no longer boots
Submitter : Pavel Machek <pavel@ucw.cz>
Date : 2010-04-01 6:06 (34 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15673] 2.6.34-rc2: "ima_dec_counts: open/free imba ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15673
Subject : 2.6.34-rc2: "ima_dec_counts: open/free imbalance"?
Submitter : Thomas Meyer <thomas@m3y3r.de>
Date : 2010-03-28 11:31 (38 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15713
Subject : hackbench regression due to commit 9dfc6e68bfe6e
Submitter : Alex Shi <alex.shi@intel.com>
Date : 2010-03-25 8:40 (41 days old)
First-Bad-Commit: ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15768] Incorrectly calculated free blocks result i ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15768
Subject : Incorrectly calculated free blocks result in ENOSPC from writepage
Submitter : Dmitry Monakhov <dmonakhov@openvz.org>
Date : 2010-04-12 11:24 (23 days ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15729] BUG: physmap modprobe & rmmod
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15729
Subject : BUG: physmap modprobe & rmmod
Submitter : Randy Dunlap <randy.dunlap@oracle.com>
Date : 2010-04-02 20:40 (33 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15863] 2.6.34-rc5-git7 (plus all patches) -- anoth ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15863
Subject : 2.6.34-rc5-git7 (plus all patches) -- another suspicious rcu_dereference_check() usage.
Submitter : Miles Lane <miles.lane@gmail.com>
Date : 2010-04-27 ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangchec ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15659
Subject : [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Submitter : Maciej Rutecki ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15625] BUG: 2.6.34-rc1, RIP is (null)
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15625
Subject : BUG: 2.6.34-rc1, RIP is (null)
Submitter : Randy Dunlap <randy.dunlap@oracle.com>
Date : 2010-03-18 22:22 (48 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15610] fsck leads to swapper - BUG: unable to hand ...
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15610
Subject : fsck leads to swapper - BUG: unable to handle kernel NULL pointer dereference & panic
Submitter : Ozgur Yuksel <ozgur.yuksel@oracle.com>
Date : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15611] Failure with the 2.6.34-rc1 kernel
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15611
Subject : Failure with the 2.6.34-rc1 kernel
Submitter : Rupjyoti Sarmah <rsarmah@amcc.com>
Date : 2010-03-16 15:45 (50 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Rafael J. Wysocki | [Bug #15590] 2.6.34-rc1: regression: ^Z no longer stops sound
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15590
Subject : 2.6.34-rc1: regression: ^Z no longer stops sound
Submitter : Pavel Machek <pavel@ucw.cz>
Date : 2010-03-14 7:58 (52 days old)
Message-ID : ...
| May 4, 2:21 pm 2010 |
| Randy Dunlap | Re: [Bug #15625] BUG: 2.6.34-rc1, RIP is (null)
Let's drop this one as not reproducible.
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 4, 3:10 pm 2010 |
| Rafael J. Wysocki | 2.6.34-rc6-git2: Reported regressions from 2.6.33
This message contains a list of some regressions from 2.6.33,
for which there are no fixes in the mainline known to the tracking team.
If any of them have been fixed already, please let us know.
If you know of any other unresolved regressions from 2.6.33, please let us
know either and we'll add them to the list. Also, please let us know
if any of the entries below are invalid.
Each entry from the list will be sent additionally in an automatic reply
to this message with CCs to the people ...
| May 4, 1:49 pm 2010 |
| Rafael J. Wysocki | Re: [Bug #15729] BUG: physmap modprobe & rmmod
Sure (that's the default policy).
Rafael
--
| May 4, 3:24 pm 2010 |
| David Woodhouse | RE: [Bug #15729] BUG: physmap modprobe & rmmod
Is it a regression? People have been configuring their kernel stupidly
and then acting surprised when it didn't work for _ages_... what's new?
--
dwmw2
--
| May 4, 3:22 pm 2010 |
| Rafael J. Wysocki | [Bug #15505] No more b43 wireless interface since 2.6.34-rc1
This message has been generated automatically as a part of a summary report
of recent regressions.
The following bug entry is on the current list of known regressions
from 2.6.33. Please verify if it still should be listed and let the tracking team
know (either way).
Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=15505
Subject : No more b43 wireless interface since 2.6.34-rc1
Submitter : Christian Casteyde <casteyde.christian@free.fr>
Date : 2010-03-10 06:59 (56 days ...
| May 4, 1:49 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 24/48] rcu: make SRCU usable in modules
Add a #include for mutex.h to allow SRCU to be more easily used in
kernel modules.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/srcu.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/srcu.h b/include/linux/srcu.h
index 9c01f10..4d5d2f5 100644
--- a/include/linux/srcu.h
+++ b/include/linux/srcu.h
@@ -27,6 +27,8 @@
#ifndef _LINUX_SRCU_H
#define _LINUX_SRCU_H
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 39/48] notifiers: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
include/linux/notifier.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index fee6c2f..f05f5e4 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -49,28 +49,28 @@
struct notifier_block {
int ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 0/48] v4 patches queued for 2.6.35
Hello!
RFC preview of RCU patches queued for 2.6.35, take 4.
Take 3 is at http://lkml.org/lkml/2010/4/20/321.
New patches flagged with "New".
1. New: optionally leave lockdep enabled after RCU lockdep splat
This patch, based on one from Lai Jiangshan, allows multiple
RCU-lockdep splats per boot. This was proposed for 2.6.34,
but it does not qualify as a regression, so it is now at the
head of the 2.6.35 queue.
2. substitute set_need_resched for sending resched IPIs
This reduces ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 03/48] rcu: make dead code really dead
From: Lai Jiangshan <laijs@cn.fujitsu.com>
cleanup: make dead code really dead
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index e54c123..6042fb8 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1236,11 +1236,11 @@ static void force_quiescent_state(struct rcu_state *rsp, int ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 12/48] rcu: enable CPU_STALL_VERBOSE ...
The CPU_STALL_VERBOSE kernel configuration parameter was added to
2.6.34 to identify any preempted/blocked tasks that were preventing
the current grace period from completing when running preemptible
RCU. As is conventional for new configurations parameters, this
defaulted disabled. It is now time to enable it by default.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
lib/Kconfig.debug | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 34/48] credentials: rcu annotation
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
---
include/linux/sched.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 7307c74..74b3125 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1301,9 +1301,9 @@ struct ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 29/48] rcu: add an rcu_dereference_i ...
The sparse RCU-pointer checking relies on type magic that dereferences
the pointer in question. This does not work if the pointer is in fact
an array index. This commit therefore supplies a new RCU API that
omits the sparse checking to continue to support rcu_dereference()
on integers.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 31/48] rcu: define __rcu address spa ...
This patch defines an __rcu annotation that permits sparse to check for
correct use of RCU-protected pointers. If a pointer that is annotated
with __rcu is accessed directly (as opposed to via rcu_dereference(),
rcu_assign_pointer(), or one of their variants), sparse can be made
to complain. To enable such complaints, use the new default-disabled
CONFIG_SPARSE_RCU_POINTER kernel configuration option. Please note that
these sparse complaints are intended to be a debugging aid, -not- ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 16/48] rcu: permit discontiguous cpu ...
TREE_RCU assumes that CPU numbering is contiguous, but some users need
large holes in the numbering to better map to hardware layout. This patch
makes TREE_RCU (and TREE_PREEMPT_RCU) tolerate large holes in the CPU
numbering. However, NR_CPUS must still be greater than the largest
CPU number.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 20/48] rcu head introduce rcu head i ...
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
PEM:
o Would it be possible to make this bisectable as follows?
a. Insert a new patch after current patch 4/6 that
defines destroy_rcu_head_on_stack(),
init_rcu_head_on_stack(), and init_rcu_head() with
their !CONFIG_DEBUG_OBJECTS_RCU_HEAD definitions.
This patch performs this transition.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: "Paul E. ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 44/48] net/netfilter: __rcu annotations
From: Arnd Bergmann <arnd@relay.de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
---
include/net/netfilter/nf_conntrack.h | 2 +-
net/ipv4/netfilter/nf_nat_core.c | 2 +-
net/netfilter/core.c | 2 +-
net/netfilter/nf_conntrack_ecache.c | 4 ++--
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
From: Arnd Bergmann <arnd@relay.de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
---
drivers/vhost/net.c | 6 +++---
drivers/vhost/vhost.c | 12 ++++++------
drivers/vhost/vhost.h | 4 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 9777583..36e8dec 100644
--- a/drivers/vhost/net.c
+++ ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 04/48] rcu: move some code from macr ...
From: Lai Jiangshan <laijs@cn.fujitsu.com>
Shrink the RCU_INIT_FLAVOR() macro by moving all but the initialization
of the ->rda[] array to rcu_init_one(). The call to rcu_init_one()
can then be moved to the end of the RCU_INIT_FLAVOR() macro, which is
required because rcu_boot_init_percpu_data(), which is now called from
rcu_init_one(), depends on the initialization of the ->rda[] array.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 32/48] rculist: avoid __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
This avoids warnings from missing __rcu annotations
in the rculist implementation, making it possible to
use the same lists in both RCU and non-RCU cases.
We can add rculist annotations later, together with
lockdep support for rculist, which is missing as well,
but that may involve changing all the users.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Pavel Emelyanov <xemul@openvz.org>
Cc: ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 18/48] rcu: improve the RCU CPU-stal ...
The existing Documentation/RCU/stallwarn.txt has proven unhelpful, so
rework it a bit. In particular, show how to interpret the stall-warning
messages.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
Documentation/RCU/stallwarn.txt | 94 +++++++++++++++++++++++++++++---------
1 files changed, 71 insertions(+), 23 deletions(-)
diff --git a/Documentation/RCU/stallwarn.txt b/Documentation/RCU/stallwarn.txt
index 1423d25..44c6dcc 100644
--- ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 19/48] Debugobjects transition check
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Implement a basic state machine checker in the debugobjects.
This state machine checker detects races and inconsistencies within the "active"
life of a debugobject. The checker only keeps track of the current state; all
the state machine logic is kept at the object instance level.
The checker works by adding a supplementary "unsigned int astate" field to the
debug_obj structure. It keeps track of the current "active state" of the ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 28/48] net: Make accesses to ->br_po ...
The new versions of the rcu_dereference() APIs requires that any pointers
passed to one of these APIs be fully defined. The ->br_port field
in struct net_device points to a struct net_bridge_port, which is an
incomplete type. This commit therefore changes ->br_port to be a void*,
and introduces a br_port() helper function to convert the type to struct
net_bridge_port, and applies this new helper function where required.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 47/48] net: __rcu annotations
From: Arnd Bergmann <arnd@relay.de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
---
include/linux/igmp.h | 4 ++--
include/linux/netdevice.h | 12 ++++++------
include/net/dst.h | 2 +-
include/net/fib_rules.h | 2 +-
include/net/garp.h | 2 +-
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 21/48] remove all rcu head initializ ...
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Remove all rcu head inits. We don't care about the RCU head state before passing
it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can
keep track of objects on stack.
This patch applies to current -tip based on 2.6.34-rc2.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: David S. Miller <davem@davemloft.net>
CC: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
CC: mingo@elte.hu
CC: ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 22/48] rcu head remove init
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
RCU heads really don't need to be initialized. Their state before call_rcu()
really does not matter.
We need to keep init/destroy_rcu_head_on_stack() though, since we want
debugobjects to be able to keep track of these objects.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: David S. Miller <davem@davemloft.net>
CC: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
CC: akpm@linux-foundation.org
CC: ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 10/48] rcu: refactor RCU's context-s ...
The addition of preemptible RCU to treercu resulted in a bit of
confusion and inefficiency surrounding the handling of context switches
for RCU-sched and for RCU-preempt. For RCU-sched, a context switch
is a quiescent state, pure and simple, just like it always has been.
For RCU-preempt, a context switch is in no way a quiescent state, but
special handling is required when a task blocks in an RCU read-side
critical section.
However, the callout from the scheduler and the outer loop in ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 23/48] tree/tiny rcu: Add debug RCU ...
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Helps finding racy users of call_rcu(), which results in hangs because list
entries are overwritten and/or skipped.
Changelog since v4:
- Bissectability is now OK
- Now generate a WARN_ON_ONCE() for non-initialized rcu_head passed to
call_rcu(). Statically initialized objects are detected with
object_is_static().
- Rename rcu_head_init_on_stack to init_rcu_head_on_stack.
- Remove init_rcu_head() completely.
Changelog since ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 11/48] rcu: slim down rcutiny by rem ...
TINY_RCU does not need rcu_scheduler_active unless CONFIG_DEBUG_LOCK_ALLOC.
So conditionally compile rcu_scheduler_active in order to slim down
rcutiny a bit more. Also gets rid of an EXPORT_SYMBOL_GPL, which is
responsible for most of the slimming.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 4 +---
include/linux/rcutiny.h | 13 +++++++++++++
include/linux/rcutree.h | 3 +++
kernel/rcupdate.c | 19 -------------------
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 35/48] keys: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: David Howells <dhowells@redhat.com>
---
include/linux/cred.h | 2 +-
include/linux/key.h | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/linux/cred.h b/include/linux/cred.h
index 52507c3..413f98a 100644
--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -84,7 +84,7 @@ struct thread_group_cred {
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 14/48] rcu: print boot-time console ...
Print boot-time messages if tracing is enabled, if fanout is set
to non-default values, if exact fanout is specified, if accelerated
dyntick-idle grace periods have been enabled, if RCU-lockdep is enabled,
if rcutorture has been boot-time enabled, if the CPU stall detector has
been disabled, or if four-level hierarchy has been enabled.
This is all for TREE_RCU and TREE_PREEMPT_RCU. TINY_RCU will be handled
separately, if at all.
Suggested-by: Josh Triplett ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 17/48] rcu: v2: reduce the number of ...
Lai Jiangshan noted that up to 10% of the RCU_SOFTIRQ are spurious, and
traced this down to the fact that the current grace-period machinery
will uselessly raise RCU_SOFTIRQ when a given CPU needs to go through
a quiescent state, but has not yet done so. In this situation, there
might well be nothing that RCU_SOFTIRQ can do, and the overhead can be
worth worrying about in the ksoftirqd case. This patch therefore avoids
raising RCU_SOFTIRQ in this situation.
Changes since v1 ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 46/48] kernel: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
This adds annotations for RCU operations in core kernel components
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/fdtable.h | 6 +++---
include/linux/fs.h | 2 +-
include/linux/genhd.h | 6 +++---
include/linux/init_task.h | 4 ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 13/48] rcu: disable CPU stall warnin ...
The current RCU CPU stall warnings remain enabled even after a panic
occurs, which some people have found to be a bit counterproductive.
This patch therefore uses a notifier to disable stall warnings once a
panic occurs.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree.c | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 3623f8e..595fb83 100644
--- a/kernel/rcutree.c
+++ ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 08/48] rcu: shrink rcutiny by making ...
Because synchronize_rcu_bh() is identical to synchronize_sched(),
make the former a static inline invoking the latter, saving the
overhead of an EXPORT_SYMBOL_GPL() and the duplicate code.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 2 --
include/linux/rcutiny.h | 12 +++++++++++-
include/linux/rcutree.h | 2 ++
kernel/rcutiny.c | 9 ++-------
4 files changed, 15 insertions(+), 10 deletions(-)
diff --git ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
---
include/linux/cgroup.h | 4 ++--
include/linux/sched.h | 2 +-
kernel/cgroup.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 8f78073..b147fd5 100644
--- ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 30/48] mce: convert to rcu_dereferen ...
The mce processing applies rcu_dereference_check() to integers used as
array indices. This patch therefore moves mce to the new RCU API
rcu_dereference_index_check() that avoids the sparse processing that
would otherwise result in compiler errors.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
---
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 07/48] rcu: fix now-bogus rcu_schedu ...
The rcu_scheduler_active check has been wrapped into the new
debug_lockdep_rcu_enabled() function, so update the comments to
reflect this new reality.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index a150af0..02537a7 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -111,7 +111,8 @@ extern int ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 06/48] rcu: Fix bogus CONFIG_PROVE_L ...
It is CONFIG_DEBUG_LOCK_ALLOC rather than CONFIG_PROVE_LOCKING, so fix it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 15 ++++++++-------
include/linux/srcu.h | 4 ++--
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index 4dca275..a150af0 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -106,8 +106,8 @@ extern int ...
| May 4, 1:19 pm 2010 |
| Paul Menage | Re: [PATCH tip/core/rcu 33/48] cgroups: __rcu annotations
On Tue, May 4, 2010 at 1:19 PM, Paul E. McKenney
--
| May 4, 1:48 pm 2010 |
| Arnd Bergmann | Re: [PATCH tip/core/rcu 31/48] rcu: define __rcu address ...
To add more background, I was thinking that it might make sense to
always leave the address space attribute in place but to make part
part of the checking optional.
The idea would be that we always make sure that an __rcu annotated
pointer cannot be dereferenced or cast directly, while we would
only complain about non-annotated pointers being passed to rcu_dereference
and rcu_assign_pointer if CONFIG_SPARSE_RCU_POINTER is set.
Most of the work I had spent on my tree was about fixing all ...
| May 4, 1:58 pm 2010 |
| Stephen Hemminger | Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->b ...
On Tue, 4 May 2010 13:19:38 -0700
I would rather make the bridge hook generic and not take a type argument.
--
| May 4, 2:26 pm 2010 |
| Arnd Bergmann | Re: [PATCH tip/core/rcu 28/48] net: Make accesses to ->b ...
Not sure if you were confused by the comment in the same way that I was.
The bridge hook is not impacted by this at all, since we can either pass
a void* or a struct net_bridge_port* to it. The br_port() helper
is used for all the places where we actually want to dereference
dev->br_port and access its contents.
Arnd
--
| May 4, 2:41 pm 2010 |
| Michael S. Tsirkin | Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
This should be rcu_dereference_const as well: it is called
This is called when there can be no active readers, so the smp_wmb
inside rcu_assign_pointer isn't really needed.
rcu_dereference_const. This is called under vq mutex and the comment
--
| May 4, 2:39 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/rcu 31/48] rcu: define __rcu address ...
No specific plans at the moment. But having the underlying plumbing all
Thank -you- for making this happen!!!
Thanx, Paul
--
| May 4, 4:07 pm 2010 |
| James Morris | Re: [PATCH tip/core/rcu 21/48] remove all rcu head initi ...
Reviewed-by: James Morris <jmorris@namei.org>
--
James Morris
<jmorris@namei.org>
--
| May 4, 4:44 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
How about the following?
struct socket *sock;
sock = rcu_dereference_protected(vq->private_data,
lockdep_is_held(&vq->mutex));
This could be used for some (though not all) of these situations.
And just so you know... The fact that this is here in the first
place is actually my mistake -- my intention was to include the __rcu
annotations and nothing else, then follow up with bug fixes. In fact,
the alert reader will have noted that there is in fact no such thing
as ...
| May 4, 4:57 pm 2010 |
| Michael S. Tsirkin | Re: [PATCH tip/core/rcu 43/48] vhost: add __rcu annotations
I'll go over it. Could you point me to documentation to the API
Just above:
mutex_lock(&vq->mutex);
/* Verify that ring has been setup correctly. */
if (!vhost_vq_access_ok(vq)) {
r = -EFAULT;
goto err_vq;
}
sock = get_socket(fd);
if (IS_ERR(sock)) {
r = PTR_ERR(sock);
goto err_vq;
}
--
| May 4, 4:59 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 37/48] net: __rcu annotations for drivers
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
---
drivers/net/bnx2.h | 2 +-
drivers/net/bnx2x.h | 2 +-
drivers/net/cnic.h | 2 +-
drivers/net/macvtap.c | 2 +-
include/linux/if_macvlan.h | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 15/48] rcu: improve RCU CPU stall-wa ...
The existing RCU CPU stall-warning messages can be confusing, especially
in the case where one CPU detects a single other stalled CPU. In addition,
the console messages did not say which flavor of RCU detected the stall,
which can make it difficult to work out exactly what is causing the stall.
This commit improves these messages.
Requested-by: Dhaval Giani <dhaval.giani@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree.c | 20 +++++++++++---------
...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 25/48] rcu: fix debugobjects rcu hea ...
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Testing resulted in the following debugobjects splat
[...]
ODEBUG: object is on stack, but not annotated
------------[ cut here ]------------
Badness at lib/debugobjects.c:294
NIP: c0000000002c76f0 LR: c0000000002c76ec CTR: c00000000041ecd8
REGS: c0000001de71b280 TRAP: 0700 Tainted: G W (2.6.34-rc3-autokern1)
MSR: 8000000000029032 <EE,ME,CE,IR,DR> CR: 24000424 XER: 0000000f
TASK = c0000001de7dca00[3695] 'arping' THREAD: ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 26/48] rcu: RCU_FAST_NO_HZ must chec ...
The current version of RCU_FAST_NO_HZ reproduces the old CLASSIC_RCU
dyntick-idle bug, as it fails to detect CPUs that have interrupted
or NMIed out of dyntick-idle mode. Fix this by making rcu_needs_cpu()
check the state in the per-CPU rcu_dynticks variables, thus correctly
detecting the dyntick-idle state from an RCU perspective.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree_plugin.h | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 27/48] vfs: add fs.h to define struct file
The sparse RCU-pointer annotations require definition of the
underlying type of any pointer passed to rcu_dereference() and friends.
So fcheck_files() needs "struct file" to be defined, so include fs.h.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
---
include/linux/fdtable.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/fdtable.h ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 48/48] kvm: more __rcu annotations
From: Arnd Bergmann <arnd@relay.de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 2 +-
include/linux/kvm_host.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 06d9e79..9c65faf 100644
--- ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 38/48] perf_event: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
include/linux/perf_event.h | 6 +++---
include/linux/sched.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/linux/perf_event.h ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 40/48] radix-tree: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Nick Piggin <npiggin@suse.de>
---
include/linux/radix-tree.h | 4 +++-
lib/radix-tree.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 55ca73c..d801044 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -47,6 +47,8 @@ ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 42/48] input: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
---
drivers/input/evdev.c | 2 +-
include/linux/input.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index 2ee6c7a..73b1208 100644
--- a/drivers/input/evdev.c
+++ ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 02/48] rcu: substitute set_need_resc ...
This patch adds a check to __rcu_pending() that does a local
set_need_resched() if the current CPU is holding up the current grace
period and if force_quiescent_state() will be called soon. The goal is
to reduce the probability that force_quiescent_state() will need to do
smp_send_reschedule(), which sends an IPI and is therefore more expensive
on most architectures.
Signed-off-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree.c | 10 ++++++++++
1 files changed, 10 ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | Re: [PATCH tip/core/rcu 21/48] remove all rcu head initi ...
Hello, Matt,
RCU_HEAD_INIT() is no more. Or will be no more after this patchset.
However, now that you mention it, we do need docbook comments for
init_rcu_head_on_stack() and friends. I will fix that.
Thanx, Paul
--
| May 4, 1:36 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 45/48] kvm: add __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
---
include/linux/kvm_host.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 169d077..08fe794 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -197,7 +197,7 @@ struct ...
| May 4, 1:19 pm 2010 |
| Matt Mackall | Re: [PATCH tip/core/rcu 21/48] remove all rcu head initi ...
Please document that distinction at the definition of INIT_RCU_HEADS,
otherwise we're sure to see creep.
--
Mathematics is the supreme nostalgia of our time.
--
| May 4, 1:27 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 09/48] rcu: rename rcutiny rcu_ctrlb ...
Make naming line up in preparation for CONFIG_TINY_PREEMPT_RCU.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutiny.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c
index 272c6d2..d9f8a62 100644
--- a/kernel/rcutiny.c
+++ b/kernel/rcutiny.c
@@ -44,9 +44,9 @@ struct rcu_ctrlblk {
};
/* Definition for rcupdate control block. */
-static struct rcu_ctrlblk rcu_ctrlblk = {
- .donetail = ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 36/48] nfs: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
---
fs/nfs/delegation.h | 2 +-
include/linux/nfs_fs.h | 2 +-
include/linux/sunrpc/auth_gss.h | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h
index 69e7b81..2978814 100644
--- a/fs/nfs/delegation.h
+++ ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 01/48] rcu: optionally leave lockdep ...
From: Lai Jiangshan <laijs@cn.fujitsu.com>
There is no need to disable lockdep after an RCU lockdep splat,
so remove the debug_lockdeps_off() from lockdep_rcu_dereference().
To avoid repeated lockdep splats, use a static variable in the inlined
rcu_dereference_check() and rcu_dereference_protected() macros so that
a given instance splats only once, but so that multiple instances can
be detected per boot.
This is controlled by a new config variable CONFIG_PROVE_RCU_REPEATEDLY,
which is ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 05/48] rcu: ignore offline CPUs in l ...
From: Lai Jiangshan <laijs@cn.fujitsu.com>
Offline CPUs are not in nohz_cpu_mask, but can be ignored when checking
for the last non-dyntick-idle CPU. This patch therefore only checks
online CPUs for not being dyntick idle, allowing fast entry into
full-system dyntick-idle state even when there are some offline CPUs.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree_plugin.h | 2 +-
1 files changed, 1 ...
| May 4, 1:19 pm 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 41/48] idr: __rcu annotations
From: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
---
include/linux/idr.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/idr.h b/include/linux/idr.h
index e968db7..cdb715e 100644
--- a/include/linux/idr.h
+++ b/include/linux/idr.h
@@ -50,14 +50,14 @@
struct idr_layer {
unsigned long bitmap; /* A zero ...
| May 4, 1:19 pm 2010 |
| Alan Cox | PATCH: rar and memrar updates
commit 1cb0e4339ecd39c62840c74b53546bd28c1ea1a9
Author: Alan Cox <alan@linux.intel.com>
Date: Tue May 4 20:38:47 2010 +0100
rar: perform a clean up pass
- Move to a registration model where each RAR is claimed/unclaimed
- Use that to fix the client stuff (one client per RAR so no need to queue stuff)
- Support unregister so drivers can rmmod themselves safely
- Fix locking hang on calling rar lock from rar callback
- Clean up
- Kerneldoc
Folded ...
| May 4, 12:40 pm 2010 |
| Marek Szuba | Cannot create NETLINK_NFLOG sockets
Hello there,
I have just stumbled upon a rather strange problem... It seems whenever
a program on my system tries to create a netlink socket of the
NETLINK_NFLOG type, the call fails with a "protocol not supported"
error. Having first encountered this trying to get ulogd running for
the iptables NFLOG target, I have managed to reproduce it with a short C
program which does nothing but try to open such a socket. Netlink in
general works fine.
My kernel is Linux-2.6.33, with the following ...
| May 4, 12:59 pm 2010 |
| Kevin Cernekee | [PATCH] mtd: map.h: add missing bug.h include
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
include/linux/mtd/map.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h
index b981b87..01703d4 100644
--- a/include/linux/mtd/map.h
+++ b/include/linux/mtd/map.h
@@ -7,6 +7,7 @@
#include <linux/types.h>
#include <linux/list.h>
#include <linux/string.h>
+#include <linux/bug.h>
#include <linux/mtd/compatmac.h>
--
1.6.3.1
--
| May 4, 12:51 pm 2010 |
| Bjorn Helgaas | Re: [PATCH 2/2] vgacon: use request_region(), not reques ...
Yep, I was intending for after .34. I couldn't figure out where
to send it, but I'll be happy to send it to Jesse.
Bjorn
--
| May 4, 12:16 pm 2010 |
| Bjorn Helgaas | [PATCH 1/2] resources: fill in type for __request_region()
Set the IORESOURCE_TYPE based on the parent. Without this, the type is
never set, which is slightly confusing if we ever print the resource later.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
kernel/resource.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/kernel/resource.c b/kernel/resource.c
index aa63746..f0d83a4 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -699,8 +699,9 @@ struct resource * __request_region(struct resource ...
| May 4, 11:58 am 2010 |
| Bjorn Helgaas | [PATCH 2/2] vgacon: use request_region(), not request_re ...
Drivers normally use request_region() to mark the region busy so it won't
be used by anybody else. Previously, we used request_resource(), which
doesn't mark the VGA regions busy.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
---
drivers/video/console/vgacon.c | 30 ++++++------------------------
1 files changed, 6 insertions(+), 24 deletions(-)
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c
index 182dd6f..fca54ec 100644
--- ...
| May 4, 11:58 am 2010 |
| Linus Torvalds | Re: [PATCH 2/2] vgacon: use request_region(), not reques ...
Hmm. I don't object, but unless there is some crazy regression, there's no
way I will take something like this outside the merge window. Who knows
what odd frame buffer driver is out there that just depended on the fact
that it could also register that VGA area?
Probably no such thing exists, but it's why I want these kinds of things
during the merge window. And obviously preferably through something like
the PCI merge tree, but that's a different issue.
Linus
--
| May 4, 12:09 pm 2010 |
| H. Peter Anvin | Re: [PATCH 2/2] vgacon: use request_region(), not reques ...
I would vote for Jesse's tree. If Jesse doesn't want it I'll take it.
-hpa
--
| May 4, 1:14 pm 2010 |
| Jesse Barnes | Re: [PATCH 2/2] vgacon: use request_region(), not reques ...
On Tue, 04 May 2010 13:14:11 -0700
I'm happy to stuff it in my -next tree. Bjorn can you resend?
Thanks,
Jesse
--
| May 4, 1:51 pm 2010 |
| Steven Rostedt | Re: How to write marker info in MMIO trace from kernel
Ug, that's because the mmiotrace handles its own prints and ignores
anything it does not know about. Here, try this patch:
-- Steve
diff --git a/kernel/trace/trace_mmiotrace.c b/kernel/trace/trace_mmiotrace.c
index 017fa37..8652f28 100644
--- a/kernel/trace/trace_mmiotrace.c
+++ b/kernel/trace/trace_mmiotrace.c
@@ -282,7 +282,7 @@ static enum print_line_t mmio_print_line(struct trace_iterator *iter)
case TRACE_PRINT:
return mmio_print_mark(iter);
default:
- return ...
| May 4, 3:58 pm 2010 |
| Steven Rostedt | Re: How to write marker info in MMIO trace from kernel
You can use "trace_printk()". I think that is what you are looking for.
-- Steve
--
| May 4, 11:42 am 2010 |
| Larry Finger | How to write marker info in MMIO trace from kernel
Stephen,
I hope you are the correct person for this question.
I would like to write information into the MMIO trace file similar to
what the user space write to /sys/.../trace_marker would accomplish,
however, I want to do it in place of printk statements in the driver I'm
tracing. Do you have any suggestions on how to do this? I have tools to
merge the trace dump with dmesg output, but the latter lags behind and I
do not get good correlation.
Thanks,
Larry
--
| May 4, 11:36 am 2010 |
| Larry Finger | Re: How to write marker info in MMIO trace from kernel
Thanks for the info. One other question - when I write only mmiotrace to
the current_tracer, the trace_printk() stuff does not end up in the
buffer. I can get it by using the "sysprof" tracer, but that has a lot
of stuff I do not want. Did I miss some configuration? My list of
available tracers is "blk kmemtrace mmiotrace wakeup_rt wakeup function
sysprof sched_switch nop".
Thanks,
Larry
--
| May 4, 3:27 pm 2010 |
| Michael S. Tsirkin | Re: virtio: put last_used and last_avail index into ring ...
I've been looking at this patch some more (more on why
later), and I wonder: would it be better to add some
alignment to the last used index address, so that
if we later add more stuff at the tail, it all
fits in a single cache line?
We use a new feature bit anyway, so layout change should not be
a problem.
Since I raised the question of caches: for used ring,
the ring is not aligned to 64 bit, so on CPUs with 64 bit
or larger cache lines, used entries will often cross
cache line ...
| May 4, 11:22 am 2010 |
| Rafi Rubin | [PATCH 0/3] N-Trig improved filtering
Guy, sorry to drop this just after your kind letter yesterday. This change
has been in the works for a little while, and would have been sent in last
week if I hadn't found an error in my model.
Sorry to send these patches as such large chunks.
In the current version of hid-ntrig, contacts are rejected based on a simple
size threshold to filter out randomly generated activity. Unfortunately
I was too aggressive in the selection of that threshold. As Micki may have
pointed out we can ...
| May 4, 11:20 am 2010 |
| Rafi Rubin | [PATCH 3/3] ntrig sysfs access to filter parameters
This should make it a little more convenient to tweak the filtering
parameters on the fly. Also unlike load-time parameters, this provides
independent tuning for each device conntected.
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
drivers/hid/hid-ntrig.c | 285 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 285 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index 18609c1..b6b0cae 100644
--- ...
| May 4, 11:20 am 2010 |
| Rafi Rubin | [PATCH 1/3] N-Trig sensitivity and responsiveness
The old rejection size thresholds were too high for the 12" devices.
Larger surfaces like the Dell Studio17 exacerbated the problem since
contact size is reported on the same logical scale, making a contact
look smaller to the larger screen.
Since we have observed erroneous ghost events from these devices we
still need to filter the incoming stream.
The prior size threshold filter is still in place, though with
defaults set to leave it off.
This patch adds the two new classes of filters, ...
| May 4, 11:20 am 2010 |
| Rafi Rubin | [PATCH 2/3] ntrig filtering module parameters
Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
---
drivers/hid/hid-ntrig.c | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index 227d015..18609c1 100644
--- a/drivers/hid/hid-ntrig.c
+++ b/drivers/hid/hid-ntrig.c
@@ -25,11 +25,32 @@
#define NTRIG_DUPLICATE_USAGES 0x001
static unsigned int min_width;
+module_param(min_width, uint, 0644);
+MODULE_PARM_DESC(min_width, "Minimum touch contact ...
| May 4, 11:20 am 2010 |
| Ingo Molnar | [GIT PULL] perf fix
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
------------------>
Tejun Heo (1):
perf: Fix resource leak in failure path of perf_event_open()
kernel/perf_event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 2f3fbf8..3d1552d 100644
--- a/kernel/perf_event.c
+++ ...
| May 4, 10:52 am 2010 |
| Ingo Molnar | [GIT PULL] core fixes
Linus,
Please pull the latest core-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus
Thanks,
Ingo
------------------>
Benjamin Herrenschmidt (1):
mutex: Don't spin when the owner CPU is offline or other weird cases
Paul E. McKenney (1):
rcu: Fix RCU lockdep splat on freezer_fork path
Peter Zijlstra (1):
rcu: Fix RCU lockdep splat in set_task_cpu on fork path
kernel/cgroup_freezer.c ...
| May 4, 10:49 am 2010 |
| Bastien Nocera | [PATCH] Disable i8042 checks on Intel Apple Macs
As those computers never had any i8042 controllers, and the
current lookup code could potentially lock up/hang/wait for
timeout for long periods of time.
Fixes intermittent hangs on boot on a MacbookAir1,1
Signed-off-by: Bastien Nocera <hadess@hadess.net>
---
drivers/input/serio/i8042.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index d84a36e..2be7207 100644
--- ...
| May 4, 10:36 am 2010 |
| Pekka Enberg | Re: [PATCH] Disable i8042 checks on Intel Apple Macs
My Macbook also complains (doesn't hang though) about this:
--
| May 4, 10:55 am 2010 |
| Dmitry Torokhov | Re: [PATCH] Disable i8042 checks on Intel Apple Macs
This should go into i8042-x86ia64io.h and used to create PNP whitelist.
Thanks.
--
Dmitry
--
| May 4, 11:02 am 2010 |
| Ingo Molnar | Re: [PATCH][GIT PULL] ring-buffer: Wrap open-coded WARN_ONCE
Pulled, thanks Steve!
Ingo
--
| May 4, 10:58 am 2010 |
| Steven Rostedt | [PATCH][GIT PULL] ring-buffer: Wrap open-coded WARN_ONCE
Ingo,
Oops, I forgot to add this one too. I just pushed it after you did your
last pull.
Please pull the latest tip/tracing/core tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/core
Borislav Petkov (1):
ring-buffer: Wrap open-coded WARN_ONCE
----
kernel/trace/ring_buffer.c | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
---------------------------
commit ...
| May 4, 10:32 am 2010 |
| Alan Stern | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
I was referring to your sentence: "That way we don't need to grab the
suspend blocker from the wake up irq handler all the way up to user
mode..." The problem arises when kernel handlers don't do _something_
(Actually the kernel can cancel the suspend even after interrupts are
turned off, if it has a reason to do so.)
In theory the race between interrupts and suspend don't need to be a
problem. In practice it still is -- the PM core needs a few changes to
allow wakeup interrupts to ...
| May 4, 10:16 am 2010 |
| Kristoffer Ericson | patch
Hey,
did you get my patch concerning those hash changes? Havent gotten any reply.
Best wishes
Kristoffer
--
| May 4, 9:48 am 2010 |
| Pavan Savoy | [PATCH] drivers: staging: GPS protocol driver for wl128x
Greg, Alan,
Just to complete the circle on N_TI_WL, find below the GPS driver which makes use of the shared transport line discipline.
This driver provides a TTY line character device to application/middle-ware running on host, as if the device is directly connected over UART to a GPS chip.
Almost all actions that can be done on a /dev/ttySx can be done on this /dev/tigps device.
So with Bluetooth and GPS drivers as the consumers of this N_TI_WL line discipline, how can I tweak the line ...
| May 4, 9:25 am 2010 |
| Steven Rostedt | [PATCH][GIT PULL] tracing: Convert nop macros to static ...
Ingo,
Please pull the latest tip/tracing/core tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
tip/tracing/core
Steven Rostedt (1):
tracing: Convert nop macros to static inlines
----
include/linux/ftrace.h | 30 ++++++++++++++++++------------
1 files changed, 18 insertions(+), 12 deletions(-)
---------------------------
commit 4dbf6bc239c169b032777616806ecc648058f6b2
Author: Steven Rostedt ...
| May 4, 9:17 am 2010 |
| Ingo Molnar | Re: [PATCH][GIT PULL] tracing: Convert nop macros to sta ...
Pulled, thanks Steve!
Ingo
--
| May 4, 9:29 am 2010 |
| Peter Zijlstra | Re: [PATCH 2/2] lockdep: allow user to disable CONFIG_TR ...
Well, do like x86 does in entry.S call into lockdep right before
returning to userspace.
--
| May 4, 9:26 am 2010 |
| tom.leiming | [PATCH 2/2] lockdep: allow user to disable CONFIG_TRACE_ ...
From: Ming Lei <tom.leiming@gmail.com>
There is still the lost irq-on tracing issue on ARM,
(see http://marc.info/?l=linux-arm-kernel&m=126047420005553&w=2)
which may disable lockdep after kernel boot, seems no
good solution for the issue up to now.
The patch exports the config option of CONFIG_TRACE_IRQFLAGS
and allows user to disable it for support of checking circular
dead lock only if irq flags tracing can't work correctly always.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
---
...
| May 4, 9:02 am 2010 |
| Ming Lei | Re: [PATCH 2/2] lockdep: allow user to disable CONFIG_TR ...
CC: ARM
--
Lei Ming
--
| May 4, 9:06 am 2010 |
| tip-bot for Ming Lei | [tip:core/locking] lockdep, fork: Fix dependency of hard ...
Commit-ID: 9ca79f1559dc54268bdf129c0b2a1e2bcebeb0d5
Gitweb: http://git.kernel.org/tip/9ca79f1559dc54268bdf129c0b2a1e2bcebeb0d5
Author: Ming Lei <tom.leiming@gmail.com>
AuthorDate: Wed, 5 May 2010 00:01:12 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 4 May 2010 18:33:20 +0200
lockdep, fork: Fix dependency of hardirqs_enabled and softirqs_enabled
The defination of hardirqs_enabled and softirqs_enabled in
task_struct depends on CONFIG_TRACE_IRQFLAGS instead ...
| May 4, 10:04 am 2010 |
| tom.leiming | [PATCH 1/2] kernel:fork: fix dependency of hardirqs_enab ...
From: Ming Lei <tom.leiming@gmail.com>
The defination of hardirqs_enabled and softirqs_enabled in task_struct
depends on CONFIG_TRACE_IRQFLAGS instead of CONFIG_PROVE_LOCKING.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
---
kernel/fork.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/fork.c b/kernel/fork.c
index 44b0791..038a8fd 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1004,7 +1004,7 @@ static struct task_struct *copy_process(unsigned long ...
| May 4, 9:01 am 2010 |
| Ingo Molnar | Re: [tip:core/locking] lockdep, fork: Fix dependency of ...
this looks wrong - and it also causes this warning during bootup, with certain
configs:
ftrace: allocating 24861 entries in 98 pages
------------[ cut here ]------------
WARNING: at kernel/fork.c:1008 copy_process+0x217/0x112c()
Hardware name: System Product Name
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.34-rc6-tip-01171-gd3c6011-dirty #3116
Call Trace:
[<ffffffff81039739>] warn_slowpath_common+0x7c/0x94
[<ffffffff81039765>] warn_slowpath_null+0x14/0x16
...
| May 4, 10:08 am 2010 |
| Pavan Savoy | Re: [PATCH v3] firmware_class: fix memory leak - free al ...
Yes, code now has warnings, I have something like,
const struct firmware *fw_entry; declared in my header file,
and use it as,
request_firmware(&kim_gdata->fw_entry, bts_scr_name,
&kim_gdata->kim_pdev->dev);
and then I get warnings at,
release_firmware(kim_gdata->fw_entry);
You want me to have a pointer to &kw_gdata->fw_entry which is const ?
as in
const struct firmware **fw_const_ptr;
--
| May 4, 8:52 am 2010 |
| Hank Janssen | RE: [PATCH 1/1] hv: Added new hv_utils driver with shutd ...
Sorry, by this time I was so frustrated arguing with lookout and Exchange that I did not properly
Add the emails when I send it from my own server. :(
Thanks,
Hank.
--
| May 4, 9:26 am 2010 |
| Greg KH | Re: [PATCH 1/1] hv: Added new hv_utils driver with shutd ...
Neither is that.
Also, you "signed-off" on a patch twice, not good.
Other than that, which I fixed up by hand, it looks good, and I've
applied it and added some clean-up patches on top of it to resolve some
issues.
thanks,
greg k-h
--
| May 4, 8:29 am 2010 |
| Dinh.Nguyen | [PATCH 2.6.34-rc6] mxc: gadget: Fix bitfield for calcula ...
From: Dinh Nguyen <Dinh.Nguyen@freescale.com>
The max packet length bit mask used for isochronous endpoints
should be 0x7FF instead of 0x8FF. 0x8FF will actually clear
higher-order bits in the max packet length field.
This patch applies to 2.6.34-rc6.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
---
drivers/usb/gadget/fsl_udc_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/gadget/fsl_udc_core.c ...
| May 4, 8:03 am 2010 |
| Catalin Marinas | [RFC PATCH] kmemleak: Add support for NO_BOOTMEM configu ...
With commits 08677214 and 59be5a8e, alloc_bootmem()/free_bootmem() and
friends use the early_res functions for memory management when
NO_BOOTMEM is enabled. This patch adds the kmemleak calls in the
corresponding code paths for bootmem allocations.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
---
mm/bootmem.c | 2 ++
mm/page_alloc.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff ...
| May 4, 7:33 am 2010 |
| Pavan Savoy | Re: [PATCH v3] firmware_class: fix memory leak - free al ...
Ok, However this patch has changed the release_firmware,
-release_firmware(const struct firmware *fw)
--
| May 4, 7:37 am 2010 |
| Greg KH | Re: [PATCH v3] firmware_class: fix memory leak - free al ...
Does your code now complain about a warning? If so, do you have a
pointer to it?
thanks,
greg k-h
--
| May 4, 8:47 am 2010 |
| Hans Ulli Kroll | [PATCH] ARM: Gemini: fix compiler error in copypage-fa.c
Fix compiler error in copypage-fs.c
missing struct vm_area_struct *vma in function
fa_copy_user_highpage
Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
---
arch/arm/mm/copypage-fa.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mm/copypage-fa.c b/arch/arm/mm/copypage-fa.c
index b2a6008..d2852e1 100644
--- a/arch/arm/mm/copypage-fa.c
+++ b/arch/arm/mm/copypage-fa.c
@@ -40,7 +40,7 @@ fa_copy_user_page(void *kto, const void *kfrom)
}
...
| May 4, 7:34 am 2010 |
| Russell King - ARM Linux | Re: [PATCH] ARM: Gemini: fix compiler error in copypage-fa.c
Ok. Please submit to the patch system, thanks.
--
| May 4, 9:05 am 2010 |
| Valdis.Kletnieks | git bisect questions...
Trying to bisect my way through linux-next to track down a nasty DRM bug that
hoses the nouveau driver, and I have a few questions:
1) I look at 'git bisect visualize', and I see a nice merge point that I
am fairly sure will (a) bisect as good and (b) trim out a *lot* of ancestor
commits in one shot. If I do a 'git reset --hard <merge commit>', will
that make the next 'git bisect' do what I want?
2) I'm down to the last 100 or so commits, and I have a at least 3 'git
bisect skip' in there ...
| May 4, 7:23 am 2010 |
| Frans Pop | Re: git bisect questions...
One way is, before *each* compilation after a 'git bisect good/bad', to do
a 'git cherry-pick 10fd883ce3847'. This means you don't actually move it
after the commit that causes the problem, but you do add it on top for
your compilation.
But that means that after testing the build you can no longer do a simple
'git bisect good/bad' as that would tag the cherry-picked commit instead of
the one you tested.
So instead you have to do 'git bisect good/bad HEAD^' (assuming you did a
single ...
| May 4, 9:08 am 2010 |
| Luis Claudio R. Gonc ... | [RT] 2.6.33.3-rt19: WARNING: at fs/namespace.c:648 commi ...
John,
As the backtrace seems to be closely related to what has been discussed on
the thread "2.6.33.3-rt16: WARNING: at fs/namespace.c:1197", I copied the
same people on this message.
As a side note, this time I just see the warning, there is no system freeze
involved.
------------[ cut here ]------------
WARNING: at fs/namespace.c:648 commit_tree+0xf1/0x10b()
Hardware name: KQ260AA-AC4 a6540br
Modules linked in: nls_utf8 udf vfat fat usb_storage fuse i915 drm_kms_helper drm video ...
| May 4, 7:04 am 2010 |
| Nick Piggin | Re: [RT] 2.6.33.3-rt19: WARNING: at fs/namespace.c:648 c ...
I don't have the -rt tree at hand; can you copy a few lines of code
around line 648 of fs/namespace.c, please?
--
| May 4, 7:27 am 2010 |
| Luis Claudio R. Gonc ... | Re: [RT] 2.6.33.3-rt19: WARNING: at fs/namespace.c:648 c ...
On Wed, May 05, 2010 at 12:27:56AM +1000, Nick Piggin wrote:
| On Tue, May 04, 2010 at 11:04:44AM -0300, Luis Claudio R. Goncalves wrote:
| > John,
| >
| > As the backtrace seems to be closely related to what has been discussed on
| > the thread "2.6.33.3-rt16: WARNING: at fs/namespace.c:1197", I copied the
| > same people on this message.
| >
| > As a side note, this time I just see the warning, there is no system freeze
| > involved.
| >
| >
| > ------------[ cut here ]------------
| ...
| May 4, 7:36 am 2010 |
| Arnaldo Carvalho de Melo | [GIT PULL 0/3] perf fixes (inject, report, record)
Hi Ingo,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf
Regards,
- Arnaldo
Anton Blanchard (1):
perf: Fix performance issue with perf report
Arnaldo Carvalho de Melo (1):
perf inject: Add missing bits
Tom Zanussi (1):
perf: record TRACE_INFO only if using tracepoints and SAMPLE_RAW
tools/perf/Documentation/perf-buildid-cache.txt | 4 +-
tools/perf/Documentation/perf-inject.txt | 35 +++++++++++++++++++++++
...
| May 4, 7:00 am 2010 |
| Ingo Molnar | Re: [GIT PULL 0/3] perf fixes (inject, report, record)
Pulled, thanks Arnaldo!
Ingo
--
| May 4, 9:32 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 3/3] perf: Fix performance issue with perf report
From: Anton Blanchard <anton@samba.org>
On a large machine we spend a lot of time in perf_header__find_attr when
running perf report.
If we are parsing a file without PERF_SAMPLE_ID then for each sample we call
perf_header__find_attr and loop through all counter IDs, never finding a match.
As the machine gets larger there are more per cpu counters and we spend an
awful lot of time in there.
The patch below initialises each sample id to -1ULL and checks for this in
perf_header__find_attr. ...
| May 4, 7:00 am 2010 |
| Arnaldo Carvalho de Melo | Re: [PATCH 1/3] perf: record TRACE_INFO only if using tr ...
Can you please send a fix?
- Arnaldo
--
| May 4, 2:18 pm 2010 |
| Frederic Weisbecker | Re: [PATCH 1/3] perf: record TRACE_INFO only if using tr ...
Using get_tracepoints_path() is a bit costly just to check if we use
Now get_tracepoints_path() may be called three times. You are leaking some
--
| May 4, 10:06 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 1/3] perf: record TRACE_INFO only if using tracep ...
From: Tom Zanussi <tzanussi@gmail.com>
The current perf code implicitly assumes SAMPLE_RAW means tracepoints
are being used, but doesn't check for that. It happily records the
TRACE_INFO even if SAMPLE_RAW is used without tracepoints, but when the
perf data is read it won't go any further when it finds TRACE_INFO but
no tracepoints, and displays misleading errors.
This adds a check for both in perf-record, and won't record TRACE_INFO
unless both are true. This at least allows perf report -D ...
| May 4, 7:00 am 2010 |
| Arnaldo Carvalho de Melo | [PATCH 2/3] perf inject: Add missing bits
From: Arnaldo Carvalho de Melo <acme@redhat.com>
New commands need to have Documentation and be added to command-list.txt
so that they can appear when 'perf' is called withouth any subcommand:
[root@doppio linux-2.6-tip]# perf
usage: perf [--version] [--help] COMMAND [ARGS]
The most commonly used perf commands are:
annotate Read perf.data (created by perf record) and display annotated code
archive Create archive with object files with build-ids found in perf.data ...
| May 4, 7:00 am 2010 |
| mark gross | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
What? If the suspend blocker API was a one shot styled api, after the
suspend, the one shot is over and the behavior is that you do not fall
back into suspend again until user mode re-enables the one-shot
behavior.
With what I am proposing the next suspend would not happen until the
user mode code re-enables the suspend blocking behavior. It would much
cleaner for everyone and I see zero down side WRT the example you just
posted.
If user mode triggers a suspend by releasing the last ...
| May 4, 9:03 am 2010 |
| Alan Stern | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
This won't work right if a second IRQ arrives while the first is being
processed. Suppose the kernel driver for the second IRQ doesn't
activate a suspend blocker, and suppose all the userspace handlers for
the first IRQ end (and the opportunistic policy is re-enabled) before
the userspace handler for the second IRQ can start. Then the system
will go back to sleep before userspace can handle the second IRQ.
Alan Stern
--
| May 4, 6:59 am 2010 |
| Alan Stern | Re: [PATCH 0/8] Suspend block api (version 6)
Another thing that Kevin is missing: There is more to the system than
the devices and the CPU. For example: RAM, an embedded controller (on
modern desktop/laptop systems), a power supply, and so on. Dynamic PM
for the CPU and the devices won't power-down these things, but system
PM will.
Alan Stern
--
| May 4, 6:51 am 2010 |
| Mark Brown | Re: [PATCH 0/8] Suspend block api (version 6)
In an embedded system I'd expect that these other system devices would
fall naturally out through the management of the CPUs and devices - for
example, the drivers for the individual devices could use the regulator
API to manage their supplies and runtime PM is being used to manage CPU
core stuff - or could at least readily be handled in a similar fashion.
This isn't to say that we're there yet from an implementation point of
view, of course.
--
| May 4, 7:53 am 2010 |
| Kevin Hilman | Re: [PATCH 0/8] Suspend block api (version 6)
I consider all of those things devices.
On non-ACPI systems where the kernel has to manage all of the above
directly, we have drivers for all of them using runtime PM as well as
the regulator framework for dynamic PM power supplies.
Kevin
--
| May 4, 8:13 am 2010 |
| Matthew Garrett | Re: [PATCH 0/8] Suspend block api (version 6)
Somewhat true - machines with C1E support will put the RAM into self
refresh when the cpu is idle, but you're right that there are various
components that we simply don't have control over in the desktop world
at present.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 4, 8:27 am 2010 |
| Tejun Heo | [PATCHSET sched/core] cpu_stop: implement and use cpu_st ...
Hello,
This is the second take of cpu_stop. There have been only two minor
changes from the last take[L].
* work_buf initialization in stop_one_cpu_nowait() simplified.
* Comment to clarify active_balance_work synchronization added.
Peter, if you ack the series, I'll add refresh the patches w/ your ACK
and request pull into sched/core to Ingo.
This patchset contains the following four patches.
0001-cpu_stop-implement-stop_cpu-s.patch
...
| May 4, 6:47 am 2010 |
| Tejun Heo | [PATCH 3/4] scheduler: replace migration_thread with cpu_stop
Currently migration_thread is serving three purposes - migration
pusher, context to execute active_load_balance() and forced context
switcher for expedited RCU synchronize_sched. All three roles are
hardcoded into migration_thread() and determining which job is
scheduled is slightly messy.
This patch kills migration_thread and replaces all three uses with
cpu_stop. The three different roles of migration_thread() are
splitted into three separate cpu_stop callbacks -
migration_cpu_stop(), ...
| May 4, 6:47 am 2010 |
| Peter Zijlstra | Re: [PATCHSET sched/core] cpu_stop: implement and use cp ...
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Thanks Tejun!
--
| May 4, 11:52 am 2010 |
| Tejun Heo | [PATCH 4/4] scheduler: kill paranoia check in synchroniz ...
The paranoid check which verifies that the cpu_stop callback is
actually called on all online cpus is completely superflous. It's
guaranteed by cpu_stop facility and if it didn't work as advertised
other things would go horribly wrong and trying to recover using
synchronize_sched() wouldn't be very meaningful.
Kill the paranoid check. Removal of this feature is done as a
separate step so that it can serve as a bisection point if something
actually goes wrong.
Signed-off-by: Tejun Heo ...
| May 4, 6:47 am 2010 |
| Tejun Heo | [PATCH 2/4] stop_machine: reimplement using cpu_stop
Reimplement stop_machine using cpu_stop. As cpu stoppers are
guaranteed to be available for all online cpus,
stop_machine_create/destroy() are no longer necessary and removed.
With resource management and synchronization handled by cpu_stop, the
new implementation is much simpler. Asking the cpu_stop to execute
the stop_cpu() state machine on all online cpus with cpu hotplug
disabled is enough.
stop_machine itself doesn't need to manage any global resources
anymore, so all per-instance ...
| May 4, 6:47 am 2010 |
| Tejun Heo | [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Implement a simplistic per-cpu maximum priority cpu monopolization
mechanism. A non-sleeping callback can be scheduled to run on one or
multiple cpus with maximum priority monopolozing those cpus. This is
primarily to replace and unify RT workqueue usage in stop_machine and
scheduler migration_thread which currently is serving multiple
purposes.
Four functions are provided - stop_one_cpu(), stop_one_cpu_nowait(),
stop_cpus() and try_stop_cpus().
This is to allow clean sharing of resources ...
| May 4, 6:47 am 2010 |
| Jean Delvare | Re: [PATCH 1/2] hwmon: applesmc: Correct sysfs fan error ...
Applied, thanks.
--
Jean Delvare
--
| May 4, 9:51 am 2010 |
| Henrik Rydberg | [PATCH 1/2] hwmon: applesmc: Correct sysfs fan error handling
The current code will not remove the sysfs files for fan numbers three
and up. Also, upon exit, fans one and two are removed regardless of
their existence. This patch cleans up the sysfs error handling for
the fans.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
---
drivers/hwmon/applesmc.c | 61 +++++++++++++++++++---------------------------
1 files changed, 25 insertions(+), 36 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 36a0d62..57c0331 ...
| May 4, 6:39 am 2010 |
| Jean Delvare | Re: [PATCH 2/2] hwmon: applesmc: Add temperature sensor ...
Hi Henrik,
Applied, thanks.
--
Jean Delvare
--
| May 4, 12:16 pm 2010 |
| Henrik Rydberg | [PATCH 2/2] hwmon: applesmc: Add temperature sensor labe ...
From: Alex Murray <murray.alex@gmail.com>
The Apple SMC uses a systematic labeling scheme for the hardware
temperature sensors. This scheme is currently hidden from
userland. Since the sensor set, and consequently the numbering,
differs between models, an extensive database of configurations is
required for an application such as fan control. This patch adds the
SMC labels to the hwmon sysfs interface, allowing applications to use
the sensors more intelligibly.
[rydberg@euromail.se: fixed ...
| May 4, 6:39 am 2010 |
| David Howells | Re: [PATCH] KEYS: Fix RCU handling in key_gc_keyring()
You pointed out the wrongness of it - it just wasn't in the way you thought.
David
--
| May 4, 8:58 am 2010 |
| David Howells | [PATCH] KEYS: Fix RCU handling in key_gc_keyring()
key_gc_keyring() needs to either hold the RCU read lock or hold the keyring
semaphore if it's going to scan the keyring's list. Given that it only needs
to read the key list, and it's doing so under a spinlock, the RCU read lock is
the thing to use.
Furthermore, the RCU check added in e7b0a61b7929632d36cf052d9e2820ef0a9c1bfe is
incorrect as holding the spinlock on key_serial_lock is not grounds for
assuming a keyring's pointer list can be read safely. Instead, a simple
rcu_dereference() ...
| May 4, 6:16 am 2010 |
| Serge E. Hallyn | Re: [PATCH] KEYS: Fix RCU handling in key_gc_keyring()
You're obviously being far too kind. In apparent trend for last night
Acked-by: Serge Hallyn <serue@us.ibm.com>
thanks,
-serge
--
| May 4, 8:46 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 0/12] KVM, x86, ppc, asm-generic: moving dir ...
Hi, sorry for sending from my personal account.
The following series are all from me:
From: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
The 3rd version of "moving dirty bitmaps to user space".
From this version, we add x86 and ppc and asm-generic people to CC lists.
[To KVM people]
Sorry for being late to reply your comments.
Avi,
- I've wrote an answer to your question in patch 5/12: drivers/vhost/vhost.c .
- I've considered to change the set_bit_user_non_atomic to ...
| May 4, 5:56 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 1/12 applied today] KVM: x86: avoid unnecess ...
Although we always allocate a new dirty bitmap in x86's get_dirty_log(),
it is only used as a zero-source of copy_to_user() and freed right after
that when memslot is clean. This patch uses clear_user() instead of doing
this unnecessary zero-source allocation.
Performance improvement: as we can expect easily, the time needed to
allocate a bitmap is completely reduced. Furthermore, we can avoid the
tlb flush triggered by vmalloc() and get some good effects. In my test,
the improved ioctl was ...
| May 4, 5:58 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 3/12] KVM: introduce wrapper functions to cr ...
We will change the vmalloc() and vfree() to do_mmap() and do_munmap() later.
This patch makes it easy and cleanup the code.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
---
virt/kvm/kvm_main.c | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 7ab6312..3e3acad 100644
--- a/virt/kvm/kvm_main.c
+++ ...
| May 4, 6:01 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 4/12] x86: introduce copy_in_user() for 32-bit
During the work of KVM's dirty page logging optimization, we encountered
the need of copy_in_user() for 32-bit x86 and ppc: these will be used for
manipulating dirty bitmaps in user space.
So we implement copy_in_user() for 32-bit with existing generic copy user
helpers.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
CC: Avi Kivity <avi@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
CC: Ingo Molnar ...
| May 4, 6:02 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 5/12] x86: introduce __set_bit() like functi ...
During the work of KVM's dirty page logging optimization, we encountered
the need of manipulating bitmaps in user space efficiantly. To achive this,
we introduce a uaccess function for setting a bit in user space following
Avi's suggestion.
KVM is now using dirty bitmaps for live-migration and VGA. Although we need
to update them from kernel side, copying them every time for updating the
dirty log is a big bottleneck. Especially, we tested that zero-copy bitmap
manipulation improves ...
| May 4, 6:02 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 6/12 not tested yet] PPC: introduce copy_in_ ...
During the work of KVM's dirty page logging optimization, we encountered
the need of copy_in_user() for 32-bit ppc and x86: these will be used for
manipulating dirty bitmaps in user space.
So we implement copy_in_user() for 32-bit with __copy_tofrom_user().
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
CC: Alexander Graf <agraf@suse.de>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Paul Mackerras ...
| May 4, 6:03 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 7/12 not tested yet] PPC: introduce __set_bi ...
During the work of KVM's dirty page logging optimization, we encountered
the need of manipulating bitmaps in user space efficiantly. To achive this,
we introduce a uaccess function for setting a bit in user space following
Avi's suggestion.
KVM is now using dirty bitmaps for live-migration and VGA. Although we need
to update them from kernel side, copying them every time for updating the
dirty log is a big bottleneck. Especially, we tested that zero-copy bitmap
manipulation improves ...
| May 4, 6:04 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH RFC 10/12] KVM: move dirty bitmaps to user space
We move dirty bitmaps to user space.
- Allocation and destruction: we use do_mmap() and do_munmap().
The new bitmap space is twice longer than the original one and we
use the additional space for double buffering: this makes it
possible to update the active bitmap while letting the user space
read the other one safely. For x86, we can also remove the vmalloc()
in kvm_vm_ioctl_get_dirty_log().
- Bitmap manipulations: we replace all functions which access dirty
bitmaps with ...
| May 4, 6:07 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 11/12] KVM: introduce new API for getting/sw ...
Now that dirty bitmaps are accessible from user space, we export the
addresses of these to achieve zero-copy dirty log check:
KVM_GET_USER_DIRTY_LOG_ADDR
We also need an API for triggering dirty bitmap switch to take the full
advantage of double buffered bitmaps.
KVM_SWITCH_DIRTY_LOG
See the documentation in this patch for precise explanations.
About performance improvement: the most important feature of switch API
is the lightness. In our test, this appeared in the form of ...
| May 4, 6:08 am 2010 |
| Takuya Yoshikawa | [RFC][PATCH 12/12 sample] qemu-kvm: use new API for gett ...
We use new API for light dirty log access if KVM supports it.
This conflicts with Marcelo's patches. So please take this as a sample patch.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
---
kvm/include/linux/kvm.h | 11 ++++++
qemu-kvm.c | 81 ++++++++++++++++++++++++++++++++++++++++++-----
qemu-kvm.h | 1 +
3 files changed, 85 insertions(+), 8 deletions(-)
diff --git a/kvm/include/linux/kvm.h b/kvm/include/linux/kvm.h
index ...
| May 4, 6:11 am 2010 |
| Arnd Bergmann | Re: [RFC][PATCH resend 8/12] asm-generic: bitops: introd ...
Does this work correctly if your user space is 32 bits (i.e. unsigned long
is different size in user space and kernel) in both big- and little-endian
systems?
I'm not sure about all the details, but I think you cannot in general share
bitmaps between user space and kernel because of this.
Arnd
--
| May 4, 8:03 am 2010 |
| Avi Kivity | Re: [RFC][PATCH resend 8/12] asm-generic: bitops: introd ...
That's why the bitmaps are defined as little endian u64 aligned, even on
big endian 32-bit systems. Little endian bitmaps are wordsize agnostic,
and u64 alignment ensures we can use long-sized bitops on mixed size
systems.
--
error compiling committee.c: too many arguments to function
--
| May 4, 9:08 am 2010 |
| Folkert van Heusden | [2.6.32] task hung
Hi,
I'm copying 6GB of data onto an NBD device using a simple tool which
differs from dd/cat in that it measures how long it takes to write each
block and does a sync after each block.
Now during that run I get:
[45480.665074] INFO: task measurecopy:13780 blocked for more than 120 seconds.
[45480.665086] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[45480.665090] measurecopy D 0000000000000000 0 13780 30341 0x00000000
[45480.665102] ffff8801bf06d4c0 ...
| May 4, 5:49 am 2010 |
| tip-bot for David Ho ... | [tip:x86/urgent] x86-64: Use the proper register width i ...
Commit-ID: 50db45f2f010e9251dae644c5fb86b321d9ac815
Gitweb: http://git.kernel.org/tip/50db45f2f010e9251dae644c5fb86b321d9ac815
Author: David Howells <dhowells@redhat.com>
AuthorDate: Tue, 4 May 2010 13:42:53 +0100
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Tue, 4 May 2010 10:15:54 -0700
x86-64: Use the proper register width in call_rwsem_wait()
The x86_64 call_rwsem_wait() treats the active state counter part of the R/W
semaphore state as being 16-bit when it's actually ...
| May 4, 11:33 am 2010 |
| David Howells | [PATCH] Fix the x86_64 implementation of call_rwsem_wait()
The x86_64 call_rwsem_wait() treats the active state counter part of the R/W
semaphore state as being 16-bit when it's actually 32-bit (it's half of the
64-bit state). It should do "decl %edx" not "decw %dx".
Signed-off-by: David Howells <dhowells@redhat.com>
---
arch/x86/lib/rwsem_64.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/lib/rwsem_64.S b/arch/x86/lib/rwsem_64.S
index 15acecf..41fcf00 100644
--- a/arch/x86/lib/rwsem_64.S
+++ ...
| May 4, 5:42 am 2010 |
| Peter Zijlstra | Re: [RFC PATCHSET] sched,perf: unify tracers in sched an ...
Right, so I really don't like the SCHED_EVENT() thing much, esp the 3
This seems to add a terrible amount of overhead for no particular
reason.
I know Ingo was pushing to consolidate things, but imho this cure is
worse than the ailment.
--
| May 4, 10:29 am 2010 |
| Tejun Heo | [RFC PATCHSET] sched,perf: unify tracers in sched and mo ...
Hello, all.
This patchset does the following two things.
* 0001-0007: Unify the three tracers (tracepoints, perf_events and
preempt/sched notifiers) in scheduler.
* 0008-0012: Move perf hooks in sched on top of tracepoints if TPs are
enabled.
It probably should be two separate patchsets with the first part on
top of sched/core which then gets pulled into perf branch, on top of
which the second part is applied but in the spirit of RFC I'm posting
it as a single chunk on top of ...
| May 4, 5:38 am 2010 |
| Peter Zijlstra | Re: [PATCH 01/12] sched: drop @cpu argument from sched_i ...
This seems sensible enough.
--
| May 4, 10:11 am 2010 |
| Tejun Heo | [PATCH 01/12] sched: drop @cpu argument from sched_in pr ...
@cpu parameter is superflous. Drop it. This will help unifying
notifiers in sched.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Avi Kivity <avi@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar <mingo@elte.hu>
---
include/linux/preempt.h | 3 +--
kernel/sched.c | 2 +-
virt/kvm/kvm_main.c | 4 ++--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/include/linux/preempt.h ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 05/12] perf: move perf_event_task_sched_in() next ...
Move perf_event_task_sched_in() after finish_lock_switch() right
before fire_sched_notifiers_in(). This costs an extra pair of irq
enable/disable when switching in a perf task context but allows
unifying event functions in a more flexible position (irq enabled, rq
lock released).
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 03/12] perf: add perf_event_task_migrate()
Instead of calling perf_sw_event() directly from set_task_cpu(),
implement perf_event_task_migrate() which takes the same arguments as
trace_sched_migrate_task() and invokes perf_sw_event() is the task is
really migrating (cur_cpu != new_cpu). This will help unifying
notifiers in sched.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
...
| May 4, 5:38 am 2010 |
| Tejun Heo | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
Hello,
The comment in include/trace/events/sched.h says...
* (NOTE: the 'rq' argument is not used by generic trace events,
* but used by the latency tracer plugin. )
So, I left it there. It would be great if all those @rq params can be
removed tho. The latency tracer thing needs it, right?
Thanks.
--
tejun
--
| May 4, 10:22 am 2010 |
| Steven Rostedt | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
Acked-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
--
| May 4, 11:32 am 2010 |
| Peter Zijlstra | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
I had a quick look but couldn't actually find anything.
--
| May 4, 10:42 am 2010 |
| Tejun Heo | [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
Add @rq to perf_event_task_sched_out() so that its argument matches
those of trace_sched_switch(). This will help unifying notifiers in
sched.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
include/linux/perf_event.h | 5 +++--
kernel/perf_event.c | 4 ++--
kernel/sched.c | 2 +-
3 files changed, 6 ...
| May 4, 5:38 am 2010 |
| Steven Rostedt | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
I believe the rq was used by the original latency tracer code that was
in the -rt patch set before ftrace. It is most likely there for
historical purposes. I guess it would be fine to just remove it.
-- Steve
--
| May 4, 11:22 am 2010 |
| Peter Zijlstra | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
I'm building the below, so far so good... ;-)
---
include/trace/events/sched.h | 32 ++++++++++----------------------
kernel/sched.c | 8 ++++----
kernel/trace/trace_sched_wakeup.c | 5 ++---
3 files changed, 16 insertions(+), 29 deletions(-)
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index cfceb0b..4f733ec 100644
--- a/include/trace/events/sched.h
+++ b/include/trace/events/sched.h
@@ -51,15 +51,12 @@ ...
| May 4, 11:26 am 2010 |
| Peter Zijlstra | Re: [PATCH 04/12] perf: add @rq to perf_event_task_sched_out()
The alternative is dropping rq from the trace events, its not like
anybody outside sched.o can do anything sensible with it anyway.
--
| May 4, 10:11 am 2010 |
| Tejun Heo | [PATCH 02/12] sched: rename preempt_notifiers to sched_n ...
Rename preempt_notifiers to sched_notifiers and move it to sched.h.
Also, refactor implementation in sched.c such that adding new
callbacks is easier.
This patch does not introduce any functional change and in fact
generates the same binary at least with my configuration (x86_64 SMP,
kvm and some debug options).
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Avi Kivity <avi@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Ingo Molnar ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 06/12] sched: relocate fire_sched_notifiers_out() ...
Relocate fire_sched_notifiers_out() from prepare_task_switch() and
trace_sched_switch() from context_switch() to schedule() so that
trace_sched_switch(), perf_event_task_sched_out() and
fire_sched_notifiers_out() are colocated.
Both are now called before switch counts and rq->curr are updated and
in addition trace_sched_switch() is called before
prepare_lock/arch_switch(); however, this shouldn't make any visible
different for either.
This will help unifying notifiers in ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 09/12] perf: factor out perf_event_switch_clones()
Factor out perf_event_switch_clones() from
perf_event_task_sched_out(). This is to ease future changes and
doesn't cause any functional difference.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
---
kernel/perf_event.c | 62 +++++++++++++++++++++++++++++---------------------
1 files changed, 36 insertions(+), 26 deletions(-)
diff ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 12/12] perf: move sched perf functions on top of ...
Now that all sched perf functions are colocated with tracepoints,
those perf functions can be moved on top of tracepoints instead of
being called directly. After this patch, if both perf and tracepoints
are enabled, the four sched perf macros become noop and the backend
functions are defined static and registered as trace point probes on
demand.
The enable part is relatively simple. Perf functions are registered
as tp probes. sched_in is registered the last so that contexts don't
get ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 08/12] sched: add switch_in and tick tracepoints
Define and add sched_switch_in and sched_tick tracepoints. Both are
colocated with perf event functions. These will be used to make perf
use tracepoints.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
include/trace/events/sched.h | 14 ++++++++++++++
kernel/sched.c | 4 ++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h
index cfceb0b..2bed8de 100644
--- a/include/trace/events/sched.h
+++ ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 11/12] perf: prepare to move sched perf functions ...
* Move prototypes of perf_event_task_{migrate|sched_in|sched_out|tick}()
into a separate #ifdef block and append _fn to function names and
define macros to redirect calls.
* Define PE_STATIC which currently is empty so that these functions
can be made static depending on config option.
* Define no-op perf_task_sched_out_done() and call it from the end of
perf_task_sched_out().
Other than renaming the functions, this function doesn't introduce any
visible change. This is to prepare ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 07/12] sched: coalesce event notifiers
sched currently hosts three different event notification mechanisms -
tracepoints, perf_event functions and sched_notifiers. The previous
patches modified and moved them around so that they are colocated
where applicable and share most of the arguments. This patch
introduces and uses SCHED_EVENT() and SCHED_EVENT_RQ() to coalesce
calls to different mechanisms.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Ingo ...
| May 4, 5:38 am 2010 |
| Tejun Heo | [PATCH 10/12] perf: make nr_events an int and add perf_o ...
Change nr_events from atomic_t to int and add perf_online_mutex to
protect it. Helpers to manipulate the count, perf_inc_nr_events() and
perf_dec_nr_events(), are added. The former may fail although it
doesn't in the current code.
This will be used to make sched perf functions called via tracepoints.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo ...
| May 4, 5:38 am 2010 |
| Johannes Weiner | [patch] sunrpc: add missing return statement
f300bab "nfsd41: sunrpc: add new xprt class for nfsv4.1 backchannel"
introduced an error case branch that lacks an actual `return' keyword
before the return value. Add it.
Signed-off-by: Johannes Weiner <jw@emlix.com>
Cc: Alexandros Batsakis <batsakis@netapp.com>
---
net/sunrpc/xprtsock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -2444,7 +2444,7 @@ static struct rpc_xprt *xs_setup_bc_tcp(
struct svc_sock ...
| May 4, 4:59 am 2010 |
| Trond Myklebust | Re: [patch] sunrpc: add missing return statement
No. It should either be a BUG_ON(), or else be removed entirely.
Returning an error value for something that is clearly a programming bug
is not a particularly useful exercise...
Cheers
Trond
--
| May 4, 5:27 am 2010 |
| Tetsuo Handa | Re: [patch] sunrpc: add missing return statement
For security people, removing
if (!args->bc_xprt)
ERR_PTR(-EINVAL);
is worse and changing to
BUG_ON(!args->bc_xprt);
is better.
--
| May 4, 7:02 am 2010 |
| Tetsuo Handa | Re: [patch] sunrpc: add missing return statement
Removing NULL check is wrong because it will NULL pointer dereference later.
--
| May 4, 6:03 am 2010 |
| Trond Myklebust | Re: [patch] sunrpc: add missing return statement
Wrong. Removing NULL check is _right_ because calling this function
without setting up a back channel first is a major BUG. Returning an
error value to the user is pointless, since the user has no control over
this. It is entirely under control of the sunrpc developers...
Trond
--
| May 4, 6:13 am 2010 |
| Michael S. Tsirkin | [GIT PULL] amended: first round of vhost-net enhancement ...
David,
This is an amended pull request: I have rebased the tree to the
correct patches. This has been through basic tests and seems
to work fine here.
The following tree includes a couple of enhancements that help vhost-net.
Please pull them for net-next. Another set of patches is under
debugging/testing and I hope to get them ready in time for 2.6.35,
so there may be another pull request later.
Thanks!
The following changes since commit 7ef527377b88ff05fb122a47619ea506c631c914:
...
| May 4, 4:21 am 2010 |
| Eric B Munson | Re: [PATCH] perf: Fix performance issue with perf report
Acked-by: Eric B Munson <ebmunson@us.ibm.com>
| May 4, 4:56 am 2010 |
| Anton Blanchard | [PATCH] perf: Fix performance issue with perf report
On a large machine we spend a lot of time in perf_header__find_attr when
running perf report.
If we are parsing a file without PERF_SAMPLE_ID then for each sample we call
perf_header__find_attr and loop through all counter IDs, never finding a match.
As the machine gets larger there are more per cpu counters and we spend an
awful lot of time in there.
The patch below initialises each sample id to -1ULL and checks for this in
perf_header__find_attr. We may need to do something more ...
| May 4, 4:19 am 2010 |
| tip-bot for Anton Bl ... | [tip:perf/core] perf: Fix performance issue with perf report
Commit-ID: 02bf60aad7d5912dfcdbe0154f1bd67ea7a8301e
Gitweb: http://git.kernel.org/tip/02bf60aad7d5912dfcdbe0154f1bd67ea7a8301e
Author: Anton Blanchard <anton@samba.org>
AuthorDate: Tue, 4 May 2010 21:19:15 +1000
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 4 May 2010 10:54:09 -0300
perf: Fix performance issue with perf report
On a large machine we spend a lot of time in perf_header__find_attr when
running perf report.
If we are parsing a file without ...
| May 4, 10:04 am 2010 |
| Miao Xie | [PATCH 2/2] cpuset,mm: fix no node to alloc memory when ...
Before applying this patch, cpuset updates task->mems_allowed and mempolicy by
setting all new bits in the nodemask first, and clearing all old unallowed bits
later. But in the way, the allocator may find that there is no node to alloc
memory.
The reason is that cpuset rebinds the task's mempolicy, it cleans the nodes which
the allocater can alloc pages on, for example:
(mpol: mempolicy)
task1 task1's mpol task2
alloc page 1
alloc on node0? NO 1
1 change mems from 1 to ...
| May 4, 3:54 am 2010 |
| Miao Xie | [PATCH -V2 0/2] fix oom happening when changing cpuset'm ...
Nick Piggin reported that the allocator may see an empty nodemask when changing
cpuset's mems[1]. It happens only on the kernel that do not do atomic nodemask_t
stores. (MAX_NUMNODES > BITS_PER_LONG)
But I found that there is also a problem on the kernel that can do atomic
nodemask_t stores. The problem is that the allocator can't find a node to
alloc page when changing cpuset's mems though there is a lot of free memory.
The reason is like this:
(mpol: mempolicy)
task1 task1's ...
| May 4, 3:53 am 2010 |
| Miao Xie | [PATCH 1/2] mempolicy: restructure rebinding-mempolicy f ...
In order to fix no node to alloc memory, when we want to update mempolicy and
mems_allowed, we expand the set of nodes first (set all the newly nodes) and
shrink the set of nodes lazily(clean disallowed nodes), But the mempolicy's
rebind functions may breaks the expanding.
So we restructure the mempolicy's rebind functions and split the rebind work to
two steps, just like the update of cpuset's mems:
The 1st step: expand the set of the mempolicy's nodes.
The 2nd step: shrink the set of the ...
| May 4, 3:54 am 2010 |
| Robert Richter | [PATCH 7/7] oprofile/x86: remove duplicate IBS capabilit ...
The check is already done in ibs_exit().
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/op_model_amd.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c
index e159254..384c524 100644
--- a/arch/x86/oprofile/op_model_amd.c
+++ b/arch/x86/oprofile/op_model_amd.c
@@ -490,8 +490,7 @@ static int init_ibs_nmi(void)
/* uninitialize the APIC for the IBS interrupts if needed ...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 0/7] updates for oprofile
This patch set contains updates for oprofile, mainly with some reworks
of x86 code that improves the error handling.
-Robert
--
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 5/7] oprofile/x86: return -EBUSY if counters are ...
In case a counter is already reserved by the watchdog or perf_event
subsystem, oprofile ignored this counters silently. This case is
handled now and oprofile_setup() now reports an error.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 5 ++++-
arch/x86/oprofile/op_model_amd.c | 24 +++++++++++++-----------
arch/x86/oprofile/op_model_p4.c | 14 +++++++++++++-
arch/x86/oprofile/op_model_ppro.c | 24 +++++++++++++-----------
...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 6/7] oprofile/x86: move IBS code
Moving code to make future changes easier. This groups all IBS code
together.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/op_model_amd.c | 220 +++++++++++++++++++-------------------
1 files changed, 110 insertions(+), 110 deletions(-)
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c
index 536d0b0..e159254 100644
--- a/arch/x86/oprofile/op_model_amd.c
+++ b/arch/x86/oprofile/op_model_amd.c
@@ -102,116 +102,6 @@ static u32 ...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 2/7] oprofile/x86: rework error handler in nmi_setup()
This patch improves the error handler in nmi_setup(). Most parts of
the code are moved to allocate_msrs(). In case of an error
allocate_msrs() also frees already allocated memory. nmi_setup()
becomes easier and better extendable.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/nmi_int.c | 33 +++++++++++++++++++--------------
1 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index ...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 3/7] oprofile/x86: reserve counter msrs pairwise
For AMD's and Intel's P6 generic performance counters have pairwise
counter and control msrs. This patch changes the counter reservation
in a way that both msrs must be registered. It joins some counter
loops and also removes the unnecessary NUM_CONTROLS macro in the AMD
implementation.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/op_model_amd.c | 43 ++++++++++++++++--------------------
arch/x86/oprofile/op_model_ppro.c | 36 ...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 4/7] oprofile/x86: moving shutdown functions
Moving some code in preparation of the next patch.
Signed-off-by: Robert Richter <robert.richter@amd.com>
---
arch/x86/oprofile/op_model_amd.c | 24 +++++++++++-----------
arch/x86/oprofile/op_model_p4.c | 38 +++++++++++++++++-------------------
arch/x86/oprofile/op_model_ppro.c | 33 +++++++++++++++----------------
3 files changed, 46 insertions(+), 49 deletions(-)
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c
index 2e2bc90..7e5886d 100644
--- ...
| May 4, 3:44 am 2010 |
| Robert Richter | [PATCH 1/7] oprofile: update file list in MAINTAINERS file
File list now catches:
$ xargs | eval ls -d $(cat) | sort -u
arch/*/include/asm/oprofile*.h
arch/*/oprofile/
drivers/oprofile/
include/linux/oprofile.h
arch/alpha/oprofile/
arch/arm/oprofile/
arch/avr32/oprofile/
arch/blackfin/oprofile/
arch/ia64/oprofile/
arch/m32r/oprofile/
arch/microblaze/oprofile/
arch/mips/oprofile/
arch/mn10300/oprofile/
arch/parisc/oprofile/
arch/powerpc/include/asm/oprofile_impl.h
arch/powerpc/oprofile/
arch/s390/oprofile/
...
| May 4, 3:44 am 2010 |
| Alan Cox | Re: Staging: RAR support - bring ready to move from staging
Yeah I'll cat them together and resend them tomorrow 8)
--
| May 4, 10:30 am 2010 |
| Greg KH | Re: Staging: RAR support - bring ready to move from staging
Ah, those were two different drivers, that makes more sense.
It's not nice to break the build, I can't take a patch that is known to
do that, sorry. Care to merge them together?
thanks,
greg k-h
--
| May 4, 10:20 am 2010 |
| Alan Cox | Re: Staging: RAR support - bring ready to move from staging
On Tue, 4 May 2010 08:51:12 -0700
Expected - its a staging driver so I thought a patch that broke the API
of another staging driver was fine (the second patch will fix it up)
--
| May 4, 9:27 am 2010 |
| Alan Cox | PATCH: RAR support - bring ready to move from staging
rar: perform a clean up pass
- Move to a registration model where each RAR is claimed/unclaimed
- Use that to fix the client stuff (one client per RAR so no need to queue stuff)
- Support unregister so drivers can rmmod themselves safely
- Fix locking hang on calling rar lock from rar callback
- Clean up
- Kerneldoc
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/staging/rar_register/rar_register.c | 611 +++++++++++++++------------
...
| May 4, 2:50 am 2010 |
| Greg KH | Re: Staging: RAR support - bring ready to move from staging
I get the following build errors with this patch:
CC [M] drivers/staging/memrar/memrar_handler.o
drivers/staging/memrar/memrar_handler.c: In function ‘memrar_init’:
drivers/staging/memrar/memrar_handler.c:910: warning: passing argument 1 of ‘register_rar’ makes integer from pointer without a cast
drivers/staging/memrar/../rar_register/rar_register.h:37: note: expected ‘int’ but argument is of type ‘int (*)(void *)’
drivers/staging/memrar/memrar_handler.c:910: error: too few arguments to ...
| May 4, 8:51 am 2010 |
| Greg KH | Re: PATCH: Fix up memrar to the new RAR API
This doesn't apply now that the previous patch could not be applied due
to the build error.
Care to fix these two up and send them again?
thanks,
greg k-h
--
| May 4, 8:52 am 2010 |
| Alan Cox | PATCH: Fix up memrar to the new RAR API
memrar: rework to match the RAR API changes
From: Alan Cox <alan@linux.intel.com>
Fix various unload related bugs
Use the per RAR allocator/deallocator
Add kerneldoc
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/staging/memrar/memrar_handler.c | 469 +++++++++++++++++--------------
1 files changed, 264 insertions(+), 205 deletions(-)
diff --git a/drivers/staging/memrar/memrar_handler.c b/drivers/staging/memrar/memrar_handler.c
index 4bbf66f..281d8d7 100644
--- ...
| May 4, 2:52 am 2010 |
| Henrik Rydberg | Re: [PATCH] hwmon: applesmc: Add temperature sensor labe ...
Jean Delvare wrote:
Shoot, my bad review. Will send a new patch. While at it, the same function
seems to leak fan attribute groups. Want me to correct such issues (in another
patch)?
Henrik
--
| May 4, 4:15 am 2010 |
| Jean Delvare | Re: [PATCH] hwmon: applesmc: Add temperature sensor labe ...
Yes please. As a bugfix, that would even be a candidate for 2.6.34. I
have another patch (for asc7621) pending already.
--
Jean Delvare
--
| May 4, 4:32 am 2010 |
| Henrik Rydberg | [PATCH] hwmon: applesmc: Add temperature sensor labels t ...
From: Alex Murray <murray.alex@gmail.com>
The Apple SMC uses a systematic labeling scheme for the hardware
temperature sensors. This scheme is currently hidden from
userland. Since the sensor set, and consequently the numbering,
differs between models, an extensive database of configurations is
required for an application such as fan control. This patch adds the
SMC labels to the hwmon sysfs interface, allowing applications to use
the sensors more intelligibly.
Signed-off-by: Alex Murray ...
| May 4, 2:55 am 2010 |
| Jean Delvare | Re: [PATCH] hwmon: applesmc: Add temperature sensor labe ...
Hi Henrik,
Other than that, the patch looks good.
--
Jean Delvare
--
| May 4, 3:06 am 2010 |
| Jassi Brar | [PATCH] DMA ENGINE: Do not reset 'private' of channel
The member 'private' of 'struct dma_chan' is meant for passing
data between client and the controller driver.
The DMA client driver may point it to platform specific stuff after
acquiring the channel. So, it is the responsiblity of the same code
to reset it, if it must.
The DMA engine doesn't set it and hence, shouldn't reset it either.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
This reseting of private by DMA Engine comes in the way of implementing
default channel settings ...
| May 4, 2:22 am 2010 |
| Jean Delvare | [GIT PULL] i2c fixes for 2.6.34
Hi Linus,
Please pull i2c subsystem fixes for Linux 2.6.34 from:
git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git i2c-for-linus
Documentation/i2c/writing-clients | 5 +++
drivers/i2c/i2c-core.c | 63 +++++++++++++++++++++++-------------
include/linux/i2c.h | 2 +
3 files changed, 47 insertions(+), 23 deletions(-)
---------------
Jean Delvare (2):
i2c: Fix probing of FSC hardware monitoring chips
i2c-core: Use per-adapter ...
| May 4, 2:12 am 2010 |
| Avi Kivity | Re: 2.6.33.3: possible recursive locking detected
--
error compiling committee.c: too many arguments to function
--
| May 4, 1:37 am 2010 |
| Pavel Machek | 2.6.34-rc6 regression: pcmcia no longer compiles
Hi!
-rc5 compiled ok with similar config.
Now I get:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/pcmcia/pcmcia_ioctl.o
drivers/pcmcia/pcmcia_ioctl.c: In function 'ds_open':
drivers/pcmcia/pcmcia_ioctl.c:714: error: 'struct <anonymous>' has no member named 'present'
drivers/pcmcia/pcmcia_ioctl.c: In function ...
| May 3, 9:14 pm 2010 |
| Marc Zyngier | Re: 2.6.34-rc6 regression: pcmcia no longer compiles
Does the attached patch fix it (compile-tested only)?
M.
--
Who you jivin' with that Cosmik Debris?
| May 4, 4:33 am 2010 |
| Dominik Brodowski | Re: 2.6.34-rc6 regression: pcmcia no longer compiles
> Does the attached patch fix it (compile-tested only)?
Yes, it looks good -- many thanks! Applied your patch to pcmcia-urgent.
Best,
Dominik
--
| May 4, 1:19 pm 2010 |
| Victor Javier | significant variation in performance counters on POWER6
Hello,
I am doing some research where I need to collect performance information
for SPEC CPU2006 benchmarks on a POWER6 JS22 system. Previously I was
using perfmon2, but after the release of "performance counters for
linux" (and the 'perf' tool), I decided to try it. One of the reasons
was the native support for multiplexing.
However, I have been noticing a much higher variability when using perf,
compared to perfmon2. As an example, I will provide data for 'bwaves'
benchmark when run with ...
| May 3, 11:54 pm 2010 |
| Stephen Rothwell | linux-next: Tree for May 4
Hi all,
Changes since 20100503:
Dropped trees: tmio-mmc (long unresolved conflicts and unable to fetch)
hwlat (at the maintainer's request)
The mem tree gained a conflict against the arm tree.
The v4l-dvb tree lost its build failure and conflicts.
The net tree lost its build failure.
The crypto tree lost its conflict but gained another against the arm tree.
The pcmcia tree gained a conflict against the wireless tree.
The usb tree lost its build ...
| May 3, 11:23 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 4 (media & IR)
drivers/media/video/vivi.c:1144: error: implicit declaration of function 'kfree'
drivers/media/video/vivi.c:1156: error: implicit declaration of function 'kzalloc'
drivers/media/video/vivi.c:1156: warning: assignment makes pointer from integer without a cast
drivers/media/video/mem2mem_testdev.c:862: error: implicit declaration of function 'kzalloc'
drivers/media/video/mem2mem_testdev.c:862: warning: assignment makes pointer from integer without a ...
| May 4, 11:26 am 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 4 (staging/dt3155v4l)
drivers/staging/dt3155v4l/dt3155v4l.c:73: error: implicit declaration of function 'udelay'
drivers/staging/dt3155v4l/dt3155v4l.c:616: warning: assignment from incompatible pointer type
drivers/staging/dt3155v4l/dt3155v4l.c:1270: error: implicit declaration of function 'msleep'
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| May 4, 11:36 am 2010 |
| Greg KH | Re: linux-next: Tree for May 4 (staging/dt3155v4l)
Ick. What arch was this?
thanks,
greg k-h
--
| May 4, 12:12 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for May 4 (staging/dt3155v4l)
That is on x86_64.
The config is attached.
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
| May 4, 12:42 pm 2010 |
| Fredrick Prashanth J ... | nfs accesses of FAT fs folders causes deadlock on lock_super
Hi,
A FAT fs folder was shared using nfs. Accessing it over nfs causes
deadlock on lock_super since
it is acquired by both __fat_readdir and vfat_lookup in the following
call chain.
Call chain
#lock_super <----causes deadlock
#vfat_lookup
#__lookup_hash
#lookup_one_len
#compose_entry_fh
#encode_entry
#nfs3svc_encode_entry_plus
#__fat_readdir <---does lock_super
#fat_readdir
#vfs_readdir
#nfsd_readdir
#nfsd3_proc_readdirplus
#nfsd_dispatch
#svc_process
#nfsd
Is lock_super ...
| May 3, 10:59 pm 2010 |
| Christoph Hellwig | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
But the nfsd code has and now doesn't call lookup from the filldir
callback anymore.
--
| May 4, 3:32 am 2010 |
| OGAWA Hirofumi | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
As far as I can see, nfsd is buffering the result of readdir, then do
jobs (encode_fh, etc.) with it on other context of readdir.
Aren't you missing a buffering of nfsd_buffered_readdir()?
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| May 4, 11:41 am 2010 |
| Fredrick Prashanth J ... | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
Ah..I just noticed the changes in the nfsd code.
But in 2.6.27.10, can it be fixed by removing the lock_super in the
vfat_lookup.?
Because I saw some discussions long back of regressions due to
replacing lock_kernel by lock_super in FAT code.
Or should the sb mutex be unlocked before calling the callback filldir
in the __fat_readdir?
Thanks,
Fredrick
--
| May 4, 7:05 am 2010 |
| Fredrick Prashanth J ... | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
I see from nfsd code, it seems the compose_entry_fh still calls
lookup_one_len, which is now
called from encode_entryplus_baggage instead of entry_encode.
Am I right?
--
| May 4, 11:01 am 2010 |
| OGAWA Hirofumi | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
Yes. Current way is ultra safer side to convert BKL. Another side was
just to remove BKL. However, at least for now, we are using current way.
So, if current way had a problem, just remove it instead of trying to
fix (then, review).
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| May 4, 11:37 am 2010 |
| Fredrick Prashanth J ... | Re: nfs accesses of FAT fs folders causes deadlock on lo ...
Sorry I missed that.
My boxes run 2.6.27 kernel which does not have nfsd_buffered_readdir.
Thanks,
Fredrick
--
| May 4, 12:43 pm 2010 |
| Kyle Hubert | race condition between udevd and modprobe (mtrr_add)
Hi, while booting an initrd image built off of BusyBox on a thousand
nodes, we hit a race on a couple of nodes. They hang during the boot
process with the stack traces listed below. The really simple init
script in the initrd does a 'udevd --daemon' and then modprobe of a
device. The device needs to assign an mtrr to the pci resource, and
instead the whole node hangs. Putting a 'sleep 1' in between these two
calls prevents any hangs.
mtrr_add_page and the buddy allocator code don't appear to ...
| May 3, 10:30 pm 2010 |
| nick black | [PATCH] support Model-30 Corei7 in Oprofile
Howdy! OProfile doesn't recognize my QM720 Core i7. It knows about Model 26,
but not Model 30. This one-liner, taken against 2.6.34-rc6, addresses that.
Signed-off-by: Nick Black <nickblack@acm.org>
---
I sent a very similar patch to DynamoRIO this weekend. Not many Model-30's
in use yet?
diff -uprN linux-2.6.34-rc6/arch/x86/oprofile/nmi_int.c /home/dank/local/linux-2.6.34-rc6//arch/x86/oprofile/nmi_int.c
--- linux-2.6.34-rc6/arch/x86/oprofile/nmi_int.c 2010-04-29 23:02:05.000000000 ...
| May 3, 9:09 pm 2010 |
| Kevin Cernekee | [PATCH] mtd: Increase NAND_MAX_OOBSIZE from 128 to 256
NAND_MAX_OOBSIZE needs to be increased to support newer parts with
218 or 224 byte spare areas. Tested with Samsung K9GAG08U0D.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
include/linux/mtd/nand.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 8bdacb8..50f3aa0 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -53,7 +53,7 @@ extern int nand_unlock(struct mtd_info *mtd, ...
| May 3, 9:20 pm 2010 |
| Stephen Rothwell | linux-next: manual merge of the pcmcia tree with the wir ...
Hi Dominik,
Today's linux-next merge of the pcmcia tree got conflicts in
drivers/net/wireless/orinoco/orinoco_cs.c and
drivers/net/wireless/orinoco/spectrum_cs.c between commit
593ef09c9e70c92c0d76c67a1c03a5d44d3aec82 ("orinoco: allow driver to
specify netdev_ops") from the wireless tree and commit
9632b5baa1f857a455a438e5510dc8bb507a85b0 ("pcmcia: re-work
pcmcia_request_irq()") from the pcmcia tree.
I fixed it up (see below) and can carry the fix as necessary.
--
Cheers,
Stephen ...
| May 3, 8:57 pm 2010 |
| Paul Hartman | Re: Flash IO slow 1.5 MB/s
On Mon, May 3, 2010 at 10:52 PM, Trenton D. Adams
I have a similar experience (posted to this list a few months ago)
with mounting a flash device (mobile phone) in USB mass storage mode.
When I/O scheduler for that device is CFQ, write performance is really
terrible. When I change the scheduler to deadline, performance is
several times better. In 2.6.32 pdflush was replaced and CFQ
performance saw a 4x increase but still far too slow.
CFQ in <=2.6.31: 450KB/sec
CFQ in >=2.6.32: ...
| May 4, 10:34 am 2010 |
| Trenton D. Adams | Flash IO slow 1.5 MB/s
If I mount my usb key with "sync" option, I get 500kb or less transfer
speeds. If I use the gnome defaults, I get 60M+ for awhile, and then
it continually drops over time, down to the 500kb/s again. Gnome
defaults are...
/dev/sdc1 on /media/FLASH type vfat
(rw,nosuid,nodev,noatime,uhelper=hal,shortname=lower,flush,uid=500)
I have done similar tests on both Rally2 64G usb stick and sandisk
ultra (15M/s) SDHC 8G cards. I get lousy performance on both, unless
I set dirty bytes. These are ...
| May 3, 8:52 pm 2010 |
| Theodore Tso | Re: Flash IO slow 1.5 MB/s
Very interesting. How much memory do you have? (The core tuning parameter is dirty_ratio, which defaults to 20):
dirty_bytes: Contains the amount of dirty memory at which a process generating disk writes will itself start writeback. If dirty_bytes is written, dirty_ratio becomes a function of its value (dirty_bytes / the amount of dirtyable system memory).
dirty_ratio: Contains, as a percentage of total system memory, the number of pages at which a process which is generating disk writes ...
| May 4, 4:20 am 2010 |
| Trenton D. Adams | Re: Flash IO slow 1.5 MB/s
On Tue, May 4, 2010 at 11:34 AM, Paul Hartman
Oops, my message didn't reach the LKML, sorry for the spam Paul.
I switched to deadline and dirty_ratio 20 for my flash device, and I
am seeing VERY slow performance as well. I get a lot of freezing up
of rsync, where the progress just stops (visually anyhow), which is
the same as what I see with cfq. However, it's not 14 minutes as it
was in my original email...
[11:44 trenta@tdanotebook web] $ time rsync -v --progress
/home/share/DVD/*.avi ...
| May 4, 11:00 am 2010 |
| Trenton D. Adams | Re: Flash IO slow 1.5 MB/s
Ahh, this one didn't get to LKML either, oops. I don't use gmail often. :P
dirty_ratio goes to 0 whenever I set dirty_bytes to anything, and
dirty_bytes goes to 0 when I set dirty_ratio. I even tried setting
tdanotebook linux # zcat /proc/config.gz | grep DEBUG_FS
CONFIG_DEBUG_FS=y
tdanotebook linux # mount | grep debug
none on /sys/kernel/debug type debugfs (rw)
tdanotebook linux # blktrace -d /dev/mmcblk0p1
BLKTRACESETUP: Inappropriate ioctl for device
Usually hundreds of ...
| May 4, 11:05 am 2010 |
| Frederic Weisbecker | [GIT PULL] lockdep stat fixes
Ingo,
Please pull the core/locking branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
core/locking
Thanks,
Frederic
---
Frederic Weisbecker (3):
lockdep: Provide off case for redundant_hardirqs_on increment
lockdep: Actually _dec_ in debug_atomic_dec
lockdep: No need to disable preemption in debug atomic ops
kernel/lockdep.c | 2 +-
kernel/lockdep_internals.h | 8 ++++++--
2 files changed, 7 ...
| May 3, 8:45 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] lockdep stat fixes
Pulled, thanks!
Ingo
--
| May 3, 11:34 pm 2010 |
| Frederic Weisbecker | [PATCH 3/3] lockdep: No need to disable preemption in de ...
No need to disable preemption in the debug_atomic_* ops, as
we ensure interrupts are disabled already.
So let's use the __this_cpu_ops() rather than this_cpu_ops() that
enclose the ops in a preempt disabled section.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
---
kernel/lockdep_internals.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/lockdep_internals.h b/kernel/lockdep_internals.h
index ...
| May 3, 8:45 pm 2010 |
| Frederic Weisbecker | [PATCH 2/3] lockdep: Actually _dec_ in debug_atomic_dec
Fix a silly copy-paste mistake that was making debug_atomic_dec use
this_cpu_inc instead of this_cpu_dec.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
---
kernel/lockdep_internals.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/lockdep_internals.h b/kernel/lockdep_internals.h
index 7de27a8..8d929c7 100644
--- a/kernel/lockdep_internals.h
+++ b/kernel/lockdep_internals.h
@@ -149,7 +149,7 @@ ...
| May 3, 8:45 pm 2010 |
| Frederic Weisbecker | [PATCH 1/3] lockdep: Provide off case for redundant_hard ...
We forgot to provide a !CONFIG_DEBUG_LOCKDEP case for the
redundant_hardirqs_on stat handling.
Manage that in the headers with a new __debug_atomic_inc() helper.
Fixes:
kernel/lockdep.c:2306: error: 'lockdep_stats' undeclared (first use in this function)
kernel/lockdep.c:2306: error: (Each undeclared identifier is reported only once
kernel/lockdep.c:2306: error: for each function it appears in.)
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker ...
| May 3, 8:45 pm 2010 |
| Steven Rostedt | [PATCH 0/9 - v2][RFC] tracing: Lowering the footprint of ...
[Version 2]
This is an RFC patch set that also affects kprobes and perf.
At the Linux Collaboration Summit, I talked with Mathieu and others about
lowering the footprint of trace events. I spent all of last week
trying to get the size as small as I could.
Currently, each TRACE_EVENT() macro adds 1 - 5K per tracepoint. I got various
results by adding a TRACE_EVENT() with the compiler, depending on
config options that did not seem related. The new tracepoint I added
would add between 1 and ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 5/9 - v2][RFC] tracing: Move raw_init from events ...
From: Steven Rostedt <srostedt@redhat.com>
The raw_init function pointer in the event is used to initialize
various kinds of events. The type of initialization needed is usually
classed to the kind of event it is.
Two events with the same class will always have the same initialization
function, so it makes sense to move this to the class structure.
Perhaps even making a special system structure would work since
the initialization is the same for all events within a system.
But since ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 1/9 - v2][RFC] tracing: Create class struct for events
From: Steven Rostedt <srostedt@redhat.com>
This patch creates a ftrace_event_class struct that event structs point to.
This class struct will be made to hold information to modify the
events. Currently the class struct only holds the events system name.
This patch slightly increases the size of the text as well as decreases
the data size. The overall change is still a slight increase, but
this change lays the ground work of other changes to make the footprint
of tracepoints smaller.
With ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 9/9 - v2][RFC] tracing: Combine event filter_acti ...
From: Steven Rostedt <srostedt@redhat.com>
The filter_active and enable both use an int (4 bytes each) to
set a single flag. We can save 4 bytes per event by combining the
two into a single integer.
text data bss dec hex filename
5788186 1337252 9351592 16477030 fb6b66 vmlinux.orig
5761074 1262596 9351592 16375262 f9ddde vmlinux.id
5761007 1256916 9351592 16369515 f9c76b vmlinux.flags
This gives us another 5K in savings.
The modification of both the enable and ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 7/9 - v2][RFC] tracing: Move print functions into ...
From: Steven Rostedt <srostedt@redhat.com>
Currently, every event has its own trace_event structure. This is
fine since the structure is needed anyway. But the print function
structure (trace_event_functions) is now separate. Since the output
of the trace event is done by the class (with the exception of events
defined by DEFINE_EVENT_PRINT), it makes sense to have the class
define the print functions that all events in the class can use.
This makes a bigger deal with the syscall events since ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 8/9 - v2][RFC] tracing: Remove duplicate id infor ...
From: Steven Rostedt <srostedt@redhat.com>
Now that the trace_event structure is embedded in the ftrace_event_call
structure, there is no need for the ftrace_event_call id field.
The id field is the same as the trace_event type field.
Removing the id and re-arranging the structure brings down the tracepoint
footprint by another 5K.
text data bss dec hex filename
5788186 1337252 9351592 16477030 fb6b66 vmlinux.orig
5761154 1268356 9351592 16381102 ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 3/9 - v2][RFC] tracing: Remove per event trace re ...
From: Steven Rostedt <srostedt@redhat.com>
This patch removes the register functions of TRACE_EVENT() to enable
and disable tracepoints. The registering of a event is now down
directly in the trace_events.c file. The tracepoint_probe_register()
is now called directly.
The prototypes are no longer type checked, but this should not be
an issue since the tracepoints are created automatically by the
macros. If a prototype is incorrect in the TRACE_EVENT() macro, then
other macros will catch ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 4/9 - v2][RFC] tracing: Move fields from event to ...
From: Steven Rostedt <srostedt@redhat.com>
Move the defined fields from the event to the class structure.
Since the fields of the event are defined by the class they belong
to, it makes sense to have the class hold the information instead
of the individual events. The events of the same class would just
hold duplicate information.
After this change the size of the kernel dropped another 8K:
text data bss dec hex filename
5788186 1337252 9351592 16477030 ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 6/9 - v2][RFC] tracing: Allow events to share the ...
From: Steven Rostedt <srostedt@redhat.com>
Multiple events may use the same method to print their data.
Instead of having all events have a pointer to their print funtions,
the trace_event structure now points to a trace_event_functions structure
that will hold the way to print ouf the event.
The event itself is now passed to the print function to let the print
function know what kind of event it should print.
This opens the door to consolidating the way several events print
their ...
| May 3, 8:40 pm 2010 |
| Steven Rostedt | [PATCH 2/9 - v2][RFC] tracing: Let tracepoints have data ...
From: Steven Rostedt <srostedt@redhat.com>
This patch allows data to be passed to the tracepoint callbacks
if the tracepoint was created to do so.
The DECLARE_TRACE() now adds two new functions:
register_trace_mytracepoint_data()
unregister_trace_mytracepoint_data()
These two are the same as the original
register_trace_mytracepoint()
unregister_trace_mytracepoint()
But now allow you to pass a private data pointer that will
be passed to the callback handle. For ...
| May 3, 8:40 pm 2010 |
| Ingo Molnar | Re: [GIT PULL] RCU fixes for 2.6.34
Pulled, thanks a lot Paul!!
Ingo
--
| May 3, 11:45 pm 2010 |
| Paul E. McKenney | [GIT PULL] RCU fixes for 2.6.34
Hello, Ingo,
Here are RCU fixes for 2.6.34, mainly RCU-lockdep fixes:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git urgent-to-mingo
This set excludes the three needing Acked-by, and also excludes the
commits targeted for 2.6.35.
Thanx, Paul
------------------>
David Howells (2)
KEYS: Fix an RCU warning in the reading of user keys
KEYS: Fix an RCU warning
Lai Jiangshan (1)
rcu: v2: optionally leave lockdep enabled after RCU lockdep ...
| May 3, 8:36 pm 2010 |
| Nick Cheng | [PATCH 4/4 ] SCSI: Remove the AER section in kconfig file
1. Remove the AER section of Areca driver in kconfig file of scsi folder
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
---
| May 3, 8:19 pm 2010 |
| Nick Cheng | [PATCH 3/4 ] SCSI: Support Type C RAID controller
1. To support Type C RAID controller, ACB_ADAPTER_TYPE_C, i.e. PCI device
ID: 0x1880.
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
---
| May 3, 8:16 pm 2010 |
| Nick Cheng | PATCH 2/4 ] SCSI: Support 1024 scatter-gather list entri ...
1. To support 4M/1024 scatter-gather list entry, reorganize struct
ARCMSR_CDB and struct CommandControlBlock
2. To modify arcmsr_probe
3. In order to help fix F/W issue, add the driver mode for type B card
4. To improve AP's behavior while F/W resets
5. To unify struct MessageUnit_B's members' naming in all OS drivers'
6. To improve error handlers, arcmsr_bus_reset(), arcmsr_abort()
7. To fix the arcmsr_queue_command() in bus reset stage, just let the
commands pass down to FW, don't ...
| May 3, 8:15 pm 2010 |
| Nick Cheng | SCSI: Support HW reset for EH and polling scheme for scs ...
1. To support instantaneous report for SCSI device existing by periodic
polling
2. In arcmsr_iop_xfer(), inform AP of F/W's deadlock state to prevent
endless waiting
3. To block the coming SCSI command while the driver is handling bus reset
4. To support HW reset in bus reset error handler
Signed-off-by: Nick Cheng< nick.cheng@areca.com.tw >
| May 3, 8:13 pm 2010 |
| Stephen Rothwell | Re: linux-next: manual merge of the crypto tree with the ...
Hi all,
Thanks for the confirmation.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| May 4, 2:24 pm 2010 |
| Stephen Rothwell | linux-next: manual merge of the crypto tree with the arm tree
Hi Herbert,
Today's linux-next merge of the crypto tree got a conflict in
arch/arm/mach-omap2/devices.c between commit
883413341e479d4e9f9c69def4884b4c6e1cef4e ("ARM: 6046/1: ARM: OMAP:
register PMU IRQs during board initialisation") from the arm tree and
commit ee5500c45c4860a84bba502c6d9ef5af6395dad6 ("crypto: omap - Updates
omap sham device related platform code") from the crypto tree.
Just context changes. I fixed it up (see below) and can carry the fix as
necessary.
-- ...
| May 3, 7:53 pm 2010 |
| Herbert Xu | Re: linux-next: manual merge of the crypto tree with the ...
It looks good to me too.
Thanks!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
| May 4, 6:03 am 2010 |
| Dmitry Kasatkin | Re: linux-next: manual merge of the crypto tree with the ...
Hi,
This patch looks OK.
Thanks,
Dmitry
--
| May 4, 12:24 am 2010 |
| Will Deacon | Re: linux-next: manual merge of the crypto tree with the ...
Hi Stephen,
Thanks for fixing this. Looks fine to me.
Will
--
| May 4, 2:13 am 2010 |
| Corey Ashford | [BUG] perf_events: PERF_FORMAT_GROUP not working correct ...
In the last couple of days, I've run across what appears to be a kernel bug in 2.6.33.3 (haven't tested later kernels yet) having to do with using the PERF_FORMAT_GROUP feature in combination with enable_on_exec and reading counts from a remote task.
What happens is that when we go to read the entire group up, only the first counter in can be accessed; the read() call returns too few bytes. This problem doesn't occur if measuring the from the same task.
I have attached a "cut down", though it's ...
| May 3, 7:06 pm 2010 |
| Daniel Walker | Re: linux-next: manual merge of the msm tree with the arm tree
Ok .. I'll merge the changes in Russell tree into my tree, that should
fix it I think.
Daniel
--
| May 4, 9:42 am 2010 |
| Stephen Rothwell | linux-next: manual merge of the msm tree with the arm tree
Hi Daniel,
Today's linux-next merge of the msm tree got a conflict in
arch/arm/mach-msm/Kconfig between commit
4b53eb4f5d78416456bb969ce30e3bed2731d744 ("arm: msm: allow ARCH_MSM to
have v7 cpus") from the arm tree and commit
e17047ea51cc2eac3e920e5a669f99efd44f446f ("arm: msm: smd: use either
package v3 or v4 not both") from the msm tree.
I fixed it up (see below) and can carry the fix as necessary.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc ...
| May 3, 6:07 pm 2010 |
| Stephen Rothwell | Re: linux-next: manual merge of the msm tree with the arm tree
Hi Daniel,
OK, thanks. For simple things like this, I have no problem carrying
fixes until they are repaired in the normal course of events. "git
rerere" does all the work for me.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| May 4, 2:26 pm 2010 |
| Kevin Cernekee | [PATCH] mtd: nand_base: Extend NAND flash detection to n ...
Some of the newer MLC devices have a 6-byte ID sequence in which
several field definitions differ from older chips in a manner that is
not backward compatible. For instance:
Samsung K9GAG08U0M (5-byte sequence): ec d5 14 b6 74
4th byte, bits 1:0 encode the page size: 0=1KiB, 1=2KiB, 2=4KiB, 3=8KiB
4th byte, bits 5:4 encode the block size: 0=64KiB, 1=128KiB, ...
4th byte, bit 6 encodes the OOB size: 0=8B/512B, 1=16B/512B
Samsung K9GAG08U0D (6-byte sequence): ec d5 94 29 34 41
4th byte, bits ...
| May 3, 5:46 pm 2010 |
| Guillaume Knispel | [PATCHv2 2/2] genirq: update doc
Following "genirq: always build resend_irqs" and previous changes, this
commit updates the genirq DocBook.
Signed-off-by: Guillaume Knispel <gknispel@proformatique.com>
CC: linux-kernel@vger.kernel.org
CC: Linuxppc-dev@lists.ozlabs.org
CC: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: Haavard Skinnemoen <hskinnemoen@atmel.com>
CC: Ingo Molnar <mingo@elte.hu>
CC: Lars-Peter Clausen <lars@metafoo.de>
CC: Linus Torvalds ...
| May 3, 5:23 pm 2010 |
| Guillaume Knispel | [PATCHv2 0/2] genirq: reliably replay pending edge-trigg ...
In the following series:
[1/2] implements the proposal I made at the end of the thread
http://lkml.org/lkml/2010/4/19/129 to reliably support replay
of edge-triggered interrupts on all architectures when using
disable_irq() / enable_irq().
Proper replays of pending edge-triggered interrupts was
depending on CONFIG_HARDIRQS_SW_RESEND which only seems to have
been noticed for plateforms of ARM and AVR32 architecture while
it should also have been used on other architectures to get ...
| May 3, 5:19 pm 2010 |
| Guillaume Knispel | [PATCHv2 1/2] genirq: reliably replay pending edge-trigg ...
The following can happen:
CPU 1 CPU 2
disable_irq(): handle_edge_irq():
LOCK desc->lock (irqsave)
desc->status |= IRQ_DISABLED;
desc->chip->disable(irq);/*1*/
UNLOCK desc->lock (irqrestore)
LOCK desc->lock
desc->status |= (IRQ_PENDING
| IRQ_MASKED);
mask_ack_irq(desc, irq);
...
| May 3, 5:21 pm 2010 |
| Valdis.Kletnieks | Re: [PATCH 17/39] union-mount: Union mounts documentation
I spent some time looking at patch 27 trying to figure it out for myself,
but my lack of splice()-fu doomed me. :)
A few quick questions:
1) For calls like chmod() that only touch the metadata, does it still
trigger a copyup of the data, or just the affected metadata?
2) Is the copyup of data synchronous or async done in the background?
The comments in union_copyup_len() about "We raced with someone else"
imply this is synchronous - if so. probably a note should be made that
an open() ...
| May 3, 6:54 pm 2010 |
| Jamie Lokier | Re: [PATCH 17/39] union-mount: Union mounts documentation
Can copyup be interrupted? E.g. if I chmod an 80GB file, will the
Does it apply the same permission checks that a program doing
copy+rename would have to pass? I guess that is just write access to
the directory.
Does it effectively "rename" all hard links referring to the file, to
point to the new version, or does it only affect the path that was
used by the writer/modifier, leaving the other links continue to refer
Why is O_DIRECT relevant? O_DIRECT doesn't imply writing, ...
| May 4, 2:12 pm 2010 |
| Valdis.Kletnieks | Re: [PATCH 27/39] union-mount: In-kernel copyup routines
because otherwise if do_splice_direct() returns a non-negative value,
we can hit 'return error;' without ever having set error to anything?
| May 3, 6:40 pm 2010 |
| David Howells | Re: x86 rwsem: up_read() does not check active count in ...
Look in call_rwsem_wake(), which is implemented in assembly in two places in
the x86 arch:
arch/x86/lib/rwsem_64.S
arch/x86/lib/semaphore_32.S
Note that the x86_64 version contains a bug, a patch for which is attached.
David
---
From: David Howells <dhowells@redhat.com>
Subject: [PATCH] Fix the x86_64 implementation of call_rwsem_wait()
The x86_64 call_rwsem_wait() treats the active state counter part of the R/W
semaphore state as being 16-bit when it's actually 32-bit (it's half ...
| May 4, 5:41 am 2010 |
| Michel Lespinasse | Re: x86 rwsem: up_read() does not check active count in ...
Gah thanks, I had totally missed that part (I knew about these files
but I had taken these as pure ABI wrappers; I did not notice the one
nugget of interesting logic hiding in there).
BTW, what's the reason for doing this check in call_rwsem_wake ? The
check is entirely redundant in the __up_write() case; and in
__up_read() things might be less confusing if edx was used locally
rather than in a separate function.
--
Michel "Walken" Lespinasse
A program is never fully debugged until the ...
| May 4, 3:38 pm 2010 |
| Jan Kara | Re: [PATCH v2] mtd: Do not corrupt backing device of dev ...
The patch now looks correct to me. Acked-by: Jan Kara <jack@suse.cz>
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| May 4, 4:19 am 2010 |
| Artem Bityutskiy | Re: [PATCH v2] mtd: Do not corrupt backing device of dev ...
Is this -stable material?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
| May 4, 7:19 am 2010 |
| Peter Zijlstra | Re: [PATCH] perf: implement recording/reporting per-cpu ...
But for that you use perf record -a, right? So you record all cpus
allways -- otherwise there is no telling what was happening to make it
Right, it would be very nice if we can avoid growing the default sample
size. Also, your changelog needs work, please explain the full usecase
that goes with this feature.
Explain the thing you're wanting to measure, explain the implementation
and maybe give a short example.
--
| May 4, 2:16 am 2010 |
| Venkatesh Pallipadi | Re: [RFC] Exposing TSC "reliability" to userland
On Mon, May 3, 2010 at 1:21 PM, Dan Magenheimer
[ Sorry if this is a duplicate. I had messed up my mail client format setting ]
One option is to remove tsc from
/sys/devices/system/clocksource/clocksource*/available_clocksource
when it is detected as unstable.
That should already be happening with NOHZ or HIGHRES selected. But,
should be simple to add some code to do this always.
Would that work?
Thanks,
Venki
--
| May 4, 4:16 pm 2010 |
| Jiri Kosina | Re: [linux-pm] s2ram slow (radeon) / failing (usb)
Hmmm ... seems to me that in this case, the problem might be that there is
a device hanging in the air, for which the parsing of report descriptor
failed (interface .0002), but it's still somehow there on the bus.
It's a bit strange that we are not seeing
dev_err(&intf->dev, "can't add hid device: %d\n", ret);
message from usbhid_probe(), are we? That would mean, that we are
returning ENODEV from the usb_driver->probe routine properly.
Bruno, could you, for testing purposes, check, ...
| May 4, 1:37 am 2010 |
| Oliver Neukum | Re: [linux-pm] s2ram slow (radeon) / failing (usb)
Ugh. That looks like a bug in usbhid that I introduced. A fix is not trivial.
In short, I did not think the device could be undergoing a queued resumption
while suspend() is being called. I wonder why this is happening.
Regards
Oliver
--
| May 3, 11:42 pm 2010 |
| Bruno Prémont | Re: [linux-pm] s2ram slow (radeon) / failing (usb)
Well, it's said to return 0:
[ 286.872739] generic-usb 0003:058F:9462.0003: input: USB HID v1.10 Keyboard [Multimedia USB Keyboard Multimedia USB Keyboard] on usb-0000:00:13.0-2.1/input0
[ 286.890136] HID: device_add() returned 0
[ 286.919698] generic-usb: probe of 0003:058F:9462.0004 failed with error -22
[ 286.929363] HID: device_add() returned 0
or with debug=1 for HID:
[ 559.982958] /usr/src/linux-2.6-git/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 1
[ 560.011698] ...
| May 4, 2:04 pm 2010 |
| Sergei Shtylyov | Re: [PATCH 2.6.34-rc6] mxc: gadget: Fix bitfield for cal ...
Hello.
You should send this to the linux-usb mailing list.
WBR, Sergei
--
| May 4, 2:48 am 2010 |
| Greg KH | Re: Patch for wlan-ng/hfa384x_usb.c
Agreed, don't worry about too-long lines in print statements.
thanks,
greg k-h
--
| May 4, 8:49 am 2010 |
| Greg KH | Re: [PATCH v3] firmware_class: fix memory leak - free al ...
You should leave it to be whatever it was before this patch, it has not
changed anything now.
thanks,
greg k-h
--
| May 4, 7:03 am 2010 |
| Wim Van Sebroeck | Re: [PATCH/RFC] watchdog: update/improve/consolidate wat ...
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
I will add this to the linux-2.6-watchdog-next tree.
Kind regards,
Wim.
--
| May 4, 12:34 am 2010 |
| Dave Chinner | Re: [PATCH 1/3] fs: allow short direct-io reads to be co ...
Yes, that looks like it would work to me. Might be worth a comment,
though.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| May 4, 4:07 pm 2010 |
| Dave Chinner | Re: [PATCH 1/3] fs: allow short direct-io reads to be co ...
Won't this mean that any direct IO read that spans EOF (i.e. get a
short read) now attempt a buffered IO (that will fail) before returning?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| May 3, 5:14 pm 2010 |
| Josef Bacik | Re: [PATCH 1/3] fs: allow short direct-io reads to be co ...
Hmm yeah you are right. What would be an acceptable way to avoid this, do a
if (retval || !count || ppos >= i_size_read(inode))
goto out;
type thing? Thanks,
Josef
--
| May 4, 8:27 am 2010 |
| Mel Gorman | Re: [PATCH 1/2] mm: Take all anon_vma locks in anon_vma_lock
The wording could have been better.
The problem is that once a migration PTE is established, it is expected that
rmap can find it. In the specific case of exec, this can fail because of
how the temporary stack is moved. As migration colliding with exec is rare,
the approach taken by the patch was to not create migration PTEs that rmap
could not find. On the plus side, exec (the common case) is unaffected. On
the negative side, it's avoiding the exec vs migration problem instead of
fixing ...
| May 4, 6:12 am 2010 |
| Andrew Morton | Re: [PATCH -mm 4/5] RapidIO: Add switch domain routines
On Mon, 3 May 2010 11:45:57 -0400
This ignores the return values from rio_mport_write_config_*().
AFACIT these things always return hard-wired 0 anyway. Perhaps we
should give up and change ->cread() and friends to return void. That
beats the alternative of adding lots of untestable test-n-return
unwinding code.
--
| May 4, 4:24 pm 2010 |
| Andrew Morton | Re: [PATCH 1/8] ipmi: Change addr_source to an enum rath ...
I already have three IPMI patches queued:
http://userweb.kernel.org/~akpm/mmotm/broken-out/ipmi-raise-precedence-of-pnp-based-di...
http://userweb.kernel.org/~akpm/mmotm/broken-out/ipmi-convert-tracking-of-the-acpi-dev...
http://userweb.kernel.org/~akpm/mmotm/broken-out/ipmi-update-driver-to-use-dev_printk-...
The first two were repairable. The third is now thoroughly trashed and
needs redoing.
I have no ...
| May 4, 3:53 pm 2010 |
| tip-bot for Borislav ... | [tip:core/hweight] arch, hweight: Fix compilation errors
Commit-ID: 4677d4a53e0d565742277e8913e91c821453e63e
Gitweb: http://git.kernel.org/tip/4677d4a53e0d565742277e8913e91c821453e63e
Author: Borislav Petkov <borislav.petkov@amd.com>
AuthorDate: Mon, 3 May 2010 14:57:11 +0200
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Tue, 4 May 2010 10:25:27 -0700
arch, hweight: Fix compilation errors
Fix function prototype visibility issues when compiling for non-x86
architectures. Tested with ...
| May 4, 10:27 am 2010 |
| Pavel Machek | Re: [PATCH 2/8] PM: suspend_block: Add driver to access ...
Yes please.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| May 3, 9:16 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 2/8] PM: suspend_block: Add driver to access ...
That's irrelevant. Let's focus _only_ on the "at the moment" part, please.
And BTW, a "future expansion" is not relevant at all to the patchset at hand
So how many user space processes use more than one suspend blocker right
now on Android? I'm interested only in the order of magnitude.
Rafael
--
| May 4, 1:02 pm 2010 |
| Arnd Bergmann | Re: possible locking bug in tty_open
Acked-by: Arnd Bergmann <arnd@arndb.de>
--
| May 4, 1:26 pm 2010 |
| Alan Cox | Re: possible locking bug in tty_open
On Sun, 2 May 2010 22:47:33 +0200
It looks pretty much impossible to trigger but it's definitely a bug.
I'll send Greg a patch
--
| May 4, 2:43 am 2010 |
| Alan Cox | Re: possible locking bug in tty_open
On Sun, 2 May 2010 22:47:33 +0200
I think all we need is probably this
tty: Fix unbalanced BKL handling in error path
Arnd noted:
After the "retry_open:" label, we first get the tty_mutex
and then the BKL. However a the end of tty_open, we jump
back to retry_open with the BKL still held. If we run into
this case, the tty_open function will be left with the BKL
still held.
Signed-off-by: Alan Cox <alan@linux.intel.com>
diff --git a/drivers/char/tty_io.c ...
| May 4, 12:42 pm 2010 |
| matthias | Re: [PATCH] Staging: adis16255: Fix compile error
Hi.
It's not yet decided to which subsystem the driver will be merged to.
But sysfs entries go to /sys/bus/spi/drivers/ so there shouldn't be an
issue if it later moves to IIO.
(what I want to do when IIO gets out of staging).
Regards,
--
motzblog.wordpress.com
--
| May 4, 7:44 am 2010 |
| Eric Dumazet | Re: [PATCH] fs: use kmalloc() to allocate fdmem if possible
Yes, this has the drawback to need 'size' in kvfree(), but it should not
be a problem for users of this code.
alloc_pages_exact() also fragments high order page, but I guess it's not
worse than kmalloc() in this context.
--
| May 3, 10:33 pm 2010 |
| Changli Gao | Re: [PATCH] fs: use kmalloc() to allocate fdmem if possible
we can use alloc_pages_exact()/free_pages_exact() when size is larger
than PAGE_SIZE, then size isn't needed to be a power of two.
void *kvmalloc(size_t size)
{
void *ptr;
if (size < PAGE_SIZE)
return kmalloc(size, GFP_KERNEL);
ptr = alloc_pages_exact(size, GFP_KERNEL | __GFP_NOWARN);
if (ptr)
return ptr;
return vmalloc(size);
}
void *kvfree(void *ptr, size_t size)
{
BUG_ON(in_interrupt());
if (size < PAGE_SIZE)
...
| May 3, 9:20 pm 2010 |
| Avi Kivity | Re: [PATCH 1/2] x86: eliminate TS_XSAVE
Ok, so you're happy with the patch as is?
--
error compiling committee.c: too many arguments to function
--
| May 4, 12:41 am 2010 |
| Suresh Siddha | Re: [PATCH 1/2] x86: eliminate TS_XSAVE
As use_xsave() is in the hot context switch path, I would like to go
with Avi's proposal.
thanks,
suresh
--
| May 4, 11:15 am 2010 |
| Suresh Siddha | Re: [PATCH 1/2] x86: eliminate TS_XSAVE
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
--
| May 4, 11:03 am 2010 |
| Suresh Siddha | Re: [PATCH 2/2] x86: Introduce 'struct fpu' and related API
One comment I have is the name 'fpu'. In future we can use this for non
fpu state aswell. For now, I can't think of a simple and better name. We
can perhaps change it in the future.
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
--
| May 4, 11:12 am 2010 |
| tip-bot for Borislav ... | [tip:tracing/core] ring-buffer: Wrap open-coded WARN_ONCE
Commit-ID: 956097912c40a03bf22603a3be73503fd9ea9e44
Gitweb: http://git.kernel.org/tip/956097912c40a03bf22603a3be73503fd9ea9e44
Author: Borislav Petkov <bp@alien8.de>
AuthorDate: Sun, 2 May 2010 08:03:54 +0200
Committer: Steven Rostedt <rostedt@goodmis.org>
CommitDate: Tue, 4 May 2010 12:23:47 -0400
ring-buffer: Wrap open-coded WARN_ONCE
Wrap open-coded WARN_ONCE functionality into the equivalent macro.
Signed-off-by: Borislav Petkov <bp@alien8.de>
LKML-Reference: ...
| May 4, 11:09 am 2010 |
| Andi Kleen | Re: perf, ftrace and MCEs
A good beginning of any such investigations would be to describe
what exact problems you're trying to solve here.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| May 4, 3:15 am 2010 |
| Ingo Molnar | Re: perf, ftrace and MCEs
We could certainly move bits of this initialization earlier.
Also we could add the notion of 'persistent' events that dont have a
user-space process attached to them - and which would buffer to a certain
degree. Such persistent events could be initialized during bootup and the
daemon could pick up the events later on.
In-kernel actions/policy could work off the callback mechanism. (See for
example how the new NMI watchdog code in tip:perf/nmi makes use of it - or how
the ...
| May 4, 4:32 am 2010 |
| David Howells | Re: [PATCH v21 001/100] eclone (1/11): Factor out code t ...
With a huge patch series like this, can you post a cover note at the front
(usually patch 0) saying what the point of the whole series is?
David
--
| May 4, 7:43 am 2010 |
| Dmitry Torokhov | Re: [PATCH 1/3] input: mt: Simplify event bypass logic
Henrik,
I disagree with the patch. I can not guarantee that we will be able to
maintain continuous range of ABS_MT_* events and thus current scheme is
more flexible.
Thanks.
--
Dmitry
--
| May 3, 11:49 pm 2010 |
| Henrik Rydberg | Re: [PATCH 1/3] input: mt: Simplify event bypass logic
Yes, I was hesitant myself. I would rather keep all [ABS_MAX + 1 - ABS_MT_MIN]
in the slot. Introduces a memory slack but is more flexible.
Henrik
--
| May 4, 12:34 am 2010 |
| Pan, Jacob jun | RE: [PATCH 2.6.34-rcX] Do not expect PCI devices to retu ...
Hi Petr,
There are other code in the kernel makes similar assumption of accessing pci cfg above 0x100. (but they do not hang in a loop)
e.g. in drivers/pci/probe.c
* accesses, or the device is behind a reverse Express bridge. So we try
* reading the dword at 0x100 which must either be 0 or a valid extended
* capability header.
*/
int pci_cfg_space_size_ext(struct pci_dev *dev)
{
u32 status;
int pos = PCI_CFG_SPACE_SIZE;
if (pci_read_config_dword(dev, pos, &status) != ...
| May 3, 11:21 pm 2010 |
| Petr Vandrovec | Re: [PATCH 2.6.34-rcX] Do not expect PCI devices to retu ...
Thanks. Other possibility would be to modify amd_bus.c to verify that
ENABLE_CF8_EXT_CFG bit in MSR_AMD64_NB_CFG is actually writeable, and
not set PCI_HAS_IO_ECS if bit is read-as-zero. That would fix both
Moorestown code as well as pci_cfg_space_size_ext - patch below can be
applied instead of mrst.c changes.
Petr
Do not report AMD processors in VMware as ECS capable
In a VM AMD processors do not have integrated northbridge, and so their
northbridge-related MSRs do not work, ...
| May 4, 12:31 am 2010 |
| tip-bot for Frederic ... | [tip:perf/core] hw_breakpoints: Fix percpu build failure
Commit-ID: 777d0411cd1e384115985dac5ccd42031e3eee2b
Gitweb: http://git.kernel.org/tip/777d0411cd1e384115985dac5ccd42031e3eee2b
Author: Frederic Weisbecker <fweisbec@gmail.com>
AuthorDate: Mon, 3 May 2010 15:39:45 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 4 May 2010 08:39:36 +0200
hw_breakpoints: Fix percpu build failure
Fix this build error:
kernel/hw_breakpoint.c:58:1: error: pasting "__pcpu_scope_" and "*" does not give a valid preprocessing token
It ...
| May 4, 1:30 am 2010 |
| Peter Zijlstra | Re: [PATCH 3/3] alpha: Implement HW performance events o ...
If the PMU Interrupt comes in as an NMI we cannot take locks and such
from its handler. So what we do is queue that work to be ran later. The
kernel has a fallback to run this stuff from the timer hardirq, but if
the PMI is IRQ context (like ARM) you can simply call
perf_event_do_pending() at its tail.
Alternatively you can self-IPI like x86 does and run
perf_event_do_pending() from there.
--
| May 4, 12:40 am 2010 |
| Ingo Molnar | Re: [PATCH] perf_event: Use UTF-8 copyright symbol inste ...
Alternatively you could pick up Paul's patch on top of Tejun's if you have
already pushed the commit ID out and want to avoid a rebase.
Thanks,
Ingo
--
| May 3, 11:50 pm 2010 |
| Andi Kleen | Re: [PATCH 0/3] Bcache: version 4
I read all of this email now and I still have no clue what exactly
a 'bcache' is and why anyone would want one (and if one needs
a large stick to handle it or not)
Normally the 0/x series of a patch kit is supposed to contain that
information.
I know it's probably obvious to you, but it's not to most other readers.
Consider adding some introduction?
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| May 4, 3:14 am 2010 |
| Kent Overstreet | Re: [PATCH 0/3] Bcache: version 4
Ah, whoops. "Block cache" - it uses one block device to cache another,
it's intended for SSDs. It's summarized decently in the documentation
patch, which if I'd thought harder would've been the first email...
http://thread.gmane.org/gmane.linux.kernel/979977
Second patch also has relevant commentary:
http://thread.gmane.org/gmane.linux.kernel/979978
http://thread.gmane.org/gmane.linux.kernel/979979
Currently all the necessary functionality for read only is close to
done, I'm now doing ...
| May 4, 4:47 pm 2010 |
| Andi Kleen | Re: [PATCH 4/8] PM: suspend_block: Add debugfs file
Could you report the pid here too?
The name set by the application might be meaningless or duplicated.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| May 4, 4:16 am 2010 |
| Arve Hjønnevåg | Re: [PATCH 0/8] Suspend block api (version 6)
On Mon, May 3, 2010 at 4:37 PM, Kevin Hilman
I'm not that familiar with ACPI either, but I think the S-states
entered by suspend are much lower power than the C-states entered by
No, suspend blockers are mostly used to ensure wakeup events are not
ignored, and to ensure tasks triggered by these wakeup events
Why? If a device is not in use it should be off regardless of what
--
Arve Hjønnevåg
--
| May 3, 5:09 pm 2010 |
| Matthew Garrett | Re: [PATCH 0/8] Suspend block api (version 6)
ACPI doesn't provide any functionality for cutting power to most devices
other than shifting into full system suspend. The number of wakeup
events available to us on a given machine is usually small and the
wakeup latency large, so it's not terribly practical to do this
transparently on most hardware.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 3, 5:43 pm 2010 |
| mark gross | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
You know things would be so much easier if the policy was a one-shot
styled thing. i.e. when enabled it does what it does, but upon resume
the policy must be re-enabled by user mode to get the opportunistic
behavior. That way we don't need to grab the suspend blocker from the
wake up irq handler all the way up to user mode as the example below
calls out. I suppose doing this would put a burden on the user mode code
to keep track of if it has no pending blockers registered after a wake
up ...
| May 3, 10:12 pm 2010 |
| Mark Brown | Re: [PATCH 0/8] Suspend block api (version 6)
Looking at this from a subsystem/driver author point of view the problem
I'm faced with is that as a result of using system suspend much more
aggressively the subsystem and driver layers are getting conflicting
I think a big part of this for me is that this approach changes the
intended use of the system-wide suspend a bit, complicating it a bit
further than it already is. We end up doing a suspend (which in the
normal course of affairs means that the driver should shut everything
down) ...
| May 4, 6:59 am 2010 |
| Kevin Hilman | Re: [PATCH 0/8] Suspend block api (version 6)
OK, that's a major difference with embedded SoCs where the kernel must
directly manage the power state of all devices using runtime PM.
So basically, on ACPI systems, runtime PM doesn't get you any power
savings for most devices.
Kevin
--
| May 4, 8:13 am 2010 |
| Matthew Garrett | Re: [PATCH 0/8] Suspend block api (version 6)
I'd say it does for most devices, but the power savings may not be as
great as they would be with fine-grained control over power rails.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| May 4, 8:28 am 2010 |
| Kevin Hilman | Re: [PATCH 0/8] Suspend block api (version 6)
OK, but my point was that their *usage* is at the level of inidividual
Not necessarily.
If a device is not in use, what power state it goes into depends on
many device/subsystem specific things. For example, recent activity
(timeouts), whether it will be busy soon (pending transfers),
latency/throughput constraints, dependency on other devices, or any
other device/subsystem specific reason.
All of these can be handled with runtime PM. None of which are taken
into consideration with ...
| May 4, 11:04 am 2010 |
| Kevin Hilman | Re: [PATCH 0/8] Suspend block api (version 6)
Exactly.
With runtime PM, there is flexibility in choosing the lowest power
state at the device/subsystem level, based on activity, timeouts,
bitrate, dependencies, latency/throughput constraints, etc.
With opportunistic suspend, all of this flexibility is gone, and the
device/subsystem is told to go into the lowest power, highest latency
Agreed, and because of this, part of my concern is that opportunistic
suspend will take the place of doing the "right thing" which (IMHO)
I ...
| May 4, 11:06 am 2010 |
| Mark Brown | Re: [PATCH 0/8] Suspend block api (version 6)
Well, half the problem I have is that unfortunately it's not a case of
doing that period. The prime example I'm familiar with is that for
understandable reasons users become irate when you power down the audio
CODEC while they're in the middle of a call so if opportunistic PM is in
use then the audio subsystem needs some additional help interpreting a
suspend request so that it can figure out how to handle it. Similar
issues apply to PMICs, though less pressingly for various reasons.
Just ...
| May 4, 12:06 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
Guys, please.
The opportunistic suspend feature is _not_ to replace runtime PM by any means!
However, there are situations in which runtime PM is clearly insufficient.
The idea behind runtime PM is that subsystems and device drivers will know
when to put devices into low power states and save energy this way. Still,
even if all subsystems do that 100% efficiently, there may be more savings
possible by putting the entire system into a sleep state (like on ACPI-based
It really can't, at ...
| May 4, 1:23 pm 2010 |
| Arve Hjønnevåg | Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.
Making it one shot does not change where kernel code needs to block
suspend, but it does force user space to poll trying to suspend while
suspend is blocked by a driver.
--
Arve Hjønnevåg
--
| May 4, 1:40 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
s/can/can't/; s/reach/go/
Rafael
--
| May 4, 1:44 pm 2010 |
| Arve Hjønnevåg | Re: [PATCH 4/8] PM: suspend_block: Add debugfs file
Currently all the names set by android user-space are unique but the
pids are not. We can add columns, or extend the name of user space
suspend blockers in the ioctl interface, later if needed.
--
Arve Hjønnevåg
--
| May 4, 2:06 pm 2010 |
| Kevin Hilman | Re: [PATCH 0/8] Suspend block api (version 6)
Sure, but there are driver authors and subsystem maintainers who care
about optimal PM in "normal" Linux *and* in Android.
As a PM maintainer for an embedded platform (OMAP) used in both, I
certainly care about both, so "disable it if you don't like it" is not
really an option.
IMO, driver/subsystem authors should not have to care if the userspace
is Android or not. We should be working towards a world where Android
is not a special case.
Kevin
--
| May 4, 4:14 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
I agree, but "working on towards a world where ..." need not mean "be there
from day one" IMO. Also, I guess you'll agree that using the same _binary_
kernel with Android and non-Android user spaces doesn't necessarily make sense
(regardless of the fact that Android kernels have hardware-specific board files
included), so probably you'll still disable opportunistic suspend building the
kernel for non-Android systems (at least for the time being).
It looks like you're thinking the ...
| May 4, 4:42 pm 2010 |
| Mark Brown | Re: [PATCH 0/8] Suspend block api (version 6)
Certainly in my case and I think Kevin's I agree with the need for the
bodge at the minute if we can get a clearer idea of how it's supposed to
Right, this is likely to be a win for PCs - for embedded systems we
rarely have other software to interoperate with so if you can make the
hardware do it then it's unlikely there would be any fundamental issue
The use case that causes serious issues with this at the minute in the
domains I work is this:
On a mobile phone when the system is in a ...
| May 4, 4:56 pm 2010 |
| Brian Swetland | Re: [PATCH 0/8] Suspend block api (version 6)
I'll echo Arve here -- all drivers should seek to be in the lowest
power state possible at all times. We've never suggested that
suspend_block is a substitute for that.
Suspend blockers give us some flexibility on systems where runtime pm
will not get us all the way there. If you can meet your power needs
without needing suspend blockers, awesome, you don't need them on that
platform. The patchset Arve sent out makes this feature an
off-by-default kernel configuration option that compiles ...
| May 3, 5:43 pm 2010 |
| Rafael J. Wysocki | Re: [PATCH 0/8] Suspend block api (version 6)
At the moment the rule of thumb is: if you don't need the opportunistic
suspend, don't use it. It is not going to be enabled by default on anything
other than Android right now.
However, since Android is a legitimate user of the Linux kernel, I see no
reason to reject this feature right away. There are many kernel features
that aren't used by all platforms.
Rafael
--
| May 4, 1:37 pm 2010 |
| mark gross | Re: [linux-pm] [PATCH]PM QOS refresh against next-20100430
Well, adding such an api to cpuidle could do this for you. "shallow" is
hard to define, but one could do what google did and define a
cpu_wake_lock type of API to block entry into any low power halt/mwait
type of state. i.e. shallow would be C0, or just halt in idle.
If such a thing fits a "hotpath" API extention to pm_qos basically
implementing a low overhead disable lowpower behavior without having to
walk the pm_qos lists to get an agrigate value. But, if such an api
belongs in ...
| May 3, 9:41 pm 2010 |
| Pavel Machek | Re: [PATCH]PM QOS refresh against next-20100430
While C3 has maximum allowed latency (101usec, iirc), I believe
there's no minimum, so someone could create platform with really quick
C3 with perhaps only 10usec to enter...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| May 3, 9:16 pm 2010 |
| mark gross | Re: [PATCH]PM QOS refresh against next-20100430
Sorry I'm late,
From: markgross <mark.gross@intel.com>
Date: Mon, 3 May 2010 12:46:42 -0700
Subject: [PATCH] PM_QOS to use handle based list implementation and exported function name changes to be more descriptive of what is actually happening.
---
Documentation/power/pm_qos_interface.txt | 48 ++++---
drivers/acpi/processor_idle.c | 2 +-
drivers/cpuidle/governors/ladder.c | 2 +-
drivers/cpuidle/governors/menu.c | 2 +-
drivers/net/e1000e/netdev.c ...
| May 4, 7:30 am 2010 |
| Andrew Morton | Re: [PATCH 0/2] aio: fix the vectored aio routines
On Fri, 30 Apr 2010 16:48:58 -0400
The patches are large(ish) and we're at -rc6. I'm inclined to merge
these into 2.6.35-rc1 with a -stable tag so they get backported into 2.6.34.1
after a bit of mainline testing, OK?
--
| May 4, 1:13 pm 2010 |
| Jeff Moyer | Re: [PATCH 0/2] aio: fix the vectored aio routines
That's fine with me.
Cheers,
Jeff
--
| May 4, 1:16 pm 2010 |
| Du, Alek | RE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on ov ...
Alan,
I will test this patch when back to office, probably at 4 May.
Thanks,
--
| May 3, 10:37 pm 2010 |
| Ric Wheeler | Re: [RFC] ext4: Don't send extra barrier during fsync if ...
Checking per inode is actually incorrect - we do not want to short cut
the need to flush the target storage device's write cache just because a
specific file has no dirty pages. If a power hit occurs, having sent
the pages from to the storage device is not sufficient.
I was thinking that it could actually be more general, specifically we
could track the status of the write cache on the entire storage device.
That way, any command (write, etc) to the target device would set the
cache ...
| May 4, 7:16 am 2010 |
| Mingming Cao | Re: [RFC] ext4: Don't send extra barrier during fsync if ...
hmm... My understanding is ext3/4 implementation of fsync syncing the
whole filesystem, as a jbd2 transacation could including metadata update
from other files, jbd2 has to commit the latest transactions. But the
caller is fsync(), which should only need to ensure the specified
inode's dirty data/metadata gets to disk by sending barriers down.
--
| May 4, 12:49 pm 2010 |
| Mingming Cao | Re: [RFC] ext4: Don't send extra barrier during fsync if ...
Just wondering is this per filesystem flag? Thought it is nicer to make
this per -inode flag, when there is no dirty data in fly for this inode
(instead of the whole fs), there is no need to call barrier in
ext4_sync_file().
--
| May 3, 5:57 pm 2010 |
| Andrea Arcangeli | Re: [PATCH 0/2] Fix migration races in rmap_walk() V3
Too late I already optimized mincore...
--
| May 4, 10:35 am 2010 |
| Mel Gorman | Re: [PATCH 2/2] mm,migration: Avoid race between shift_a ...
The patch's intention is to not migrate pages within the temporary
stack. What are you suggesting that is different?
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
| May 4, 2:45 am 2010 |
| Mel Gorman | Re: [PATCH 2/2] mm,migration: Avoid race between shift_a ...
I did when I got back - sorry for the delay. The patchset I sent out was what
I had fully tested and was confident worked. I picked up the version of the
Unfortunately, the same bug triggers after about 18 minutes. The objective of
your fix is very simple - have a VMA covering the new range so that rmap can
find it. However, no lock is held during move_page_tables() because of the
need to call the page allocator. Due to the lack of locking, is it possible
that something like the following is ...
| May 4, 3:32 am 2010 |
| Andrea Arcangeli | Re: [PATCH 2/2] mm,migration: Avoid race between shift_a ...
Ok so this seems the ordering dependency on the anon_vma list that
strikes again, I didn't realize the ordering would matter here, but it
does as shown above, great catch! The destination vma of the
move_page_tables has to be at the tail of the anon_vma list like the
child vma have to be at the end to avoid the equivalent race in
fork. This has to be a requirement for mremap too. We just want to
enforce the same invariants that mremap already enforces, to avoid
adding new special cases to the ...
| May 4, 5:56 am 2010 |
| Mel Gorman | Re: [PATCH 2/2] mm,migration: Avoid race between shift_a ...
Agreed. To be honest, I found the problems ordering of the anon_vma a little
confusing but as long as it's consistent everywhere, it's manageable. If
this ever burns us in the future though, we might want DEBUG_VM option that
Reviewed-by: Mel Gorman <mel@csn.ul.ie>
I'm currently testing this and have seen no problems after an hour which
is typically good. To be absolutly sure, it needs 24 hours but so far so
good. The changelog is a tad on the light side so maybe you'd like to take
this one ...
| May 4, 7:33 am 2010 |
| Andrea Arcangeli | Re: [PATCH 2/2] mm,migration: Avoid race between shift_a ...
I'll take your changelog for aa.git thanks! And the non trivial stuff
was documented in the code too.
So now in aa.git I've two branches, master -> old-anon_vma,
anon_vma_chain -> new-anon_vma.
anon_vma_chain starts with Rik's patch 1/2 and then this
patch. old-anon_vma starts with backout-anon-vma and then this patch 2
backported to old anon-vma code. After the removal of all
vma->anon_vma->lock usages from THP code, and switching to a slower
get_page() spin_unlock(page_table_lock) ...
| May 4, 7:44 am 2010 |
| David Howells | Re: [PATCH 3/7] KEYS: Use RCU dereference wrappers in ke ...
Well spotted. That's incorrect modification by commit
e7b0a61b7929632d36cf052d9e2820ef0a9c1bfe.
key_serial_lock is not a guarantor of the current keyring subscriptions not
changing as we read it. We need to hold either the RCU read lock (so that the
what the pointer currently points to isn't trashed) or the keyring semaphore
(so that the keyring isn't changed under us).
The real error is not holding the RCU read lock (I'd assumed that the fact it
was holding a spinlock implied this - ...
| May 4, 6:00 am 2010 |
| David Howells | Re: [PATCH 1/7] KEYS: Fix an RCU warning in the reading ...
Give or take the banner comment on user_read() where it states this explicitly:
/*
* read the key data
* - the key's semaphore is read-locked
*/
long user_read(const struct key *key, char __user *buffer, size_t buflen)
and Documentation/keys.txt where it also states this explicitly:
(*) long (*read)(const struct key *key, char __user *buffer, size_t buflen);
...
This method will be called with the key's semaphore read-locked. This will
prevent the key's ...
| May 4, 5:48 am 2010 |
| Divy Le Ray | May 3, 5:14 pm 2010 | |
| Jonathan Corbet | Re: [PATCH 02/30] viafb: use proper pci config API
[One I never answered]
On Sat, 01 May 2010 16:01:30 +0200
That is wrong, yes. As it happens, this gets fixed later in the series
when things move into via-core.c. I'd like to say that it's because I
noticed the problem and dealt with it, but you're smarter than that,
alas...
Thanks,
jon
--
| May 3, 7:37 pm 2010 |
| Michal Marek | Re: USB_SERIAL_KEYSPAN_* dependency on FIRMWARE_IN_KERNEL
I found another problem, the kconfig options to select the firmware
files are boolean, so scripts/Makefile.fwinst assumes that the firmware
is meant for a built-in driver and doesn't install it during
modules_install. This patch should fix that.
Michal
From 2092944f13dbc5f5eee313e4b697e105f18a4b9a Mon Sep 17 00:00:00 2001
From: Michal Marek <mmarek@suse.cz>
Date: Tue, 4 May 2010 12:11:29 +0200
Subject: [PATCH] Fix USB_SERIAL_KEYSPAN firmware dependencies
Make sure the selected firmware ...
| May 4, 4:07 am 2010 |
| H Hartley Sweeten | RE: Staging: dt3155: Cleanup memory mapped i/o access
The macros ReadMReg and WriteMReg are really just private versions of
the kernel's readl and writel functions. Use the kernel's functions
instead. And since ioremap returns a (void __iomem *) not a (u8 *),
change all the uses of dt3155_lbase to reflect this.
While here, make dt3155_lbase static since it is only used in the
dt3155_drv.c file. Also, remove the global variable dt3155_bbase
since it is not used anywhere in the code.
Where is makes sense, create a local 'mmio' variable ...
| May 4, 2:22 pm 2010 |
| Greg KH | Re: Staging: dt3155: Cleanup memory mapped i/o access
I have, and they look to be there to me:
http://git.kernel.org/?p=linux/kernel/git/gregkh/staging-next-2.6.git;a=commit;h=4f923...
So something must be odd on your side.
thanks,
greg k-h
--
| May 3, 7:54 pm 2010 |
| Joe Perches | Re: Staging: dt3155: Cleanup memory mapped i/o access
Yup, sorry, my mistake.
staging-next is the name of your repository as well as
a branch within your repository and git after git clone
doesn't by default show all remote branches.
$ git clone --reference=linux-2.6 \
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-next-2.6.git
$ git branch -r
origin/HEAD -> origin/master
origin/master
origin/staging-next
I needed to add a git checkout origin/staging-next
--
| May 4, 12:07 pm 2010 |
| H Hartley Sweeten | RE: Staging: dt3155: Cleanup memory mapped i/o access
[Empty message]
| May 4, 1:02 pm 2010 |
| H Hartley Sweeten | RE: Staging: dt3155: Cleanup memory mapped i/o access
I may be seeing the correct stuff now in your staging-next tree just not
Am I _sure_... No... Do I _think_ so... Yes... ;-)
Would you like me to rebase the patch to staging-next to see?
But, will this run into a similar problem with the two commits already in
Linus' tree? If so I can just hold off again until everything catches up.
Regards,
Hartley--
| May 4, 1:53 pm 2010 |
| Greg KH | Re: Staging: dt3155: Cleanup memory mapped i/o access
Ah, ok, the issue is the merge is causing your patch to not apply to my
No, I can handle that merge when it happens, quite fine.
thanks,
greg k-h
--
| May 4, 2:02 pm 2010 |
| H Hartley Sweeten | RE: Staging: dt3155: Cleanup memory mapped i/o access
OK. I cloned your tree a different way this time. This time I did:
$ git clone --reference ../linux-2.6 staging-2.6
Initialized empty Git repository in /home/bigguiness/src/git/z/staging-2.6/.git/
warning: You appear to have cloned an empty repository.
$ cd staging-2.6
$ git remote add staging-2.6 git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-next-2.6.git
$ git fetch staging-2.6
remote: Counting objects: 1541325, done.
remote: Compressing objects: 100% (249801/249801), ...
| May 3, 5:49 pm 2010 |
| Greg KH | Re: Staging: dt3155: Cleanup memory mapped i/o access
Yes, if you look, the staging-next branch starts on Linus's tree as of
April 8 (just after 2.6.34-rc3). I don't merge back to Linus's tree a
bunch, because that is not how it should be done. When I am going to
That doesn't explain how you aren't seeing the correct stuff to base
your patches off of though.
Are you _sure_ you have the 'staging-next' branch of the tree checked
out?
thanks,
greg k-h
--
| May 4, 1:12 pm 2010 |
| David Howells | Re: [PATCH 3/3] RFC: p9auth: add p9auth fs
user_buf doesn't need preclearing. It's just a waste of time. This occurs
three times.
David
--
| May 4, 7:57 am 2010 |
| David Howells | Re: [PATCH 1/3] p9auth: split core function out of some ...
Acked-by: David Howells <dhowells@redhat.com>
--
| May 4, 7:52 am 2010 |
| Serge E. Hallyn | Re: [PATCH 3/3] RFC: p9auth: add p9auth fs
Hm, yeah, the first doesn't need it at all, and the latter two
should just kmalloc and set user_buf[count] = '\0'.
thanks,
-serge
--
| May 4, 8:14 am 2010 |
| Prarit Bhargava | Re: [LKML] Re: [LKML] [PATCH] Fix NULL pointer for Xen guests
Huh ... that's odd. I'll grab a dinar based system and see if I can
reproduce it there. It would be interesting to know what the
differences are.
P.
--
| May 4, 8:21 am 2010 |
| Konrad Rzeszutek Wilk | Re: [LKML] Re: [LKML] [PATCH] Fix NULL pointer for Xen guests
Rebuilding everything from scratch did it. I am seeing a similar
failure where xenctx reports:
Call Trace:
[<ffffffff8107f780>] stop_cpu+0xc6 <--
[<ffffffff8105520e>] worker_thread+0x15d
[<ffffffff8107f6ba>] __stop_machine+0x106
[<ffffffff81058afb>] wake_up_bit+0x25
[<ffffffff81038720>] spin_unlock_irqrestore+0x9
[<ffffffff810550b1>] spin_lock_irq+0xb
[<ffffffff810586cb>] kthread+0x7a
[<ffffffff8100a964>] kernel_thread_helper+0x4
[<ffffffff81009d61>] ...
| May 4, 8:02 am 2010 |
| Konrad Rzeszutek Wilk | May 4, 8:02 am 2010 | |
| Mark Brown | Re: [PATCH] Remove tosa_battery driver (was: Re: [PATCH] ...
TBH I'm not entirely sure it's worth it - I'd be somewhat surprised to
see users outside of tosa for the more complex functionality.
--
| May 4, 7:56 am 2010 |
| Alan Cox | Re: [PATCH] Topcliff UART: Add the UART driver [2/2]
On Wed, 28 Apr 2010 11:54:43 +0900
I got annoyed enough by the strange commenting to write the following -
which will make a good first pass at turning the existing comments into
kernel-doc style. It's a quick hack - check the output against the input ;)
-------
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
/* Topwhack - a quick hack to whack the topcliffe headers into kernel-doc style
formats */
static fpos_t mark;
static int ...
| May 4, 10:14 am 2010 |
| Avi Kivity | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
I guess this was not reported because most svm machines have npt, and
this requires npt=0 to trigger. Nonpae paging disables npt, so you were
hit. Interestingly, nsvm makes it more likely to appear, since npt on
i386+pae will need the pdptrs.
--
error compiling committee.c: too many arguments to function
--
| May 4, 2:50 am 2010 |
| Avi Kivity | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
Strange. i386 vs x86_64 shouldn't have that much effect!
--
error compiling committee.c: too many arguments to function
--
| May 4, 2:20 am 2010 |
| Avi Kivity | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
No, apart from the poor users. I'll try to set something up using nsvm.
--
error compiling committee.c: too many arguments to function
--
| May 4, 12:53 am 2010 |
| Roedel, Joerg | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
Ok. I will post an initial fix for the VMEXIT_INVALID bug soon. Apart
from that I get a lockdep warning when I try to start a guest. The guest
actually boots if it is single-vcpu. SMP guests don't even boot through
the BIOS for me.
Joerg
--
| May 4, 2:11 am 2010 |
| Roedel, Joerg | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
This is the lockdep warning I get when I start booting a Linux kernel.
It is with the nested-npt patchset but the warning occurs without it too
(slightly different backtraces then).
[60390.953424] =======================================================
[60390.954324] [ INFO: possible circular locking dependency detected ]
[60390.954324] 2.6.34-rc5 #7
[60390.954324] -------------------------------------------------------
[60390.954324] qemu-system-x86/2506 is trying to acquire ...
| May 4, 2:37 am 2010 |
| Avi Kivity | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
Unrelated. This can take the lock and free it. It only shows up
because we do memory ops inside the mmu_lock, which is deeply forbidden
(anything which touches user memory, including kmalloc(), can trigger
Just a silly bug. kvm_pdptr_read() can cause a guest memory read on
Ever increasing complexity...
--
error compiling committee.c: too many arguments to function
--
| May 4, 2:45 am 2010 |
| Roedel, Joerg | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
Hmm, actually it happened on 32 bit with npt enabled. I think this
can trigger when mmu_alloc_roots is called for an pae guest because it
accidentially tries read the root_gfn from the guest before it figures
out that it runs with tdp and omits the gfn read from the guest.
I need to touch this for nested-npt and will look into a way improving
this.
Joerg
--
| May 4, 5:00 am 2010 |
| Avi Kivity | Re: [PATCH 16/22] KVM: MMU: Track page fault data in str ...
Yes. I had a patchset which moved the 'direct' calculation before, and
skipped root_gfn if it was direct, but it was broken. If you like I can
resurrect it, but it may interfere with your work.
--
error compiling committee.c: too many arguments to function
--
| May 4, 5:04 am 2010 |
| Pavel Machek | Re: 2.6.33-2.6.34-rc5 suspend issues
There's one bit that needs to be set to stay in the acpi mode, and
there's blacklist somewhere...?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| May 3, 9:18 pm 2010 |
| Nico Schottelius | Re: 2.6.33-2.6.34-rc5 suspend issues
Don't know if I should answer the question, but the problem also happens
on 2.6.34-rc6-00063-gbe1066b.
Now compiling v2.6.34-rc6-106-gd93ac51.
Cheers,
Nico
--
New PGP key: 7ED9 F7D3 6B10 81D7 0EC5 5C09 D7DC C8E4 3187 7DF0
Please resign, if you signed 9885188C or 8D0E27A4.
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...
| May 4, 7:47 am 2010 |
| Cong Wang | Re: 2.6.34-rc5-git7 -- INFO: possible circular locking d ...
Hmm, I see the problem now. Lockdep chose a wrong target to blame.
There is a circular locking between writing to cpufreq sysfs files and
suspend, the cpu offline notifier of cpufreq, i.e. cpufreq_cpu_callback()
also tries to remove an sysfs file while the cpufreq daemon is writing
an sysfs file.
Dave, any ideas about how to fix this?
Thanks.
--
| May 4, 3:46 am 2010 |
| Peter Zijlstra | Re: [RFC PATCH v2] nohz/sched: disable ilb on !mc_capable()
Right, so I think the !mc_capable() check is buggy, at the very least on
sparc64 which is 'creative' with its sched_domain maps.
I'm also not sure what a single socket AMD Magny-Cours will do.
On a single socket Nehalem we will have a non trivial sched_domain
because we also have the threads included.
I think we can only do your optimization for machines that end up having
--
| May 4, 6:14 am 2010 |
| Dominik Brodowski | Re: [RFC PATCH v2] nohz/sched: disable ilb on !mc_capable()
Is there an easy way to determine there's just a single sched_domain?
Best,
Dominik
--
| May 4, 1:14 pm 2010 |
| Yong Zhang | [PATCH V2] lockdep: reduce stack_trace usage
From 04395389820e89c0bd4bb57b939ec1882e0bb5da Mon Sep 17 00:00:00 2001
From: Yong Zhang <yong.zhang@windriver.com>
Date: Tue, 4 May 2010 14:16:48 +0800
Subject: [PATCH] lockdep: Reduce stack_trace usage
When calling check_prevs_add(), if all validations passed
add_lock_to_list() will add new lock to dependency tree and
alloc stack_trace for each list_entry. But at this time,
we are always on the same stack, so stack_trace for each
list_entry has the same value. This is redundant and eats ...
| May 3, 11:57 pm 2010 |
| Peter Zijlstra | Re: [PATCH V2] lockdep: reduce stack_trace usage
Right, this looks like it ought to do as intended.
I added the below snipped because I know I'll fail to remember and that
'static' qualifier is fairly easy to miss.
Thanks!
---
Index: linux-2.6/kernel/lockdep.c
===================================================================
--- linux-2.6.orig/kernel/lockdep.c
+++ linux-2.6/kernel/lockdep.c
@@ -1627,6 +1627,13 @@ check_prev_add(struct task_struct *curr,
int ret;
struct lock_list this;
struct lock_list ...
| May 4, 5:56 am 2010 |
| Yong Zhang | Re: [PATCH] lockdep: reduce stack_trace usage
I also want to avoid adding redundant trace in case of trylock.
Oh, Yes, this patch will not give result as expected. Thank you for pointing
No problem.
BTW, in case of trylock dependence, I will let check_prevs_add() carry a flag
to check_prev_add(). Thus, we can save more redundant trace. How do you
think about it?
Thanks,
--
| May 3, 11:37 pm 2010 |
| Tejun Heo | Re: [PATCH 3/4] scheduler: replace migration_thread with ...
Hello,
Hmmm... maybe I'm mistaken but isn't that guaranteed by
busiest->active_balance which is protected by the rq lock?
active_load_balance_cpu_stop is scheduled iff busiest->active_balance
was changed from zero and only active_load_balance_cpu_stop() can
clear it at the end of its execution at which point the
active_balance_work is safe to reuse.
Thanks.
--
tejun
--
| May 4, 12:17 am 2010 |
| Peter Zijlstra | Re: [PATCH 3/4] scheduler: replace migration_thread with ...
Ah, indeed. It wasn't obvious from looking at the patch, but when
looking at the full code it fairly easy to see.
--
| May 4, 5:45 am 2010 |
| Tejun Heo | Re: [PATCH 3/4] scheduler: replace migration_thread with ...
Hmmm... it's probably worthwhile to note tho. I'll add a comment and
send out the updated patches soon.
Thanks.
--
tejun
--
| May 4, 5:49 am 2010 |
| Tejun Heo | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Now that I think more about it, there's a subtle race condition with
the above BUG_ON(). Stoppers are prepared by CPU_UP_PREPARE and
started by CPU_ONLINE but brought down by CPU_DEAD. IOW, they're
allowed to run detached from their designated CPUs between CPU_DYING
and CPU_DEAD (the reponsibility of guaranteeing target cpus's onliness
is on the callers). So, the above BUG_ON() might trigger spuriously
if a cpu goes down after brought online before its cpu_stopper had a
chance to pass ...
| May 4, 12:03 am 2010 |
| Tejun Heo | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Hello,
Updated to use WARN_ONCE() w/ print the function symbol and argument.
Thanks.
--
tejun
--
| May 3, 11:36 pm 2010 |
| Tejun Heo | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Updated.
--
tejun
--
| May 3, 11:36 pm 2010 |
| Tejun Heo | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Hello,
Oh, I had code piece which wanted to discern between -ENOENT from
non-excution and -ENOENT return from the work function which seems
gone now. I'll check things again and drop ->executed if everything
looks okay.
Thanks.
--
tejun
--
| May 3, 11:40 pm 2010 |
| Tejun Heo | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Hello, again.
Eh... now I remember. If we start with ->ret = 0, stop_cpus() can't
return -ENOENT when none of the specified cpus executed without
tracking execution status (so the current code). If we start with
->ret = -ENOENT, we can't tell whether all cpus executed successfully
or none has executed unless we BUG_ON() -ENOENT return from work
functions and let 0 return override -ENOENT.
Thanks.
--
tejun
--
| May 3, 11:55 pm 2010 |
| Peter Zijlstra | Re: [PATCH 1/4] cpu_stop: implement stop_cpu[s]()
Ah indeed. A well, drop it then, its not worth making a more complicated
test.
--
| May 4, 1:43 am 2010 |
| Miao Xie | Re: [PATCH 1/2] mm: fix bugs of mpol_rebind_nodemask()
I updated it and remade a new patchset, could you review it for me?
Thanks
Miao
--
| May 4, 3:53 am 2010 |
| Marcelo Jimenez | Re: Suspicious compilation warning
Hi,
On Tue, Apr 20, 2010 at 20:07, Russell King - ARM Linux
Seems correct to me, Is there any idea when this gets committed?
Regards,
Marcelo.
--
| May 4, 10:35 am 2010 |
| Russell King - ARM Linux | Re: Suspicious compilation warning
What should be asked is whether it has been tested - if not, can we find
someone who can test and validate the change?
--
| May 4, 10:45 am 2010 |
| Marcelo Jimenez | Re: Suspicious compilation warning
On Tue, May 4, 2010 at 14:45, Russell King - ARM Linux
I can test it, but I need help to figure out the test itself. I am
porting the kernel 2.6 to nanoengine and my resources in that
environment are still rather limited, not to mention I have not
finished the PCI port, so I still have no network.
On the other hand, the current situation is clearly broken and your
solution can hardly be worse than having NR_SECTION_ROOTS == 0.
Regards,
Marcelo.
--
| May 4, 11:16 am 2010 |
| Arjan van de Ven | [PATCH 8/7] cpufreq: make the iowait-is-busy-time a sysf ...
On Tue, 27 Apr 2010 13:39:34 +0200
yup it makes sense to have a sysfs knob with a sane default value
From: Arjan van de Ven <arjan@linux.intel.com>
Subject: [PATCH] cpufreq: make the iowait-is-busy-time a sysfs tunable
Pavel Machek pointed out that not all CPUs have an efficient idle
at high frequency. Specifically, older Intel and various AMD cpus
would get a higher power usage when copying files from USB.
Mike Chan pointed out that the same is true for various ARM chips
as ...
| May 3, 8:48 pm 2010 |
| Willy Tarreau | Re: [PATCH 8/7] cpufreq: make the iowait-is-busy-time a ...
That's very nice Arjan. That way we'll be able to select between
performance and power savings, which is what most laptop users
want after all !
Thanks,
Willy
--
| May 3, 9:16 pm 2010 |
| Pavel Machek | May 3, 10:43 pm 2010 | |
| Rik van Riel | Re: [PATCH 8/7] cpufreq: make the iowait-is-busy-time a ...
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| May 4, 6:51 am 2010 |
| Robert Richter | Re: [PATCH] Oprofile: Change CPUIDS from decimal to hex, ...
John,
I don't want to change previous cpu models and keep it as it is. So I
am fine with updating i386/core_i7 and i386/atom to avoid mixed dec
and hex notations.
Please also remove the comments that describe the model as it will be
hard to maintain this, if there are questions one should read the
spec. So please also add some more details of the specification source
to the patch description, I think it is:
Table B-1. CPUID Signature Values of DisplayFamily_DisplayModel
in SDM Volume ...
| May 4, 7:03 am 2010 |
| Andi Kleen | Re: [PATCH] Oprofile: Change CPUIDS from decimal to hex, ...
Actually I tend to get it from the tables at the beginning of the
specification updates.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| May 4, 7:32 am 2010 |
| Greg KH | Re: [PATCHv3 0/7] The FunctionFS composite function
Yet your Subject says "v3" :)
Are you resending these again?
thanks,
greg k-h
--
| May 4, 10:32 am 2010 |
| Peter Zijlstra | Re: [osrc-patches] [PATCH 00/12] perf: introduce model s ...
Ok, I'm not a big fan of 5, but I guess there's no way around that
without adding lots more code.
--
| May 4, 7:18 am 2010 |
| Artem Bityutskiy | Re: [PATCHv2] MTD: Suppress warnings in inline_map_read()
Removed from my tree because this breaks compilation:
[dedekind@eru l2-mtd-2.6]$ make ARCH=arm O=/home/dedekind/tmp/l2-mtd-2.6-arm/
Using /home/dedekind/git/l2-mtd-2.6 as source for kernel
GEN /home/dedekind/tmp/l2-mtd-2.6-arm/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
CALL /home/dedekind/git/l2-mtd-2.6/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC [M] ...
| May 4, 6:04 am 2010 |
| Kevin Cernekee | Re: [PATCHv2] MTD: Suppress warnings in inline_map_read()
I did test my patch, but it didn't generate any warnings or errors on MIPS...
Could you please apply this patch and retry:
http://lists.infradead.org/pipermail/linux-mtd/2010-May/029904.html
<linux/bug.h> should probably be added anyway since there are two
other BUG statements in that file.
Thanks.
--
| May 4, 1:06 pm 2010 |
| Henrik Rydberg | Re: [PATCH] input: mt: introduce MT event slots
I see, thanks.
Henrik
--
| May 4, 2:41 pm 2010 |
| Dmitry Torokhov | Re: [PATCH] input: mt: introduce MT event slots
By ABS_MT_MAX I meant highest MT event currently defined. No need to go all
the way to ABS_MAX if there are no MT events defined there.
--
Dmitry
--
| May 4, 10:29 am 2010 |
| Henrik Rydberg | Re: [PATCH] input: mt: introduce MT event slots
Is it possible this was meant to read "ABS_MAX - ABS_MT_TOUCH_MAJOR"? It would
explain my confusion.
Henrik
--
| May 4, 12:57 am 2010 |
| Linus WALLEIJ | RE: [PATCH 00/11] ARM: PrimeCell DMA Interface v5
The latest patchset is now also tested on the ARM-RealView
PB11MPCore. My best friends over at Ericsson AB helped me
out by lending me their board for a short session.
See bootlog below...
- UART console comes up fine and is interactive
- MMCI card mounts and you can list and copy files
No DMA in use since the PL081 in this machine does not
have a driver yet, but no regressions in sight.
This should be similar to Versatile or Integrator.
Is this OK now Russell?
Yours,
Linus ...
| May 4, 6:05 am 2010 |
| Konrad Rzeszutek Wilk | Re: [LKML] [PATCH] swiotlb 0.7: separation of physical a ...
Hey Fujita-san,
I was wondering if you had the opportunity to review the patches?
Cheers,
Konrad
--
| May 4, 9:41 am 2010 |
| Kyungmin Park | Re: [PATCH] MAINTAINERS: arch/arm/s3c and arch/arm/s5p
I agree. then how about the Marek, even though LSI want it. they don't
have enough experience with open source works. you can see the recent
their works at their git. but we are trying to modify and make a patch
with open source style.
Also we setup the public git for open source
Thank you,
Kyungmin Park
--
| May 3, 7:17 pm 2010 |
| Ben Dooks | Re: [PATCH] MAINTAINERS: arch/arm/s3c and arch/arm/s5p
I thought the System LSI group where wanting to maintain this, which is
why I've been holding off making any comment about what is going on.
Personally, I would like to see a co-maintainership between myself
--
--
Ben
Q: What's a light-year?
A: One-third less calories than a regular year.
--
| May 3, 5:46 pm 2010 |
| Jean Delvare | Re: [lm-sensors] [PATCH v2] hwmon: driver for TI tmp102 ...
Steven,
If you do not reply, I will do all the suggested changes myself and
push the driver upstream.
--
Jean Delvare
--
| May 4, 2:36 am 2010 |
| Florian Fainelli | Re: [PATCH] Inotify: Fix build failure in inotify user support
Hi,
Ralf's patch fixes the issue for me.
--
| May 4, 1:09 am 2010 |
| Bastien Nocera | Re: [PATCH] Disable i8042 checks on Intel Apple Macs
Hey Dmitry,
On Tue, 2010-05-04 at 10:23 -0700, Dmitry Torokhov wrote:
Re-sent to linux-input with you on CC:.
Cheers
--
| May 4, 10:37 am 2010 |
| Bastien Nocera | Re: [PATCH] Disable i8042 checks on Intel Apple Macs
Doesn't seem to make any difference. It still hangs after saying:
PNP: No PS/2 controller found. Probing ports directly.
The patch looks like:
udelay(50);
+ if (str == 0xff)
+ continue;
data = i8042_read_data();
Not sure that's what you meant above.
Pressing the power button doesn't make it carry on for me, as it used
to. Let me know if there's anything more you want me to try.
In the meantime, I'll try to get my original patch into my ...
| May 4, 10:06 am 2010 |
| Dmitry Torokhov | Re: [PATCH] Disable i8042 checks on Intel Apple Macs
Mind resending the original patch? Apparently current situation causes
issues and I guess DMI is not the wost way of taking care of it.
--
Dmitry
--
| May 4, 10:23 am 2010 |
| Steven Rostedt | Re: [PATCH] tracing: Make the documentation clear on tra ...
Going through old email, I came across this. Looks like it was never
applied, I'll pull it in. I think I was on vacation when this was
received, and got lost it the masses.
Sorry for the --very-- late response.
-- Steve
--
| May 4, 1:24 pm 2010 |
| Rusty Russell | Re: [PULL] param sysfs oops (simple, leaky) fix, bool ar ...
Yep!
Cheers,
Rusty.
--
| May 3, 7:23 pm 2010 |
| Artem Bityutskiy | Re: [PULL] param sysfs oops (simple, leaky) fix, bool ar ...
Are you working/planning to work on fixing this regression?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
| May 4, 11:07 am 2010 |
| previous day | today | next day |
|---|---|---|
| May 3, 2010 | May 4, 2010 | May 5, 2010 |
