| From | Subject | Date |
|---|---|---|
| Linus Torvalds | [RFC] mlock/stack guard interaction fixup
Ian (and others),
here's a three-patch series that uses the doubly linked list to do
your mlock() case hopefully correctly.
NOTE! It's untested. The first patch (which is the slightly scary one)
is tested to some degree, the two other ones I checked that they
compile, but that's it.
I'm not going to apply them to my main tree unless they get testing
and acks. And as mentioned, I've not done any of the changes that
having a vm_prev pointer can allow in other places.
Comments? Fixes? ...
| Aug 20, 4:59 pm 2010 |
| runcoderen | version.h
hi all:
the LDD 3rd edition is based on linux-2.6.10.
Thus I downloaded the special kernel code.
but it can't find the version.h file.
the path I try to find is linux-2.6.10/include/linux
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
--
| Aug 20, 4:40 pm 2010 |
| Joe Perches | [PATCH wireless-next] net/mac80211: Use wiphy_<level>
Standardize logging messages from
printk(KERN_<level> "%s: " fmt , wiphy_name(foo), args);
to
wiphy_<level>(foo, fmt, args);
Signed-off-by: Joe Perches <joe@perches.com>
---
net/mac80211/cfg.c | 6 +++---
net/mac80211/debugfs.c | 6 ++++--
net/mac80211/ibss.c | 4 ++--
net/mac80211/iface.c | 6 ++----
net/mac80211/key.c | 14 ++++++--------
net/mac80211/main.c | 15 +++++++--------
net/mac80211/mlme.c | 17 +++++++++--------
...
| Aug 20, 4:25 pm 2010 |
| Roland McGrath | [PATCH] uml: fix CONFIG_STATIC_LINK=y build failure with ...
The following changes since commit 36423a5ed5e4ea95ceedb68fad52965033e11639:
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (2010-08-20 14:25:08 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/frob/linux-2.6-roland.git uml/ld-irel
Roland McGrath (1):
uml: fix CONFIG_STATIC_LINK=y build failure with newer glibc
arch/um/kernel/dyn.lds.S | 14 ++++++++++++--
...
| Aug 20, 4:09 pm 2010 |
| Changli Gao | [PATCH v5 2/2] netfilter: save the hash of the tuple in ...
Since we don't change the tuple in the original direction, we can save it
in ct->tuplehash[IP_CT_DIR_REPLY].hnode.pprev for __nf_conntrack_confirm()
use.
__hash_conntrack() is split into two steps: ____hash_conntrack() is used
to get the raw hash, and __hash_bucket() is used to get the bucket id.
In SYN-flood case, early_drop() doesn't need to recompute the hash again.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
v5: respin it due to the change of 1/2.
v4: init rnd when allocating ...
| Aug 20, 3:49 pm 2010 |
| Kevin Vigor | PATCH: dangling pointer when switching to noop elevator ...
Linux 2.6.35 introduced a test in the beginning of elevator_init(), like
so:
if (unlikely(q->elevator))
return 0;
So the following code sequence, which appears in two (obscure) block
drivers is now a serious error:
elevator_exit(q);
elevator_init(q, "noop");
The intent is to cleanup the default system elevator and replace it with
the noop elevator. Instead, elevator_exit() frees the existing elevator
object, but leaves q->elevator pointing to it; ...
| Aug 20, 2:25 pm 2010 |
| Mathieu Desnoyers | [RELEASE] LTTng 0.224 for linux 2.6.35.2 (git tree patch fix)
Hi,
LTTng 0.224 fixes socket instrumentation in the LTTng git tree: the patch hunk
management seems to differ slightly between quilt and git (hunks were at the
wrong offset when I rebased with quilt, but there was no fuzz), so only the git
tree showed this problem.
I guess quilt and git call patch with slightly different parameters. I simply
refreshed the patches with quilt and everything is fine now.
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS ...
| Aug 20, 2:28 pm 2010 |
| Jeff Mahoney | [patch 00/10] ioctls: Convert ten architectures to asm-g ...
Around the time of the 32-/64-bit x86 merge, asm-generic/ioctls.h was
created. It was modeled after the x86 version and new architectures are
encouraged to use it.
It turns out that ten other architectures have done essentially the same
thing, but by copying it instead. This series of patches updates those
architectures to use the generic version.
There were a few differences between the arch-specific versions and the
generic one, but none problematic enough to preclude this ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 01/10] ioctl: Use asm-generic/ioctls.h on arm (en ...
This patch converts arm to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- ARM defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
- The generic version adds support for termiox
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
arch/arm/include/asm/ioctls.h | 83 ...
| Aug 20, 2:14 pm 2010 |
| Arnd Bergmann | Re: [patch 00/10] ioctls: Convert ten architectures to a ...
Note that AFAICT there is not a single device driver that implements
the {set,get}_termiox functions, but enablign it does add extra code.
Alan added the infrastructure two years ago (see below), but it
seems we never adopted the use, or all the drivers using it were
already phased out again in the meantime.
I very much welcome making all architectures use the asm-generic/ioctls.h
file, that's why I added it in the first place. Whether or not we
actually want to have termiox support enabled ...
| Aug 20, 3:22 pm 2010 |
| Jeff Mahoney | [patch 02/10] ioctl: Use asm-generic/ioctls.h on avr32 ( ...
This patch converts avr32 to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- The generic version adds support for termiox
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
arch/avr32/include/asm/ioctls.h | 86 ----------------------------------------
1 file changed, 1 insertion(+), 85 ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 10/10] ioctl: Use asm-generic/ioctls.h on s390 (e ...
This patch converts s390 to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- S390 defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
- The generic version adds TIOCGRS485 and TIOCGRS485, which are unused
by any driver available on this architecture
- The generic version adds support for termiox
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 05/10] ioctl: Use asm-generic/ioctls.h on h8300 ( ...
This patch converts h8300 to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- H8300 defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
- The generic version adds TIOCSRS485 and TIOGSRS485, but are unused
by any driver available on this architecture.
- The generic version adds support for termiox
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Greg Kroah-Hartman ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 09/10] ioctl: Use asm-generic/ioctls.h on mn10300 ...
This patch converts mn10300 to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- The generic version provides TIOCGRS485 and TIOCSRS485 but they
are unused by any driver available for this architecture.
- The generic version adds support for termiox
Cc: David Howells <dhowells@redhat.com>
Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
Cc: Greg Kroah-Hartman ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 08/10] ioctl: Use asm-generic/ioctls.h on m68k (e ...
This patch converts m68k to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- m68k defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
- The generic version adds TIOCSRS485 and TIOCGRS485m which are unused
by any driver available on this architecture.
- The generic version adds support for termiox
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | Re: [patch 04/10] ioctl: Use asm-generic/ioctls.h on frv ...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Agreed.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/
iEYEARECAAYFAkxvBZYACgkQLPWxlyuTD7I6DwCeP4N3tAiD1VB3S215KzyckOO6
0NAAoI2qtv6aKz6yDl4dQdBatOLENEwh
=Cnn1
-----END PGP SIGNATURE-----
--
| Aug 20, 3:45 pm 2010 |
| Arnd Bergmann | Re: [patch 04/10] ioctl: Use asm-generic/ioctls.h on frv ...
Pointless, this was removed by the other architecture, and the
same change should be done here, possibly in a separate patch.
Arnd
--
| Aug 20, 3:24 pm 2010 |
| Jeff Mahoney | [patch 04/10] ioctl: Use asm-generic/ioctls.h on frv (en ...
This patch converts frv to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- FRV defines its own value for FIOQSIZE, asm-generic/ioctls.h keeps it
- FRV defines TIOCTTYGSTRUCT, kept in arch-specific version
- The generic version provides TIOCGRS485 and TIOCSRS485 but they
are unused by any driver available for this architecture.
- The generic version adds support for termiox
Cc: David Howells ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 06/10] ioctl: Use asm-generic/ioctls.h on ia64 (e ...
This patch converts ia64 to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- The generic version adds TIOCSRS485 and TIOCGRS485, which are unused
by any driver available on this architecture.
- The generic version adds support for termiox
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 03/10] ioctl: Use asm-generic/ioctls.h on cris (e ...
This patch converts cris to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- CRIS defines two ioctls: TIOCSERSETRS485 and TIOCSERWRRS485,
kept in arch-specific portion
- CRIS defines a different value for TIOCSRS485, kept via ifndef in generic
- The generic version adds support for termiox
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Greg ...
| Aug 20, 2:14 pm 2010 |
| Jeff Mahoney | [patch 07/10] ioctl: Use asm-generic/ioctls.h on m32r (e ...
This patch converts m32r to use asm-generic/ioctls.h instead of its
own version.
The differences between the arch-specific version and the generic
version are as follows:
- The generic version adds TIOCGRS485 and TIOCGRS485, which are unused by
any driver available on this architecture.
- The generic version adds support for termiox
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
...
| Aug 20, 2:14 pm 2010 |
| Jeffrey Merkey | [ANNOUNCE] Open CWorthy Packet Generator for Linux 08-20-2010
CURRENT
http://open-cworthy-linux-packet-generator.googlecode.com/files/cwgen-08-20-2010.tar.gz
REPOSITORIES
http://code.google.com/p/open-cworthy-linux-packet-generator/
http://sourceforge.net/projects/cworthypktgen/
FIXES
- add Pause/Active states to CWGEN packet generator on Linux
- add more stats into in cwmon packet generator console on Linux
- test on 2.6.35.1 and 2.6.35.2
--
| Aug 20, 2:15 pm 2010 |
| Jeffrey Merkey | [ANNOUNCE] Open CWorthy Libraries 08-20-2010
CURRENT
http://cworthylinux.googlecode.com/files/cworthy-08-20-2010.tar.gz
REPOSITORIES
http://code.google.com/p/cworthylinux/
http://sourceforge.net/projects/opencworthy/
FIXES
- add DOS makefiles and test on DJGPP compiler and DOS
- add Windows makefiles and test with Microsoft 7 SDK on Vista
- add Pause/Active states to CWGEN packet generator on Linux
- add more stats into in cwmon packet generator console on Linux
- test on 2.6.35.1 and 2.6.35.2
--
| Aug 20, 2:12 pm 2010 |
| Jeffrey Merkey | [ANNOUNCE] MDB Merkey's Linux Kernel Debugger 2.6.35.2 x ...
CURRENT
http://merkeydebugger.googlecode.com/files/mdb-2.6.35.2-x86_64-08-19-2010.patch
REPOSITORY
http://code.google.com/p/merkeydebugger/
http://sourceforge.net/projects/merkeydebugger/
FIXES:
- port to 2.6.35.2 and test
- fix patch delta changes and Fuzz warnings.
Jeff Merkey
--
| Aug 20, 2:09 pm 2010 |
| T Dent | [PATCH 5/8] Staging: rtl8187se: r8180_hw: fixed alot che ...
From 9d7067af5b1b157e653c58f2f98553442aa014e5 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 10:34:06 -0400
Subject: [PATCH 5/8] Staging: rtl8187se: r8180_hw: fixed alot
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.co,
---
drivers/staging/rtl8187se/r8180_hw.h | 432 +++++++++++++++++-----------------
1 files changed, 221 insertions(+), 211 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 8/8] Staging: rtl8187se: r8185b_init: fixed alot ...
From 8d4d4725e5c1c2d17e715b4e9b083af7174774a1 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 16:26:42 -0400
Subject: [PATCH 8/8] Staging: rtl8187se: r8185b_init: fixed alot of
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/staging/rtl8187se/r8185b_init.c | 1509 +++++++++++++++----------------
1 files changed, 716 insertions(+), 793 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 7/8] Staging: rtl8187se: r8180_wx: fixed alot of ...
From d786a0d10b21b4a3b13053f7b89d7c3ed3457c8a Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 13:18:09 -0400
Subject: [PATCH 7/8] Staging: rtl8187se: r8180_wx: fixed alot of
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@yahoo.com>
---
drivers/staging/rtl8187se/r8180_wx.c | 722 +++++++++++++++++-----------------
1 files changed, 354 insertions(+), 368 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 6/8] Staging: rtl8187se: r8180_rtl8225: fixed alo ...
From 1f445528c7fed22259e6bdc110a1d18ffb7f74a1 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 10:41:50 -0400
Subject: [PATCH 6/8] Staging: rtl8187se: r8180_rtl8225: fixed alot
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/staging/rtl8187se/r8180_rtl8225.h | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 4/8] Staging: rtl8187se: r8180_dm.h: fixed alot c ...
From 70dfb5566dca4997d5e886280d110715bcd787e5 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 09:47:59 -0400
Subject: [PATCH 4/8] Staging: rtl8187se: r8180_dm.h: fixed alot
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/staging/rtl8187se/r8180_dm.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 3/8] Staging: rtl8187se: r8180_dm: fixed alot che ...
From 61e13d036fa8d0bf37f230ba14cb40b53f73f337 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Fri, 20 Aug 2010 00:35:48 -0400
Subject: [PATCH 3/8] Staging: rtl8187se: r8180_dm: fixed alot
checkpatch.pl issues
Fixed numerous codinf style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@yahoo.com>
---
drivers/staging/rtl8187se/r8180_dm.c | 1911 ++++++++++++++++------------------
1 files changed, 885 insertions(+), 1026 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 0/8] Staging: rtl8187se: fixed checkpatch.pl codi ...
I have fixed numerous Linux kernel coding style issues using
checkpatch.pl with the help of the video that Greg Kroah-Hartman
lecture on about writing and sending your first patch.
I corrected 3260 warnings, 236 errors, and deleted 231 lines of
unnecessary code which still keeps the code readability.
--
Tracey Dent
--
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 2/8] Staging: rtl8187se: r8180_core: fixed alot o ...
From df0d81636e05d3a1047b1568070780dedbfeed3b Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Thu, 19 Aug 2010 17:09:42 -0400
Subject: [PATCH 2/8] Staging: rtl8187se: r8180_core: fixed alot of
checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/staging/rtl8187se/r8180_core.c | 94 ++++++++++++++++----------------
1 files changed, 46 insertions(+), 48 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| T Dent | [PATCH 1/8] Staging: rtl8187se: r8180: fixed alot checkp ...
From 73dfcd936fcacb6f1dce184e21b177c9fa4797d5 Mon Sep 17 00:00:00 2001
From: Tracey Dent <Tdent48227@gmail.com>
Date: Thu, 19 Aug 2010 16:13:48 -0400
Subject: [PATCH 1/8] Staging: rtl8187se: r8180: fixed alot checkpatch.pl issues
Fixed numerous coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
drivers/staging/rtl8187se/r8180.h | 537 ++++++++++++++++++-------------------
1 files changed, 265 insertions(+), 272 deletions(-)
diff --git ...
| Aug 20, 2:00 pm 2010 |
| Greg KH | Linux 2.6.35.3
I'm announcing the release of the 2.6.35.3 kernel.
All users of the 2.6.35 kernel series must upgrade.
The updated 2.6.35.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.35.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
arch/x86/kernel/cpu/vmware.c | 1 ...
| Aug 20, 1:49 pm 2010 |
| Greg KH | Re: Linux 2.6.35.3
diff --git a/Makefile b/Makefile
index 3cf2397..554683d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 35
-EXTRAVERSION = .2
+EXTRAVERSION = .3
NAME = Sheep on Meth
# *DOCUMENTATION*
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 227b044..ce9c6c2 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -23,6 +23,7 @@
#include <linux/dmi.h>
#include <linux/module.h>
+#include ...
| Aug 20, 1:49 pm 2010 |
| Greg KH | Linux 2.6.34.5
I'm announcing the release of the 2.6.34.5 kernel.
All users of the 2.6.34 kernel series must upgrade. Actually, you
should switch to the .35 kernel releases, as there is only going to be
one more .34-stable kernel release after this one. Really, I mean it
this time :)
The updated 2.6.34.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.34.y.git
and can be browsed at the normal kernel.org git web browser:
...
| Aug 20, 1:47 pm 2010 |
| Greg KH | Re: Linux 2.6.34.5
diff --git a/Makefile b/Makefile
index 335df5f..10c5a85 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 34
-EXTRAVERSION = .4
+EXTRAVERSION = .5
NAME = Sheep on Meth
# *DOCUMENTATION*
diff --git a/arch/x86/kernel/cpu/vmware.c b/arch/x86/kernel/cpu/vmware.c
index 562d5f0..e44e02d 100644
--- a/arch/x86/kernel/cpu/vmware.c
+++ b/arch/x86/kernel/cpu/vmware.c
@@ -23,6 +23,7 @@
#include <linux/dmi.h>
#include <linux/module.h>
+#include ...
| Aug 20, 1:48 pm 2010 |
| Greg KH | Linux 2.6.32.20
I'm announcing the release of the 2.6.32.20 kernel.
All users of the 2.6.32 kernel series must upgrade.
The updated 2.6.32.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
fs/proc/task_mmu.c | 8 +++++++-
...
| Aug 20, 1:46 pm 2010 |
| Greg KH | Re: Linux 2.6.32.20
diff --git a/Makefile b/Makefile
index 64e538c..ad4d191 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
-EXTRAVERSION = .19
+EXTRAVERSION = .20
NAME = Man-Eating Seals of Antiquity
# *DOCUMENTATION*
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 366b101..899145d 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -206,6 +206,7 @@ static void show_map_vma(struct seq_file *m, struct vm_area_struct *vma)
int flags ...
| Aug 20, 1:46 pm 2010 |
| Greg KH | Linux 2.6.27.52
I'm announcing the release of the 2.6.27.52 kernel. All users of the
2.6.27 kernel series are very strongly encouraged to upgrade.
The updated 2.6.27.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 +-
arch/x86/mm/fault.c ...
| Aug 20, 1:43 pm 2010 |
| Greg KH | Re: Linux 2.6.27.52
diff --git a/Makefile b/Makefile
index 5382c55..948de60 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 27
-EXTRAVERSION = .51
+EXTRAVERSION = .52
NAME = Trembling Tortoise
# *DOCUMENTATION*
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 3384255..9d3c576 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -589,6 +589,7 @@ void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)
unsigned long ...
| Aug 20, 1:43 pm 2010 |
| Bruno Prémont | [2.6.36 regression] Under linux console gpm cursor now g ...
Somewhere between 2.6.35 and Linus's tree as of this writing gpm
started moving its cursor to the opposite direction of mouse movement.
e.g. moving mouse up causes cursor to move down, moving mouse left
causes cursor to go right
Under 2.6.35 the cursor moved into the same direction as the mouse.
Note, mouse is synaptics touchpad (Acer TravelMate660):
Synaptics Touchpad, model: 1, fw: 5.8, id: 0x9d48b1, caps: 0x904713/0x4006/0x0
When I get around to it I will try to get more ...
| Aug 20, 1:33 pm 2010 |
| H. Peter Anvin | [GIT PULL] x86 fixes for 2.6.36-rc2
Hi Linus,
The following changes since commit 763008c4357b73c8d18396dfd8d79dc58fa3f99d:
Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 (2010-08-18 15:45:23 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus
Borislav Petkov (1):
x86, hotplug: Serialize CPU hotplug to avoid bringup concurrency issues
Daniel Kiper (1):
x86, apic: Fix apic=debug boot crash
H. ...
| Aug 20, 1:13 pm 2010 |
| David Brownell | Re: [PATCH] rndis: section mismatch fix
Yeah, some folk have been aggressively adding bloat
to the gadget stack, starting by forcing init-only
code to stick in memory all the time, and this kind
of link bug is a symptom of code they've touched but
not fixed fully.
For now I don't see any option beyond accepting the
bloat. Part of it is caused by non-USB tools which
also promote bloat, ignoring the fact that embedded
Linux tends not to have MegaBytes of RAM (or flash)
to waste, in the way that most x86 systems do.
--
| Aug 20, 12:34 pm 2010 |
| Timur Tabi | [PATCH] hvc_console: fix dropping of characters when out ...
hvc_console_print() calls the HVC client driver's put_chars() callback
to write some characters to the console. If the callback returns 0, that
indicates that no characters were written (perhaps the output buffer is
full), but hvc_console_print() treats that as an error and discards the
rest of the buffer.
So change hvc_console_print() to just loop and call put_chars() again if it
returns a 0 return code.
This change makes hvc_console_print() behave more like hvc_push(), which
does check ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 0/7] Yet more RCU commits queued for ...
Hello!
This patchset shows additional patches queued for 2.6.37, over
and above those posted at http://lkml.org/lkml/2010/7/14/334 and
at http://lkml.org/lkml/2010/8/9/332. These are all trivial fixes.
The patches are as follows:
1. Allow kernel debuggers to avoid spurious RCU CPU stall warnings
when restarting from a breakpoint via a new rcu_cpu_stall_reset().
2. Repair code-duplication FIXMEs. This code was temporarily
duplicated to avoid inter-patch dependencies in the RCU ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 3/7] rcu: document ways of stalling ...
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
Documentation/RCU/checklist.txt | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/Documentation/RCU/checklist.txt b/Documentation/RCU/checklist.txt
index c7c6788..0c134f8 100644
--- a/Documentation/RCU/checklist.txt
+++ b/Documentation/RCU/checklist.txt
@@ -218,13 +218,22 @@ over a rather long period of time, but improvements are always welcome!
include:
a. Keeping a count of ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 4/7] rcu: Upgrade srcu_read_lock() d ...
It is illegal to wait for an SRCU grace period while within the
corresponding flavor of SRCU read-side critical section. Therefore,
this commit updates the srcu_read_lock() docbook accordingly.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/srcu.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/include/linux/srcu.h b/include/linux/srcu.h
index 6f456a7..58971e8 100644
--- a/include/linux/srcu.h
+++ b/include/linux/srcu.h
@@ ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 1/7] rcu: permit suppressing current ...
When using a kernel debugger, a long sojourn in the debugger can get
you lots of RCU CPU stall warnings once you resume. This might not be
helpful, especially if you are using the system console. This patch
therefore allows RCU CPU stall warnings to be suppressed, but only for
the duration of the current set of grace periods.
This differs from Jason's original patch in that it adds support for
tiny RCU and preemptible RCU, and uses a slightly different method for
suppressing the RCU CPU stall ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 6/7] rcu: apply TINY_PREEMPT_RCU rea ...
Replace one of the ACCESS_ONCE() calls in each of __rcu_read_lock()
and __rcu_read_unlock() with barrier() as suggested by Steve Rostedt in
order to avoid the potential compiler-optimization-induced bug noted by
Mathieu Desnoyers.
Located-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
kernel/rcutree_plugin.h | 6 ++++--
1 files changed, 4 insertions(+), 2 ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 2/7] rcu: repair code-duplication FIXMEs
Combine the duplicate definitions of ULONG_CMP_GE(), ULONG_CMP_LT(),
and rcu_preempt_depth() into include/linux/rcupdate.h.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rcupdate.h | 15 +++++++++++++++
include/linux/rcutiny.h | 7 -------
include/linux/rcutree.h | 6 ------
kernel/rcutiny_plugin.h | 4 ----
kernel/rcutree.h | 3 ---
5 files changed, 15 insertions(+), 20 deletions(-)
diff --git a/include/linux/rcupdate.h ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 7/7] rcu: add comment stating that l ...
Because list_empty() does not dereference any RCU-protected pointers, and
further does not pass such pointers to the caller (so that the caller
does not dereference them either), it is safe to use list_empty() on
RCU-protected lists. There is no need for a list_empty_rcu(). This
commit adds a comment stating this explicitly.
Requested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
include/linux/rculist.h | 9 +++++++++
1 ...
| Aug 20, 11:45 am 2010 |
| Paul E. McKenney | [PATCH tip/core/rcu 5/7] rcu: combine duplicate code, co ...
The CONFIG_PREEMPT_RCU kernel configuration parameter was recently
re-introduced, but as an indication of the type of RCU (preemptible
vs. non-preemptible) instead of as selecting a given implementation.
This commit uses CONFIG_PREEMPT_RCU to combine duplicate code
from include/linux/rcutiny.h and include/linux/rcutree.h into
include/linux/rcupdate.h. This commit also combines a few other pieces
of duplicate code that have accumulated.
Signed-off-by: Paul E. McKenney ...
| Aug 20, 11:45 am 2010 |
| Ari Lemmke | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
Hello,
I'm using SCST in my private and work projects.
Following scst-developer and what I have noticed there are quite a many
capable developers and Vlad (semi-Linus ;-) who directs the lot.
The system is stable, easy to use, and even easily portable to RH
"old-new" kernel.
Clearly one of the best subsystems for Linux kernel.
//arl
http://www.arl.fi/
--
| Aug 20, 10:40 am 2010 |
| Randy Dunlap | Re: [PATCH] backlight: 88pm860x_bl: fix build failure
fails as in an error, not just a warning?
I see this:
drivers/video/backlight/88pm860x_bl.c:24:1: warning: "CURRENT_MASK" redefined
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 20, 11:27 am 2010 |
| Henrik Kretzschmar | [PATCH] backlight: 88pm860x_bl: fix build failure
On x86_64 system this driver fails to build, since theres already a
macro called CURRENT_MASK in arch/asm/include/page_64_types.h
So I renamed this macro to BL_CURRENT_MASK to aviod a collision.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
This patch is against Linux tree and tested.
drivers/video/backlight/88pm860x_bl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/video/backlight/88pm860x_bl.c ...
| Aug 20, 11:01 am 2010 |
| Henrik Kretzschmar | [PATCH] rndis: section mismatch fix
This patch removes the following section mismatch warning,
by moving the function rndis_init() from .init.text to .text.
WARNING: vmlinux.o(.text+0x1aeca5a): Section mismatch in reference from the function rndis_bind_config() to the function .init.text:rndis_init()
The function rndis_bind_config() references
the function __init rndis_init().
This is often because rndis_bind_config lacks a __init
annotation or the annotation of rndis_init is wrong.
Signed-off-by: Henrik Kretzschmar ...
| Aug 20, 10:57 am 2010 |
| Luck, Tony | [RFC - PATCH] leave guard page for upwardly growing stacks too
In commit 320b2b8de12698082609ebbc1a17165727f4c893
mm: keep a guard page below a grow-down stack segment
we prevented stacks from growing downwards into other vma areas.
But some arhictectures (ia64 and pa-risc) have stacks that
grow upwards. Provide the same protection for them.
Signed-off-by: Tony Luc <tony.luck@intel.com>
---
Pointed out to me by Matthew Wilcox.
DANGER, DANGER - NOT TESTED on pa-risc yet DO NOT APPLY WITHOUT AN ACK FROM PA-RISC LAND!
Are there any other ...
| Aug 20, 10:56 am 2010 |
| Henrik Kretzschmar | [PATCH 1/4] fbdev: fix section mismatches in q40fb.c
This patch moves the q40_fix and q40_var structures from .init.data
to .devinit.data.
This is where now the probe function resides, which only uses them.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
This patch is against Linus tree and is not compile tested.
It would be nice if someone with a m68k toolchain could test this
and tell if it works like expected.
drivers/video/q40fb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git ...
| Aug 20, 10:13 am 2010 |
| Vincent Cheng Hoi | (No subject)
I am Mr. Vincent Cheng Hoi Chuen, GBS, JP Chairman of the Hong Kong
and Shanghai Banking Corporation Limited. I have a business proposal
of Twenty Two million Five Hundred Thousand United State Dollars only
for you to transact with me from my bank to your country.
All confirmable documents to back up the claims will be made available
to you prior to your acceptance and as soon as I receive your return
mail Via my email address:choi_chu223@yahoo.co.jp and I will let you
know ...
| Aug 20, 9:49 am 2010 |
| Christine.Rey-Caillat | Western Union
Good day,
My working partner has helped me to send your
first payment of US$7,500 to you as
instructed by Mr. David Cameron and will
keep sending you US$7,500 twice a week until
the payment of (US$360,000) is completed
within six months and here is the information
below:
MONEY TRANSFER CONTROL NUMBER (MTCN):
522-905-9427
SENDER'S NAME: Mr. Mark Daniel
AMOUNT: US$7,500
To track your funds forward Western Union
Money Transfer agent your Full Names and
Mobile Number via Email ...
| Aug 20, 9:33 am 2010 |
| Mathieu Desnoyers | [RELEASE] LTTng 0.223 for Linux 2.6.35.2
Hi,
I just released LTTng 0.223 for Linux 2.6.35.2. As usual, the port mostly
involved rebasing the instrumentation on the kernel head and following mainline
changes to tracepoint.h.
Thanks,
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
| Aug 20, 9:26 am 2010 |
| Hiroshi DOYU | Re: [PATCH] omap:iommu-load cam register before flushing ...
Hi Hari,
From: ext Hari Kanigeri <h-kanigeri2@ti.com>
Subject: [PATCH] omap:iommu-load cam register before flushing the entry
--
| Aug 20, 9:25 am 2010 |
| Grant Likely | Re: [PATCH 1/2] spi/spi_s3c64xx: Make probe more robust ...
Both patches applied, thanks.
--
| Aug 20, 1:46 pm 2010 |
| Mark Brown | [PATCH 1/2] spi/spi_s3c64xx: Make probe more robust agai ...
The S3C64xx SPI driver requires the machine to call s3c64xx_spi_set_info()
to select a few options, including the clock to use for the SPI controller.
If this is not done then a NULL will be passed as the clock name for
clk_get(), causing an obscure crash. Guard against this and other missing
configuration by validating that the clock name has been filled in in
the platform data that ets passed in.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/spi/spi_s3c64xx.c | ...
| Aug 20, 9:17 am 2010 |
| Mark Brown | [PATCH 2/2] spi/spi_s3c64xx: Staticise non-exported functions
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
drivers/spi/spi_s3c64xx.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi_s3c64xx.c b/drivers/spi/spi_s3c64xx.c
index a0b63b7..7e627f7 100644
--- a/drivers/spi/spi_s3c64xx.c
+++ b/drivers/spi/spi_s3c64xx.c
@@ -447,8 +447,8 @@ static void s3c64xx_spi_config(struct s3c64xx_spi_driver_data *sdd)
writel(val, regs + S3C64XX_SPI_CLK_CFG);
}
-void s3c64xx_spi_dma_rxcb(struct ...
| Aug 20, 9:17 am 2010 |
| Changli Gao | [PATCH v4 2/2] netfilter: save the hash of the tuple in ...
Since we don't change the tuple in the original direction, we can save it
in ct->tuplehash[IP_CT_DIR_REPLY].hnode.pprev for __nf_conntrack_confirm()
use.
__hash_conntrack() is split into two steps: ____hash_conntrack() is used
to get the raw hash, and __hash_bucket() is used to get the bucket id.
In SYN-flood case, early_drop() doesn't need to recompute the hash again.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
v4: init rnd when allocating conntrack.
v3: define static variable rnd ...
| Aug 20, 9:07 am 2010 |
| Miles Lane | 2.6.35-rc1-git2 -- ACPI Error: Attempt to CreateField of ...
As far as I know, this problem is not a regression. I suppose I could
try building an old kernel tree (2.6.30 or suchlike).
The problem still show up in the current Linus tree (2.6.36-rc1-git2.
Miles
--
| Aug 20, 8:53 am 2010 |
| Takashi Iwai | [PATCH] agp/intel: Fix dma mask for Sandybridge
Sandybridge requires 36bit dma mask, but the current code checks only
against i965, thus it gives Oops with i915 probing on 32bit machine:
nommu_map_sg: overflow 14a000000+4096 of device mask ffffffff
[drm:drm_agp_bind_pages] *ERROR* Failed to bind AGP memory: -12
BUG: unable to handle kernel paging request at fffffff8
IP: [<f7fac57f>] i915_gem_evict_something+0xef/0x230 [i915]
...
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
drivers/char/agp/intel-agp.c | 3 ++-
1 ...
| Aug 20, 8:36 am 2010 |
| Dan Magenheimer | cleancache followup from LSF10/MM summit
Hi Christophe (and others interested in cleancache progress) --
Thanks for taking some time to talk with me about cleancache
at LSF summit! You had some interesting thoughts and suggestions
that I said I would investigate. They are:
1) use inode kva as key instead of i_ino
2) eliminate cleancache shim and call zcache directly
3) fs's requiring key > inode_t (e.g. 64-bit-fs on 32-bit-kernel)
4) eliminate fs-specific code entirely (e.g. "opt-in")
5) eliminate global variable
Here's my ...
| Aug 20, 8:14 am 2010 |
| Torsten Kaiser | 2.6.36-rc1 hangs during XFS barrier test for /
Hello,
after installing 2.6.36-rc1 my system gets stuck during "Mounting root..."
I'm using an initramfs to mount the root fs, because I'm using a
stacked setup with md (raid1) -> dm-crypt -> xfs.
Strange side effect: sometimes the cursor stops blinking for a few
seconds, but then resumes blinking. Each of these blinking stalls are
accompanied by a RCU stall message.
From the serial console:
[ 8.039603] Freeing unused kernel memory: 564k freed
[ 8.049070] Write protecting the ...
| Aug 20, 8:08 am 2010 |
| Paul E. McKenney | Re: 2.6.36-rc1 hangs during XFS barrier test for /
This indicates that you have a "longer than average loop", probably
with interrupts disabled across the loop. Documentation/RCU/stallwarn.txt
has more information on this condition.
--
| Aug 20, 12:32 pm 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
I'll test tip later today to see if I can reproduce it.
Cheers,
Don
| Aug 20, 8:05 am 2010 |
| Ingo Molnar | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
FYI, it does not trigger on an AMD box.
Thanks,
Ingo
--
| Aug 20, 8:25 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Sad to say, that won't happen. Both my amd box and nehalem box have to
many issues with your master branch.
The amd box BUGs in perf_event_nmi_handler on the new code trying to run
'perf top'
arch/x86/kernel/cpu/perf_event.c::perf_event_nmi_handler:1250
((__get_cpu_var(nmi).marked == this_nmi) &&
The BUG is attached below. I can't figure out why
And my Nehalem box won't even boot with the that kernel, not even to
console for some reason. Then bisecting revealed that in 2.6.35 ...
| Aug 20, 4:31 pm 2010 |
| Eric Dumazet | Re: [PATCH v3] netfilter: save the hash of the tuple in ...
Sure, please fix the race first.
But as I said, its not critical, if one or two conntracks are hashed on
wrong basis. They will eventually disappear after timeout.
--
| Aug 20, 8:29 am 2010 |
| Eric Dumazet | Re: [PATCH v3] netfilter: save the hash of the tuple in ...
Hmm... so to accept a few more SYN packets per second in SYNFLOOD
attack, we slow a bit normal operations ? (adding one test on each
packet going through conntrack)
If yes (I dont think we should, hackers are stronger than you anyway,
just face it)
v4:
__read_mostly on nf_conntrack_rnd
What would happen if we let the initialization of nf_conntrack_rnd
only in the insertion case (like currently done) ?
Only the first packet received on the machine/conntrack might be hashed
on a ...
| Aug 20, 8:10 am 2010 |
| Changli Gao | Re: [PATCH v3] netfilter: save the hash of the tuple in ...
Yes, and it isn't critical. I think this fix should be in a separate patch.
--
Regards,
Changli Gao(xiaosuo@gmail.com)
--
| Aug 20, 8:36 am 2010 |
| Changli Gao | [PATCH v3] netfilter: save the hash of the tuple in the ...
Since we don't change the tuple in the original direction, we can save it
in ct->tuplehash[IP_CT_DIR_REPLY].hnode.pprev for __nf_conntrack_confirm()
use.
__hash_conntrack() is split into two steps: ____hash_conntrack() is used
to get the raw hash, and __hash_bucket() is used to get the bucket id.
In SYN-flood case, early_drop() doesn't need to recompute the hash again.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
v3: define static variable rnd out of the function ...
| Aug 20, 7:53 am 2010 |
| Changli Gao | Re: [PATCH v3] netfilter: save the hash of the tuple in ...
SYN-flood case is just a side effect. What I want to do is eliminating
the second call to hash_conntrack() of the original tuple in
I should keep the old way, but fix a race.
if (unlikely(!nf_conntrack_hash_rnd_initted)) {
get_random_bytes(&nf_conntrack_hash_rnd,
sizeof(nf_conntrack_hash_rnd));
nf_conntrack_hash_rnd_initted = 1;
}
nf_conntrack_alloc() isn't called with in the nf_conntrack_lock. So
the ...
| Aug 20, 8:22 am 2010 |
| gs-recruiter | Your Id has won £1,000,000.00. in the BT Promo send your.
*NAME.
*COUNTRY.
--
| Aug 20, 7:45 am 2010 |
| Michal Hocko | [PATCH] Make is_mem_section_removable more conformable w ...
Hi,
what do you think about the patch below?
From b983695b92b5be58f31c719fada1d3245f7b6768 Mon Sep 17 00:00:00 2001
From: Michal Hocko <mhocko@suse.cz>
Date: Fri, 20 Aug 2010 15:39:16 +0200
Subject: [PATCH] Make is_mem_section_removable more conformable with offlining code
Currently is_mem_section_removable checks whether each pageblock from
the given pfn range is of MIGRATE_MOVABLE type or if it is free. If both
are false then the range is considered non removable.
On the other hand, ...
| Aug 20, 7:14 am 2010 |
| Mathieu Desnoyers | Re: [PATCH v2] netfilter: save the hash of the tuple in ...
[ executive summary: trying to explain why static variable declarations
within the body of functions is bad in kernel code. ]
We are talking about a static variable usable only within a single file,
I'm talking about good practice to help code review. This is way more
important than the potential "encapsulation" benefit of hiding global
state (a static variable) within the body of a function.
I remember that Andrew Morton has strong opinions about this, and I
remember being in complete ...
| Aug 20, 6:43 am 2010 |
| tip-bot for Arnaldo ... | [tip:perf/core] perf ui browser: Return the exit key in ...
Commit-ID: b50e003db13848dd74572ffd221047683313981d
Gitweb: http://git.kernel.org/tip/b50e003db13848dd74572ffd221047683313981d
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Wed, 11 Aug 2010 10:07:43 -0300
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 19 Aug 2010 19:39:52 -0300
perf ui browser: Return the exit key in all browsers
Make all browsers return the exit key uniformly and remove the
newtExitStruct parameter, removing one more newt ...
| Aug 20, 5:40 am 2010 |
| tip-bot for Arnaldo ... | [tip:perf/core] perf ui browser: Add routines to compact ...
Commit-ID: 4c1c952e37c7511a52f617ceddbc10c855d45d7b
Gitweb: http://git.kernel.org/tip/4c1c952e37c7511a52f617ceddbc10c855d45d7b
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Thu, 12 Aug 2010 12:37:51 -0300
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 19 Aug 2010 19:44:18 -0300
perf ui browser: Add routines to compactly specify exit keys
This makes the usual idiom for specifying a series of key codes to exit
ui_browser__run() for specialized ...
| Aug 20, 5:40 am 2010 |
| tip-bot for Arnaldo ... | [tip:perf/core] perf ui browser: Abstract some more slan ...
Commit-ID: 8f9bbc408b6f704e84d0ae78e6093005ad58d4fe
Gitweb: http://git.kernel.org/tip/8f9bbc408b6f704e84d0ae78e6093005ad58d4fe
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Wed, 11 Aug 2010 14:51:47 -0300
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 19 Aug 2010 19:33:16 -0300
perf ui browser: Abstract some more slang operations
Browsers don't have to deal with absolute coordinates, just using (row,
column) and leaving the rest to ...
| Aug 20, 5:39 am 2010 |
| Paul Mundt | [GIT PULL] sh updates for 2.6.36-rc2
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git
Which contains:
Andrew Murray (1):
sh: Use __GFP_ZERO for dma_generic_alloc_coherent().
Guennadi Liakhovetski (3):
dmaengine: initialise DMA engine before MMC
sh: move a debug printk() to a more meaningful location in the clock driver
sh: remove bogus highest / lowest logic from clock rate rounding
Hitoshi Mitake (1):
sh: SH-2007 board support.
Kulikov Vasiliy (1):
...
| Aug 20, 5:04 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH] memcg: towards I/O aware memcg v5
This is v5.
Sorry for delaying...but I had time for resetting myself and..several
changes are added. I think this version is simpler than v4.
Major changes from v4 is
a) added kernel/cgroup.c hooks again. (for b)
b) make RCU aware. previous version seems dangerous in an extreme case.
Then, codes are updated. Most of changes are related to RCU.
Patch brief view:
1. add hooks to kernel/cgroup.c for ID management.
2. use ID-array in memcg.
3. record ID to page_cgroup rather than ...
| Aug 20, 2:55 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH] memcg: use ID in page_cgroup
But title....this was [PATCH 3/5].
Sorry.
-kame
--
| Aug 20, 3:05 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH 2/5] memcg: use array and ID for quick look up
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Now, memory cgroup has an ID per cgroup and make use of it at
- hierarchy walk,
- swap recording.
This patch is for making more use of it. The final purpose is
to replace page_cgroup->mem_cgroup's pointer to an unsigned short.
This patch caches a pointer of memcg in an array. By this, we
don't have to call css_lookup() which requires radix-hash walk.
This saves some amount of memory footprint at lookup memcg via id.
Changelog: ...
| Aug 20, 2:59 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH] memcg: use ID in page_cgroup
I have an idea to remove page_cgroup->page pointer, 8bytes reduction per page.
But it will be after this work.
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Now, addresses of memory cgroup can be calculated by their ID without complex.
This patch relplaces pc->mem_cgroup from a pointer to a unsigned short.
On 64bit architecture, this offers us more 6bytes room per page_cgroup.
Use 2bytes for blkio-cgroup's page tracking. More 4bytes will be used for
some light-weight concurrent ...
| Aug 20, 3:01 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH 4/5] memcg: lockless update of file_mapped
No changes from v4.
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
At accounting file events per memory cgroup, we need to find memory cgroup
via page_cgroup->mem_cgroup. Now, we use lock_page_cgroup().
But, considering the context which page-cgroup for files are accessed,
we can use alternative light-weight mutual execusion in the most case.
At handling file-caches, the only race we have to take care of is "moving"
account, IOW, overwriting page_cgroup->mem_cgroup. Because file ...
| Aug 20, 3:02 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH 5/5] memcg: generic file accounting update function
No changes from v4.
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Preparing for adding new status arounf file caches.(dirty, writeback,etc..)
Using a unified macro and more generic names.
All counters will have the same rule for updating.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
---
include/linux/memcontrol.h | 24 ++++++++++++++++++++++
include/linux/page_cgroup.h | 19 ++++++++++++------
mm/memcontrol.c | 46 ...
| Aug 20, 3:03 am 2010 |
| KAMEZAWA Hiroyuki | [PATCH 1/5] cgroup: ID notification call back
CC'ed to Paul Menage and Li Zefan.
==
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
When cgroup subsystem use ID (ss->use_id==1), each css's ID is assigned
after successful call of ->create(). css_ID is tightly coupled with
css struct itself but it is allocated by ->create() call, IOW,
per-subsystem special allocations.
To know css_id before creation, this patch adds id_attached() callback.
after css_ID allocation. This will be used by memory cgroup's quick ...
| Aug 20, 2:58 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 1/6] lib: rbtree: rb_root_init() function added
Added a rb_root_init() function which initialises a rb_root
structure as a red-black tree with at most one element. The
rationale is that using rb_root_init(root, node) is more
straightforward and cleaner then first initialising and
empty tree followed by an insert operation.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
include/linux/rbtree.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 0/6] The Contiguous Memory Allocator framework
Hello everyone,
The following patchset implements a Contiguous Memory Allocator. For
those who have not yet stumbled across CMA an excerpt from
documentation:
The Contiguous Memory Allocator (CMA) is a framework, which allows
setting up a machine-specific configuration for physically-contiguous
memory management. Memory for devices is then allocated according
to that configuration.
The main role of the framework is not to allocate memory, but to
parse and manage memory ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 2/6] mm: cma: Contiguous Memory Allocator added
The Contiguous Memory Allocator framework is a set of APIs for
allocating physically contiguous chunks of memory.
Various chips require contiguous blocks of memory to operate. Those
chips include devices such as cameras, hardware video decoders and
encoders, etc.
The code is highly modular and customisable to suit the needs of
various users. Set of regions reserved for CMA can be configured
per-platform and it is easy to add custom allocator algorithms if one
has such ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 3/6] mm: cma: Added SysFS support
The SysFS development interface lets one change the map attribute
at run time as well as observe what regions have been reserved.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
.../ABI/testing/sysfs-kernel-mm-contiguous | 53 +++
Documentation/contiguous-memory.txt | 4 +
include/linux/cma.h | 7 +
mm/Kconfig | 18 ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 5/6] mm: cma: Test device and application added
This patch adds a "cma" misc device which lets user space use the
CMA API. This device is meant for testing. A testing application
is also provided.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
drivers/misc/Kconfig | 8 +
drivers/misc/Makefile | 1 +
drivers/misc/cma-dev.c | 185 ++++++++++++++++++++++++
include/linux/cma.h | 30 ++++
tools/cma/cma-test.c | 373 ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 4/6] mm: cma: Added command line parameters ...
This patch adds a pair of early parameters ("cma" and
"cma.map") which let one override the CMA configuration
given by platform without the need to recompile the kernel.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Documentation/contiguous-memory.txt | 85 ++++++++++++++++++++++--
Documentation/kernel-parameters.txt | 7 ++
mm/Kconfig | 6 ++
mm/cma.c | 125 ...
| Aug 20, 2:50 am 2010 |
| Michal Nazarewicz | [PATCH/RFCv4 6/6] arm: Added CMA to Aquila and Goni
Added the CMA initialisation code to two Samsung platforms.
Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
arch/arm/mach-s5pv210/mach-aquila.c | 31 +++++++++++++++++++++++++++++++
arch/arm/mach-s5pv210/mach-goni.c | 31 +++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c
index 0dda801..3561859 ...
| Aug 20, 2:50 am 2010 |
| Peter Zijlstra | Re: [PATCH/RFCv4 0/6] The Contiguous Memory Allocator fr ...
So the idea is to grab a large chunk of memory at boot time and then
later allow some device to use it?
I'd much rather we'd improve the regular page allocator to be smarter
about this. We recently added a lot of smarts to it like memory
compaction, which allows large gobs of contiguous memory to be freed for
things like huge pages.
If you want guarantees you can free stuff, why not add constraints to
the page allocation type and only allow MIGRATE_MOVABLE pages inside a
certain region, ...
| Aug 20, 6:15 am 2010 |
| Haicheng Li | [BUGFIX][PATCH 2/2] x86, mem: update all PGDs for direct ...
x86, mem-hotplug: update all PGDs for direct mapping and vmemmap mapping changes on 64bit.
When memory hotplug-adding happens for a large enough area
that a new PGD entry is needed for the direct mapping, the PGDs
of other processes would not get updated. This leads to some CPUs
oopsing like below when they have to access the unmapped areas.
[ 1139.243192] BUG: soft lockup - CPU#0 stuck for 61s! [bash:6534]
[ 1139.243195] Modules linked in: ipv6 autofs4 rfcomm l2cap crc16 bluetooth rfkill ...
| Aug 20, 2:50 am 2010 |
| Haicheng Li | [BUGFIX][PATCH 1/2] x86, mem: separate x86_64 vmalloc_sy ...
hello,
Resend these two patches for bug fixing:
The bug is that when memory hotplug-adding happens for a large enough area that a new PGD entry is
needed for the direct mapping, the PGDs of other processes would not get updated. This leads to some
CPUs oopsing when they have to access the unmapped areas, e.g. onlining CPUs on the new added node.
Thanks!
---
From 04d9fc860db40f15ad629f8b341ff84b83a00a8d Mon Sep 17 00:00:00 2001
From: Haicheng Li <haicheng.li@linux.intel.com>
Date: Wed, ...
| Aug 20, 2:45 am 2010 |
| Michal Marek | Re: [Patch] makefile: not need to regenerate kernel.rele ...
Thanks, applied. And sorry for breaking your previous patch.
Michal
--
| Aug 20, 4:57 am 2010 |
| Amerigo Wang | [Patch] makefile: not need to regenerate kernel.release ...
Brice reported that 'kernelrelease' has a dependence on include/config/kernel.release,
causes this file to be regenerated every time when invoke it. It doesn't have to.
Reported-by: Brice Goglin <Brice.Goglin@inria.fr>
Tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: WANG Cong <amwang@redhat.com>
---
diff --git a/Makefile b/Makefile
index f3bdff8..25da252 100644
--- a/Makefile
+++ b/Makefile
@@ -1408,8 +1408,8 @@ checkstack:
$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') ...
| Aug 20, 2:36 am 2010 |
| Wu Fengguang | Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_wri ...
How about the names nr_dirty_accumulated and nr_writeback_accumulated?
It seems more consistent, for both the interface and code (see below).
I'd prefer the name "vmstat" over "writebackstat", and propose to
migrate items from /proc/zoneinfo over time. zoneinfo is a terrible
interface for scripting.
Also, are there meaningful usage of per-node writeback stats?
The numbers are naturally per-bdi ones instead. But if we plan to
expose them for each bdi, this patch will need to be ...
| Aug 20, 3:08 am 2010 |
| Michael Rubin | [PATCH 4/4] writeback: Reporting dirty thresholds in /pr ...
The kernel already exposes the user desired thresholds in /proc/sys/vm
with dirty_background_ratio and background_ratio. But the kernel may
alter the number requested without giving the user any indication that
is the case.
Knowing the actual ratios the kernel is honoring can help app developers
understand how their buffered IO will be sent to the disk.
$ grep threshold /proc/vmstat
nr_dirty_threshold 409111
nr_dirty_background_threshold 818223
Signed-off-by: Michael Rubin ...
| Aug 20, 2:31 am 2010 |
| Wu Fengguang | Re: [PATCH 4/4] writeback: Reporting dirty thresholds in ...
This may cost cacheline.
Thanks,
Fengguang
--
| Aug 20, 3:12 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 4/4] writeback: Reporting dirty thresholds in ...
Looks good to me.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 20, 3:06 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_wri ...
'nr_entered_writeback' seems ok. but nr_dirtied seems a bit easy confusable
with 'nr_dirty'. Can you please choice more clear meaningful name?
Otherwise looks good to me.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 20, 3:05 am 2010 |
| Michael Rubin | [PATCH 3/4] writeback: nr_dirtied and nr_entered_writeba ...
To help developers and applications gain visibility into writeback
behaviour adding two entries to /proc/vmstat.
# grep nr_dirtied /proc/vmstat
nr_dirtied 3747
# grep nr_entered_writeback /proc/vmstat
nr_entered_writeback 3618
In order to track the "cleaned" and "dirtied" counts we added two
vm_stat_items. Per memory node stats have been added also. So we can
see per node granularity:
# cat /sys/devices/system/node/node20/writebackstat
Node 20 pages_writeback: 0 ...
| Aug 20, 2:31 am 2010 |
| Michael Rubin | [PATCH 0/4] writeback: kernel visibility
Patch #1 sets up some helper functions for account_page_dirty
Patch #2 sets up some helper functions for account_page_writeback
Patch #3 adds writeback visibility in /proc/vmstat
Patch #4 add writeback thresholds to /proc/vmstat
To help developers and applications gain visibility into writeback
behaviour this patch adds two counters to /proc/vmstat.
# grep nr_dirtied /proc/vmstat
nr_dirtied 3747
# grep nr_entered_writeback /proc/vmstat
nr_entered_writeback 3618
These ...
| Aug 20, 2:31 am 2010 |
| Michael Rubin | Re: [PATCH 3/4] writeback: nr_dirtied and nr_entered_wri ...
Those names don't seem to right to me.
I admit I like "nr_dirtied" and "nr_cleaned" that seems most
understood. These numbers also get very big pretty fast so I don't
For us yes. We use fake numa nodes to implement cgroup memory isolation.
Currently I have no plans to do that.
mrubin
--
| Aug 20, 4:51 pm 2010 |
| Michael Rubin | [PATCH 2/4] mm: account_page_writeback added
This allows code outside of the mm core to safely manipulate page
writeback state and not worry about the other accounting. Not using
these routines means that some code will lose track of the accounting
and we get bugs.
Signed-off-by: Michael Rubin <mrubin@google.com>
---
fs/nilfs2/segment.c | 2 +-
include/linux/mm.h | 1 +
mm/page-writeback.c | 13 ++++++++++++-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/fs/nilfs2/segment.c b/fs/nilfs2/segment.c
index ...
| Aug 20, 2:31 am 2010 |
| KOSAKI Motohiro | Re: [PATCH 2/4] mm: account_page_writeback added
Personally, I like inline. but it's no big matter.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 20, 3:08 am 2010 |
| Michael Rubin | [PATCH 1/4] mm: exporting account_page_dirty
This allows code outside of the mm core to safely manipulate page state
and not worry about the other accounting. Not using these routines means
that some code will lose track of the accounting and we get bugs. This
has happened once already.
Signed-off-by: Michael Rubin <mrubin@google.com>
---
fs/ceph/addr.c | 8 +-------
mm/page-writeback.c | 1 +
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index 5598a0d..420d469 100644
--- ...
| Aug 20, 2:31 am 2010 |
| Sage Weil | Re: [PATCH 1/4] mm: exporting account_page_dirty
Thanks, I missed this one earlier. I'll queue it up.
--
| Aug 20, 8:37 am 2010 |
| Johannes Berg | [RFC] led-class: always implement blinking
From: Johannes Berg <johannes.berg@intel.com>
Currently, blinking LEDs can be awkward because it is
not guaranteed that all LEDs implement blinking. The
trigger that wants it to blink then needs to implement
its own timer solution. Rather than require that, make
the core always implement LED "blinkability" with a
timer implementation in the core. The timer trigger
then becomes a very trivial one, and all code using
LEDs can rely on them to be able to blink.
Signed-off-by: Johannes Berg ...
| Aug 20, 2:21 am 2010 |
| Nicholas A. Bellinger | [PATCH 2/2] tcm/iblock: Convert iblock_map_task_SG() to ...
From: Nicholas Bellinger <nab@linux-iscsi.org>
This patch converts iblock_map_task_SG() to use the include/linux/scatterlist.h
SGL walking macro for_each_sg() when accessing the contigious array of
struct scatterlist in struct se_task->task_sg[]. As we are currently
assured that TCM will always be using a contigious array allocated by
transport_calc_sg_num(), so it is still safe to walk struct se_task->task_sg[]
directly up to task->task_sg_num.
This patch does the minor cleanups to use ...
| Aug 20, 2:06 am 2010 |
| Nicholas A. Bellinger | [PATCH 1/2] tcm/iblock: Add SCSI LBA -> block_lba conver ...
From: Nicholas Bellinger <nab@linux-iscsi.org>
This patch adds support for 4096, 2048 and 1024 byte block_size / sector conversion
from incoming struct se_task->task_lba from native TCM SCSI sector size into our
the iblock_map_task_SG() caller. This is required as for each TCM struct se_task ->
struct bio I/O descriptor will always need to be assuming 512-byte sectors into
Linux/Block for submit_bio(), so when iblock_map_task_SG() is called we increment
block_lba in 512 byte units from ...
| Aug 20, 2:06 am 2010 |
| Nicholas A. Bellinger | [PATCH 0/2] tcm/iblock: SCSI LBA -> block_lba conversion ...
From: Nicholas Bellinger <nab@linux-iscsi.org>
Greetings hch, Jens and Co,
This patch adds support for TCM/IBLOCK backstores doing proper non 512-byte native TCM
struct se_task SCSI LBA conversion into 512-byte units in iblock_map_task_SG() for the
starting and subsequent struct bio->bi_sector going into bio_add_page(). The second patch
converts the same function to use for_each_sg() to follow mainline SGL walking conventions.
So far I have been testing these two with TCM_Loop virtual SCSI ...
| Aug 20, 2:06 am 2010 |
| Ciju Rajan K | [PATCH]Fix return code for mkdir calls
Hi,
This patch fixes the return value when the cgroup hierarchy for blkio
control groups is deeper than two levels. Right now EINVAL is returned.
This patch replaces EINVAL with more appropriate EPERM to align with
mkdir system call return values. This was discussed between Vivek and
Daniel sometime back. Please consider this patch for inclusion in 2.6.36.
Thanks
Ciju
| Aug 20, 1:51 am 2010 |
| KAMEZAWA Hiroyuki | Re: [PATCH]Fix return code for mkdir calls
On Fri, 20 Aug 2010 14:21:53 +0530
Thank you!
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
--
| Aug 20, 1:51 am 2010 |
| Shaohua Li | [PATCH]dquot: do full inode dirty in allocating space
Alex Shi found a regression when doing ffsb test. The test has several threads,
and each thread creates a small file, write to it and then delete it. ffsb
reports about 20% regression and Alex bisected it to 43d2932d88e4. The test
will call __mark_inode_dirty 3 times. without this commit, we only take
inode_lock one time, while with it, we take the lock 3 times with flags (
I_DIRTY_SYNC,I_DIRTY_PAGES,I_DIRTY). Perf shows the lock contention increased
too much. Below proposed patch fixes it.
fs ...
| Aug 20, 1:49 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 19/19] Finally, add the /dev/crypto device.
---
crypto/userspace/cryptodev_main.c | 130 +++++++++++++++++++++++++++++++++++++
1 files changed, 130 insertions(+), 0 deletions(-)
diff --git a/crypto/userspace/cryptodev_main.c b/crypto/userspace/cryptodev_main.c
index a6712db..6ba9bd6 100644
--- a/crypto/userspace/cryptodev_main.c
+++ b/crypto/userspace/cryptodev_main.c
@@ -98,3 +98,133 @@ int __get_userbuf(uint8_t __user *addr, uint32_t len, int write,
return 0;
}
+/* ====== /dev/crypto ====== */
+
+static ...
| Aug 20, 1:46 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 01/19] User-space API definition
This patch introduces the new user-space API, <ncr.h>.
Quick overview:
* open("/dev/crypto") to get a FD, which acts as a namespace for key and
session identifiers.
* ioctl(NCRIO_KEY_INIT) to allocate a key object; then generate the key
material inside the kernel, load a plaintext key, unwrap a key, or
derive a key. Similarly the key material can be copied out of the
kernel or wrapped.
* ioctl(NCRIO_SESSION_INIT) to allocate a crypto session (to encrypt,
decrypt, hash, sign, ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 05/19] Add internal /dev/crypto implementation headers
That's it, .c files will finally follow in the next patch.
---
crypto/userspace/cryptodev_int.h | 82 +++++++++++++
crypto/userspace/ncr-dh.h | 25 ++++
crypto/userspace/ncr-int.h | 245 ++++++++++++++++++++++++++++++++++++++
crypto/userspace/ncr-pk.h | 55 +++++++++
4 files changed, 407 insertions(+), 0 deletions(-)
create mode 100644 crypto/userspace/cryptodev_int.h
create mode 100644 crypto/userspace/ncr-dh.h
create mode 100644 crypto/userspace/ncr-int.h
...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 06/19] Add ioctl() argument and attribute handlin ...
Main entry points:
NCR_GET_INPUT_ARGS:
Read a fixed struct and any attached attributes from userspace
NCR_GET_INPUT_ARGS_NO_OUTPUT:
Same as above, and inform the users the kernel will attach no
additional attributes.
NCR_OUT_INIT/ncr_out_free:
Allocate and free a context that allows operation handlers to
return attributes to userspace.
ncr_out_finish:
Write the attributes from the context to userspace. Split like
this so that only NCR_OUT_INIT (in future "ncr.c") deals ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 04/19] Add libtomcrypt headers
Same as the previous patch - the header file dependencies do not allow
otherwise.
(Reviewing this in detail is probably premature, we are considering
replacing the implementation by something based on libgcrypt, which is
more actively maintained and has been probably more thorouhgly examined
for vulnerabilities.)
---
crypto/userspace/libtomcrypt/headers/tomcrypt.h | 82 ++++
.../libtomcrypt/headers/tomcrypt_argchk.h | 36 ++
.../userspace/libtomcrypt/headers/tomcrypt_cfg.h ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 07/19] Add crypto API utilities.
This encapsulates allocation/deallocation of all necessary objects,
dealing with the asynchronous nature of ablkcipher/ahash.
Long term, I'm not quite sure this layer makes sense; For now, it
provides a truly simple API for internal callers in libtomcrypt, at
least.
---
crypto/userspace/Makefile | 2 +-
crypto/userspace/cryptodev_cipher.c | 339 +++++++++++++++++++++++++++++++++++
crypto/userspace/cryptodev_main.c | 13 ++
3 files changed, 353 insertions(+), 1 ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 18/19] Add ioctl handlers
Add ioctl and compat_ioctl handling. This is the only file that
directly accesses structured data from userspace (other files may access
unformated data such as cipher input or multiple-precision integers).
Also add the last operation, ncr_master_key_set.
---
crypto/userspace/ncr.c | 405 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 405 insertions(+), 0 deletions(-)
diff --git a/crypto/userspace/ncr.c b/crypto/userspace/ncr.c
index 9fb56ad..ee812ab 100644
--- ...
| Aug 20, 1:46 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 17/19] Add session operations
This includes:
- ncr_session_init
- ncr_session_update
- ncr_session_final
- ncr_session_once
The ncr_session_*_from_nla() functions are separate from the main
session code because they belong into ncr.c along with other code that
deals directly with user-space data structures and handles
CONFIG_COMPAT.
---
crypto/userspace/ncr-sessions.c | 953 +++++++++++++++++++++++++++++++++++++++
crypto/userspace/ncr.c | 86 ++++
2 files changed, 1039 insertions(+), 0 deletions(-)
diff ...
| Aug 20, 1:46 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 08/19] Add per-process and per-user limits
Right now only key objects, not crypto sessions, are limited.
---
crypto/userspace/Makefile | 2 +-
crypto/userspace/ncr-limits.c | 247 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 248 insertions(+), 1 deletions(-)
create mode 100644 crypto/userspace/ncr-limits.c
diff --git a/crypto/userspace/Makefile b/crypto/userspace/Makefile
index a37969b..3dfbc39 100644
--- a/crypto/userspace/Makefile
+++ b/crypto/userspace/Makefile
@@ -1,6 +1,6 @@
ccflags-y += ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 14/19] Add most operations on key objects.
This includes:
- ncr_key_init
- ncr_key_deinit
- ncr_key_export (as plaintext)
- ncr_key_import
- ncr_key_generate
- ncr_key_generate_pair
- ncr_key_derive
- ncr_key_get_info
and supporting infrastructure.
---
crypto/userspace/Makefile | 2 +-
crypto/userspace/ncr-key.c | 689 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 690 insertions(+), 1 deletions(-)
create mode 100644 crypto/userspace/ncr-key.c
diff --git a/crypto/userspace/Makefile ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 13/19] Add /dev/crypto auditing infrastructure
Posted separately for review on linux-audit
---
include/linux/audit.h | 38 ++++++++++++++
kernel/auditfilter.c | 2 +
kernel/auditsc.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 176 insertions(+), 0 deletions(-)
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 3c7a358..8faa4e0 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -122,6 +122,9 @@
#define AUDIT_MAC_UNLBL_STCADD 1416 /* NetLabel: add a static label */
...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 15/19] Add key wrapping operations
This includes:
- ncr_key_wrap
- ncr_key_unwrap
- ncr_key_storage_wrap
- ncr_key_storage_unwrap
---
crypto/userspace/Makefile | 5 +-
crypto/userspace/ncr-key-storage.c | 136 +++++++
crypto/userspace/ncr-key-wrap.c | 763 ++++++++++++++++++++++++++++++++++++
crypto/userspace/ncr.c | 29 ++
4 files changed, 931 insertions(+), 2 deletions(-)
create mode 100644 crypto/userspace/ncr-key-storage.c
create mode 100644 crypto/userspace/ncr-key-wrap.c
create mode ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 10/19] Add libtommath implementation
No use postponing it any more I'm afraid.
(Reviewing this in detail is probably premature, we are considering
replacing the implementation by something based on libgcrypt, which is
more actively maintained and has been probably more thorouhgly examined
for vulnerabilities.)
---
crypto/userspace/Makefile | 38 ++-
.../libtomcrypt/hashes/crypt_hash_is_valid.c | 30 ++
crypto/userspace/libtomcrypt/hashes/hash_get_oid.c | 78 ++++
...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 12/19] Add DH implementation and pubkey abstracti ...
Add basic Diffie-Hellman implementation, because it is not provided by
libtomcrypt.
Finally, add an algorithm-independent pubkey interface that encapsulates
the separate pubkey algorithm implementations.
---
crypto/userspace/Makefile | 2 +-
crypto/userspace/ncr-dh.c | 282 +++++++++++++++++++
crypto/userspace/ncr-pk.c | 659 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 942 insertions(+), 1 deletions(-)
create mode 100644 crypto/userspace/ncr-dh.c
create mode 100644 ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 10/19] Add libtomcrypt implementation
No use postponing it any more I'm afraid.
(Reviewing this in detail is probably premature, we are considering
replacing the implementation by something based on libgcrypt, which is
more actively maintained and has been probably more thorouhgly examined
for vulnerabilities.)
---
crypto/userspace/Makefile | 38 ++-
.../libtomcrypt/hashes/crypt_hash_is_valid.c | 30 ++
crypto/userspace/libtomcrypt/hashes/hash_get_oid.c | 78 ++++
...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 09/19] Add libtommath implementation
No use postponing it any more I'm afraid.
(Reviewing this in detail is probably premature, we are considering
replacing the implementation by something based on libgcrypt, which is
more actively maintained and has been probably more thorouhgly examined
for vulnerabilities.)
---
crypto/userspace/Makefile | 31 ++-
crypto/userspace/libtommath/LICENSE | 4 +
crypto/userspace/libtommath/bn_error.c | 47 +++
...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 03/19] Add libtommath headers
Not a good patch to start with, but the header file dependencies do not
allow otherwise.
(Reviewing this in detail is probably premature, we are considering
replacing the implementation by something based on libgcrypt, which is
more actively maintained and has been probably more thorouhgly examined
for vulnerabilities.)
---
crypto/userspace/libtommath/tommath.h | 555 ++++++++++++
crypto/userspace/libtommath/tommath_class.h | 999 ++++++++++++++++++++++
...
| Aug 20, 1:45 am 2010 |
| Stefan Richter | Re: [PATCH 01/19] User-space API definition
Why not using fixed-size fit-all members?
struct ncr_session_input_data {
__u64 data; /* user pointer, cast to/from u64 */
__u32 data_size; /* or __u64? */
};
struct ncr_session_output_buffer {
__u64 buffer;
__u64 result_size_ptr; /* can't this be a direct output member? */
__u32 buffer_size; /* or __u64? */
};
And then get rid of all the COMAPT code paths.
--
Stefan Richter
-=====-==-=- =--- =-=--
http://arcgraph.de/sr/
--
| Aug 20, 5:48 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 11/19] Add algorithm properties table.
Pointers to this table are used to identify algorithms throughout the
code.
---
crypto/userspace/Makefile | 2 +-
crypto/userspace/ncr-sessions.c | 150 +++++++++++++++++++++++++++++++++++++++
2 files changed, 151 insertions(+), 1 deletions(-)
create mode 100644 crypto/userspace/ncr-sessions.c
diff --git a/crypto/userspace/Makefile b/crypto/userspace/Makefile
index 81e4122..0891c2b 100644
--- a/crypto/userspace/Makefile
+++ b/crypto/userspace/Makefile
@@ -64,7 +64,7 @@ ...
| Aug 20, 1:45 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 02/19] Add CRYPTO_USERSPACE config option
---
crypto/Kconfig | 5 +++++
crypto/Makefile | 2 ++
crypto/userspace/Makefile | 1 +
3 files changed, 8 insertions(+), 0 deletions(-)
create mode 100644 crypto/userspace/Makefile
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 81c185a..022768a 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -31,6 +31,11 @@ config CRYPTO_FIPS
this is. Note that CRYPTO_ANSI_CPRNG is requred if this
option is selected
+config CRYPTO_USERSPACE
+ tristate ...
| Aug 20, 1:45 am 2010 |
| Stefan Richter | Re: [PATCH 06/19] Add ioctl() argument and attribute han ...
struct compat_xyz cannot be bigger than struct xyz, can it?
--
Stefan Richter
-=====-==-=- =--- =-=--
http://arcgraph.de/sr/
--
| Aug 20, 5:59 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 16/19] Add helpers for zero-copy userspace access
---
crypto/userspace/cryptodev_main.c | 87 +++++++++++++++++++++++++++++++++++++
1 files changed, 87 insertions(+), 0 deletions(-)
diff --git a/crypto/userspace/cryptodev_main.c b/crypto/userspace/cryptodev_main.c
index c6419f4..a6712db 100644
--- a/crypto/userspace/cryptodev_main.c
+++ b/crypto/userspace/cryptodev_main.c
@@ -1,3 +1,46 @@
+/*
+ * Driver for /dev/crypto device (aka CryptoDev)
+ *
+ * Copyright (c) 2004 Michal Ludvig <mludvig@logix.net.nz>, SuSE Labs
+ * Copyright (c) ...
| Aug 20, 1:46 am 2010 |
| =?UTF-8?q?Miloslav=2 ... | [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space interface
Hello,
following is a patchset providing an user-space interface to the kernel crypto
API. It is based on the older, BSD-compatible, implementation, but the
user-space interface is different.
Major changes since the previous post:
* "struct nlattr"-based extensible attributes used for extensibility
of most operations, both for input and output attributes
* algorithms (ciphers, key wrapping, key derivation) are identified using
strings in the userspace API
* Full compat_ioctl ...
| Aug 20, 1:45 am 2010 |
| Ted Ts'o | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
What's the goal of exporting the kernel crypto routines to userspace,
as opposed to just simply doing the crypto in userspace? Is it to
access hardware crypto accelerators? (1) I wasn't aware the kernel
crypto routines actually used crypto accelerators, and (2) more often
than not, by the time you take into account the time to move the
crypto context as well as the data into kernel space and back out, and
after you take into account price/performance, most hardware crypto
accellerators have ...
| Aug 20, 6:56 am 2010 |
| Nikos Mavrogiannopoulos | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
This was the goal of the original cryptodev OpenBSD API and the
subsequent linux port in http://home.gna.org/cryptodev-linux/. In
typical PCs it might even be slower to use such an accelerator in kernel
space, but in embedded systems where the hardware version of AES might
be 100 times faster than the software it might make sense.
However the design goal of this API is to separate cryptographic
operations from the applications. That is applications in userspace can
use keys, but the keys ...
| Aug 20, 10:03 am 2010 |
| Randy Dunlap | Re: [PATCH 01/19] User-space API definition
Please add (another) 'c' entry to Documentation/ioctl/ioctl-number.txt.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 20, 10:12 am 2010 |
| Ted Ts'o | Re: [PATCH 00/19] RFC, v2: "New" /dev/crypto user-space ...
OK, but I hope that in that case, we don't go encouraging applications
to use the /dev/crypto API directly. I know a number of distributions
have been standardizing on NSS as the library that all of their
applications will use, such that by simply configuring libnss
differently, the crypto can either be done in userspace, or it can be
done in hardware, either for crypto acceleration purposes or for when
the key is locked inside hardware can only be used with appropriate
authentication to ...
| Aug 20, 4:48 pm 2010 |
| Euro-millions Promo | (No subject)
Your email id has won 2,500,000.00 Pounds
Name...
Country...
Age...
--
| Aug 20, 1:31 am 2010 |
| Giuseppe Pagano | On omap3evm kernel 2.6.34+ doesn't boot (solved)
Hi,
I'm developing on an arm OMAP3530 based board, machine omap3evm.
Starting from kernel versione 2.6.34 machine doesn't boot (On the serial
console I can see just the uboot message, afther the console freese,
anche there is no output from the kernel).
I have found that changing this line in
arch/arm/plat-omap/include/plat/uncompress.h
- DEBUG_LL_OMAP2(1, omap3evm);
+ DEBUG_LL_OMAP3(3, omap3evm);
solves the problem.
I thing this is a bug, so I write ...
| Aug 20, 1:08 am 2010 |
| Samuel Ortiz | Re: [PATCH 1/2] MFD: move AB3100 to __devinit
Hi Linus,
Patch applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 3:15 pm 2010 |
| Linus Walleij | [PATCH 1/2] MFD: move AB3100 to __devinit
Since there is no discardable probe() function in the I2C device
framework, let's just tag it __devinit and take the footprint hit
rather than seeing the compilation warnings every day.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
---
drivers/mfd/ab3100-core.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/mfd/ab3100-core.c b/drivers/mfd/ab3100-core.c
index 66379b4..1be9fb6 100644
--- a/drivers/mfd/ab3100-core.c
+++ ...
| Aug 20, 1:26 am 2010 |
| Samuel Ortiz | Re: [PATCH 2/2] MFD: switch AB3100 to use MFD cells
Hi Linus,
Good boy :) Patch applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 3:16 pm 2010 |
| Linus Walleij | [PATCH 2/2] MFD: switch AB3100 to use MFD cells
This switches the AB3100 core driver to using MFD cells for
subdevices instead of spawning common platform devices.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
---
drivers/mfd/Kconfig | 1 +
drivers/mfd/ab3100-core.c | 129 ++++++++++++++++++++++++---------------------
2 files changed, 69 insertions(+), 61 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index bfc80d6..22985d0 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ ...
| Aug 20, 1:27 am 2010 |
| Zachary Amsden | [KVM timekeeping 04/35] Fix SVM VMCB reset
On reset, VMCB TSC should be set to zero. Instead, code was setting
tsc_offset to zero, which passes through the underlying TSC.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/svm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 8d7ae20..74e4522 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -781,7 +781,7 @@ static void init_vmcb(struct vcpu_svm *svm)
control->iopm_base_pa = ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 03/35] Move TSC offset writes to co ...
Forgive my utter ignorance, specially if it is to become
obvious in a latter patch: This is a vcpu-local operation,
uses rdtscl, so pcpu-local too, and we don't expect
multiple writers to it at the same time.
Why do we need this lock?
--
| Aug 20, 10:06 am 2010 |
| Zachary Amsden | [KVM timekeeping 03/35] Move TSC offset writes to common code
Also, ensure that the storing of the offset and the reading of the TSC
are never preempted by taking a spinlock. While the lock is overkill
now, it is useful later in this patch series.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 3 +++
arch/x86/kvm/svm.c | 6 ++++--
arch/x86/kvm/vmx.c | 13 ++++++-------
arch/x86/kvm/x86.c | 18 ++++++++++++++++++
arch/x86/kvm/x86.h | 2 ++
5 ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 07/35] Make cpu_tsc_khz updates use local CPU
This simplifies much of the init code; we can now simply always
call tsc_khz_changed, optionally passing it a new value, or letting
it figure out the existing value (while interrupts are disabled, and
thus, by inference from the rule, not raceful against CPU hotplug or
frequency updates, which will issue IPIs to the local CPU to perform
this very same task).
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 157 +++++++++++++++++++++++++++++++++++++--------------
1 ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 10/35] Fix deep C-state TSC desynch ...
Fair enough.
--
| Aug 20, 10:30 am 2010 |
| Zachary Amsden | [KVM timekeeping 10/35] Fix deep C-state TSC desynchronization
When CPUs with unstable TSCs enter deep C-state, TSC may stop
running. This causes us to require resynchronization. Since
we can't tell when this may potentially happen, we assume the
worst by forcing re-compensation for it at every point the VCPU
task is descheduled.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 7fc4a55..52b6c21 100644
--- ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 08/35] Warn about unstable TSC
If creating an SMP guest with unstable host TSC, issue a warning
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 3420f25..5e3b10e 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5457,6 +5457,10 @@ void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu)
struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
unsigned int id)
...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 08/35] Warn about unstable TSC
Ok, I am not sure I agree 100 % this is needed.
I believe we should try to communicate this kind of thing to the guest,
not the host, and through cpuid.
Passing through tsc flags to the guest should maybe be enough?
--
| Aug 20, 10:28 am 2010 |
| Zachary Amsden | [KVM timekeeping 14/35] Add clock sync request to hardwa ...
If there are active VCPUs which are marked as belonging to
a particular hardware CPU, request a clock sync for them when
enabling hardware; the TSC could be desynchronized on a newly
arriving CPU, and we need to recompute guests system time
relative to boot after a suspend event.
This covers both cases.
Note that it is acceptable to take the spinlock, as either
no other tasks will be running and no locks held (BSP after
resume), or other tasks will be guaranteed to drop the lock
relatively ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 15/35] Move scale_delta into common header
The scale_delta function for shift / multiply with 31-bit
precision moves to a common header so it can be used by both
kernel and kvm module.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/pvclock.h | 38 ++++++++++++++++++++++++++++++++++++++
arch/x86/kernel/pvclock.c | 3 ++-
2 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/pvclock.h b/arch/x86/include/asm/pvclock.h
index cd02f32..7f7e577 100644
--- ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 11/35] Add helper functions for tim ...
This is one of the things I believe should be applied right now.
Maybe we want a cut version of this patch, that exposes this API while
adjusting KVM_SET_CLOCK / KVM_GET_CLOCK to get in early rather than late?
--
| Aug 20, 10:34 am 2010 |
| Zachary Amsden | [KVM timekeeping 11/35] Add helper functions for time co ...
Add a helper function to compute the kernel time and convert nanoseconds
back to CPU specific cycles. Note that these must not be called in preemptible
context, as that would mean the kernel could enter software suspend state,
which would cause non-atomic operation.
Also, convert the KVM_SET_CLOCK / KVM_GET_CLOCK ioctls to use the kernel
time helper, these should be bootbased as well.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 48 ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 12/35] Robust TSC compensation
Isn't 5 way too long for this case?
--
| Aug 20, 10:40 am 2010 |
| Zachary Amsden | [KVM timekeeping 12/35] Robust TSC compensation
Make the match of TSC find TSC writes that are close to each other
instead of perfectly identical; this allows the compensator to also
work in migration / suspend scenarios.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 52680f6..0f3e5fb 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -928,21 +928,27 @@ void ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 17/35] Implement getnsboottime kernel API
Add a kernel call to get the number of nanoseconds since boot. This
is generally useful enough to make it a generic call.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
include/linux/time.h | 1 +
kernel/time/timekeeping.c | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/include/linux/time.h b/include/linux/time.h
index ea3559f..5d04108 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -145,6 +145,7 @@ ...
| Aug 20, 1:07 am 2010 |
| john stultz | Re: [KVM timekeeping 17/35] Implement getnsboottime kernel API
So instead of converting the timespec from getboottime, why did you add
a new interface? Also if not a timespec, why did you pick a s64 instead
You forgot to include the boottime.tv_sec/nsec offset in this. Take a
look again at getboottime()
thanks
-john
--
| Aug 20, 11:39 am 2010 |
| Zachary Amsden | Re: [KVM timekeeping 17/35] Implement getnsboottime kernel API
The new interface was suggested several times, so I'm proposing it. I'm
indifferent to putting it the kernel API or making it internal to KVM.
KVM doesn't want to deal with conversions to / from ktime_t; this code
uses a lot (too much) math, and it's easy to get wrong when splitting
sec / nsec fields. So s64 seems a natural type for ns values. I
realize it's not entirely consistent with the kernel API, but s64
I don't think so... boottime is internal to getboottime, and it's just ...
| Aug 20, 4:37 pm 2010 |
| Zachary Amsden | [KVM timekeeping 25/35] Add clock catchup mode
Make the clock update handler handle generic clock synchronization,
not just KVM clock. We add a catchup mode which keeps passthrough
TSC in line with absolute guest TSC.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 1 +
arch/x86/kvm/x86.c | 55 ++++++++++++++++++++++++++------------
2 files changed, 38 insertions(+), 18 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 24/35] Timer request function renaming
Separate step to prepare for next change.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 12 ++++++------
include/linux/kvm_host.h | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index d715ec0..ac0b2d9 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -838,7 +838,7 @@ static void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock)
/*
* The guest calculates current ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 26/35] Catchup slower TSC to guest rate
Use the catchup code to continue adjusting the TSC when
running at lower than the guest rate
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index a4215d7..086d56a 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1013,8 +1013,11 @@ static int kvm_guest_time_update(struct kvm_vcpu *v)
kvm_x86_ops->adjust_tsc_offset(v, ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 21/35] Track max tsc_khz
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 718bed9..517daf3 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -898,6 +898,7 @@ static void kvm_get_time_scale(uint32_t scaled_khz, uint32_t base_khz,
}
static DEFINE_PER_CPU(unsigned long, cpu_tsc_khz);
+unsigned long max_tsc_khz;
static inline int ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 27/35] Add TSC trapping
Add TSC trapping for SVM and VMX, with handler in common code.
Reasons to trap the TSC are numerous, but we avoid it as much
as possible for performance reasons. We don't trap TSC when
kvmclock is in use. We base the trapped TSC off the system
clock, which keeps it in sync on SMP virtual machines, and
we don't trap the TSC if the system TSC is "stable".
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 2 +
arch/x86/kvm/svm.c | 22 ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 19/35] Add timekeeping documentation
This can probably be merged right now.
--
| Aug 20, 10:50 am 2010 |
| Zachary Amsden | [KVM timekeeping 19/35] Add timekeeping documentation
Basic informational document about x86 timekeeping and how KVM
is affected.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
Documentation/kvm/timekeeping.txt | 613 +++++++++++++++++++++++++++++++++++++
1 files changed, 613 insertions(+), 0 deletions(-)
create mode 100644 Documentation/kvm/timekeeping.txt
diff --git a/Documentation/kvm/timekeeping.txt b/Documentation/kvm/timekeeping.txt
new file mode 100644
index 0000000..cbbc0d5
--- /dev/null
+++ ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 28/35] Unstable TSC write compensation
Now that we have trapping and catchup mode, based off guest virtual
TSC khz, we can accomodate writes to unstable TSCs by doing computation
in guest HZ rather than the transient host HZ. Instead of a large
window of approximate elapsed time, we use a narrower (1 second) window of
delta time between the guest TSC and system time.
With this change, guests no longer exhibit pathological behavior
during guest initiatied TSC recalibration.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 29/35] TSC overrun protection
When running on a TSC which runs at a higher rate than the guest
TSC, and not in KVM clock mode, we should not pass through the
TSC. Add logic to detect this and switch into trap mode.
There are a few problems with this; first, the condition is not
detected at creation time. This isn't currently an issue since the
clock will be set to the highest possible rate.
The second problem is that we don't have a way to exit this mode;
the underlying TSC will accelerate beyond our control, and so ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 32/35] Entry conditions for TSC trapping
We must also handle the reverse condition; TSC can't go backwards
when trapping, and it's possible that bad hardware offsetting
makes this problem visible when entering trapping mode.
This is accomodated by adding a 'bump' field to the computed
TSC; it's not pleasant but it works.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 2 +
arch/x86/kvm/x86.c | 58 +++++++++++++++++++++++++++++++++++---
2 files changed, 55 insertions(+), 5 ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 35/35] Add some debug stuff
Very useful, debug-only output
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 33 +++++++++++++++++++++++++++++++--
1 files changed, 31 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 23d5138..c74a087 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -967,6 +967,9 @@ static void bump_guest_tsc(struct kvm_vcpu *vcpu, s64 bump, s64 kernel_ns)
pr_debug("kvm: vcpu%d bumped TSC by %lld\n", vcpu->vcpu_id, ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 34/35] Remove dead code
This function is basically almost completely totally useless.
N.B. The hardware_enable code is not redundant; we could have an old
VCPU thread hanging around that was not rescheduled during a
CPU hotremove / hotadd event.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index a7fa24e..23d5138 100644
--- a/arch/x86/kvm/x86.c
+++ ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 33/35] Indicate reliable TSC in kvmclock
When no platform bugs have been detected, no TSC warps have been
detected, and the hardware guarantees to us TSC does not change
rate or stop with P-state or C-state changes, we can consider it reliable.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 86f182a..a7fa24e 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -55,6 ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 33/35] Indicate reliable TSC in kvmclock
This is not enough.
We still can have bugs arriving from the difference in resolution between the underlying
clock and the tsc. What we're doing here, is to pass a reliable flag, to a non-reliable
guest tsc. We can only trust the guest kvmclock to be tsc-stable if the host is using
tsc clocksource as well.
Since the stable bit have to be read from the guest at every clock read, we can just
use it, and drop it if the host changes its clocksource.
An alternative for the reliable tsc case, ...
| Aug 20, 10:45 am 2010 |
| Zachary Amsden | [KVM timekeeping 31/35] Exit conditions for TSC trapping
Apply exit conditions for TSC trapping back to non-trap mode.
To simplify the logic, we use a few static decision functions
and move all the entry / exit to and from trap directly into the
clock update handler.
We pick up a slight benefit of not having to rebase the TSC at every
possible preemption point when we are trapping, which we now know
definitively because the transition points are all in one place.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 30/35] IOCTL for setting TSC rate
wrap this into a struct?
--
| Aug 20, 10:56 am 2010 |
| Zachary Amsden | [KVM timekeeping 30/35] IOCTL for setting TSC rate
Add an IOCTL for setting the TSC rate for a VM, intended to
be used to migrate non-kvmclock based VMs which rely on TSC
rate staying stable across host migration.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 36 ++++++++++++++++++++++++++++++++++++
include/linux/kvm.h | 4 ++++
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 887e30f..e618265 100644
--- a/arch/x86/kvm/x86.c
+++ ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 23/35] Set initial TSC rate conversion ...
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 3 +++
arch/x86/kvm/x86.c | 12 ++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 638cae5..3a54cc1 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -403,6 +403,9 @@ struct kvm_arch {
u64 last_tsc_nsec;
u64 last_tsc_offset;
u64 ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 22/35] Track tsc last write in vcpu
Reason becomes apparent soon; this is an easy to digest step.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 2 ++
arch/x86/kvm/x86.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 871800d..638cae5 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -341,6 +341,8 @@ struct kvm_vcpu_arch {
u64 ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 20/35] Make math work for other scales
The math in kvm_get_time_scale relies on the fact that
NSEC_PER_SEC < 2^32. To use the same function to compute
arbitrary time scales, we must extend the first reduction
step to shrink the base rate to a 32-bit value, and
possibly reduce the scaled rate into a 32-bit as well.
Note we must take care to avoid an arithmetic overflow
when scaling up the tps32 value (this could not happen
with the fixed scaled value of NSEC_PER_SEC, but can
happen with scaled rates above 2^31.
Signed-off-by: ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 18/35] Use getnsboottime in KVM
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/x86.c | 18 ++++--------------
1 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index fe74b42..ce03c2c 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -893,16 +893,6 @@ static void kvm_set_time_scale(uint32_t tsc_khz, struct pvclock_vcpu_time_info *
hv_clock->tsc_to_system_mul);
}
-static inline u64 get_kernel_ns(void)
-{
- struct timespec ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 16/35] Fix a possible backwards warp of ...
Kernel time, which advances in discrete steps may progress much slower
than TSC. As a result, when kvmclock is adjusted to a new base, the
apparent time to the guest, which runs at a much higher, nsec scaled
rate based on the current TSC, may have already been observed to have
a larger value (kernel_ns + scaled tsc) than the value to which we are
setting it (kernel_ns + 0).
We must instead compute the clock as potentially observed by the guest
for kernel_ns to make sure it does not go ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 09/35] Unify TSC logic
Move the TSC control logic from the vendor backends into x86.c
by adding adjust_tsc_offset to x86 ops. Now all TSC decisions
can be done in one place.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 5 +++--
arch/x86/kvm/svm.c | 26 ++++++++++----------------
arch/x86/kvm/vmx.c | 22 ++++++++--------------
arch/x86/kvm/x86.c | 17 ++++++++++++++---
4 files changed, 35 insertions(+), 35 ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 06/35] TSC reset compensation
Attempt to synchronize TSCs which are reset to the same value. In the
case of a reliable hardware TSC, we can just re-use the same offset, but
on non-reliable hardware, we can get closer by adjusting the offset to
match the elapsed time.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 3 +++
arch/x86/kvm/x86.c | 31 ++++++++++++++++++++++++++++++-
2 files changed, 33 insertions(+), 1 deletions(-)
diff --git ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 13/35] Perform hardware_enable in CPU_S ...
The CPU_STARTING callback was added upstream with the intention
of being used for KVM, specifically for the hardware enablement
that must be done before we can run in hardware virt. It had
bugs on the x86_64 architecture at the time, where it was called
after CPU_ONLINE. The arches have since merged and the bug is
gone.
It might be noted other features should probably start making
use of this callback; microcode updates in particular which
might be fixing important erratums would be best ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 05/35] Move TSC reset out of vmcb_init
The VMCB is reset whenever we receive a startup IPI, so Linux is setting
TSC back to zero happens very late in the boot process and destabilizing
the TSC. Instead, just set TSC to zero once at VCPU creation time.
Why the separate patch? So git-bisect is your friend.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/svm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 74e4522..e8bfe8e 100644
--- ...
| Aug 20, 1:07 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 05/35] Move TSC reset out of vmcb_init
Shouldn't we set for whatever value the BSP already has, and then the BSP to
zero? Since vcpus are initialized at different times, this pretty much
guarantees that the guest will have desynchronized tsc at all cases
(not that if it was better before...)
--
| Aug 20, 10:08 am 2010 |
| Glauber Costa | Re: [KVM timekeeping 01/35] Drop vm_init_tsc
Ok, not a big loose, I agree.
Btw, I suggest we start merging some of those simple
and self-contained patches, before the series grows too big.
Makes it easier for everyone to review the real important stuff.
--
| Aug 20, 9:54 am 2010 |
| Zachary Amsden | [KVM timekeeping 01/35] Drop vm_init_tsc
This is used only by the VMX code, and is not done properly;
if the TSC is indeed backwards, it is out of sync, and will
need proper handling in the logic at each and every CPU change.
For now, drop this test during init as misguided.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/include/asm/kvm_host.h | 1 -
arch/x86/kvm/vmx.c | 10 +++-------
arch/x86/kvm/x86.c | 2 --
3 files changed, 3 insertions(+), 10 deletions(-)
diff --git ...
| Aug 20, 1:07 am 2010 |
| Zachary Amsden | [KVM timekeeping 02/35] Convert TSC writes to TSC offset ...
Change svm / vmx to be the same internally and write TSC offset
instead of bare TSC in helper functions. Isolated as a single
patch to contain code movement.
Signed-off-by: Zachary Amsden <zamsden@redhat.com>
---
arch/x86/kvm/svm.c | 29 ++++++++++++++++-------------
arch/x86/kvm/vmx.c | 11 +++++------
2 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 7a2feb9..4cb8822 100644
--- a/arch/x86/kvm/svm.c
+++ ...
| Aug 20, 1:07 am 2010 |
| Mr.Jerry Ntai | Re:await your response
Although you might be apprehensive about my email as we have not met before, My name is Mr.Jerry Ntai, Head of Operation Mevas
Bank,Hong Kong.I have a secured business proposal in the tune of $21.5m for you to handle with me from my bank.
---- Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail
--
| Aug 20, 1:03 am 2010 |
| Peter Hutterer | [PATCH 0/3] touch tablet support for the w8001 serial driver
These patches add support for newer tablets to the wacom w8001 serial
driver. The first patch simply adds the support for the Pen/Eraser tool and
the stylus button.
The second patch detects touch-capable tablets and discard their packets.
Touch packets are interleaved with pen packets and their length depends on
the sensor model. Detect these packets and discard them silently.
The third patch adds MT slot support for two-finger touch devices.
Patches tested on a 2 finger touch device but ...
| Aug 19, 9:55 pm 2010 |
| Dave Chinner | [PATCH 0/2] radix-tree: fix writeback livelock avoidance code
The following two patches fix bugs in the new radix tree functionality used to
implement the writeback livelock avoidance code. Both bugs manifest themselves
as stray PAGECACHE_TAG_TOWRITE tags in the mapping->page_tree radix tree
resulting in livelocks during tag lookups. More subtly, they also appear to
result in writeback tree walks occasionally terminating early and so not
actually writing all the pages they are supposed to.
Please review and test - these are pretty serious problems for the ...
| Aug 19, 10:22 pm 2010 |
| Jan Kara | Re: [PATCH 0/2] radix-tree: fix writeback livelock avoid ...
Really, how that early termination could happen? I'm just wondering
because I don't see that.. The code just mindlessly copies tags regardless
of how target flags are set so that's why I'd think that any stale copied
flags just don't matter...
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 20, 6:51 am 2010 |
| Dave Chinner | Re: [PATCH 0/2] radix-tree: fix writeback livelock avoid ...
With the debug I had in pace, I saw a couple of find_get_pages_tag
loops stop (nr_found == 0) rather than livelock when they
encountered a stray tag, which appears to result in writeback not
writing all the pages. I also saw invalidation removing pages from
the page cache that had the PAGECACHE_TAG_TOWRITE tag set, which
indicated that sometimes they weren't getting written back as they
should have been. These were quite rare - they maybe occurred once
for every 1000 livelock occurrences I ...
| Aug 20, 7:29 am 2010 |
| Nick Piggin | Aug 20, 1:02 am 2010 | |
| Dave Chinner | [PATCH 2/2] radix-tree: radix_tree_range_tag_if_tagged() ...
From: Dave Chinner <dchinner@redhat.com>
Commit ebf8aa44beed48cd17893a83d92a4403e5f9d9e2 ("radix-tree:
omplement function radix_tree_range_tag_if_tagged") does not safely
set tags on on intermediate tree nodes. The code walks down the tree
setting tags before it has fully resolved the path to the leaf under
the assumption there will be a leaf slot with the tag set in the
range it is searching.
Unfortunately, this is not a valid assumption - we can abort after
setting a tag on an intermediate ...
| Aug 19, 10:22 pm 2010 |
| Jan Kara | Re: [PATCH 2/2] radix-tree: radix_tree_range_tag_if_tagg ...
Hi,
I've reviewed the patch and it looks good. I'll put the patches to
testing on my machine and also uptade Andrew's radix-tree test suite to
catch these types of bugs and run it just to be sure.
Anyway, for now:
Acked-by: Jan Kara <jack@suse.cz>
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 20, 6:39 am 2010 |
| Nick Piggin | Aug 20, 1:00 am 2010 | |
| Dave Chinner | [PATCH 1/2] radix-tree: clear all tags in radix_tree_nod ...
From: Dave Chinner <dchinner@redhat.com>
Commit f446daaea9d4a420d16c606f755f3689dcb2d0ce ("mm: implement
writeback livelock avoidance using page tagging") introduced a new
radix tree tag, increasing the number of tags in each node from 2 to
3. It did not, however, fix up the code in
radix_tree_node_rcu_free() that cleans up after radix_tree_shrink()
and hence could leave stray tags set in the new tag array.
The result is that the livelock avoidance code added in the the
above commit would ...
| Aug 19, 10:22 pm 2010 |
| Jan Kara | Re: [PATCH 1/2] radix-tree: clear all tags in radix_tree ...
The patch looks good. Thanks!
Acked-by: Jan Kara <jack@suse.cz>
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 20, 6:00 am 2010 |
| Mark Brown | Re: [PATCH] ASoC: multi-component: remove include of pxa ...
Applied, thanks.
--
| Aug 20, 4:09 am 2010 |
| Axel Lin | [PATCH] ASoC: multi-component: remove include of pxa2xx- ...
Fix reference to moved header file, which was unused anyway.
This change fixes below build error:
CC sound/soc/pxa/pxa2xx-ac97.o
sound/soc/pxa/pxa2xx-ac97.c:27:24: error: pxa2xx-pcm.h: No such file or directory
make[3]: *** [sound/soc/pxa/pxa2xx-ac97.o] Error 1
make[2]: *** [sound/soc/pxa] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
I encountered the build error in today's linux-next tree. ( next-20100820 ...
| Aug 19, 10:23 pm 2010 |
| Peter Hutterer | [PATCH 2/3] input: support (and ignore) touch tablets in ...
Tablets that support touch input may report different sized packages,
depending on the touch sensor in the tablet. For now, discard the
packages until we report them as touch input proper.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
drivers/input/touchscreen/wacom_w8001.c | 88 ++++++++++++++++++++++++++++++-
1 files changed, 86 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/wacom_w8001.c b/drivers/input/touchscreen/wacom_w8001.c
index ...
| Aug 19, 9:55 pm 2010 |
| Peter Hutterer | [PATCH 1/3] input: send BTN_TOOL_PEN/RUBBER and BTN_STYL ...
The protocol used by the w8001 supports status fields for tip, side
switch and eraser as well as a RDY field for proximity.
The protocol has a double usage for the f2 bit in the packet. If set,
the data is either pen + side2 button or eraser. Assume eraser if the
device comes into proximity with the f2 bit set, otherwise trigger the
side2 button.
If the device comes into proximity with the f2 bit and that bit
disappears afterwards, fake proximity out for the eraser and proximity
in for the ...
| Aug 19, 9:55 pm 2010 |
| Peter Hutterer | [PATCH 3/3] input: add multitouch slot support to w8001.
Some serial wacom devices support two-finger touch. Test for this during
init and parse the touch packets accordingly. Touch packets are
processed using Protocol B (MT Slots).
Note: there are several wacom versions that do touch but not two-finger
touch. These are not catered for here, touch events for these are simply
discarded.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
CC: Henrik Rydberg <rydberg@euromail.se>
---
drivers/input/touchscreen/wacom_w8001.c | 99 ...
| Aug 19, 9:55 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] writeback: remove the internal 5% low bound ...
Thank you.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
--
| Aug 19, 9:13 pm 2010 |
| Wu Fengguang | Re: [PATCH] writeback: remove the internal 5% low bound ...
Good point. I'll do more homework. Thanks for the reminding!
Thanks,
Fengguang
--
| Aug 19, 10:56 pm 2010 |
| Con Kolivas | Re: [PATCH] writeback: remove the internal 5% low bound ...
I have tried to do this in the past, and setting this value to 0 on some
machines caused the machine to come to a complete standstill with small
writes to disk. It seemed there was some kind of "minimum" amount of data
required by the VM before anything would make it to the disk and I never
quite found out where that blockade occurred. This was some time ago (3 years
ago) so I'm not sure if the problem has since been fixed in the VM since
then. I suggest you do some testing with this value ...
| Aug 19, 10:50 pm 2010 |
| Rik van Riel | Re: [PATCH] writeback: remove the internal 5% low bound ...
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 19, 8:46 pm 2010 |
| Stephen Rothwell | linux-next: Tree for August 20
Hi all,
Changes since 20100819:
The libata tree lost its build failure.
The input tree lost its build failure but gained another for which I
applied a patch.
The lost-spurious-irq tree lost some of its conflicts.
----------------------------------------------------------------------------
I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/v2.6/next/ ). If you
are tracking ...
| Aug 19, 8:33 pm 2010 |
| Stephen Rothwell | linux-next: build failure after merge of the final tree ...
Hi Dmitry,
After merging the final tree, today's linux-next build (i386 defconfig)
failed like this:
In file included from drivers/gpu/drm/i915/i915_irq.c:29:
include/linux/sysrq.h:45: error: expected declaration specifiers or '...' before 'bool'
Caused by commit a821bafce37b26499e2bfbf2e6b96b0636efc014 ("Input: sysrq
- drop tty argument form handle_sysrq()") from the input tree which
(despite not mentioning this) changed an "int" argument to "bool" but
neglected to include ...
| Aug 19, 8:12 pm 2010 |
| Lin Ming | [PATCH] lockup_detector: Make callback function static
watchdog_overflow_callback is only used in kernel/watchdog.c.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
kernel/watchdog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 613bc1f..b60e2a8 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -202,7 +202,7 @@ static struct perf_event_attr wd_hw_attr = {
};
/* Callback function for perf event subsystem */
-void watchdog_overflow_callback(struct ...
| Aug 19, 8:03 pm 2010 |
| Don Zickus | Aug 20, 5:19 am 2010 | |
| tip-bot for Lin Ming | [tip:core/locking] lockup_detector: Make callback functi ...
Commit-ID: 277b199800ac90811ac86d215063df1984f51619
Gitweb: http://git.kernel.org/tip/277b199800ac90811ac86d215063df1984f51619
Author: Lin Ming <ming.m.lin@intel.com>
AuthorDate: Fri, 20 Aug 2010 11:03:51 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 10:09:41 +0200
lockup_detector: Make callback function static
watchdog_overflow_callback() is only used in kernel/watchdog.c.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra ...
| Aug 20, 5:41 am 2010 |
| Ingo Molnar | Re: [GIT PULL 0/3] perf/core improvements
Pulled, thanks a lot Arnaldo!
Ingo
--
| Aug 20, 1:07 am 2010 |
| Arnaldo Carvalho de Melo | [GIT PULL 0/3] perf/core improvements
Hi Ingo,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 perf/core
Regards,
- Arnaldo
Arnaldo Carvalho de Melo (3):
perf ui browser: Abstract some more slang operations
perf ui browser: Return the exit key in all browsers
perf ui browser: Add routines to compactly specify exit keys
tools/perf/builtin-annotate.c | 17 ++--
tools/perf/util/ui/browser.c | 93 +++++++++++--------
tools/perf/util/ui/browser.h ...
| Aug 19, 7:47 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 3/3] perf ui browser: Add routines to compactly s ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
This makes the usual idiom for specifying a series of key codes to exit
ui_browser__run() for specialized processing (search, annotate, etc) or
plain exiting the browser more compact.
It also abstracts away some more libnewt operations. At some point we'll
also replace NEWT_KEY_foo with something that can be mapped to NEWT or,
say, gtk.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra ...
| Aug 19, 7:47 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 2/3] perf ui browser: Return the exit key in all ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Make all browsers return the exit key uniformly and remove the
newtExitStruct parameter, removing one more newt specific thing from the
ui API.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
tools/perf/builtin-annotate.c | ...
| Aug 19, 7:47 pm 2010 |
| Arnaldo Carvalho de Melo | [PATCH 1/3] perf ui browser: Abstract some more slang op ...
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Browsers don't have to deal with absolute coordinates, just using (row,
column) and leaving the rest to ui_browser is better and removes one
more UI backend detail from the browsers.
Also shorten the percent_color setting idiom, removing some more direct
libslang calls.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian ...
| Aug 19, 7:47 pm 2010 |
| COMPENSATION© 2010 | Aug 19, 6:11 pm 2010 | |
| Larry Finger | Re: Regression in 2.6.36-rc1 bisected to commit 9d8888c
Yes, it does fix my issue. I will note that a patch is available on the Bug report.
Thanks,
Larry
--
| Aug 20, 6:54 am 2010 |
| Larry Finger | Regression in 2.6.36-rc1 bisected to commit 9d8888c
With 2.6.36-rc1 from the mainline git tree, my x86_64 system running on an AMD
Turion 64 x2 TL-60 has required pressing keys to get booting to advance. This
behavior begins as soon as the kernel is loaded. I bisected the problem to:
commit 9d8888c2a214aece2494a49e699a097c2ba9498b
Author: Hans Rosenfeld <hans.rosenfeld@amd.com>
Date: Wed Jul 28 19:09:31 2010 +0200
x86, cpu: Clean up AMD erratum 400 workaround
Remove check_c1e_idle() and use the new AMD errata checking framework
...
| Aug 19, 7:26 pm 2010 |
| Borislav Petkov | Re: Regression in 2.6.36-rc1 bisected to commit 9d8888c
From: Larry Finger <Larry.Finger@lwfinger.net>
Fix is already upstream: http://git.kernel.org/tip/07a7795ca2e6e66d00b184efb46bd0e23d90d3fe
Can you verify it fixes your issue too please?
Thanks.
--
Regards/Gruss,
Boris.
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
--
| Aug 20, 12:51 am 2010 |
| Michael Neuling | [PATCH] audit: speedup for syscalls when auditing is disabled
We found that when auditing is disabled using "auditctl -D", that
there's still a significant overhead when doing syscalls. This overhead
is not present when a single never rule is inserted using "auditctl -a
task,never".
Using Anton's null syscall microbenchmark from
http://ozlabs.org/~anton/junkcode/null_syscall.c we currently have on a
powerpc machine:
# auditctl -D
No rules
# ./null_syscall
null_syscall: 739.03 cycles 100.00%
# auditctl -a task,never
# ...
| Aug 19, 7:13 pm 2010 |
| Axel Lin | [PATCH 4/4] regulator/wm8994-regulator: fix potential NU ...
pdata is dereferenced earlier than tested for being NULL.
Thus move the dereference of "pdata" below the check for NULL.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/wm8994-regulator.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c
index 03713bc..3ecc81f 100644
--- a/drivers/regulator/wm8994-regulator.c
+++ b/drivers/regulator/wm8994-regulator.c
@@ -202,15 ...
| Aug 19, 7:02 pm 2010 |
| Axel Lin | [PATCH 3/4] regulator/wm831x-ldo: fix potential NULL der ...
pdata is dereferenced earlier than tested for being NULL.
Thus move the dereference of "pdata" below the check for NULL.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/wm831x-ldo.c | 27 ++++++++++++++++++---------
1 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c
index e686cdb..040515d 100644
--- a/drivers/regulator/wm831x-ldo.c
+++ b/drivers/regulator/wm831x-ldo.c
@@ -303,14 +303,17 @@ ...
| Aug 19, 7:01 pm 2010 |
| Mark Brown | Re: [PATCH 1/4] regulator/wm831x-dcdc: fix potential NUL ...
ARRAY_SIZE() isn't actually a dereference, it's evaluated at compile time.--
| Aug 20, 2:03 am 2010 |
| Axel Lin | [PATCH 2/4] regulator/wm831x-isink: fix potential NULL d ...
pdata is dereferenced earlier than tested for being NULL.
Thus move the dereference of "pdata" below the check for NULL.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/wm831x-isink.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c
index 6c446cd..123d722 100644
--- a/drivers/regulator/wm831x-isink.c
+++ b/drivers/regulator/wm831x-isink.c
@@ -153,13 +153,16 @@ static ...
| Aug 19, 6:59 pm 2010 |
| Axel Lin | [PATCH 1/4] regulator/wm831x-dcdc: fix potential NULL de ...
pdata is dereferenced earlier than tested for being NULL.
Thus move the dereference of "pdata" below the check for NULL.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/wm831x-dcdc.c | 36 ++++++++++++++++++++++++------------
1 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c
index dbfaf59..ed66fac 100644
--- a/drivers/regulator/wm831x-dcdc.c
+++ b/drivers/regulator/wm831x-dcdc.c
@@ -501,14 ...
| Aug 19, 6:58 pm 2010 |
| Axel Lin | Re: [PATCH 1/4] regulator/wm831x-dcdc: fix potential NUL ...
Ah. You are right! Thanks.
Axel
--
| Aug 20, 8:43 am 2010 |
| Aneesh Kumar K.V | [PATCH -V18 13/13] ext4: Copy fs UUID to superblock
File system UUID is made available to application
via /proc/<pid>/mountinfo
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/ext4/super.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 2614774..b46a78c 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2941,6 +2941,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
...
| Aug 19, 6:51 pm 2010 |
| Christoph Hellwig | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
Suddenly getting an file pointer for a symlink which could never happen
before is a really bad idea. Just add a proper readlink_by_handle
system call, similar to what's done in the XFS interface.
--
| Aug 20, 1:30 am 2010 |
| Aneesh Kumar K.V | [PATCH -V18 06/13] vfs: Support null pathname in faccessat
This enables to use faccessat to get the access check details
from a file descriptor pointing to the file. This can be used
with open_by_handle syscall that returns a file descriptor.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/open.c | 29 +++++++++++++++++++++--------
1 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index 7abdcba..f907b50 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -288,9 +288,10 @@ ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 12/13] ext3: Copy fs UUID to superblock.
File system UUID is made available to application
via /proc/<pid>/mountinfo
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/ext3/super.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 5dbf4db..6dda322 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1918,6 +1918,7 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
sb->s_qcop = &ext3_qctl_operations;
sb->dq_op ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 09/13] x86: Add new syscalls for x86_64
Add sys_name_to_handle_at and sys_open_by_handle_at syscalls
for x86_64
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
arch/x86/ia32/ia32entry.S | 2 ++
arch/x86/include/asm/unistd_64.h | 5 +++++
fs/compat.c | 11 +++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/x86/ia32/ia32entry.S b/arch/x86/ia32/ia32entry.S
index b86feab..d93cd0d 100644
--- a/arch/x86/ia32/ia32entry.S
+++ ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
This ended up with the below new syscalls
sys_handle_readlink, sys_handle_stat64, sys_handle_link, sys_handle_chown,
sys_handle_setxattr, sys_handle_getxattr, sys_handle_listxattr,
sys_handle_removexattr, sys_handle_utimes, compat_sys_handle_utimes
-aneesh
--
| Aug 19, 11:53 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 08/13] x86: Add new syscalls for x86_32
This patch adds sys_name_to_handle_at and sys_open_by_handle_at
syscalls to x86_32
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
arch/x86/include/asm/unistd_32.h | 5 ++++-
arch/x86/kernel/syscall_table_32.S | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h
index b766a5e..62e35b7 100644
--- a/arch/x86/include/asm/unistd_32.h
+++ ...
| Aug 19, 6:51 pm 2010 |
| Neil Brown | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
On Fri, 20 Aug 2010 04:30:57 -0400
Why is that?
With futexes we suddenly get a file descriptor for something we could never
get a file descriptor on before and that doesn't seem to be a problem.
Why should symlinks be special as the only thing that you cannot have a file
descriptor for? Uniformity of interface is a very valuable property.
NeilBrown
--
| Aug 20, 2:53 am 2010 |
| Neil Brown | Re: [PATCH -V18 05/13] vfs: Support null pathname in readlink
On Fri, 20 Aug 2010 04:32:13 -0400
Again, you have made an assertion without justifying it.
I disagree, I think it is perfectly valid.
The function would still return an error in every case that it previously
returned an error, because in every previous case the fd would not have
referred to a symlink so the new version will have nothing to perform a
readlink on when NULL is passed. The error would probably be EINVAL rather
than EFAULT but even that difference could be avoided if it was ...
| Aug 20, 3:04 am 2010 |
| Aneesh Kumar K.V | [PATCH -V18 0/13] Generic name to handle and open by han ...
Hi,
The below set of patches implement open by handle support using exportfs
operations. This allows user space application to map a file name to file
handle and later open the file using handle. This should be usable
for userspace NFS [1] and 9P server [2]. XFS already support this with the ioctls
XFS_IOC_PATH_TO_HANDLE and XFS_IOC_OPEN_BY_HANDLE.
[1] http://nfs-ganesha.sourceforge.net/
[2] http://thread.gmane.org/gmane.comp.emulators.qemu/68992
git repo for the patchset ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 01/13] exportfs: Return the minimum required ...
The exportfs encode handle function should return the minimum required
handle size. This helps user to find out the handle size by passing 0
handle size in the first step and then redoing to the call again with
the returned handle size value.
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/btrfs/export.c | 8 ++++++--
fs/exportfs/expfs.c | 9 +++++++--
fs/fat/inode.c | 4 +++-
...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 03/13] vfs: Add open by file handle support
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/exportfs/expfs.c | 2 +
fs/namei.c | 220 +++++++++++++++++++++++++++++++++++++++++++---
fs/open.c | 32 ++++++-
include/linux/fs.h | 8 ++-
include/linux/namei.h | 1 +
include/linux/syscalls.h | 3 +
6 files changed, 247 insertions(+), 19 deletions(-)
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index cfee0f0..05a1179 100644
--- ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 02/13] vfs: Add name to file handle conversi ...
The syscall also return mount id which can be used
to lookup file system specific information such as uuid
in /proc/<pid>/mountinfo
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/open.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++
include/linux/exportfs.h | 3 +
include/linux/fs.h | 8 +++
include/linux/syscalls.h | 5 ++-
4 files changed, 144 insertions(+), 1 deletions(-)
diff --git a/fs/open.c b/fs/open.c
index ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 05/13] vfs: Support null pathname in readlink
From: NeilBrown <neilb@suse.de>
This enables to use readlink to get the link target name
from a file descriptor point to the link. This can be used
with open_by_handle syscall that returns a file descriptor for a link.
We can then use this file descriptor to get the target name.
This is similar to utimensat(2) interface
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/stat.c | 30 ++++++++++++++++++++++--------
1 files ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 10/13] unistd.h: Add new syscalls numbers to ...
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
include/asm-generic/unistd.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h
index b969770..8e7bd87 100644
--- a/include/asm-generic/unistd.h
+++ b/include/asm-generic/unistd.h
@@ -646,9 +646,13 @@ __SYSCALL(__NR_prlimit64, sys_prlimit64)
__SYSCALL(__NR_fanotify_init, sys_fanotify_init)
#define __NR_fanotify_mark 263
...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 11/13] vfs: Export file system uuid via /pro ...
We add a per superblock uuid field. File systems should
update the uuid in the fill_super callback
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/namespace.c | 16 ++++++++++++++++
include/linux/fs.h | 1 +
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 2e10cb1..041645a 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -837,6 +837,18 @@ const struct seq_operations mounts_op = {
.show = ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 07/13] vfs: Support null pathname in linkat
This enables to use linkat to create hardlinks from a
file descriptor pointing to the file. This can be used
with open_by_handle syscall that returns a file descriptor.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
---
fs/namei.c | 36 ++++++++++++++++++++++++++----------
1 files changed, 26 insertions(+), 10 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 2c79363..fd9febc 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2627,7 +2627,7 @@ int vfs_link(struct ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K.V | [PATCH -V18 04/13] vfs: Allow handle based open on symlinks
The patch update may_open to allow handle based open on symlinks.
The file handle based API use file descritor returned from open_by_handle_at
to do different file system operations. To find the link target name we
need to get a file descriptor on symlinks.
We should be able to read the link target using file handle. The exact
usecase is with respect to implementing READLINK operation on a
userspace NFS server. The request contain the file handle and the
response include target ...
| Aug 19, 6:51 pm 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
If we don't do this, we will need new syscalls for doing stat, readlink
and link on symlinks that take file handle as the argument. If that is ok,
I can redo the patch series accordingly.
-aneesh
--
| Aug 19, 7:13 pm 2010 |
| Christoph Hellwig | Re: [PATCH -V18 05/13] vfs: Support null pathname in readlink
Changing the interfaces of existing system calls to accept a NULL name
which previously wasn't acceptable is not valid. Even for new system
calls I think it's a bad idea. utimensat already has the most ugly
code of all fs related system calls because of that.
--
| Aug 20, 1:32 am 2010 |
| Al Viro | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
You are welcome to review the codepaths around pathname resolution for
assumptions of presense of ->follow_link() and friends; there _are_
subtle cases and dumping your "opened symlinks" in there is far from
a trivial change. Note that it affects more than just the starting
points of lookups; /proc/*/fd/* stuff is also involved.
BTW, speaking of NULL pathname, linkat() variant that allows creating a link
to an opened file is also a very dubious thing; at the very least, you get
non-trivial ...
| Aug 20, 4:51 am 2010 |
| Peter Zijlstra | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
FWIW
commit 82af7aca56c67061420d618cc5a30f0fd4106b80
Author: Eric Sesterhenn <snakebyte@gmx.de>
Date: Fri Jan 25 10:40:46 2008 +0100
Removal of FUTEX_FD
--
| Aug 20, 6:25 am 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
It is not just readlink that we would need. We would require
sys_handle_readlink, sys_handle_stat64, sys_handle_link, sys_handle_chown,
sys_handle_setxattr, sys_handle_getxattr, sys_handle_listxattr,
sys_handle_removexattr, sys_handle_utimes, compat_sys_handle_utimes
I have most of the changes done, so if we are ok adding all these
new syscalls i can post the patch series.
-aneesh
--
| Aug 20, 7:38 am 2010 |
| Aneesh Kumar K. V | Re: [PATCH -V18 05/13] vfs: Support null pathname in readlink
But from an interface point, it seems nice to say if the relative name
from an fd is NULL, the operation should happen on fd itself.
-aneesh
--
| Aug 20, 7:43 am 2010 |
| Neil Brown | Re: [PATCH -V18 04/13] vfs: Allow handle based open on s ...
On Fri, 20 Aug 2010 15:25:29 +0200
Interesting - thanks.
OK, adjust my argument to reference signalfd, timerfs and pollfd.
I haven't looked at that code before - "anon_inode_getfd" gives you an fd on
an inode for which
(stat.st_mode & S_IFMT) == 0
Cool! They have no format at all :-)
NeilBrown
--
| Aug 20, 4:47 pm 2010 |
| Stephen Rothwell | linux-next: build warning after merge of the input tree
Hi Dmitry,
After merging the battery tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
kernel/debug/debug_core.c:763: warning: initialization from incompatible pointer type
Introduced by commit 18a2700652683a04cceccbd08d5b415f7246cc26 ("Input:
sysrq - drop tty argument from sysrq ops handlers"). Grep is your
friend ...
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 19, 6:33 pm 2010 |
| Nigel Cunningham | Anyone want a telecommuting kernel developer keen to foc ...
Hi all.
I'm currently looking for a job or contract work, and really keen to
focus on contributing to the effort to improve kernel power management.
I'd like to stay in Australia or New Zealand, but will happily move to
another city (I'm in Geelong, near Melbourne) at the moment.
Regards,
Nigel
--
| Aug 19, 6:27 pm 2010 |
| H Hartley Sweeten | [PATCH] mtd/chips: cleanup Kconfig dependencies
Remove the MTD!=n dependency since that is handled by drivers/mtd/Kconfig.
Simplify the dependency checks for mtd/chips by using if/endif blocks. Remove
all default n since that is the Kconfig default.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Woodhouse <dwmw2@infradead.org>
---
diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig
index 35c6a23..baac353 100644
--- a/drivers/mtd/chips/Kconfig
+++ b/drivers/mtd/chips/Kconfig
@@ -1,5 +1,4 @@
...
| Aug 19, 6:18 pm 2010 |
| Tim Pepper | [PATCH 2/4 v2] kvm: rename x86 kvm->arch.n_alloc_mmu_pages
From: Dave Hansen <dave@linux.vnet.ibm.com>
[PATCH 2/4 v2] kvm: rename x86 kvm->arch.n_alloc_mmu_pages
Again, I think this is a poor choice of names. This value truly
means, "the number of pages which _may_ be allocated". But,
reading the value, "n_alloc_mmu_pages", I'm unable to think of
anything it should mean other than "the number of allocated mmu
pages", which is dead wrong.
It's really the high watermark, so let's give it a name to match:
nr_max_mmu_pages. This change will make ...
| Aug 19, 6:11 pm 2010 |
| Tim Pepper | [PATCH 4/4 v2] kvm: create aggregate kvm_total_used_mmu_ ...
From: Dave Hansen <dave@linux.vnet.ibm.com>
[PATCH 4/4 v2] kvm: create aggregate kvm_total_used_mmu_pages value
Note: this is the real meat of the patch set. It can be applied up
to this point, and everything will probably be improved, at least
a bit.
Of slab shrinkers, the VM code says:
* Note that 'shrink' will be passed nr_to_scan == 0 when the VM is
* querying the cache size, so a fastpath for that case is appropriate.
and it *means* it. Look at how it calls the shrinkers:
...
| Aug 19, 6:11 pm 2010 |
| Tim Pepper | [PATCH 3/4 v2] kvm: replace x86 kvm n_free_mmu_pages wit ...
From: Dave Hansen <dave@linux.vnet.ibm.com>
[PATCH 3/4 v2] kvm: replace x86 kvm n_free_mmu_pages with n_used_mmu_pages
I think doing this makes the code much more readable. That's
borne out by the fact that this patch removes code. "used"
also happens to be the number that we need to return back to
the slab code when our shrinker gets called. Keeping this
value as opposed to free makes the next patch simpler.
So, 'struct kvm' is kzalloc()'d. 'struct kvm_arch' is a
structure member (and ...
| Aug 19, 6:11 pm 2010 |
| Tim Pepper | [PATCH 1/4 v2] kvm: abstract kvm x86 mmu->n_free_mmu_pages
From: Dave Hansen <dave@linux.vnet.ibm.com>
[PATCH 1/4 v2] kvm: abstract kvm x86 mmu->n_free_mmu_pages
First of all, I think "free" is a poor name for this value. In
this context, it means, "the number of mmu pages which this kvm
instance should be able to allocate." To me, "free" implies
much more that the objects are there and ready for use. I think
"available" is a much better description, especially when you
see how it is calculated.
In this patch, we abstract its use into a ...
| Aug 19, 6:11 pm 2010 |
| Tim Pepper | [PATCH 0/4 v2] kvm: rework KVM mmu_shrink() code
The following series is the four patches Dave Hansen had queued for test
as mentioned last week in the thread:
"[PATCH] kvm: make mmu_shrink() fit shrinker's requirement"
Last week just before leaving for vacation Dave had noted in that thread
that these four were ready to merge based on our perf team's testing
finally having wrapped up. But it turns out he hadn't actually posted
them after refactoring in response to comments back in June...
I'm covering for him in his absence and had ...
| Aug 19, 6:10 pm 2010 |
| H Hartley Sweeten | [PATCH] mtd/ubi: cleanup and simplify Kconfig
Cleanup the Kconfig for UBI by using menuconfig to enable/disable the entire
driver. Remove the dependency checks for MTD_UBI and MTD_UBI_DEBUG by
wrapping the options in if/endif blocks and remove any redundant checks.
Remove all default n since that is the Kconfig default. Change menu "Additional
UBI debugging messages" into a comment to remove one menu level.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy ...
| Aug 19, 5:28 pm 2010 |
| Maxim Levitsky | [PATCH] My work on MemoryStick system
Hi,
This patch series contains the work I did for memorystick subsystem.
I resend slightly cleaned up driver for my card reader in patch #2
patch #1 and #3 are new and add support for Legacy MemorySticks (<= 128MB)
Everything works and more or less tested.
Best regards,
Maxim Levitsky
--
| Aug 19, 5:15 pm 2010 |
| Maxim Levitsky | [PATCH 3/3] memstick: add support for Legacy memorysticks
Huge thanks for Alex Dubov for code that this is based on
and for lot, really lot of help he gave me in understanding
MemorySticks and implementing this driver.
His help made this driver possible.
As any code that works with user data this driver isn't recommened
to use with valuable data.
It tries its best though to avoid data corruption and possible
damage to the card.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
MAINTAINERS | 5 +
...
| Aug 19, 5:15 pm 2010 |
| Maxim Levitsky | [PATCH 2/3] MEMSTICK: Add driver for Ricoh R5C592 Card reader.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
MAINTAINERS | 5 +
drivers/memstick/host/Kconfig | 13 +
drivers/memstick/host/Makefile | 1 +
drivers/memstick/host/r592.c | 889 ++++++++++++++++++++++++++++++++++++++++
drivers/memstick/host/r592.h | 177 ++++++++
5 files changed, 1085 insertions(+), 0 deletions(-)
create mode 100644 drivers/memstick/host/r592.c
create mode 100644 drivers/memstick/host/r592.h
diff --git a/MAINTAINERS ...
| Aug 19, 5:15 pm 2010 |
| Maxim Levitsky | [PATCH 1/3] memstick: add few common helpers
I add here few helpers that should make memstick
block driver a bit simplier.
Currently only my forthcoming ms_block.c will use them,
but I plan to make mspro_blk use them too.
Signed-off-by: Maxim Levitsky <maximlevisky@gmail.com>
---
drivers/memstick/core/memstick.c | 109 ++++++++++++++++++++++++++++++++++++++
include/linux/memstick.h | 22 +++++++-
2 files changed, 130 insertions(+), 1 deletions(-)
diff --git a/drivers/memstick/core/memstick.c ...
| Aug 19, 5:15 pm 2010 |
| Nicholas A. Bellinger | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
Hmmmm, Ok.. Then I will defer to mnc's judgement here about what level
of integration of LIO-Target for protocol and PDU defs for what he
currently handles with Open-iSCSI. Mike, do you have any more thoughts
here..?
I am pretty sure there are more important items to focus on inside from
this particuarly time-consuming and tedious cleanup, but am happy to
start a smaller cleanup of drivers/target/lio-target/iscsi_protocol.h
for starters..
Also, LIO-Target is still using an internal ...
| Aug 20, 2:14 am 2010 |
| FUJITA Tomonori | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
On Fri, 20 Aug 2010 02:14:34 -0700
btw, it would be better to focus on the target core code first rather
than its iscsi target driver? The mainline supports only ibm vscsi
target now. So the target core code and its new vscsi driver can be
merged to replace the current mainline target infrastructure and its
vscsi driver, I think. the iscsi target driver is a "new" feature,
which can be added later. No need to merge it with the target core
code (of course, we can merge it together if ...
| Aug 20, 2:41 am 2010 |
| Nicholas A. Bellinger | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
Ah yes the ibm vscsi driver. Well for that part I suppose we will need
a seperate tcm_ibmvscsi fabric module moving forward. This is where
that python script I mentioned when tcm_lpfc, tcm_qla2xxx, tcm_mvsas
where originally posted that would generates a new functioning configfs
skeleton with NOP I/O path handlers from a handful of user input.
Anyways, something like this would really come in handy for making ibm
vscsi go, and plus it makes life easier for me too. I will try to get ...
| Aug 20, 3:57 am 2010 |
| Nicholas A. Bellinger | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
Well, this is what was originally proposed for v2.6.35. But considering
the LIO-Target namesake and it's full use of logic from the TCM/ConfigFS
v4 design, I believe that hch thought it made sense to include it
together moving forward with TCM Core now that we are moving forward
I can plan to keep the posting of drivers/target/lio-target/ code
seperate, and after the upcoming public posting to linux-scsi for your
review of TCM core and TCM_Loop. But perhaps at this point LIO-Target
should ...
| Aug 20, 3:02 am 2010 |
| FUJITA Tomonori | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
On Fri, 20 Aug 2010 03:02:40 -0700
I think that James meant that we have only one scsi target
implementation and we need to replace the current in-kernel target
mode driver. So I don't think that we can merge TCM core without its
ibm vscsi driver. I might be wrong though.
--
| Aug 20, 3:43 am 2010 |
| Nicholas A. Bellinger | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
This is kinda what I figured myself.. So in that case, I will go ahead
and plan on using the initial target mode stubs above to get up and
running, and start doing this sometime after the next (seperate) posting
I think in order to merge the software iSCSI target fabric bits for
v2.6.37, it would sense to do it initially with something similar to
these stubs. From there I can have a more time to make necessary
modifications to LIO-Target and plan removing the header_digest target
stubs from ...
| Aug 20, 4:55 pm 2010 |
| FUJITA Tomonori | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
On Thu, 19 Aug 2010 15:45:47 -0700
It's up to Mike but it looks hacky to me. struct iscsi_pdu is defined
in the exact way as the spec does.
I don't think that iscsi_proto.h conversion is a must for the mainline
inclusion. I prefer to let it alone for now.
--
| Aug 20, 12:32 am 2010 |
| Mike Christie | Re: Conversion of LIO-Target to use include/scsi/iscsi_p ...
For the iscsi target, I think it is. For iscsi initiator drivers like
bnx2i and be2iscsi we have made them convert from their headers to
common linux ones including switching from driver specific defs to
iscsi_proto.h.
For the merging of any target core stuff though, I do not think it is
critical. The core target stuff does not need to be merged with a
software iscsi target. They can do in at different times.
--
| Aug 20, 2:41 pm 2010 |
| Yinghai Lu | Re: [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
On Fri, Aug 20, 2010 at 5:41 AM, tip-bot for Daniel Kiper
Do you have any report on real hardware?
that could not happen on real hardware.
--
| Aug 20, 12:24 pm 2010 |
| tip-bot for Daniel Kiper | [tip:x86/urgent] x86, apic: Fix apic=debug boot crash
Commit-ID: 05e407603e527f9d808dd3866d3a17c2ce4dfcc5
Gitweb: http://git.kernel.org/tip/05e407603e527f9d808dd3866d3a17c2ce4dfcc5
Author: Daniel Kiper <dkiper@net-space.pl>
AuthorDate: Fri, 20 Aug 2010 00:46:16 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 10:18:28 +0200
x86, apic: Fix apic=debug boot crash
Fix a boot crash when apic=debug is used and the APIC is
not properly initialized.
This issue appears during Xen Dom0 kernel boot but the
fix is ...
| Aug 20, 5:41 am 2010 |
| Wu Fengguang | Re: [PATCH 2/3] writeback: Adding pages_dirtied and page ...
As Rik said, /proc/sys is not a suitable place.
Frankly speaking I've worked on writeback for years and never felt
the need to add these counters. What I often do is:
$ vmmon -d 1 nr_writeback nr_dirty nr_unstable
nr_writeback nr_dirty nr_unstable
68738 0 39568
66051 0 42255
63406 0 44900
60643 0 47663
57954 ...
| Aug 19, 7:51 pm 2010 |
| Wu Fengguang | Re: [PATCH 2/3] writeback: Adding pages_dirtied and page ...
Yeah the accumulated dirty and writeback page counts could be useful.
For example, for inspecting the dirty and writeback speed over time.
That's not possible for nr_dirty/nr_writeback.
Thanks,
Fengguang
--
| Aug 20, 1:43 am 2010 |
| Wu Fengguang | Re: [PATCH 2/3] writeback: Adding pages_dirtied and page ...
Sorry, here is the mentioned vmmon source file.
The full ext3-tools package is here:
http://userweb.kernel.org/~akpm/stuff/ext3-tools.tar.gz
Thanks,
Fengguang
--
| Aug 19, 11:54 pm 2010 |
| Michael Rubin | Re: [PATCH 2/3] writeback: Adding pages_dirtied and page ...
So as I understand it from looking at the code vmmon is sampling
nr_writeback, nr_dirty which are exported versions of
global_page_state for NR_FILE_DIRTY and NR_WRITEBACK. These states are
a snapshot of the state of the kernel's pages. Namely how many dpages
ar ein writeback or dirty at the moment vmmon's acquire routine is
called.
vmmon is sampling /proc/vstat and then displaying the difference from
the last time they sampled. If I am misunderstanding let me know.
This is good for the ...
| Aug 20, 1:16 am 2010 |
| Wu Fengguang | Re: [PATCH 3/3] writeback: Reporting dirty thresholds in ...
It's redundant to have _pages in the names. /proc/vmstat has the
tradition to use nr_dirty instead of nr_pages_dirty.
They do look like useful counters to export, especially when we do
2.6.36-rc1 will need this:
global_dirty_limits(v + NR_DIRTY_THRESHOLD, v + NR_DIRTY_BG_THRESHOLD);
Thanks,
--
| Aug 19, 8:16 pm 2010 |
| Michael Rubin | Re: [PATCH 3/3] writeback: Reporting dirty thresholds in ...
Thank you for your quick reply and comments.
Yeah I noticed when I rebased. Thanks.
mrubin
--
| Aug 20, 1:18 am 2010 |
| Wu Fengguang | Re: [PATCH 1/3] mm: helper functions for dirty and write ...
s/account_pages_writeback/account_page_writeback/
I'd recommend to separate the changes into two patches.
It's actually a bug fix to export account_pages_dirty() for ceph,
That 'if' is not necessary. account_page_dirtied() already has one.
The extra 'if' is not an optimization either, because the ceph fs is
The 'if' test and *mapping parameter looks unnecessary at least for
now. The only place a mapping has BDI_CAP_NO_ACCT_WB but not
BDI_CAP_NO_WRITEBACK is fuse, which does its own ...
| Aug 19, 7:34 pm 2010 |
| Michael Rubin | Re: [PATCH 1/3] mm: helper functions for dirty and write ...
Cool.
Thanks.
--
| Aug 20, 1:19 am 2010 |
| Benjamin Gilbert | Re: 2.6.36-rc1 oopses at boot time in kobject allocation
The patch fixes it for me. Thanks.
--Benjamin Gilbert
--
| Aug 20, 12:02 pm 2010 |
| Benjamin Gilbert | Re: 2.6.36-rc1 oopses at boot time in kobject allocation
commit f8a4bd3456b988fc73b2c291b9e01b434c8fa940
Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Fri Jun 4 00:54:43 2010 -0700
firmware loader: embed device into firmware_priv structure
Both these structures have the same lifetime rules so instead of allocating
and managing them separately embed struct device into struct firmware_priv.
Also make sure to delete sysfs attributes ourselves instead of expecting
sysfs to clean up our mess.
...
| Aug 20, 5:48 am 2010 |
| Greg KH | Re: 2.6.36-rc1 oopses at boot time in kobject allocation
Great, it's in my queue to go to Linus in a day or so.
thanks for testing.
greg k-h
--
| Aug 20, 12:07 pm 2010 |
| Ming Lei | Re: 2.6.36-rc1 oopses at boot time in kobject allocation
This commit does introduce one possible double free, maybe is related with
the issue, please try the attachment patch to see if the oops can be fixed.
--
Lei Ming
| Aug 20, 6:53 am 2010 |
| Rik van Riel | Re: [RFC][PATCH 4/6] mm: Remove all KM_type arguments
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 2:44 pm 2010 |
| Peter Zijlstra | Re: [RFC][PATCH 0/6] mm, highmem: kmap_atomic rework
Ah, I should add a:
WARN_ON_ONCE(in_irq() && !irqs_disabled());
like check to ensure people don't use kmap_atomic() in nestable IRQ
contexts (nestable IRQ context is bad anyway) the old debug code I
+#ifdef CONFIG_DEBUG_HIGHMEM
+ BUG_ON(idx > KM_TYPE_NR);
+#endif
Right, so I currently have:
- stack size check in push/pop
- proper nesting check in pop (verifies that the vaddr you try to
unmap is indeed the top most on the stack)
Aside from the proposed no ...
| Aug 20, 7:38 am 2010 |
| Rik van Riel | Re: [RFC][PATCH 5/6] mm: Fix up KM_type argument removal ...
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 2:45 pm 2010 |
| Rik van Riel | Re: [RFC][PATCH 3/6] mm, frv: Out-of-line kmap-atomic
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 2:48 pm 2010 |
| Rik van Riel | Re: [RFC][PATCH 1/6] mm: strictly nested kmap_atomic
Reviewed-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 1:50 pm 2010 |
| Rik van Riel | Re: [RFC][PATCH 6/6] mm: Remove pte_*map_nested()
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 2:47 pm 2010 |
| Rik van Riel | Re: [RFC][PATCH 2/6] mm: stack based kmap_atomic
Acked-by: Rik van Riel <riel@redhat.com>
--
All rights reversed
--
| Aug 20, 2:34 pm 2010 |
| Joe Perches | Re: [RFC patch (against wireless-next)] include/net/cfg8 ...
As is, that'd print:
"<level>dev_driver_string(&wiphy->dev) dev_name(&wiphy->dev): wiphy_name(wiphy): " fmt, ##args
for instance:
[ 41.261941] ieee80211 phy0: phy0: Selected rate control algorithm 'minstrel_ht'
ie: redundant.
wiphy_name(wiphy) is an inline for dev_name(&wiphy->dev)
So it's appropriate to use:
#define wiphy_<level>(wiphy, fmt, arg...) dev_<level>(&wiphy->dev, fmt, ##arg)
and the output becomes:
[ 41.261941] ieee80211 phy0: Selected rate control algorithm ...
| Aug 20, 3:13 pm 2010 |
| Ingo Molnar | Re: [tip:x86/urgent] x86, asm: Refactor atomic64_386_32. ...
I think Greg generally includes all upstream commits marked with a -stable tag
- except if it wont apply cleanly, in which case he mails for a backport.
It of course has to fit in the regular stable release cycle, so the patches
dont propagate instantaneously.
Thanks,
Ingo
--
| Aug 20, 1:21 am 2010 |
| Jean Delvare | Re: [PATCH] MAINTAINERS: hwmon/coretemp: Change coretemp ...
Hi Fenghua,
Thanks for stepping in! The coretemp driver definitely needs some
Applied, thanks.
--
Jean Delvare
--
| Aug 19, 11:53 pm 2010 |
| Greg Ungerer | Re: [uClinux-dev] [PATCH] m68k, m68knommu: Wire up fanot ...
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
--
| Aug 19, 8:38 pm 2010 |
| KOSAKI Motohiro | Re: [PATCH] oom: __task_cred() need rcu_read_lock()
Thank you!
--
| Aug 19, 5:09 pm 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
It depends. Imagine your frame grabber has built-in RAM buffer on board
just as the frame buffer RAM on graphics cards, defined in BAR. You can use
dma_declare_coherent_memory()/dma_release_declared_memory() in
your driver and then use dma_alloc_coherent()/dma_free_coherent()
to allocate dma buffers from it and falling back transparently to system RAM
Yes, just to preallocate not coherent, but rather contiguous memory for latter usage.
I do not know why dma_pool API doesn't work for frame ...
| Aug 20, 1:13 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Fri, 20 Aug 2010 11:13:45 +0300
Hmm, you don't care about coherency? You just need contiguous memory?
Then, I prefer to invent the API to allocate contiguous
I think that dma_pool API is for small coherent memory (smaller than
PAGE_SIZE) so it might not work for you. However, the purpose of
dma_pool API is exactly for what you want to do, creating a pool for
coherent memory per device for drivers.
I don't see any reason why we can't extend the dma_pool API for your
case. And it looks ...
| Aug 20, 1:35 am 2010 |
| FUJITA Tomonori | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
On Thu, 19 Aug 2010 18:18:35 +0300
I think that drivers/base/dma-coherent.c is for architectures to
implement dma_alloc_coherent(). So using it for drivers doesn't look
What you guys exactly want to do? If you just want to pre-allocate
coherent memory for latter usage, why dma_pool API (mm/dmapool.c)
doesn't work?
--
| Aug 20, 12:17 am 2010 |
| Marin Mitov | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Yes. We just need contiguous memory. Coherency is important as far as when dma
transfer finishes user land is able to see the new data. Could be done by something like
Sure, but in any case videobuf-dma-contig framework in drivers/media/video
is already built around dma-coherent (nevertheless it is precious), so the two new
functions are just a helpful extension to the existing use of dma-coherent memory.
In any case, as far as these two functions will be mainly used by media/video ...
| Aug 20, 4:50 am 2010 |
| Guennadi Liakhovetski | Re: [RFC][PATCH] add dma_reserve_coherent_memory()/dma_f ...
Ok, so, we've got two solutions to this problem submitted on the same
day;) Following this thread:
http://marc.info/?t=128128236400002&r=1&w=2
on the ARM Linux kernel ML, I submitted a patch series
http://thread.gmane.org/gmane.linux.ports.sh.devel/8595
with a couple of fixes and improvements, the actual new API and a use
example. My approach is slightly different, in that instead of requiring
drivers to issue two calls - one to reserve RAM (usually
dma_alloc_coherent()) and one to ...
| Aug 20, 1:05 pm 2010 |
| Corrado Zoccolo | Re: Using block layer's I/O context api (block/blk-ioc.c ...
Sure. I think you can get an idea by grabbing an old enough kernel
that still has anticipatory scheduler (if I recall correctly, 2.6.32
should have it), and look at its functions.
Or you can look at my post:
http://lists.openwall.net/linux-kernel/2009/06/08/387, where I
implemented a proof-of-concept I/O scheduler based on anticipatory
scheduler. Most of the concepts in that scheduler were later ported to
CFQ.
Do you already have a scheduling algorithm in mind? And what will be
your main ...
| Aug 19, 11:51 pm 2010 |
| KOSAKI Motohiro | Re: oom: __task_cred() need rcu_read_lock()
Thank you for correction.
I suppose you mean I missed CONFIG_TREE_PREEMPT_RCU, right?
As far as my grepping, other rcu implementation and spinlock use
preempt_disable(). In other word, Can I assume usual distro user
don't hit this issue?
Thanks.
--
| Aug 19, 5:08 pm 2010 |
| David Howells | Re: oom: __task_cred() need rcu_read_lock()
No. The paths by which a process changes its credentials don't normally take
tasklist_lock, so holding tasklist_lock doesn't prevent the process you're
looking at from replacing its cred and discarding the ones you're looking at.
Further, unless you're holding the RCU read lock, there's nothing theoretically
stopping the system from deleting the discarded credentials.
David
--
| Aug 20, 1:50 am 2010 |
| Tony Lindgren | Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers
Hi,
Just checking.. Anton, can you please queue up this 2/2 patch too to
keep them together? Here's my ack:
Acked-by: Tony Lindgren <tony@atomide.com>
--
| Aug 20, 12:25 am 2010 |
| Ameya Palande | Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers
Hi Heikki,
On Thu, 2010-08-19 at 15:09 +0200, Krogerus Heikki (EXT-Teleca/Helsinki)
Yes, I would have preferred "platform_device_register_simple" instead of
"platform_device_register", but doesn't matter now ;)
Cheers,
Ameya.
--
| Aug 20, 1:41 am 2010 |
| Anton Vorontsov | Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers
Sure thing, applied.
Thanks!
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
--
| Aug 20, 9:24 am 2010 |
| Andi Kleen | Re: [RFC][PATCH] introduce ptr_diff()
Usually you can just use x/n = x*(1/n) and generate *(1/n) with 1/n
being computed at compile time. Multiplications are fast in hardware.
gcc only does that when -Os is not set though (friends don't let friends
compile with -Os...)
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--
| Aug 20, 5:57 am 2010 |
| Al Viro | Re: [RFC][PATCH] introduce ptr_diff()
"Bogosity" in question is quite real and proposed "fix" actually makes the
things even worse. At least gcc bothers to optimize the division in there...
Basically, sparse warns about pointer subtractions that divide by constants
that are not powers of two. Which _does_ have non-trivial price, even with
optimizations done by gcc.
Posted patch is complete crap, since all it does is
a) confuse sparse into not noticing the operation
b) confuse gcc into not trying to optimize the thing, which ...
| Aug 20, 5:07 am 2010 |
| Al Viro | Re: [RFC][PATCH] introduce ptr_diff()
Frankly, I'd rather stop crapping -Wall into its arguments; there's
a reason why that check is optional and it's *not* defaulting to
on in sparse.
--
| Aug 20, 5:12 am 2010 |
| Matthew Wilcox | Re: [RFC][PATCH] introduce ptr_diff()
I'm not sure the price is so high. I googled around and came across
http://mdfs.net/Docs/Comp/ARM/Cookbook/cook3 (section 3.3). Dividing by
2^n, (2^n + 2^m) or (2^n - 2^m) can be done using a small series of adds
and subtractions (important on ARM as it had no divide instruction at
the time). Most structures are going to be of one of these sizes ...
and in particular, struct page is 56 bytes in my config, which is 64 - 8.
Maybe sparse needs to be taught that dividing by 2^n [+-] 2^m is ...
| Aug 20, 5:49 am 2010 |
| Raju Rameshwar Uprade | Re: Regarding USB-Serial Device driver
Hello Greg,
No the driver is not working properly for me.I have connected RS-485
interface card to the USB-Serial adaptor through which I am controlling six MCM card(
Control & Monitor unit). When I send command to MCM 2 , command also goes to MCM 10 & 0.
When I checked on the oscilloscope, I found out that instead of going some ten bytes,
large number of bytes are going out.
Current kernel version have that RTS support, but for 2.6.25 it doesn't have.
I am ...
| Aug 19, 8:42 pm 2010 |
| Greg KH | Re: Regarding USB-Serial Device driver
Again, please use a more modern kernel version, and then, please show
the exact diff (in 'diff -u' format) that you made.
thanks,
greg k-h
--
| Aug 20, 8:39 am 2010 |
| Greg KH | Re: Regarding USB-Serial Device driver
A: No.
Q: Should I include quotations after my reply?
http://daringfireball.net/2007/07/on_top
Is the data going to the usb device properly? You can use usbmon to see
2.6.25 is many years old and not supported by any community member.
I don't know the changes you made, can you please show them in diff
format?
thanks,
greg k-h
--
| Aug 19, 8:56 pm 2010 |
| Raju Rameshwar Uprade | Re: Regarding USB-Serial Device driver
Greg,
Sorry for including quotations in my email.
Oliver,
I see the superfluous data with usbmon also.
I have changed the pl2303_write(), according to my need.I enabled the RTS line before
the data transmission and after a delay of 5ms ,disabled the RTS lines for my MCM device
to respond.
Thanks,
Raju
--
| Aug 19, 11:56 pm 2010 |
| Grant Likely | Aug 20, 1:46 pm 2010 | |
| Liam Girdwood | Re: [PATCH] ASoC: e740_wm9705 - free gpio in e740_exit()
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
| Aug 20, 2:26 am 2010 |
| Mark Brown | Re: [PATCH] ASoC: e740_wm9705 - free gpio in e740_exit()
Applied, thanks.
--
| Aug 20, 2:37 am 2010 |
| Al Viro | Re: [PATCH 0/4] initramfs: remove sparse warnings
No. This code should *NOT* use the VFS guts, TYVM. The whole fscking point
is that this puppy is a sequence of plain vanilla syscalls, ideally run
simply in userland thread. We used to have a magical mystery shite in there
and it had been a huge PITA.
--
| Aug 20, 5:00 am 2010 |
| Namhyung Kim | Re: [PATCH 0/4] initramfs: remove sparse warnings
So is it worth to work on removing the warnings like this patchset does?
Or else, how can I improve the code even a bit? Can you please give me a
direction?
--
Regards,
Namhyung Kim
--
| Aug 20, 8:36 am 2010 |
| Liam Girdwood | Re: [PATCH RESEND] regulator: max8998 - fix memory alloc ...
Applied.
Thanks
Liam
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
--
| Aug 20, 2:27 am 2010 |
| Jean Delvare | Re: [PATCH] drivers/hwmon/coretemp: Fix incorrect hot-re ...
Hi Fenghua,
Good point. I admit I didn't think about this scenario when fixing the
duplicate HT entries. I thought both hyperthreads would go away at the
same time, but since then I learned that individual HT can be removed
using the sysfs "online" attributes.
That being said, I'm curious if this is really a problem in practice?
Why would one disable only one hyperthread on a given core? I can't
think of a real-world scenario.
I don't mean to suggest that we don't have to fix the ...
| Aug 20, 1:26 am 2010 |
| Fenghua Yu | Re: [PATCH] drivers/hwmon/coretemp: Fix incorrect hot-re ...
Overall we need to keep state integrity for hot-removed CPU and shared core
sensor. Without fixing this issue, we end up with inconsistent system info.
As for usage scenario, I can think of some:
1. Power saving. Management application may offline some threads or all thread
siblings to save power. Image all of HT is disabled during run-time, less power
is consumed with less performance.
2. RAS. A bad thread may be offlined which its sibling is still running. This
Yes, I agree with you on ...
| Aug 20, 2:53 pm 2010 |
| Tim Chen | Re: [PATCH 1/1] mutex: prevent optimistic spinning from ...
Thanks to everyone for your review. I've updated the patch to add
comments explaining the change per suggestion from Andrew.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
diff --git a/kernel/sched.c b/kernel/sched.c
index 41541d7..3747d04 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -3865,8 +3865,15 @@ int mutex_spin_on_owner(struct mutex *lock, struct thread_info *owner)
/*
* Owner changed, break to re-assess state.
*/
- if (lock->owner != owner)
+ if ...
| Aug 20, 9:54 am 2010 |
| Ingo Molnar | Re: [PATCH 1/1] mutex: prevent optimistic spinning from ...
Thanks! The performance results you've posted so far IMO more than justifies
its inclusion.
Ingo
--
| Aug 20, 6:19 am 2010 |
| Ian Campbell | Re: [2/3] mm: fix up some user-visible effects of the st ...
Agreed, I was just coding that up to check.
Is there any VMA coalescing which we need to worry about? We don't
appear to do anything like that on munlock at least but I didn't look
elsewhere.
FWIW the attached mlock.c exhibits the issue for me. Under 2.6.35 it
takes 1 additional minor fault if you do not give the "lock" option and
0 minor faults if you do give "lock".
Under 2.6.35.2 and 3.6.35.3-rc it works the same without "lock" but with
"lock" under 2.6.35.2 the mlock fails and with ...
| Aug 20, 9:02 am 2010 |
| Ian Campbell | Re: [2/3] mm: fix up some user-visible effects of the st ...
I naively hacked something together and it did seem to work, but I
I sent a contrived test program in my other mail.
The actual use is to mlock a buffer on the stack in order to pass it to
a Xen hypercall. The contract with the hypervisor is that the pages
passed to the hypercall must be mapped.
Ian.
--
Ian Campbell
Current Noise: Dinosaur Jr. - Green Mind
We can defeat gravity. The problem is the paperwork involved.
--
| Aug 20, 9:32 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
On Fri, Aug 20, 2010 at 11:59 AM, Linus Torvalds
I take that back. Cleanups - probably. Simple search-and-replace? No.
That vm_next thing is all over the place, and all of the code knows
that the last vma has a vm_next that is NULL.
So switching it to the "<linux/list.h>" kind of accessors would be a major pain.
There's also lots of really ugly code that is all about the "we can't
easily get to the 'prev' entry in the list". Stuff that would be
cleaned up if we just had a vm_prev, but where ...
| Aug 20, 12:43 pm 2010 |
| Willy Tarreau | Re: [Stable-review] [2/3] mm: fix up some user-visible e ...
I've had to convert normal linked lists to a dual linked list for a project
of mine in the past, and for the same reason I could not use the lists how
we use them in Linux. However I found an interesting tradeoff which consists
in having only the ->prev list circular but keep the ->next one null-
terminated.
In the end, the API is not much different. A few tests just on the ->next
pointer at some places, but you can still use ->prev everywhere to find
the list tail, for inserting and ...
| Aug 20, 1:34 pm 2010 |
| Ian Campbell | Re: [2/3] mm: fix up some user-visible effects of the st ...
Is this really correct?
I have an app which tries to mlock a portion of its stack. With this
patch (and a bunch of debug) in place I get:
[ 170.977782] sys_mlock 0xbfd8b000-0xbfd8c000 4096
[ 170.978200] sys_mlock aligned, range now 0xbfd8b000-0xbfd8c000 4096
[ 170.978209] do_mlock 0xbfd8b000-0xbfd8c000 4096 (locking)
[ 170.978216] do_mlock vma de47d8f0 0xbfd7e000-0xbfd94000
[ 170.978223] mlock_fixup split vma de47d8f0 0xbfd7e000-0xbfd94000 at start ...
| Aug 20, 5:54 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
Well, yes and no. This would make it have semantic differences, if you
were to unmap the lower part of the stack.
I could imagine some crazy program wanting to basically return the
stack pages to the system after doing heavy recursion. IOW, they could
do
- use lots of stack because we're recursing 1000 levels deep
- know that we used lots of stack, so after returning do something like
stack = &local variable;
align stack down by two pages
munmap down from there to give ...
| Aug 20, 9:49 am 2010 |
| Ian Campbell | Re: [2/3] mm: fix up some user-visible effects of the st ...
On the other hand the VMA merging is just an optimisation, isn't it?
--
Ian Campbell
Many people are desperately looking for some wise advice which will
recommend that they do what they want to do.
--
| Aug 20, 9:35 am 2010 |
| Peter Zijlstra | Re: [2/3] mm: fix up some user-visible effects of the st ...
You mean something like the below?
Should I look at refreshing that thing (yes, that's a 2007 patch)?
---
Subject: mm: replace vm_next with a list_head
Date: 19 Jul 2007
Replace the vma list with a proper list_head.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
arch/alpha/kernel/osf_sys.c | 2
arch/arm/mm/mmap.c | 2
arch/frv/mm/elf-fdpic.c | 4 -
arch/i386/mm/hugetlbpage.c | 2
arch/ia64/kernel/sys_ia64.c ...
| Aug 20, 1:42 pm 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
On Fri, Aug 20, 2010 at 9:07 AM, Linus Torvalds
The reason I ask is that the _sane_ thing to do - if we really care
about this - is to change the 'vm_next' singly-linked list into using
'list.h'. It would clean up a fair amount of stuff, like removing the
need for that disgusting 'find_vma_prev()' thing. There are actually
several users of vma's that want to look at the previous vma, but
because it's hard to get at, they do something non-intuitive or odd.
At the same time, we've had that ...
| Aug 20, 9:24 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
On Fri, Aug 20, 2010 at 8:54 AM, Linus Torvalds
Actually, thinking some more about it, that may not be a good idea.
Why? Simply because we may want to merge the vma's back together if
you do munlock. And it won't (and mustn't) merge if the vm_flags
differ in VM_GROWSDOWN.
So I do think we want to keep VM_GROWSDOWN (and VM_GROWSUP on PA-RISC)
even across a vma split.
Of course, we could set a flag whether the vma really does have a
guard page or not.
That said, it does strike me as ...
| Aug 20, 9:07 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
Yes, it does seem like we should teach vma splitting to remove
It's a guard page, not magic. Some architecture ABI's specify that if
you expand the stack by more than a certain number, you need to touch
a page in between (for example, I think alpha had that rule), because
they don't grow the stack automatically by an arbitrary amount. But
x86 has never had that rule, and you can certainly defeat a guard page
by simply accessing by much more than a page.
As far as I'm concerned, the guard ...
| Aug 20, 8:54 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
It should be a pretty straightforward search-and-replace. And almost
all of it would be real cleanups.
And it would be trivial to change the loops like
for (vma = mm->mmap; vma; vma = vma->vm_next)
into basically just
list_for_each_entry(vma, &mm->mmap, vm_list)
I'm not convinced a tunable is really the right thing, but in this
case it might be acceptable, since you really are doing something
rather specific and odd. Changing the VM to use doubly-linked lists
I'd really ...
| Aug 20, 11:59 am 2010 |
| Ian Campbell | Re: [2/3] mm: fix up some user-visible effects of the st ...
I wasn't sure at first what you were getting at here, so let me see if I
figured it out...
If we could easily get at the previous VMA (instead of just the next
one) then we could easily check if we were mlocking a VM_GROWSDOWN
region which had another VM_GROWSDOWN region immediately below it and
therefore avoid introducing a guard page at the boundary. Doing this
check is currently too expensive because of the need to use
It does look like a big task, but if it seems like the only sane ...
| Aug 20, 10:43 am 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
Yeah. I looked at exactly something like that. With the same name for
vma_next() - except I just passed down 'mm' to it too. Your patch
takes it from vma->mm and then you have a few places do the whole
Interesting. I generated about half the patch, and then decided that
it's not worth it. But the fact that apparently you did the same thing
in 2007 means that maybe there really _is_ a pent-up demand for doing
this dang thing.
I do note that I also did a patch that just added "vm_prev", and ...
| Aug 20, 2:17 pm 2010 |
| Linus Torvalds | Re: [2/3] mm: fix up some user-visible effects of the st ...
On Fri, Aug 20, 2010 at 2:17 PM, Linus Torvalds
Note that the "real" patch is actually even smaller than implied by
this thing. The diffstat
include/linux/mm_types.h | 2 +-
kernel/fork.c | 7 +++++--
mm/mmap.c | 37 +++++++++++++++++++++++++++++++++----
mm/nommu.c | 7 +++++--
4 files changed, 44 insertions(+), 9 deletions(-)
implies that it adds a lot more than it removes, but of the 35 new
lines it adds, about half of it - 16 lines - ...
| Aug 20, 2:24 pm 2010 |
| tip-bot for Peter Zi ... | [tip:perf/urgent] watchdog: Don't throttle the watchdog
Commit-ID: b847b94fe2caff0f28a99af6353e9a27282e771a
Gitweb: http://git.kernel.org/tip/b847b94fe2caff0f28a99af6353e9a27282e771a
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Fri, 20 Aug 2010 11:49:15 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 15:00:06 +0200
watchdog: Don't throttle the watchdog
Stephane reported that when the machine locks up, the regular ticks,
which are responsible to resetting the throttle count, stop too.
Hence the ...
| Aug 20, 7:18 am 2010 |
| Johannes Berg | Re: 2.6.36-rc1 -- BUG: kmalloc-4096: Object already free ...
It's a bug that even exists in 2.6.35, fixed here:
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=daa3766e705c260...
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commit;h=68d6ac6d2740b6a...
johannes
--
| Aug 20, 6:44 am 2010 |
| Wu Fengguang | Re: [PATCH] VM: kswapd should not do blocking memory all ...
It would be more descriptive to say "remove the __GFP_WAIT bit".
The change looks reasonable _in itself_, since we always prefer to
avoid unnecessary waits for kswapd. So
--
| Aug 19, 10:40 pm 2010 |
| Wu Fengguang | Re: [PATCH] VM: kswapd should not do blocking memory all ...
So the patch can remove the above workaround together, and add comment
that NFS exploits the gfp mask to avoid complex operations involving
recursive memory allocation and hence deadlock?
Thanks,
--
| Aug 19, 10:45 pm 2010 |
| Trond Myklebust | Re: [PATCH] VM: kswapd should not do blocking memory all ...
I thought I'd send that as a separate patch, but yes, that is my
intention next.
Cheers
Trond
--
| Aug 20, 5:17 am 2010 |
| Robin Holt | Re: [Patch] numa:x86_64: Cacheline aliasing makes for_ea ...
I think this is more difficult than I would like. The difficulty comes
in with determining "alignment base". I decided to look at a machine
and see how I would manually determine color. The first question I
ran into was "What is the color with respect to?" Is it an L3 color, an
L2, L1? I then decided to punt and assume it was L3 (as that is what I am
personally concerned with here). I looked at cpu0's L3 and noticed I had
12,288 possible colors for the first line of my allocation. I ...
| Aug 20, 8:03 am 2010 |
| H. Peter Anvin | Re: [Patch] numa:x86_64: Cacheline aliasing makes for_ea ...
That's pretty much the idea, really. However, I don't think you can
localize the change without making invalid assumptions of the behavior
of lower primitives, which given that changes are in progress will cause
serious problems.
The issue here is that the e820 allocator (which is about to be axed,
but its successor will need to support similar operations) has a few
parameters that it takes in: (start, end, size, alignment). It will
return a block at address (addr) fulfilling the ...
| Aug 20, 9:16 am 2010 |
| Robin Holt | Re: [Patch] numa:x86_64: Cacheline aliasing makes for_ea ...
That sounds reasonable. Are there other examples you can think of which
I can build upon?
Robin
--
| Aug 20, 6:58 am 2010 |
| Shinya Kuribayashi | Re: [PATCH v2 0/2] Deprecate ECCGETLAYOUT
Hi,
[PATCH] mtd: Expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT
[PATCH v2 0/2] Deprecate ECCGETLAYOUT
[PATCH v2 1/2] mtd: nand: Expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT
[PATCH v2 2/2] mtd: nand: Expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT
[PATCH v3 1/2] mtd: Expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT
[PATCH v3 2/2] (I can't find this in my inbox, by the way)
I'd like to see the info about what's updated in v2, v3 when revised.
By the way.
Two ...
| Aug 19, 5:50 pm 2010 |
| Brian Norris | Re: [PATCH v2 0/2] Deprecate ECCGETLAYOUT
Hi,
Sorry for the problems. I will try to explain.
The only difference is that I actually sent the correct patch :) Again,
No problem with git, just my inability to express my "2 independent
patch" problem properly.
First, I sent my original patch 08/06/2010:
[PATCH] mtd: Expand nand_ecc_layout, deprecate ioctl ECCGETLAYOUT
Realizing this may not necessarily have been the *best* way to
accomplish my goal, I sent v2:
[PATCH v2 1/2] mtd: nand: Expand...
[PATCH v2 2/2] mtd: nand: ...
| Aug 20, 8:15 am 2010 |
| Eric Sandeen | Re: [PATCH] ext4: remove alignment padding from ext4_ino ...
Looks good to me; there is still a bit of padding at the end:
qsize_t i_reserved_quota; /* 864 8 */
struct list_head i_completed_io_list; /* 872 16 */
spinlock_t i_completed_io_lock; /* 888 4 */
/* XXX 4 bytes hole, try to pack */
/* --- cacheline 14 boundary (896 bytes) --- */
ext4_io_end_t * cur_aio_dio; /* 896 8 */
tid_t ...
| Aug 20, 1:11 pm 2010 |
| Ruben Laban | Re: [Scst-devel] Fwd: Re: linuxcon 2010...
+1 from a happy SCST end-user.
Regards,
Ruben Laban
Senior Network and Systems Administrator
ISM eCompany
--
| Aug 20, 6:46 am 2010 |
| Kirill A. Shutemov | Re: [PATCH] [RFCv2] notify userspace about time changes
I think Linux has too many syscalls. Significant part these interfaces
On the other, hand properly designed fs-based interface requires less
modification of userspeace to use it. Acctually, you can use most of
fs-based intefaces directly from shell. No need in libc modifications and
utilities to use it from shell or other script language.
Yes, sysfs is not the best place for it, but...
--
Kirill A. Shutemov
--
| Aug 20, 1:37 am 2010 |
| Alexander Shishkin | Re: [PATCH] [RFCv2] notify userspace about time changes
Hmm, how about a syscallfs? :)
Regards,
--
Alex
--
| Aug 20, 8:38 am 2010 |
| Greg KH | Re: [PATCH] [RFCv2] notify userspace about time changes
What is the difference between a syscall and a filesystem interface?
They are both things that we can not change in the future and need to be
preserved and documented.
You just answered your own question. Please don't make it in sysfs,
make it a syscall as it does not fit into sysfs.
thanks,
greg "constantly fighting to keep /sys/ from being like /proc/" k-h
--
| Aug 20, 8:33 am 2010 |
| Dave Chinner | Re: [bug] radix_tree_gang_lookup_tag_slot() looping endlessly
Fixing this indicates that there is a second bug also corrupting the
PAGECACHE_TAG_TOWRITE tags - it takes quite a bit longer to hit, but
when it fails it is generally because the bit at slot offset zero in
a high-up intermediate node is incorrectly set. It appears that none
of the code is actually setting it, so it's been quite difficult to
track down.
Eventually I noticed through code inspection that
radix_tree_node_rcu_free() clears the tag at offset zero for the
because of the ...
| Aug 19, 7:04 pm 2010 |
| Andrew Morton | Re: [PATCH] mmc: make dev_to_mmc_card() macro public
Either is OK for me. I'll turn a replacement patch into a delta so I
can see what changed, but that takes just a few seconds.
--
| Aug 20, 12:23 am 2010 |
| Andy Shevchenko | Re: [PATCH] mmc: make dev_to_mmc_card() macro public
On Fri, Aug 20, 2010 at 12:49 AM, Andrew Morton
Sounds reasonable.
Would you like to get new version of patch or fix against patch?
--
With Best Regards,
Andy Shevchenko
--
| Aug 20, 12:17 am 2010 |
| Andy Shevchenko | Re: [PATCH] mmc: rename dev_to_mmc_card to mmc_dev_to_card
On Fri, Aug 20, 2010 at 10:32 AM, Andy Shevchenko
Sigh.
Wrong name again, sorry.
--
With Best Regards,
Andy Shevchenko
--
| Aug 20, 12:39 am 2010 |
| Andy Shevchenko | [PATCH] mmc: rename dev_to_mmc_card to mmc_dev_to_card
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
---
drivers/mmc/card/mmc_test.c | 2 +-
drivers/mmc/core/bus.c | 14 +++++++-------
drivers/mmc/core/bus.h | 2 +-
include/linux/mmc/card.h | 2 +-
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c
index 82d39bd..61253ee 100644
--- a/drivers/mmc/card/mmc_test.c
+++ b/drivers/mmc/card/mmc_test.c
@@ -1935,7 +1935,7 @@ static ssize_t ...
| Aug 20, 12:32 am 2010 |
| Andy Shevchenko | [PATCHv2] mmc: make mmc_dev_to_card() macro public
Conversion from struct device to struct mmc_card is used more than in one
place. Due to this it's better to have public macro for such thing.
Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: linux-mmc@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
---
drivers/mmc/card/mmc_test.c | 4 +---
drivers/mmc/core/bus.c | 15 +++++++--------
drivers/mmc/core/bus.h | 2 +-
include/linux/mmc/card.h | ...
| Aug 20, 12:46 am 2010 |
| Cong Wang | Re: [RFC Patch] netxen: remove firmware exports
Okay. David, do you want me to submit an updated patch?
Thanks!
--
The opposite of love is not hate, it's indifference.
- Elie Wiesel
--
| Aug 20, 1:52 am 2010 |
| Cong Wang | Re: [RFC Patch] netxen: remove firmware exports
Based on above, remove the rest firmware exports.
Thanks!
--
Signed-off-by: WANG Cong <amwang@redhat.com>
| Aug 20, 2:04 am 2010 |
| Amit Salecha | RE: [RFC Patch] netxen: remove firmware exports
> Okay. David, do you want me to submit an updated patch?
You have to submit updated patch.
--
| Aug 20, 1:53 am 2010 |
| Sergey Senozhatsky | [PATCH] fix BUG using smp_processor_id() in preemptible ...
Fix: using smp_processor_id() in preemptible thermal_throttle_add_dev.
We know the cpu number when calling thermal_throttle_add_dev, so we can
remove smp_processor_id call in thermal_throttle_add_dev by supplying
the cpu number as argument.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
diff --git a/arch/x86/kernel/cpu/mcheck/therm_throt.c b/arch/x86/kernel/cpu/mcheck/therm_throt.c
index c2a8b26..bcd8499 100644
--- a/arch/x86/kernel/cpu/mcheck/therm_throt.c
+++ ...
| Aug 20, 12:36 am 2010 |
| Masayuki Ohtake | Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_PHUB driver ...
----- Original Message -----
From: "Greg KH" <gregkh@suse.de>
To: "Masayuki Ohtake" <masa-korg@dsn.okisemi.com>
Cc: <meego-dev@meego.com>; "LKML" <linux-kernel@vger.kernel.org>; <yong.y.wang@intel.com>; <qi.wang@intel.com>;
<andrew.chih.howe.khor@intel.com>; <arjan@linux.intel.com>; <alan@linux.intel.com>; <margie.foster@intel.com>
Sent: Friday, August 20, 2010 12:17 AM
I understand.
--
| Aug 19, 11:53 pm 2010 |
| Ike Panhc | Re: [PATCH 0/8] [Resend] ideapad: using EC command to co ...
Hi Mario,
Could you attach or upload the DSDT of S12 somewhere I can reach?
I check DSDT for S10-3 and B550, return value of _CFG is fixed.
[Ref: http://people.ubuntu.com/~ikepanhc/DSDTs]
you may use "sudo cp /sys/firmware/acpi/tables/DSDT ." and
"sudo iasl -d /sys/firmware/acpi/tables/DSDT" to decode it.
bluetooth device shall disappear after disable from EC. But if can not be enabled
when you use rfkill of hci0, it only disable PHY. The driver and MAC is still
there. The rfkill of ...
| Aug 20, 12:01 am 2010 |
| Mario 'BitKoenig' Holbe | Re: [PATCH 0/8] [Resend] ideapad: using EC command to co ...
Looks more fixed than on my S12, indeed.
I don't really speak AML, but while S10-3 ILDD (called from _CFG) seems
to read fixed values only, here on S12 PHSR (called from _CFG) seems to
do some kind of I/O operation. I'm not sure about this, but it somehow
Why? The camera is always detected - bit 19 is always set, 0xc0000 and
0xd0000 only differ in bit 16. Bit 19 btw. seems to be the only fixed
The bluetooth device seems not to initialize well enough to answer (110
No, when I said ...
| Aug 20, 2:08 am 2010 |
| Lin Ming | Re: [RFC PATCH 0/3] perf: show package power consumption ...
Right. I'll update the patches.
--
| Aug 19, 5:21 pm 2010 |
| Zhang Rui | Re: [RFC PATCH 0/3] perf: show package power consumption ...
hrtimer_attr is only shared in an event group, and rapl needs its owen
so what do you think the rapl counter should look like in userspace?
showing it in perf-stat looks nice, right? :)
thanks,
rui
--
| Aug 19, 6:44 pm 2010 |
| Ingo Molnar | Re: [RFC PATCH 0/3] perf: show package power consumption ...
Btw., some 'perf list' thoughts. We could do a:
perf list --help rapl:watts
Which gives the user some idea what an event does. Also, short descriptive
line in perf list output would be nice:
$ perf list
List of pre-defined events (to be used in -e):
cpu-cycles OR cycles [Hardware event] # CPU cycles
instructions [Hardware event] # instructions executed
...
rapl:watts ...
| Aug 20, 5:31 am 2010 |
| Peter Zijlstra | Re: [RFC PATCH 0/3] perf: show package power consumption ...
Uhm, no. The idea is to group the hrtimer and rapl event in order to
obtain rapl 'samples'.
That is, you get hrtimer samples which include the rapl count. For this
we use the grouping construct where group siblings are always
Right, so the userspace interface would be using Lin's sysfs bits, which
I still need to read up on. But the general idea is that each PMU gets a
sysfs representation somewhere in the system topology reflecting its
actual site (RAPL would be CPU local), this sysfs ...
| Aug 20, 2:34 am 2010 |
| acme@redhat.com | Re: [RFC PATCH 0/3] perf: show package power consumption ...
Right, record, list, probe, top are on the UI (not just T-UI, see latest
efforts on decoupling from newt/slang) hit-list :)
Moving from one to the other seamlessly like today is possible for
report and annotate is the goal.
Now that the UI browser code is more robust and generic that should
happen faster, I think.
- Arnaldo
--
| Aug 20, 2:34 pm 2010 |
| Samuel Ortiz | Re: [PATCH 2/4] mfd: twl-core: switch over to defines in twl.h
Hi Felipe,
Should I expect a new patch then ?
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 3:11 pm 2010 |
| Olof Johansson | [PATCH v2] mmc: add config and runtime option for number ...
The old limit of number of minor numbers per mmcblk device was hardcoded
at 8. This isn't enough for some of the more elaborate partitioning
schemes, for example those used by Chrome OS.
Since there might be a bunch of systems out there with static /dev
contents that relies on the old numbering scheme, let's make it a
build-time option with the default set to the previous 8.
Also provide a boot/modprobe-time parameter to override the config
default: mmcblk.perdev_minors.
Signed-off-by: ...
| Aug 19, 6:02 pm 2010 |
| runcoderen | sys_init_module system call
hi all
I find sys_init_module system call in kernel/module.c file.
but it did not find any.
the source code version is linux-2.6.35
does the kernel have changed?
the book I am reading is LDD 3rd edition
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
--
| Aug 20, 3:18 pm 2010 |
| runcoderen | Re: sys_init_module system call
hi Randy:
yes, it does!
Thanks a lot!
runcoderen
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
--
| Aug 20, 3:50 pm 2010 |
| Olof Johansson | [PATCH v3] mmc: add config and runtime option for number ...
The old limit of number of minor numbers per mmcblk device was hardcoded
at 8. This isn't enough for some of the more elaborate partitioning
schemes, for example those used by Chrome OS.
Since there might be a bunch of systems out there with static /dev
contents that relies on the old numbering scheme, let's make it a
build-time option with the default set to the previous 8.
Also provide a boot/modprobe-time parameter to override the config
default: mmcblk.perdev_minors.
Signed-off-by: ...
| Aug 20, 3:13 pm 2010 |
| Randy Dunlap | Re: sys_init_module system call
You won't find a function in kernel/module.c that looks like it has
the name "sys_init_module". Instead, the function is defined by using
a macro, and it looks like this:
/* This is where the real work happens */
SYSCALL_DEFINE3(init_module, void __user *, umod,
unsigned long, len, const char __user *, uargs)
{
The use of SYSCALL_DEFINEx(func_name, args) is a fairly recent change
(well, January, 2009) that may be the reason why you think that there
has been a change. ...
| Aug 20, 3:32 pm 2010 |
| Nick Orlov | Re: 2.6.34.4: BUG: sleeping function called from invalid ...
I'd like to confirm first patch queued for 2.6.34.5 (aka
11ac552477e32835cb6970bf0a70c210807f5673) does the trick for me too
--
With best wishes,
Nick Orlov.
--
| Aug 19, 7:00 pm 2010 |
| Benjamin Herrenschmidt | [PATCH 2/2] rwsem: Move powerpc atomic-long based implem ...
Other architectures who support cmpxchg and atomic_long can
use that directly.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/include/asm/rwsem.h | 184 +----------------------------------
include/asm-generic/rwsem-cmpxchg.h | 183 ++++++++++++++++++++++++++++++++++
2 files changed, 184 insertions(+), 183 deletions(-)
create mode 100644 include/asm-generic/rwsem-cmpxchg.h
diff --git a/arch/powerpc/include/asm/rwsem.h ...
| Aug 19, 10:14 pm 2010 |
| Benjamin Herrenschmidt | [PATCH 1/2] powerpc: Make rwsem use "long" type
This makes the 64-bit kernel use 64-bit signed integers for the counter
(effectively supporting 32-bit of active count in the semaphore), thus
avoiding things like overflow of the mmap_sem if you use a really crazy
number of threads
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
arch/powerpc/include/asm/rwsem.h | 64 ++++++++++++++++++++++----------------
1 files changed, 37 insertions(+), 27 deletions(-)
diff --git a/arch/powerpc/include/asm/rwsem.h ...
| Aug 19, 10:14 pm 2010 |
| Sam Ravnborg | Re: [PATCH 2/2] rwsem: Move powerpc atomic-long based im ...
#ifdef __KERNEL__ is only relevant for exported headers.
For kernel only headers like this is does not make sense,
but it does not harm.
Sam
--
| Aug 19, 11:43 pm 2010 |
| Rafael J. Wysocki | Re: 2.6.36-rc1: Doesn't boot on an AMD-based machine
Yes, it does (sorry for being late).
Rafael
--
| Aug 20, 4:23 pm 2010 |
| Linus Torvalds | Re: 2.6.36-rc1: Doesn't boot on an AMD-based machine
Hans, Peter? What's the status of this? Should I just take the revert
from Rafael? Ping?
Linus
--
| Aug 20, 10:09 am 2010 |
| Linus Torvalds | Re: 2.6.36-rc1: Doesn't boot on an AMD-based machine
Rafael, can you confirm that that fixes it?
Linus
--
| Aug 20, 10:24 am 2010 |
| H. Peter Anvin | Re: 2.6.36-rc1: Doesn't boot on an AMD-based machine
I have a fix from Hans queued up in x86/urgent and it will be in the
next push of the fixes queue, which I am planning to send you today.
http://git.kernel.org/tip/07a7795ca2e6e66d00b184efb46bd0e23d90d3fe
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
| Aug 20, 10:15 am 2010 |
| Shaohua Li | Re: [TESTCASE] Clean pages clogging the VM
congestion_wait() isn't the sole source in my test.
with congestion_wait() removed, the max latency is ~50ms.
while if I made the mmaped page reclaimed in one round (makes page_check_references
return PAGEREF_RECLAIM_CLEAN for mmaped pages) in the test, the max latency is ~150us.
Thanks,
Shaohua
--
| Aug 19, 10:05 pm 2010 |
| Greg Ungerer | Re: [uClinux-dev] [PATCH] m68knommu: whitespace cleanup ...
Hi Philippe,
Thanks, applied to the m68knommu git tree.
Regards
--
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
--
| Aug 19, 9:38 pm 2010 |
| Tyler Hicks | Re: [PATCH] ecryptfs: properly mark init functions
Good point - this has been applied to
git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6.git#next
Thanks,
Tyler
--
| Aug 20, 3:24 pm 2010 |
| Samuel Ortiz | Re: [PATCH 1/2] mfd: Move PCF50633 IRQ protoypes where t ...
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 2:54 pm 2010 |
| Samuel Ortiz | Re: [PATCH 2/2] gpiolib: Hook up WM8994 gpio_to_irq()
You mean I missed this one ? Anyway, applied now.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 2:55 pm 2010 |
| Samuel Ortiz | Re: [PATCH 1/2] MFD: Align ab8500 with the abx500 interface
Hi Mattias,
Thanks for the patch, but I'd prefer to see it split into 3 separate ones, for
mfd, rtc and regulator. And then have the relevant maintaines cc'ed with those
patches.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 2:52 pm 2010 |
| Alan Cox | Re: [PATCH 1/2] serial: 8250: Initialize pointer to irq_info
We had this argument was it two years ago ?
Modern gcc is capable of at least working out it can't work it out and
doesn't emit a spurious warning.
--
| Aug 20, 3:31 am 2010 |
| Julian Anastasov | Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
Hello,
May be because I copied csum_ipv6_magic() code from
Regards
--
Julian Anastasov <ja@ssi.bg>
--
| Aug 20, 6:48 am 2010 |
| xiaoyu Du | Re: [patch nf-next] IPVS: ICMPv6 checksum calculation
I just replied to thank for his idea then, as he gived me some ideas
on how to manipulate
checksum. I tested the code today, but it doesn't seem to work. (I just wrote a
netfilter module and hooked the code on local_out , then ping6 the
address on another PC,
It failed.). I'll find out why.
--
| Aug 20, 4:14 am 2010 |
| Andrew Morton | Re: [PATCH] Export mlock information via smaps
On Wed, 18 Aug 2010 12:19:51 +0530
What was the rationale for duplicating the Pss value here, rather than
say Rss or whatever? Really, the value is just a boolean due to kernel
internal details but we should try to put something sensible and
meaningful in there if it isn't just "1" or "0". As it stands, people
will look at the /proc/pid/smaps output, then at proc.txt and will come
away all confused.
btw, we forgot to document Pss (of all things!) in
Documentation/filesystems/proc.txt.
--
| Aug 19, 5:25 pm 2010 |
| Matt Mackall | Re: [PATCH] Export mlock information via smaps
There is something there, but it's nearly useless. How about something
like this:
Improve smaps field documentation
Signed-off-by: Matt Mackall <mpm@selenic.com>
diff -r ef46bace13e0 Documentation/filesystems/proc.txt
--- a/Documentation/filesystems/proc.txt Wed Aug 18 15:45:23 2010 -0700
+++ b/Documentation/filesystems/proc.txt Fri Aug 20 16:55:09 2010 -0500
@@ -374,13 +374,14 @@
KernelPageSize: 4 kB
MMUPageSize: 4 kB
-The first of these lines shows the same ...
| Aug 20, 2:57 pm 2010 |
| Yinghai Lu | Re: [PATCH 1/4] [Patch-next] ACPI, APEI, ERST Fix the wr ...
do you mean this one?
[PATCH] acpi: fix apei related table size checking
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
drivers/acpi/apei/einj.c | 3 ++-
drivers/acpi/apei/erst.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
Index: linux-2.6/drivers/acpi/apei/einj.c
===================================================================
--- linux-2.6.orig/drivers/acpi/apei/einj.c
+++ linux-2.6/drivers/acpi/apei/einj.c
@@ -426,7 +426,8 @@ ...
| Aug 20, 12:26 pm 2010 |
| Samuel Ortiz | Re: [PATCH 2.6.36] mfd: Ignore non-GPIO IRQs when settin ...
Hi Mark,
Thanks, applied to my for-linus branch.
I'll send it with my next 2.6.36 mfd fixes pull request.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 2:49 pm 2010 |
| Samuel Ortiz | Re: [RFC] gpio/stmpe: add bitmask to block requests to u ...
Hi Rabin,
I applied Wolfram's patch. If he wants to change this name, he can send an
additional patch later on.
Thanks for the patch and the review.
Cheers,
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 3:25 pm 2010 |
| Randy Dunlap | Re: linux-next: Tree for August 16 (ceph)
Same error still present in linux-next 20100820.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
| Aug 20, 9:52 am 2010 |
| Sage Weil | Re: linux-next: Tree for August 16 (ceph)
Sorry, I hadn't updated my for-next branch. It's pushed to kernel.org
now.
Thanks-
sage
--
| Aug 20, 10:00 am 2010 |
| Christoph Hellwig | Re: callchain sampling bug in perf?
I've rebuilt perf with libnewt to reproduce it, but to get any of the
callchain data I need to call perf report with a -g argument (which is
rather expected from the documentation anyway)
I still see the same problems as with the TUI perf report with that.
With the -g {mode},0.0 there is nothing to expand inside the GUI for
e.g. the pythong process, and with the 0.0 threshold I can only expand
a few 0.<something> callchains, but I never see the 80% your screenshot
shows. What perf version ...
| Aug 20, 2:16 am 2010 |
| Arnaldo Carvalho de Melo | Re: callchain sampling bug in perf?
In fact I never run 'perf report' specifying '-g', have you tried it
IIRC I tried this on perf/urgent and on perf/core, the former should be what
is Linus tree.
Lemme try again, right, just checked out from torvalds/master and running it
as:
$ perf report
Probably because of what I said above, i.e. I still have to try 'perf
record -g flat' on the TUI, lets see...
Running it as:
$ perf report -g flat,0,0
This is ...
| Aug 20, 12:12 pm 2010 |
| Tvrtko Ursulin | Re: struct fanotify_event_metadata
I know, it is primarily more logical ordering of fields withing the event. It
is only secondary that I thought it is nicer to have 32-32-64-32-32 than,
32-32-32-64-32, maybe there is some platform where it is nicer?
Tvrtko
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
--
| Aug 20, 2:23 am 2010 |
| Andreas Schwab | Re: struct fanotify_event_metadata
It changes the alignment of all applicable objects to 1 which means that
the compiler cannot assume _any_ aligment. Thus on STRICT_ALIGNMENT
targets it has to use more expensive access methods to avoid generating
unaligned loads and stores (unless it can infer proper alignment from
the context).
You can add an aligned attribute to raise the assumed alignment again.
Of course, this can only work correctly if the actual alignment of the
Neither x86 nor x86-64 are STRICT_ALIGNMENT ...
| Aug 20, 6:27 am 2010 |
| Eric Paris | Re: struct fanotify_event_metadata
What would anyone think of this patch (which is on top of Tvrtko's
reordering)?
From 9629f0435bdd00b8338ab41bd078b3c625fd8804 Mon Sep 17 00:00:00 2001
From: Eric Paris <eparis@redhat.com>
Date: Fri, 20 Aug 2010 13:33:27 -0400
Subject: [PATCH] fanotify: drops the packed attribute from userspace event metadata
The userspace event metadata structure was packed so when sent from a kernel
with a certain set of alignment rules to a userspace listener with a different
set of alignment rules the ...
| Aug 20, 10:47 am 2010 |
| Andreas Schwab | Re: struct fanotify_event_metadata
That won't buy you much wrt. alignment though, due to the packed
attribute.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
| Aug 20, 2:16 am 2010 |
| Eric Paris | Re: struct fanotify_event_metadata
Can you help me understand the packed attribute and why it hurts in this
case? It's not going to change the alignment or placement of anything
and I saw it as just being needed to make sure everything would continue
to work in the future.
I'm going to compile a couple of test programs (I only have x86 and
x86_64) to see if I can find what the assembly is doing different but
maybe you can point me at the information more easily?
-Eric
--
| Aug 20, 6:13 am 2010 |
| Eric Paris | Re: struct fanotify_event_metadata
Andreas suggested (I accidentally dropped the list when I ask him) I use
natural alignment and explicit padding rather than ((packed))
I'm open to the idea but I want to make it idiot proof (aka I won't
screw it up later) My best offhand idea would be to do something like
so:
Expose this to userspace:
struct fanotify_event_metadata {
__u32 event_len;
__u32 vers;
__s32 fd;
__u64 mask;
__s64 pid;
};
Wrap this in #ifdef KERNEL
struct ...
| Aug 20, 8:19 am 2010 |
| Tvrtko Ursulin | Re: struct fanotify_event_metadata
I think it is OK to break userspace while still in the merge window.
It is not even a big breakage but just a recompile.
So something like the below?
---
Shrink pid field in the fanotify_event_metadata to 32-bit to match
the kernel representation. Pull mask field up since it logically
comes before event auxiliary data and also makes for a nicer
alignment.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com>
---
include/linux/fanotify.h | 4 ++--
1 files changed, 2 ...
| Aug 20, 2:02 am 2010 |
| Masayuki Ohtake | Re: [PATCH] Topcliff: Update PCH_SPI driver to 2.6.35
Hi Linus Walleij,
We will update your comments ASAP.
Thanks, Ohtake(OKISEMI)
----- Original Message -----
From: "Linus Walleij" <linus.ml.walleij@gmail.com>
To: "Masayuki Ohtak" <masa-korg@dsn.okisemi.com>
Cc: <meego-dev@meego.com>; "LKML" <linux-kernel@vger.kernel.org>; "David Brownell" <dbrownell@users.sourceforge.net>;
<spi-devel-general@lists.sourceforge.net>; <qi.wang@intel.com>; <yong.y.wang@intel.com>;
<andrew.chih.howe.khor@intel.com>; <arjan@linux.intel.com>; <gregkh@suse.de>; ...
| Aug 19, 7:20 pm 2010 |
| Peter Zijlstra | Re: [patch 1/3] sched: init rt_avg stat whenever rq come ...
Looks good, will queue. Thanks Suresh!
--
| Aug 20, 1:54 am 2010 |
| Peter Zijlstra | Re: [patch 3/3] sched: move sched_avg_update() to update ...
Applied, Thanks Suresh!
--
| Aug 20, 2:25 am 2010 |
| Suresh Siddha | Re: [patch 1/3] sched: init rt_avg stat whenever rq come ...
Ok. I have appended a patch doing this. Seems to fix the scheduler
performance issue triggered by suspend/resume. Can you please Ack it?
Thomas/Peter/Ingo: can you please pick this up if you have no other
objections. Thanks.
---
From: Suresh Siddha <suresh.b.siddha@intel.com>
Subject: x86, tsc: recompute cyc2ns_offset's during resume from sleep states
TSC's get reset after suspend/resume (even on cpu's with invariant TSC which
runs at a constant rate across ACPI P-, C- and T-states). ...
| Aug 19, 5:03 pm 2010 |
| Suresh Siddha | Re: [patch 3/3] sched: move sched_avg_update() to update ...
Ok. Updated patch appended. Thanks.
---
From: Suresh Siddha <suresh.b.siddha@intel.com>
Subject: sched: move sched_avg_update() to update_cpu_load()
Currently sched_avg_update() (which updates rt_avg stats in the rq) is getting
called from scale_rt_power() (in the load balance context) which doesn't take
rq->lock.
Fix it by moving the sched_avg_update() to more appropriate update_cpu_load()
where the CFS load gets updated aswell.
Signed-off-by: Suresh Siddha ...
| Aug 19, 5:51 pm 2010 |
| Peter Zijlstra | Re: [patch 3/3] sched: move sched_avg_update() to update ...
breaks CONFIG_SMP=n builds..
CC kernel/sched.o
/usr/src/linux-2.6/kernel/sched.c: In function ‘update_cpu_load’:
/usr/src/linux-2.6/kernel/sched.c:3186: error: implicit declaration of function ‘sched_avg_update’ CC kernel/sched.o
/usr/src/linux-2.6/kernel/sched.c: In function ‘update_cpu_load’:
/usr/src/linux-2.6/kernel/sched.c:3186: error: implicit declaration of function ‘sched_avg_update’
--
| Aug 20, 6:47 am 2010 |
| tip-bot for Suresh S ... | [tip:sched/urgent] x86, tsc, sched: Recompute cyc2ns_off ...
Commit-ID: cd7240c0b900eb6d690ccee088a6c9b46dae815a
Gitweb: http://git.kernel.org/tip/cd7240c0b900eb6d690ccee088a6c9b46dae815a
Author: Suresh Siddha <suresh.b.siddha@intel.com>
AuthorDate: Thu, 19 Aug 2010 17:03:38 -0700
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 14:59:02 +0200
x86, tsc, sched: Recompute cyc2ns_offset's during resume from sleep states
TSC's get reset after suspend/resume (even on cpu's with invariant TSC
which runs at a constant rate across ...
| Aug 20, 7:16 am 2010 |
| J. Bruce Fields | Re: [PATCH] nfsd: fix NULL dereference in nfsd_statfs()
Sorry for the delay, queued up to send to Linus for 2.6.36 soon.
--
| Aug 20, 2:29 pm 2010 |
| Andrew Morton | Re: BUG: unable to handle kernel paging request at fffff ...
On Thu, 19 Aug 2010 11:12:08 +0300
I suspect this was fixed by
commit 602586a83b719df0fbd94196a1359ed35aeb2df3
Author: Hugh Dickins <hughd@google.com>
AuthorDate: Tue Aug 17 15:23:56 2010 -0700
Commit: Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Tue Aug 17 18:33:11 2010 -0700
shmem: put_super must percpu_counter_destroy
--
| Aug 19, 5:32 pm 2010 |
| Sergey Senozhatsky | Re: BUG: unable to handle kernel paging request at fffff ...
I'm not very lucky at reproducing crash at the moment.
Sergey
| Aug 20, 12:10 am 2010 |
| Don Zickus | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
Ok, so here is my patch that syncs the touch_*_watchdog back in line with
the old semantics. Hopefully this will undo any harm I caused.
------------cut -->---------------------------
From b372e821c804982438db090db6b4a2f753c78091 Mon Sep 17 00:00:00 2001
From: Don Zickus <dzickus@redhat.com>
Date: Thu, 19 Aug 2010 22:48:26 -0400
Subject: [PATCH] [lockup detector] sync touch_*_watchdog back to old semantics
During my rewrite, the semantics of touch_nmi_watchdog ...
| Aug 19, 7:57 pm 2010 |
| Andrew Morton | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
hm, the code seems a bit screwy. Maybe it was always thus.
watchdog_enabled gets set in the per-cpu function but it gets cleared
in the all-cpus function. Asymmetric.
Also afacit the action of cpu-hotunplug+cpu-hotplug will reenable the
watchdog on a CPU which was supposed to have it disabled. Perhaps you
could recheck that and make sure it all makes sense - perhaps we need a
separate state variable which is purely "current setting of
/proc/sys/kernel/nmi_watchdog" and doesn't get ...
| Aug 19, 8:42 pm 2010 |
| Don Zickus | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
Yes it is by design. I was using watchdog_enabled as a global state
variable. As soon as one cpu was enabled, I would set the bit. But only
I wasn't tracking it on a per cpu basis. I didn't see a need to. The
watchdog should globally be on/off across the system. If a system comes
up and one of the cpus could not bring the watchdog online for some
reason, then that is a problem. If a cpu-hotunplug+cpu-hotplug fixes it,
all the better. :-)
Also, if I wanted to track it per cpu, there ...
| Aug 20, 5:34 am 2010 |
| Yong Zhang | Re: [PATCH] fix BUG using smp_processor_id() in touch_nm ...
This one looks good to me.
Thank you Don.
--
| Aug 20, 8:02 am 2010 |
| Neil Leeder | Re: [PATCH v2] input: mouse: add qci touchpad driver
Thanks but I'm running this on an ARM netbook which doesn't have
/sys/bus/pnp.
--
Neil
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
| Aug 20, 12:16 pm 2010 |
| Kiyoshi Ueda | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
Hi Tejun, Christoph,
I think that's correct and changing the priority of DM_ENDIO_REQUEUE
for REQ_FLUSH down to the lowest should be fine.
(I didn't know that FLUSH failure implies data loss possibility.)
But the patch is not enough, you have to change target drivers, too.
E.g. As for multipath, you need to change
drivers/md/dm-mpath.c:do_end_io() to return error for REQ_FLUSH
like the REQ_DISCARD support included in 2.6.36-rc1.
By the way, if these patch-set with the change ...
| Aug 20, 1:26 am 2010 |
| Ric Wheeler | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
I was thinking that we might be better off using the "durable writes" term more
since it is well documented (at least in the database world, where it is the "D"
Should we mention that users can also disable the write cache on the target device?
It might also be worth mentioning that storage needs to be properly configured -
i.e., an internal hardware RAID card with battery backing needs can expose
itself as a writethrough cache *only if* it actually has control over all of the
backend ...
| Aug 20, 8:18 am 2010 |
| Christoph Hellwig | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
FYI: here's a little writeup to document the new cache flushing scheme,
intended to replace Documentation/block/barriers.txt. Any good
suggestion for a filename in the kernel tree?
---
Explicit volatile write cache control
=====================================
Introduction
------------
Many storage devices, especially in the consumer market, come with volatile
write back caches. That means the devices signal I/O completion to the
operating system before data actually has hit the ...
| Aug 20, 6:22 am 2010 |
| Chris Mason | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
sata_lies.txt?
Ok, maybe writeback_cache.txt?
-chris
--
| Aug 20, 9:00 am 2010 |
| Ric Wheeler | Re: [PATCHSET block#for-2.6.36-post] block: replace barr ...
writeback_cache.txt is certainly the least confusing :)
ric
--
| Aug 20, 9:02 am 2010 |
| Kevin Hilman | Re: [PATCH 2/2] platform: Facilitate the creation of pse ...
Grant Likely <grant.likely@secretlab.ca> writes:
Heh, now I feel like we're going around in circles. Remember, I never
wanted to create add a new bus_type. Someone else [ahem] suggested
Yes, I'm working on the devres approach to that now, as is Magnus for
IMHO, simply overriding the few dev_pm_ops methods was the cleanest and
simplest.
Since we seem to be in agreement now that the a new bus may not the
right abstraction for this (since we want it to be completely
transparent to the ...
| Aug 20, 11:51 am 2010 |
| Grant Likely | Re: [PATCH 2/2] platform: Facilitate the creation of pse ...
On Fri, Aug 20, 2010 at 12:51 PM, Kevin Hilman
Hey! I didn't suggest it either! I believe that was Greg at ELC. I
Okay.
One constraint remains though: If you can override the dev_pm_ops on
a per-device or per-device-parent basis, then you've got my support.
If the override (even when fixed to work at runtime) applies to every
device on the platform_bus_type, then I'll nack it. My concern here
is that the SoC or platform support code doesn't get to "own" the
platform_bus_type. Other ...
| Aug 20, 1:08 pm 2010 |
| Rafael J. Wysocki | Re: Fan runs full speed after S3 sometimes (regression)
You can also try to use RTC wakealarm to run suspend/resume in a tight loop.
Rafael
--
| Aug 20, 4:30 pm 2010 |
| Jiri Slaby | Re: Fan runs full speed after S3 sometimes (regression)
I don't think so, it had been working for more than 2 years before this
20 is just a guess. I haven't seen it for pretty few days until the day
before yesterday. And it looks like CPU1 is brought up a half way. When
the fan was at full speed I tried:
echo 0 > /sys/devices/system/cpu/cpu1/online
and whole system freezed. Otherwise this commands succeeds.
I'll load a crash kernel prior turning the CPU off next time.
thanks,
--
js
--
| Aug 19, 11:39 pm 2010 |
| Pavel Machek | Re: Fan runs full speed after S3 sometimes (regression)
Well, doing 20 suspends in a row from a script should not be too bad.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 19, 11:31 pm 2010 |
| Andreas Dilger | Re: [GIT PULL] notification tree: directory events
If the file handles only need to have a limited lifetime for unprivileged processes, then they can contain a random salt that is kept on the in-core inode. For me and my intended HPC use case this would be a useful addition for open_by_handle() to allow unprivileged process access. At worst, if the inode is evicted from memory the process would redo the name_to_handle(), or do the slower open-by-path().
Cheers, Andreas
--
| Aug 20, 1:39 pm 2010 |
| Christoph Hellwig | Re: [GIT PULL] notification tree: directory events
That's what the dmapi callouts that are intendeded to do just about the
same as fanotify always did. I'm pretty sure I brought this up earlier
in the discussion.
--
| Aug 20, 2:21 am 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree - try 37!
[Adding linux-fsdevel here as well.]
Another case where fanotify fails to generate useful events is when a listener
runs out of file descriptors; events will simply end up with fd == -EMFILE in
that case. I don't think this behavior is useful; instead, reading from the
fanotify file descriptor (he one returned by fanotify_init()) should fail to
give the listener a chance to react.
Andreas
--
| Aug 19, 5:00 pm 2010 |
| Eric Paris | Re: [GIT PULL] notification tree: directory events
In reference to (2), I don't even understand what an fd is that can't be
used for anything. I'll let Al or Christoph respond if they feel like
it, but it sounds crazy to me. You want to just magic up some struct
file and attach a struct path to it even though dentry_open() failed?
So you can do what with it?
On a more realistic note, I'm not opposed to (1), however, your
arguments would lead one to reject inotify as the IN_OVERFLOW or oom
conditions will result in silently lost events or ...
| Aug 19, 8:38 pm 2010 |
| Eric Paris | Re: [GIT PULL] notification tree - try 37!
I inline commented in the wrong place to make it clear what I was
responding to. The question I was was answering was: "Five events seem
a bit excessive; I can't explain why so many are generated." I answered
it.
inotify_add_watch(3, "/mnt/tmp/", IN_ACCESS|IN_MODIFY|IN_ATTRIB|IN_CLOSE_WRITE|IN_CLOSE_NOWRITE|IN_OPEN|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF) = 1
lstat("/mnt/tmp/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
write(2, "Watches ...
| Aug 19, 8:50 pm 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree: directory events
I meant a process that gets killed or simply exits while there are outstanding
perm events. Nothing in the code would wake up the processes blocked on the
perm event; they will simply be stuck forever. (They cannot even be killed
with SIGKILL.)
This is easy to reproduce with a listener that is killed while processing a
perm event: just run the fanotify example [1] with the new -s option and hit
^C while it is sleeping.
Bonus points would be awarded to make a process blocked on a ...
| Aug 20, 5:16 am 2010 |
| Tvrtko Ursulin | Re: [GIT PULL] notification tree: directory events
I think Andreas would like to get a path even if open failed so it could be
for that use? If creating such file object will be impossible or too hacky,
but the general idea accepted, it may be better just to attach the path to the
event.
Tvrtko
Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.
--
| Aug 20, 2:09 am 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree: directory events
I've never said the fd can't be used for anything. The idea would be to
allow the file to be stat()ed, to poke around in /proc/fd/ in the hope to
get a somewhat useful pathname out, or to use something like xstat() on the
fd one day (David Howells is going to be looking into that).
It would be a good thing to be able to use the same mechanisms for
Nonsense. An overflow event obviously is not associated with any one file,
so that would be the (only) case where you should get an event that ...
| Aug 20, 4:07 am 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree - try 37!
I'm runnning 2.6.36-rc1, with CONFIG_FANOTIFY and
CONFIG_FANOTIFY_ACCESS_PERMISSIONS on apparently. I am watching the same
directory with inotify and fanotify at the same time, that is, with both an
inotify and an fanotify listener running in two separate processes. The
inotify listener is code I cannot send so easily, but I've shown the resulting
strace. The fanotify listener is the one from [1].
[1] http://git.kernel.org/?p=linux/kernel/git/agruen/fanotify-example.git
Together ...
| Aug 20, 5:38 am 2010 |
| Andreas Gruenbacher | Re: [GIT PULL] notification tree: directory events
I remember you bringing this up.
The persistent handles require CAP_DAC_READ_SEARCH for using open_by_handle()
to prevent an unprivileged process from forging handles and bypassing
directory permission checks. This would be okay for users of fanotify which
can listen to all events in their namespace (and which requires CAP_SYS_ADMIN
anyway).
I don't see how open_by_handle() could be made safe to use by arbitrary
processes; I don't think we can make the handles cryptographically ...
| Aug 20, 8:29 am 2010 |
| Andreas Dilger | Re: [GIT PULL] notification tree: directory events
What about unifying the file identification here with the file handle used for open_by_handle()? That keeps a consistent identifier for the inode between multiple system calls (always a good thing), and allows the inode to be opened again via open_by_handle() if needed.
Cheers, Andreas
--
| Aug 19, 10:19 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
What kind of integration do you mean? I see three levels:
1. Integration on API level meaning that some kind of existing API is used
instead of new cma_*() calls. CMA adds notion of devices and memory
types which is new to all the other APIs (coherent has notion of devices
but that's not enough). This basically means that no existing API can be
used for CMA. On the other hand, removing notion of devices and memory
types would defeat the whole purpose of CMA thus ...
| Aug 19, 6:08 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
That may be tricky. cma_alloc() takes four parameters each of which is
required for CMA. No other existing set of API uses all those arguments.
This means, CMA needs it's own, somehow unique API. I don't quite see
how the APIs may be unified or "made similar". Of course, I'm gladly
Because it's quite a bit of work and instead of diverting my attention I'd
prefer to make CMA as good as possible and then integrate it with other
subsystems. Also, adding the integration would change the patch ...
| Aug 19, 11:38 pm 2010 |
| FUJITA Tomonori | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
On Fri, 20 Aug 2010 08:38:10 +0200
Have you even tried to search 'blk_kmalloc' on google? I wrote
4k to 40k? I'm not sure. But If I see something like the following, I
suspect that there is a better way to integrate this into the existing
infrastructure.
mm/cma-best-fit.c | 407 +++++++++++++++
--
| Aug 19, 11:57 pm 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
I'm currently working on a v4 of the patchset after some comments from
Hans Verkuil on the #v4l. I should manage to post it today (Korean time).
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--
| Aug 19, 5:50 pm 2010 |
| FUJITA Tomonori | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
You can create something similar to the existing API for memory
allocator.
For example, blk_kmalloc/blk_alloc_pages was proposed as memory
allocator API with notion of an address range for allocated memory. It
wasn't merged for other reasons though.
I don't mean that this is necessary for the inclusion (I'm not the
person to ack or nack this). I just expect the similarity of memory
Well, why can't we do the above before the inclusion?
Anyway, I think that comments from mm people would ...
| Aug 19, 8:12 pm 2010 |
| FUJITA Tomonori | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
On Fri, 20 Aug 2010 10:10:45 +0200
why don't take gfp_t flags?
Something like dev_alloc_page is more appropriate name?
Or something similar to dmapool API (mm/dmapool.c) might work
better. The purpose of dmapool API is creating a pool for consistent
memory per device. It's similar to yours, creating a pool for
I don't think that bootmem/memblock matters here since it's not the
I'm not sure that's how a new feature is merged.
--
| Aug 20, 3:35 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
Because they are insufficient. Either that or I don't understand gfp_t.
With CMA, platform can define many memory types. For instance, if there are
two memory bans there can be two memory types for the two banks. For at least one
of the device I'm in contact with, another type for it's firmware is also needed.
Two things: I'd prefer a "cma" prefix rather then "dev" and I think it should
be "pages", right? Then, size should be given in pages rather then bytes.
I'll try to look at it ...
| Aug 20, 3:54 am 2010 |
| MichaÅ Nazarewicz | Re: [PATCH/RFCv3 0/6] The Contiguous Memory Allocator fr ...
I have and I haven't seen any way how
void *()(struct request_queue *q, unsigned size, gfp_t gfp);
prototype could be applied to CMA. I admit that I haven't read the whole
discussion of the patch and maybe I'm missing something about Andi's patches
but I don't see how CMA could but from what I've understood blk_kmalloc() is
Yes, but I don't really know what you have in mind. CMA is similar to various
APIs in various ways: it's similar to any allocator since it takes size in ...
| Aug 20, 1:10 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
I tested this patch and Robert's on an AMD box and Nehalem box. Both
worked as intended. However I did notice that whenever the AMD box
detected handled >1, it was shortly followed by an unknown_nmi that was
properly eaten with Robert's logic. Whereas on the Nehalem box I saw a
lot of 'handled > 1' messages but very very few of them were followed by
an unknown_nmi message (and those messages that did come were properly
eaten).
Maybe that is just the differences in the cpu designs.
Of ...
| Aug 19, 6:50 pm 2010 |
| Robert Richter | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Don, thanks for testing this.
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
--
| Aug 20, 1:36 am 2010 |
| Peter Zijlstra | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Only if there's any remaining set bits in the overflow status reg,
right?
But if we want to be paranoid, we should also check if the event that
generated the overflow actually had the INT flag enabled, I guess ;-)
--
| Aug 20, 1:50 am 2010 |
| Ingo Molnar | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Please someone send the final version with a changelog, with all the acks and
tested-by's added, so that i can send it Linuswards.
Thanks,
Ingo
--
| Aug 20, 1:16 am 2010 |
| Peter Zijlstra | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
I've got two patches queued, one from Robert (with a slight
modification, which removes a goto) and one from myself converting the
intel and p4 irq handler.
They're available at:
programming.kicks-ass.net/sekrit/patches.tar.bz2
I did add Tested-by tags, although I suspect its not the exact same bits
Don tested..
--
| Aug 20, 3:04 am 2010 |
| tip-bot for Robert R ... | [tip:perf/urgent] perf, x86: Try to handle unknown nmis ...
Commit-ID: 8e3e42b4f88602bb6e1f0b74afd80ff4703f79ce
Gitweb: http://git.kernel.org/tip/8e3e42b4f88602bb6e1f0b74afd80ff4703f79ce
Author: Robert Richter <robert.richter@amd.com>
AuthorDate: Tue, 17 Aug 2010 16:42:03 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 15:00:05 +0200
perf, x86: Try to handle unknown nmis with an enabled PMU
When the PMU is enabled it is valid to have unhandled nmis, two
events could trigger 'simultaneously' raising two ...
| Aug 20, 7:17 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Might not this be the case of AAN93 erratum, which says the following
| The processor can be configured to issue a PMI (performance monitor interrupt)
| upon overflow of the IA32_FIXED_CTR0 MSR (309H). A single PMI should be observed on
| overflow of IA32_FIXED_CTR0, however multiple PMIs are observed when this
| erratum occurs.
Just a thought.
-- Cyrill
--
| Aug 20, 1:45 pm 2010 |
| Ingo Molnar | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Please pick up -tip in an hour or two and holler if something looks wrong.
Thanks,
Ingo
--
| Aug 20, 6:27 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
Easy enough.
Cheers,
Don
--
| Aug 20, 6:51 am 2010 |
| tip-bot for Peter Zi ... | [tip:perf/urgent] perf, x86: Fix handle_irq return values
Commit-ID: 4a31bebe71ab2e4f6ecd6e5f9f2ac9f0ff38ff76
Gitweb: http://git.kernel.org/tip/4a31bebe71ab2e4f6ecd6e5f9f2ac9f0ff38ff76
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
AuthorDate: Thu, 19 Aug 2010 16:28:00 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 15:00:06 +0200
perf, x86: Fix handle_irq return values
Now that we rely on the number of handled overflows, ensure all handle_irq
implementations actually return the right number.
Signed-off-by: ...
| Aug 20, 7:17 am 2010 |
| Ingo Molnar | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
it's not working so well, i'm getting:
Uhhuh. NMI received for unknown reason 00 on CPU 9.
Do you have a strange power saving mode enabled?
Dazed and confused, but trying to continue
on a nehalem box, after a perf top and perf stat run.
Thanks,
Ingo
--
| Aug 20, 7:17 am 2010 |
| Don Zickus | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
I can re-test those exact patches later today if needed.
Cheers,
Don
--
| Aug 20, 5:39 am 2010 |
| Cyrill Gorcunov | Re: [PATCH -v3] perf, x86: try to handle unknown nmis wi ...
My Ack if needed
--
| Aug 20, 3:30 am 2010 |
| Samuel Ortiz | Re: [PATCH] MFD: LP3974 PMIC support
Hi Kyungmin,
It hopefully will be. I received the patch after the merge window opened
though.
As Jonathan mentioned, there really is no need for a Kconfig symbol. Just
Not used, so please remove that.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
| Aug 20, 3:09 pm 2010 |
| Paul E. McKenney | Re: Attempted summary of suspend-blockers LKML thread, t ...
Indeed, Rafael and Alan Stern are working to make pm_qos do what the
Android guys need, which could (very roughly) be thought of as extending
the jitter/fuzz such that it meets Android's requirements.
Thanx, Paul
--
| Aug 19, 9:58 pm 2010 |
| Xiaotian Feng | [RFC PATCH v3] core_pattern: fix long parameters was tru ...
%s %c %p %u %g 11 12345678901234567890123456789012345678 %t" > \
/proc/sys/kernel/core_pattern
This is okay because the strings is less than CORENAME_MAX_SIZE.
"cat /proc/sys/kernel/core_pattern" shows the whole string. but
after we run core_pattern_pipe_test in man page, we found last
parameter was truncated like below:
argc[10]=<12807486>
The root cause is core_pattern allows % specifiers, which need to be
replaced during parse time, but the replace may expand the strings
to ...
| Aug 20, 2:22 am 2010 |
| Xiaotian Feng | [RFC PATCH v3] core_pattern: fix long parameters was tru ...
%s %c %p %u %g 11 12345678901234567890123456789012345678 %t" > \
/proc/sys/kernel/core_pattern
This is okay because the strings is less than CORENAME_MAX_SIZE.
"cat /proc/sys/kernel/core_pattern" shows the whole string. but
after we run core_pattern_pipe_test in man page, we found last
parameter was truncated like below:
argc[10]=<12807486>
The root cause is core_pattern allows % specifiers, which need to be
replaced during parse time, but the replace may expand the strings
to ...
| Aug 20, 2:35 am 2010 |
| Xiaotian Feng | Re: [RFC PATCH v3] core_pattern: fix long parameters was ...
oops, this line should be removed, please ignore this mail, I'll send an
updated patch.
Thanks
Xiaotian
--
| Aug 20, 2:35 am 2010 |
| H. Peter Anvin | Re: [PATCH 5/5] Package Level Thermal Control and Power ...
That is true for all current CPUs, but is not guaranteed for the future.
-hpa
--
| Aug 20, 11:39 am 2010 |
| Jean Delvare | Re: [PATCH 5/5] Package Level Thermal Control and Power ...
Fenghua,
Yes, please! If you have time to work on this, it would be very great.
I am really curious to see how the driver would look like if we go with
this approach. I can test the code, too (although I understand you
won't have any difficulties getting your hands on recent Intel
systems ;)
Also see my reply in the other thread about the handling of removed
siblings. I suspect it will be very easy to add to the new design.
Side question: is it safe to assume a maximum of 2 siblings ...
| Aug 20, 1:33 am 2010 |
| Fenghua Yu | Re: [PATCH 5/5] Package Level Thermal Control and Power ...
I think architecturally it's not safe to assume 2 siblings per core on x86
although so far HT implementations have been having 2 siblings per core.
Linux kernel doesn't assume 2 siblings per core during initialization (please
check arch/x86/kernel/smpboot.c). This is right way to handle potential non 2
sibling case in the future.
Thanks.
-Fenghua
--
| Aug 20, 9:58 am 2010 |
| tip-bot for Peter Zi ... | [tip:sched/urgent] sched: Fix rq->clock synchronization ...
Commit-ID: 861d034ee814917a83bd5de4b26e3b8336ddeeb8
Gitweb: http://git.kernel.org/tip/861d034ee814917a83bd5de4b26e3b8336ddeeb8
Author: Peter Zijlstra <peterz@infradead.org>
AuthorDate: Thu, 19 Aug 2010 13:31:43 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Fri, 20 Aug 2010 14:59:01 +0200
sched: Fix rq->clock synchronization when migrating tasks
sched_fork() -- we do task placement in ->task_fork_fair() ensure we
update_rq_clock() so we work with current time. We leave ...
| Aug 20, 7:16 am 2010 |
| Arnd Hannemann | Re: [PATCH] tmio_mmc: Allow 2 byte requests in 4-bit mode
Hi,
Tested on AP4EVB (sh7372) with SDHC and MMC cards - no regression.
Tested-by: Arnd Hannemann <arnd@arndnet.de>
--
| Aug 20, 8:06 am 2010 |
| Magnus Damm | Re: [PATCH] tmio_mmc: Allow 2 byte requests in 4-bit mode
Hi Arnd,
With both you, Goda-san and me testing it certainly looks like this
one also is ok on platforms with SDHI.
Thanks a lot!
/ magnus
--
| Aug 20, 4:01 pm 2010 |
| Magnus Damm | Re: [PATCH] tmio_mmc: Allow 2 byte requests in 4-bit mode
Hi Ian,
Any update on this? I'd like to see this patch upstream since it
unbreaks SDIO support for platforms with SDHI controllers.
I have a BCM4318-based SDIO card that I can send with snail mail from
Japan if anyone is interested in testing on non-SDHI platforms.
Thanks,
/ magnus
--
| Aug 20, 3:59 pm 2010 |
| Arnd Hannemann | Re: [PATCH] tmio_mmc: Make ack_mmc_irqs() write-only
Tested on AP4EVB (sh7372) with SDHC and MMC cards - no regression.
Tested-by: Arnd Hannemann <arnd@arndnet.de>
--
| Aug 20, 8:12 am 2010 |
| Magnus Damm | Re: [PATCH] tmio_mmc: Make ack_mmc_irqs() write-only
Thanks, Arnd!
Andrew, is there anything you need to (re)pick-up this patch?
At the current point this patch has:
Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Tested-by: Arnd Hannemann <arnd@arndnet.de>
Ian Molton also gave his "Acked-by" in a different email thread,
please see below:
Thanks for the help everyone and sorry about the confused state of things.
/ magnus
--
| Aug 20, 3:55 pm 2010 |
| Peter Zijlstra | Re: kmemleak, cpu usage jump out of nowhere
My machines are lucky if a kernel has hours of runtime, days almost
never happens, there's always the next kernel to test ;-)
But yeah, you'd expect more people to run into something like this..
Most odd thing..
--
| Aug 20, 2:40 am 2010 |
| Damien Wyart | Re: kmemleak, cpu usage jump out of nowhere
After a few days of running 2.6.35.2 without problem, I got the same
huge slowness for a few tens of seconds yesterday. Did not have time to
run perf (and the system was almost unresponsive), but I will try to do
so if the problem occurs again. Anyway, even if less frequent than
during the -rcs, and as nothing had been commited to fix it before
final, the problem is still there...
It seems that the problem occurs after some CPU intensive tasks have
been run for some time (ie compiling a ...
| Aug 20, 2:32 am 2010 |
| Thibaut Girka | Re: [PATCH 1/4] Smedia Glamo 3362 core/resource driver
Well, OpenMoko, the project behind this driver, has been carrying its
own linux tree for years, now, and "2.6.28" and "2.6.24" are referring
to the whole branch, glamo-core included.
So, it hasn't really something to do with the kernel version, but with
the version of the driver itself.
Hm, well, that may be useful, for "documentation" and future work, but
Yes, indeed, it should be outside of the DEBUGFS scope.
As stated before, it hasn't anything to do with kernel ...
| Aug 20, 8:05 am 2010 |
| Nicolas Ferre | Re: [PATCH] AT91: Correct configuration define value
We can add:
Christoph,
Is this patch handled by you as part of your patch series or should I
include it in "Trivial" or "AT91" patch series?
--
Nicolas Ferre
--
| Aug 20, 8:18 am 2010 |
| Humberto Gamez | Re: Pixelview autitek syntek driver query
check this link:
http://linuxtv.org/hg/~mkrufky/teledongle/
--
| Aug 20, 7:36 am 2010 |
| previous day | today | next day |
|---|---|---|
| August 19, 2010 | August 20, 2010 | August 21, 2010 |
