linux-kernel mailing list

FromSubjectsort iconDate
Asbjoern Sloth Toennesen
[PATCH] kbuild, deb-pkg: fix Architecture field when cro ...
If the environment variable CROSS_COMPILE is set, override the Architecture control field, based on the value of the ARCH environment variable. With this patch the following make command: make CROSS_COMPILE='' ARCH=i386 deb-pkg will output an i386 Debian package instead of an amd64 one, when run on amd64 machine. Signed-off-by: Asbjoern Sloth Toennesen <asbjorn@asbjorn.biz> --- scripts/package/builddeb | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff ...
Nov 1, 4:31 pm 2010
Daniel Taylor
hibernate and file system/metadisk driver buffers/caches
From what I have found in Documentation/power, I should be able to hibernate a system to a partition on flash, and resume it, preserving its entire state. In case I missed something, though, does anyone know if, in particular, MD stripe buffers are preserved, as well as the EXTn/XFS buffers/caches? I think I read that I/O buffers in use by drivers are saved only if the driver has the appropriate suspend() interfaces. Dan Taylor --
Nov 1, 3:59 pm 2010
Randy Dunlap
Re: 2.6.37-rc1 problems
[snip huge list of messages] Fixed by today's commit: commit e99d11d19977c74b18411cdb59cdebb788237a6e Author: Paul Mundt <lethal@linux-sh.org> Date: Tue Nov 2 05:29:21 2010 +0900 fs: logfs: Fix up MTD=y build. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Nov 1, 3:26 pm 2010
werner
2.6.37-rc1 problems
2.6.37-rc1 probelms: =========================== CC [M] drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.o drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c: In function 'SetupHIFScatterSupport': drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c:288: error: 'struct mmc_host' has no member named 'max_hw_segs' drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c:289: error: 'struct mmc_host' has no member named 'max_hw_segs' make[3]: ...
Nov 1, 3:14 pm 2010
Randy Dunlap
2.6.37-rc1: WARNING..debugobjects: ODEBUG: free active ( ...
[ 41.533067] ------------[ cut here ]------------ [ 41.533091] WARNING: at /local/linsrc/lnx-2637-rc1/lib/debugobjects.c:259 debug_print_object+0x77/0x86() [ 41.533101] Hardware name: OptiPlex GX620 [ 41.533111] ODEBUG: free active (active state 0) object type: percpu_counter [ 41.533118] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nfsd lockd nfs_acl auth_rpcgss exportfs sco bridge stp llc bnep l2cap crc16 bluetooth rfkill sunrpc ipt_REJECT nf_conntrack_ipv4 ...
Nov 1, 2:58 pm 2010
Randy Dunlap
[PATCH] mtd: fix nand kernel-doc warnings
From: Randy Dunlap <randy.dunlap@oracle.com> Warning(include/linux/mtd/nand.h:543): No description found for parameter 'badblockbits' Warning(drivers/mtd/nand/nand_bbt.c:1101): No description found for parameter 'mtd' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/mtd/nand/nand_bbt.c | 3 ++- include/linux/mtd/nand.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) --- linux-2.6.36-git17.orig/include/linux/mtd/nand.h +++ ...
Nov 1, 2:47 pm 2010
Thomas Weber
[PATCH] OMAP2: Devkit8000: Fix mmc regulator failure
Signed-off-by: Thomas Weber <weber@corscience.de> --- arch/arm/mach-omap2/board-devkit8000.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 067f437..53ac762 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c @@ -242,9 +242,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev, mmc[0].gpio_cd = gpio + 0; ...
Nov 1, 3:48 pm 2010
Mauro Schilman
[PATCH] Staging: frontier: fix space and * coding style ...
This is a patch to the alphatrack.c file that fixes up a space warning and a space after '*' warning found by the checkpatch.pl tool Signed-off-by: Mauro Schilman <maurito.s@gmail.com> --- drivers/staging/frontier/alphatrack.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c index ef7fbf8..2babb03 100644 --- a/drivers/staging/frontier/alphatrack.c +++ ...
Nov 1, 2:38 pm 2010
Francois Romieu
Re: [2.6.37-rc1, patch] r8169: fix sleeping while holdin ...
The change is fine but the description is misleading : the r8169 driver has been issuing device_set_wakeup_enable under spinlock since october 2008. device_set_wakeup_enable did not sleep until recently (see f2dc0d1809ab7e0147c7e4ac837be1682f706538 for instance). drivers/net/gianfar_ethtool.c::gfar_set_wol is broken as well when CONFIG_PM is set. -- Ueimor --
Nov 1, 4:46 pm 2010
Daniel J Blueman
[2.6.37-rc1, patch] r8169: fix sleeping while holding sp ...
Recent changes to the r8169 driver cause it to call device_set_wakeup_enable under spinlock, which may sleep. Locking isn't necessary around the call to device_set_wakeup_enable, so drop the spinlock before calling it, to address this. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com> diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index d88ce9f..894e7c7 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -846,10 +846,10 @@ static int rtl8169_set_wol(struct ...
Nov 1, 2:35 pm 2010
Chris Metcalf
[PATCH] drivers/net/tile/: on-chip network drivers for t ...
This change adds the first network driver for the tile architecture, supporting the on-chip XGBE and GBE shims. The infrastructure is present for the TILE-Gx networking drivers (another three source files in the new directory) but for now the the actual tilegx sources are waiting on releasing hardware to initial customers. Note that arch/tile/include/hv/* are "upstream" headers from the Tilera hypervisor and will probably benefit less from LKML review. Signed-off-by: Chris Metcalf ...
Nov 1, 2:00 pm 2010
Chris Metcalf
[PATCH v2] drivers/net/tile/: on-chip network drivers fo ...
This change adds the first network driver for the tile architecture, supporting the on-chip XGBE and GBE shims. The infrastructure is present for the TILE-Gx networking drivers (another three source files in the new directory) but for now the the actual tilegx sources are waiting on releasing hardware to initial customers. Note that arch/tile/include/hv/* are "upstream" headers from the Tilera hypervisor and will probably benefit less from LKML review. Signed-off-by: Chris Metcalf ...
Nov 1, 2:00 pm 2010
Divy Le Ray
[PATCH net-2.6 2/3] cxgb4: remove call to stop TX queues ...
From: Divy Le Ray <divy@chelsio.com> Remove racy queue stopping after device registration. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> --- drivers/net/cxgb4/cxgb4_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c index f17703f..f50bc98 100644 --- a/drivers/net/cxgb4/cxgb4_main.c +++ b/drivers/net/cxgb4/cxgb4_main.c @@ -3736,7 +3736,6 @@ static int __devinit init_one(struct pci_dev ...
Nov 1, 1:59 pm 2010
Divy Le Ray
[PATCH net-2.6 1/3] cxgb3: remove call to stop TX queues ...
From: Divy Le Ray <divy@chelsio.com> Remove racy queue stopping after device registration. Signed-off-by: Divy Le Ray <divy@chelsio.com> --- drivers/net/cxgb3/cxgb3_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 407d4e2..046d846 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c @@ -3341,7 +3341,6 @@ static int __devinit init_one(struct pci_dev ...
Nov 1, 1:59 pm 2010
Divy Le Ray
[PATCH net-2.6 3/3] cxgb4vf: remove call to stop TX queu ...
From: Divy Le Ray <divy@chelsio.com> Stopping TX queues at driver load time is not necessary. Signed-off-by: Casey Leedom <leedom@chelsio.com> --- drivers/net/cxgb4vf/cxgb4vf_main.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/cxgb4vf/cxgb4vf_main.c b/drivers/net/cxgb4vf/cxgb4vf_main.c index 555ecc5..6de5e2e 100644 --- a/drivers/net/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/cxgb4vf/cxgb4vf_main.c @@ -2600,7 +2600,6 @@ static int __devinit ...
Nov 1, 1:59 pm 2010
David Miller
Re: [PATCH net-2.6 2/3] cxgb4: remove call to stop TX qu ...
From: Divy Le Ray <divy@chelsio.com> Applied. --
Nov 1, 2:10 pm 2010
David Miller
Re: [PATCH net-2.6 1/3] cxgb3: remove call to stop TX qu ...
From: Divy Le Ray <divy@chelsio.com> Applied. --
Nov 1, 2:10 pm 2010
David Miller
Re: [PATCH net-2.6 3/3] cxgb4vf: remove call to stop TX ...
From: Divy Le Ray <divy@chelsio.com> Applied. --
Nov 1, 2:10 pm 2010
Andy Whitcroft
[PATCH 0/1] Fix kconfig core dumps running make oldconfig
When running make oldconfig cirtain configurations kconfig will coredump. This is triggered by an issue calculating the length of the result of expanding symbol values containing variables. This prevents builds on these configs. This bug was exposed by the commit below which _correctly_ fixed the usage of realloc(): commit 19c29f326075e2c66e34d98f2a0cf22901b2d8e9 Author: Michal Marek <mmarek@suse.cz> Date: Thu Sep 30 22:21:12 2010 +0200 kconfig: Fix realloc ...
Nov 1, 2:01 pm 2010
Andy Whitcroft
[PATCH 1/1] kconfig: sym_expand_string_value: allow for ...
When expanding a parameterised string we may run out of space, this triggers a realloc. When computing the new allocation size we do not allow for the terminating '\0'. Allow for this when calculating the new length. Signed-off-by: Andy Whitcroft <apw@canonical.com> --- scripts/kconfig/symbol.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index c0efe10..af6e9f3 100644 --- a/scripts/kconfig/symbol.c +++ ...
Nov 1, 2:01 pm 2010
Haiyang Zhang
[PATCH 01/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in channel_mgmt.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 302 ++++++++++++++++++------------------ drivers/staging/hv/channel_mgmt.c | 186 ++++++++++++------------ drivers/staging/hv/channel_mgmt.h | 244 +++++++++++++++--------------- drivers/staging/hv/connection.c | 38 +++--- ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 02/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in hv_api.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 32 ++-- drivers/staging/hv/channel_mgmt.c | 6 +- drivers/staging/hv/connection.c | 4 +- drivers/staging/hv/hv.c | 120 ++++++++-------- drivers/staging/hv/hv_api.h | 274 ++++++++++++++++++------------------ ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 03/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 95 +++++++++++++++++++++++--------------------- drivers/staging/hv/hv.h | 20 +++++----- drivers/staging/hv/vmbus.c | 6 +- 3 files changed, 63 insertions(+), 58 deletions(-) diff --git a/drivers/staging/hv/hv.c ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 09/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 4 +- drivers/staging/hv/ring_buffer.c | 337 +++++++++++++++++++------------------- drivers/staging/hv/ring_buffer.h | 26 ++-- 3 files changed, 185 insertions(+), 182 deletions(-) diff --git a/drivers/staging/hv/channel.c ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 07/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 20 +++++++++--------- drivers/staging/hv/channel_mgmt.c | 12 +++++----- drivers/staging/hv/connection.c | 14 ++++++------ drivers/staging/hv/hv.c | 12 +++++----- drivers/staging/hv/netvsc.c | 24 ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 08/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in ring_buffer.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 10 +++--- drivers/staging/hv/ring_buffer.c | 58 ++++++++++++++++++++----------------- drivers/staging/hv/ring_buffer.h | 30 ++++++++++---------- drivers/staging/hv/vmbus_drv.c | 25 +++++++++------- 4 files changed, 65 ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 04/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in hv.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 172 +++++++++++++++++++++++----------------------- 1 files changed, 86 insertions(+), 86 deletions(-) diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index d0e8c85..2fd234d 100644 --- a/drivers/staging/hv/hv.c +++ ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 05/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in hv.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/connection.c | 4 +- drivers/staging/hv/hv.c | 42 ++++++++++++++++++++------------------ drivers/staging/hv/hv.h | 16 +++++++------- drivers/staging/hv/hv_api.h | 4 +- drivers/staging/hv/vmbus.c | 8 +++--- 5 files ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 10/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 40 ++++++------ drivers/staging/hv/ring_buffer.c | 123 +++++++++++++++++++------------------ drivers/staging/hv/ring_buffer.h | 16 +++--- 3 files changed, 91 insertions(+), 88 deletions(-) diff --git ...
Nov 1, 1:46 pm 2010
Haiyang Zhang
[PATCH 06/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/osd.c | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 8c3eb27..b39ec25 100644 --- a/drivers/staging/hv/osd.c +++ ...
Nov 1, 1:46 pm 2010
Webmail Help Desk
Urgent...(Webmail upgrade notice)
Dear account user, We are updating our database, and e-mail account center. We are deleting all unused webmail account and create more space for new accounts. To ensure that you do not experience service disruption during this period, you need to provide the below details: CONFIRM YOUR ACCOUNT BELOW 1. E-mail:................................. 2. Username :.................................... 2. Password :................................... 3. Confirm password ...
Nov 1, 12:49 pm 2010
Pekka Enberg
[PATCH 4/4] w35und: Kill struct hwdata ->SurpriseRemoveCount
This patch kills the ->SurpriseRemoveCount member of struct hwdata. It's not used at all so it's safe to remove it. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/wbhal.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/winbond/wbhal.h b/drivers/staging/winbond/wbhal.h index 1c91588..dcf3b21 100644 --- a/drivers/staging/winbond/wbhal.h +++ b/drivers/staging/winbond/wbhal.h @@ -507,8 ...
Nov 1, 1:29 pm 2010
Pavel Machek Nov 1, 2:15 pm 2010
Pekka Enberg
[PATCH 1/4] w35und: Kill empty Mds_Destroy function
The Mds_Destroy() function doesn't do anything so kill it. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/mds.c | 5 ----- drivers/staging/winbond/mds_f.h | 1 - drivers/staging/winbond/wbusb.c | 2 -- 3 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/staging/winbond/mds.c b/drivers/staging/winbond/mds.c index 9ac2c87..90f2cc0 100644 --- a/drivers/staging/winbond/mds.c +++ ...
Nov 1, 1:29 pm 2010
Pekka Enberg
[PATCH 3/4] w35und: Kill struct hwdata ->HwStop
This patch kills the ->HwStop member of struct hwdata. It's a read-only variable that's always zero so it's safe to remove it. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/wb35rx.c | 4 ++-- drivers/staging/winbond/wb35tx.c | 8 ++++---- drivers/staging/winbond/wbhal.h | 3 --- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c index ...
Nov 1, 1:29 pm 2010
Pekka Enberg
[PATCH 2/4] w35und: Kill struct hwdata ->NullPacketCount
This patch kills the NullPacketCount member of struct hwdata. It's not used for anything so it's safe to remove it. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/wbhal.h | 6 ------ drivers/staging/winbond/wbusb.c | 9 --------- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/drivers/staging/winbond/wbhal.h b/drivers/staging/winbond/wbhal.h index 821a1b3..6f4cd76 100644 --- ...
Nov 1, 1:29 pm 2010
Pavel Machek Nov 1, 2:16 pm 2010
Paul Mundt
[PATCH] fs: logfs: Fix up MTD=y build.
Commit 7d945a3aa7608f68dba04083d3421e0b43052660 ("logfs get_sb, part 3") broke the logfs build when CONFIG_MTD is set due to a mangled logfs_get_sb_mtd() definition. Signed-off-by: Paul Mundt <lethal@linux-sh.org> --- fs/logfs/logfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h index cd51a36..57afd4a 100644 --- a/fs/logfs/logfs.h +++ b/fs/logfs/logfs.h @@ -486,7 +486,7 @@ static inline int logfs_get_sb_bdev(struct ...
Nov 1, 1:29 pm 2010
John Stultz
[PATCH 06/10] microblaze: convert to clocksource_registe ...
This converts the microblaze clocksources to use clocksource_register_hz/khz This is untested, so any assistance in testing would be appreciated! CC: Michal Simek <monstr@monstr.eu> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/microblaze/kernel/timer.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/kernel/timer.c b/arch/microblaze/kernel/timer.c index a5aa33d..68ec7d1 100644 --- ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 04/10] tile: convert to use clocksource_register_hz
Convert tile to use clocksource_register_hz. Untested. Help from maintainers would be appreciated. CC: Chris Metcalf <cmetcalf@tilera.com> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/tile/kernel/time.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/tile/kernel/time.c b/arch/tile/kernel/time.c index 6bed820..8c06cb2 100644 --- a/arch/tile/kernel/time.c +++ b/arch/tile/kernel/time.c @@ -76,7 +76,6 ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 00/10] clocksource_register_khz/hz cleanups (for ...
clocksource_register_hz/khz() properly calculates a clocksource mult and shift value for a clocksource, removing much of the copy/pasted or arch-specific helper functions that do so. The common x86 clocksources have been converted to use clocksource_register_hz/clocksource_register_khz and I've seen no related bug reports, so I think the infrastructure is fairly sound. So I wanted to start consolidating the other arches to also use the clocksource_register_hz/khz method. I was a bit too ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 09/10] xtensa: convert to clocksource_register_hz/khz
This converts the xtensa clocksource to use clocksource_register_hz/khz This is untested, so any assistance in testing would be appreciated! CC: Chris Zankel <chris@zankel.net> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/xtensa/kernel/time.c | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 19df764..fbca874 100644 --- ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 07/10] avr32: Convert to clocksource_register_hz
This converts the avr32 clocksource to use clocksource_register_hz. This is untested, so any assistance in testing would be appreciated! CC: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/avr32/kernel/time.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c index 668ed28..05ad291 100644 --- ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 05/10] parisc: convert to clocksource_register_hz/khz
This converts the parisc clocksources to use clocksource_register_hz/khz This is untested, so any assistance in testing would be appreciated! CC: Kyle McMartin <kyle@mcmartin.ca> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/parisc/kernel/time.c | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index 05511cc..8bfff4a 100644 --- ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 02/10] ia64: convert to clocksource_register_hz/khz
This converts the ia64 clocksources to use clocksource_register_hz/khz This is untested, so any assistance in testing would be appreciated! CC: Tony Luck <tony.luck@intel.com> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/ia64/kernel/cyclone.c | 6 +----- arch/ia64/kernel/time.c | 9 ++------- arch/ia64/sn/kernel/sn2/timer.c | 6 +----- drivers/char/hpet.c | 6 +----- 4 files changed, 5 ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 08/10] blackfin: convert to clocksource_register_hz
This converts the blackfin clocksource to use clocksource_register_hz. This is untested, so any assistance in testing would be appreciated! CC: Mike Frysinger <vapier@gentoo.org> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/blackfin/kernel/time-ts.c | 35 ++--------------------------------- 1 files changed, 2 insertions(+), 33 deletions(-) diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c index ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 10/10] sparc: convert to clocksource_register_hz/khz
This converts the sparc clocksources to use clocksource_register_hz/khz This is untested, so any assistance in testing would be appreciated! CC: "David S. Miller" <davem@davemloft.net> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> Acked-by: David S. Miller <davem@davemloft.net> --- arch/sparc/kernel/time_64.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/sparc/kernel/time_64.c ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 03/10] cris: convert to clocksource_register_khz
This converts the cris architecture to use clocksource_register_khz This is untested, so any help from maintainers would be appreciated. CC: Mikael Starvik <starvik@axis.com> CC: Jesper Nilsson <jesper.nilsson@axis.com> CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <johnstul@us.ibm.com> --- arch/cris/arch-v32/kernel/time.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/cris/arch-v32/kernel/time.c ...
Nov 1, 1:12 pm 2010
John Stultz
[PATCH 01/10] x86: Convert untested clocksources to cloc ...
This converts the remaining x86 clocksources to use clocksource_register_hz/khz. I was not able to test them, so any extra assistance to make sure time functions properly with the clocksources changeed here would be appreciated! CC: jacob.jun.pan@intel.com CC: Glauber Costa <glommer@redhat.com> CC: Dimitri Sivanich <sivanich@sgi.com> CC: Rusty Russell <rusty@rustcorp.com.au> CC: Jeremy Fitzhardinge <jeremy@xensource.com> CC: Chris McDermott <lcm@us.ibm.com> CC: Thomas Gleixner ...
Nov 1, 1:12 pm 2010
Nick Bowler
Re: [PATCH] SUNRPC: Initialize source address if passed- ...
This one seems to correct the issue. Tested-by: Nick Bowler <nbowler@elliptictech.com> -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) --
Nov 1, 1:08 pm 2010
Chuck Lever
[PATCH] SUNRPC: Initialize source address if passed-in s ...
Recently xs_bind() was changed so it can't tolerate an AF_UNSPEC bind address; it needs a fully initialized ANYADDR. We recently fixed this case in xprtsock.c, but some upper layer protocols seem to assume that it's OK to pass in an AF_UNSPEC address for the source address. Catch that case too. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- Untested. net/sunrpc/xprtsock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/sunrpc/xprtsock.c ...
Nov 1, 12:58 pm 2010
Alan Stern
Re: [RFC/PATCH v3 1/4] usb: Add usb_endpoint_descriptor ...
Instead of casting the variable, you should remove the "const" qualifiers here and in the callers. After all, if usb_ep_enable is going to change the descriptor then we shouldn't call it "const". Alternatively, if usb_ep_enable _isn't_ going to change the descriptor then perhaps the new pointer added to usb_ep should be declared "const". Alan Stern --
Nov 1, 12:53 pm 2010
Jesper Juhl
[PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+memset ...
Hi (please CC me on replies), Apologies to those who receive this multiple times. I screwed up the To: field in my original mail :-( In mem_cgroup_alloc() we currently do either kmalloc() or vmalloc() then followed by memset() to zero the memory. This can be more efficiently achieved by using kzalloc() and vzalloc(). Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- memcontrol.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mm/memcontrol.c ...
Nov 1, 12:40 pm 2010
Hiroyuki Kamezawa
Re: [PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+me ...
Thanks, Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> --
Nov 1, 12:58 pm 2010
Johannes Weiner
Re: [PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+me ...
Looks good to me, but there is also the memset after kmalloc in alloc_mem_cgroup_per_zone_info(). Can you switch that over as well in this patch? You can pass __GFP_ZERO to kmalloc_node() for zeroing. Thanks! --
Nov 1, 1:01 pm 2010
Minchan Kim
Re: [PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+me ...
I am not against that. As looking code, there are many places to use kzalloc_node but few vzalloc_node. Although it is, Only adding kzalloc_node would make code rather ugly like this. if (some size > limit) ptr = kzalloc_node(...); else { prt = vmalloc_node(...) vmalloced = 1; } if (ptr && vmalloced) memset(prt, xxxx); Reviewed-by: Minchan Kim <minchan.kim@gmail.com> -- Kind regards, Minchan Kim --
Nov 1, 4:21 pm 2010
Jesper Juhl
Re: [PATCH] cgroup: prefer [kv]zalloc over [kv]malloc+me ...
Dang, I missed that one. Thanks for pointing it out. Hmm, I'm wondering if we should perhaps add kzalloc_node()/vzalloc_node() Sure thing. Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- memcontrol.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 9a99cfa..bc32ffe 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -4169,13 +4169,11 @@ static int alloc_mem_cgroup_per_zone_info(struct mem_cgroup *mem, int ...
Nov 1, 12:59 pm 2010
Pavel Machek Nov 1, 12:53 pm 2010
Pekka Enberg
[PATCH 1/2] w35und: Merge wbhal_f.h to wbhal_s.h
This patch merges HAL struct and function definitions into one header file. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/mds.c | 3 +- drivers/staging/winbond/mto.c | 4 +- drivers/staging/winbond/phy_calibration.c | 4 +- drivers/staging/winbond/phy_calibration.h | 2 +- drivers/staging/winbond/reg.c | 4 +- drivers/staging/winbond/wb35reg_s.h | 74 ...
Nov 1, 12:50 pm 2010
Pavel Machek Nov 1, 12:55 pm 2010
Pekka Enberg
[PATCH 2/2] w35und: Rename wbhal_s.h to wbhal.h
This patch renames the wbhal_s.h header file to wbhal.h now that it contains both structure and function definitions. Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@kernel.org> --- drivers/staging/winbond/core.h | 2 +- drivers/staging/winbond/mds.c | 2 +- drivers/staging/winbond/mds_f.h | 2 +- drivers/staging/winbond/mto.c | 2 +- drivers/staging/winbond/phy_calibration.c | 2 +- ...
Nov 1, 12:50 pm 2010
Mimi Zohar
[PATCH v1.1 3/5] IMA: maintain i_readcount in the VFS layer
ima_counts_get() updated the readcount and invalidated the PCR, as necessary. Only update the i_readcount in the VFS layer. Move the PCR invalidation checks to ima_file_check(), where it belongs. Maintaining the i_readcount in the VFS layer, will allow other subsystems to use i_readcount. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> --- fs/file_table.c | 5 ++++- fs/inode.c | 3 +++ fs/open.c | 3 ++- ...
Nov 1, 12:45 pm 2010
Mimi Zohar
[PATCH v1.1 5/5] IMA: making i_readcount a first class i ...
Finally, remove the ifdef's around i_readcount, making it a full inode citizen so that other subsystems, such as leases, could use it. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> --- fs/file_table.c | 11 +++++++++++ include/linux/fs.h | 13 ------------- security/integrity/ima/Makefile | 2 +- security/integrity/ima/ima_readcount.c | 25 ------------------------- 4 files changed, 12 insertions(+), 39 deletions(-) delete mode ...
Nov 1, 12:45 pm 2010
Mimi Zohar
[PATCH v1.1 1/5] IMA: convert i_readcount to atomic
Convert the inode's i_readcount from an unsigned int to atomic. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> --- include/linux/fs.h | 2 +- security/integrity/ima/ima_iint.c | 7 ++++--- security/integrity/ima/ima_main.c | 11 ++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 1eb2939..18d677c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -788,7 +788,7 @@ struct inode { #ifdef ...
Nov 1, 12:45 pm 2010
Mimi Zohar
[PATCH v1.1 4/5] IMA: remove IMA imbalance checking
Now that i_readcount is maintained by the VFS layer, remove the imbalance checking in IMA. Cleans up the IMA code nicely. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> --- security/integrity/ima/ima_iint.c | 4 -- security/integrity/ima/ima_main.c | 105 +++---------------------------------- 2 files changed, 8 insertions(+), 101 deletions(-) diff --git a/security/integrity/ima/ima_iint.c b/security/integrity/ima/ima_iint.c index 68efe3b..4ae7304 100644 --- ...
Nov 1, 12:45 pm 2010
Mimi Zohar
[PATCH v1.1 0/5] IMA: making i_readcount a first class i ...
Based on the previous posting discussion, i_readcount is now defined as atomic. This patchset separates the incrementing/decrementing of the i_readcount, in the VFS layer, from other IMA functionality, by replacing the current ima_counts_get() call with iget_readcount(). Its unclear whether this call to increment i_readcount should be made earlier, like i_writecount. The patch ordering is a bit redundant in order to leave removing the ifdef around i_readcount until the last patch. The first ...
Nov 1, 12:45 pm 2010
Mimi Zohar
[PATCH v1.1 2/5] IMA: define readcount functions
Define iget/iput_readcount() functions to be called from the VFS layer. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> --- include/linux/fs.h | 16 ++++++++++++++++ security/integrity/ima/Makefile | 2 +- security/integrity/ima/ima_readcount.c | 25 +++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletions(-) create mode 100644 security/integrity/ima/ima_readcount.c diff --git a/include/linux/fs.h b/include/linux/fs.h index 18d677c..7f5939d ...
Nov 1, 12:45 pm 2010
Chris Metcalf
[PATCH] arch/tile: bomb raw_local_irq_ to arch_local_irq_
This completes the tile migration to the new naming scheme for the architecture-specific irq management code. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> --- arch/tile/kernel/early_printk.c | 2 +- arch/tile/kernel/hardwall.c | 4 ++-- arch/tile/kernel/irq.c | 4 ++-- arch/tile/kernel/messaging.c | 2 +- arch/tile/kernel/reboot.c | 6 +++--- arch/tile/kernel/setup.c | 8 ++++---- arch/tile/kernel/smp.c | 2 +- ...
Nov 1, 12:24 pm 2010
Chris Metcalf
[PATCH] arch/tile: avoid __must_check warning on one str ...
For the "initfree" boot argument it's not that big a deal, but to avoid warnings in the code, we check for a valid value before allowing the specified argument to override the kernel default. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> --- arch/tile/mm/init.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/tile/mm/init.c b/arch/tile/mm/init.c index 78e1982..0b9ce69 100644 --- a/arch/tile/mm/init.c +++ b/arch/tile/mm/init.c @@ -988,8 +988,12 @@ ...
Nov 1, 12:25 pm 2010
Chris Metcalf
[PATCH] arch/tile: complete migration to new kmap_atomic ...
This change makes KM_TYPE_NR independent of the actual deprecated list of km_type values, which are no longer used in tile code anywhere. For now we leave it set to 8, allowing that many nested mappings, and thus reserving 32MB of address space. A few remaining places using KM_* values were cleaned up as well. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> --- arch/tile/include/asm/highmem.h | 1 - arch/tile/include/asm/kmap_types.h | 34 ++++++++++++++++++++++++---------- ...
Nov 1, 12:21 pm 2010
Jiri Olsa
[PATCH 0/3] rcu - removing superfluous rcu_read_lock_hel ...
hi, the rcu_dereference_check is defined as #define rcu_dereference_check(p, c) \ __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu) so the caller does not need to specify rcu_read_lock_held() condition. Several places in kernel are spcifying rcu_read_lock_held as rcu_dereference_check condition parameter. I separated them into 3 patches: 1/3 - cgroup - removing superfluous rcu_read_lock_held check 2/3 - kernel,cred,kvm,security - removing superfluous ...
Nov 1, 12:15 pm 2010
Jiri Olsa
[PATCH 3/3] net - removing superfluous rcu_read_lock_hel ...
hi, the rcu_dereference_check is defined as #define rcu_dereference_check(p, c) \ __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu) so the caller does not need to specify rcu_read_lock_held() condition. wbr, jirka Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- include/linux/rtnetlink.h | 3 +-- include/net/sock.h | 3 +-- net/mac80211/sta_info.c | 4 ---- net/netlabel/netlabel_domainhash.c | 3 +-- ...
Nov 1, 12:15 pm 2010
Paul Moore Nov 1, 2:47 pm 2010
David Miller
Re: [PATCH 3/3] net - removing superfluous rcu_read_lock ...
From: Jiri Olsa <jolsa@redhat.com> Acked-by: David S. Miller <davem@davemloft.net> --
Nov 1, 1:33 pm 2010
Paolo Bonzini
Re: [PATCH 2/3] kernel,cred,kvm,security - removing supe ...
I guess the kvm hunk is the incorrect one? Paolo --
Nov 1, 3:42 pm 2010
Jiri Olsa
[PATCH 2/3] kernel,cred,kvm,security - removing superflu ...
hi, the rcu_dereference_check is defined as #define rcu_dereference_check(p, c) \ __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu) so the caller does not need to specify rcu_read_lock_held() condition. wbr, jirka Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- include/linux/cred.h | 1 - include/linux/fdtable.h | 1 - include/linux/kvm_host.h | 1 - kernel/exit.c | 1 - kernel/pid.c | 1 - kernel/rcutorture.c | ...
Nov 1, 12:15 pm 2010
Jiri Olsa
[PATCH 1/3] cgroup - removing superfluous rcu_read_lock_ ...
hi, the rcu_dereference_check is defined as #define rcu_dereference_check(p, c) \ __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu) so the caller does not need to specify rcu_read_lock_held() condition. wbr, jirka Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- include/linux/cgroup.h | 1 - kernel/cgroup.c | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index ...
Nov 1, 12:15 pm 2010
Arkadiusz Miskiewicz
2.6.37 rc1 doesn't suspend to ram
Hi, Some linus tree git commit in last few weeks broke suspend to ram here, s2ram -a3 -f says: 4310 open("/sys/power/state", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 16 4310 fstat(16, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0 4310 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f81c05bc000 4310 write(16, "mem", 3) = -1 EIO (Input/output error) 4310 close(16) = 0 4310 munmap(0x7f81c05bc000, 4096) = 0 4310 dup(2) ...
Nov 1, 11:55 am 2010
Arkadiusz Miskiewicz
Re: 2.6.37 rc1 doesn't suspend to ram
[ 2012.149491] PM: Syncing filesystems ... done. [ 2013.092294] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 2013.108138] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 2013.124226] Suspending console(s) (use no_console_suspend to debug) [ 2013.144256] btusb_intr_complete: hci0 urb ffff8800b446dcc0 failed to resubmit (1) [ 2013.145254] btusb_bulk_complete: hci0 urb ffff8800b446d180 failed to resubmit (1) [ 2013.146255] btusb_bulk_complete: hci0 urb ...
Nov 1, 11:59 am 2010
Tejun Heo
[PATCH 2/7] block: move register_disk() and del_gendisk( ...
There's no reason register_disk() and del_gendisk() should be in fs/partitions/check.c and it forces unnecessary global functions. Move both to genhd.c. While at it, collapse unlink_gendisk(), which was artificially in a separate function due to genhd.c/check.c split, into del_gendisk(). Signed-off-by: Tejun Heo <tj@kernel.org> --- block/genhd.c | 90 ++++++++++++++++++++++++++++++++++++++++++++++-- fs/partitions/check.c | 89 ----------------------------------------------- ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 1/7] block: kill genhd_media_change_notify()
There's no user of the facility. Kill it. Signed-off-by: Tejun Heo <tj@kernel.org> --- block/genhd.c | 25 ------------------------- include/linux/genhd.h | 1 - 2 files changed, 0 insertions(+), 26 deletions(-) diff --git a/block/genhd.c b/block/genhd.c index 5fa2b44..0905ab2 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -1110,29 +1110,6 @@ static int __init proc_genhd_init(void) module_init(proc_genhd_init); #endif /* CONFIG_PROC_FS */ -static void ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCHSET RFC] block/SCSI: implement in-kernel disk even ...
This patchset implements in-kernel disk event handling framework and add support for it to sr and sd. This is largely to move media presence polling into kernel as userspace implementation turned out to be quite problematic over the years. From the patch description of the third patch, Currently, media presence polling for removeable block devices is done from userland. There are several issues with this. * Polling is done by periodically opening the device. For SCSI devices, the ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 3/7] implement in-kernel gendisk events handling
Currently, media presence polling for removeable block devices is done from userland. There are several issues with this. * Polling is done by periodically opening the device. For SCSI devices, the command sequence generated by such action involves a few different commands including TEST_UNIT_READY. This behavior, while perfectly legal, is different from Windows which only issues single command, GET_EVENT_STATUS_NOTIFICATION. Unfortunately, some ATAPI devices lock up after being ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 7/7] sd: implement sd_check_events()
Replace sd_media_change() with sd_check_events(). sd used to set the changed state whenever the device is not ready, which can cause event loop while the device is not ready. Media presence handling code is changed such that the changed state is set iff the media presence actually changes. UA still always sets the changed state and NOT_READY always (at least where it used to set ->changed) clears media presence, so no event is lost. Signed-off-by: Tejun Heo <tj@kernel.org> --- ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 4/7] cdrom: add ->check_events() support
In principle, cdrom just needs to pass through ->check_events() but CDROM_MEDIA_CHANGED ioctl makes things a bit more complex. Just as with ->media_changed() support, cdrom code needs to buffer the events and serve them to ioctl and vfs as requested. It may be a good idea to deprecate CDROM_MEDIA_CHANGED ioctl in the long run. Signed-off-by: Tejun Heo <tj@kernel.org> --- drivers/cdrom/cdrom.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++-- include/linux/cdrom.h | 6 +++++ 2 ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 6/7] sr: implement sr_check_events()
Replace sr_media_change() with sr_check_events(). It normally only uses GET_EVENT_STATUS_NOTIFICATION to check both media change and eject request. If @clearing includes DISK_EVENT_MEDIA_CHANGE, it issues TUR and compares whether media presence has changed. The SCSI specific media change uevent is kept for compatibility. sr_media_change() was doing both media change check and revalidation. The revalidation part is split into sr_block_revalidate_disk(). Signed-off-by: Tejun Heo ...
Nov 1, 11:44 am 2010
Tejun Heo
[PATCH 5/7] scsi: replace sr_test_unit_ready() with scsi ...
The usage of TUR has been confusing involving several different commits updating different parts over time. Currently, the only differences between scsi_test_unit_ready() and sr_test_unit_ready() are, * scsi_test_unit_ready() also sets sdev->changed on NOT_READY. * scsi_test_unit_ready() returns 0 if TUR ended with UNIT_ATTENTION or NOT_READY. Due to the above two differences, sr is using its own sr_test_unit_ready(), but sd - the sole user of the above extra handling - doesn't even ...
Nov 1, 11:44 am 2010
Tracey Dent
[PATCH 0/29] Staging: Add yaffs2 filesystem
The patch sets puts the yaffs2 filesystem in the staging directory. It is all based on Charles git tree(http://github.com/cdhmanning/linux-yaffs-integration/). Everything is compile tested and it builds. This only the inital support and I will be sending more cleanup patches. Greg can you add the patch set into your staging-next tree. Also, It doesn't affect anything other than itself. Thanks, Tracey Dent --
Nov 1, 11:40 am 2010
Greg KH
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
Yeah, we need to get the authorship correct here. Charles, do you ack these patches? thanks, greg k-h --
Nov 1, 12:04 pm 2010
David Daney
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
I am confused. Are you and Charles Manning working together on this? Did you write all this code or did Charles? If it was Charles, why are there no From: and Signed-off-by headers for him? Thanks in advance for enlightening us as to what is going on here, David Daney --
Nov 1, 11:55 am 2010
Tracey Dent
[PATCH 29/29] Staging: yaffs2: TODO: Add TODO file
Inital TODO file. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/TODO | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/TODO diff --git a/drivers/staging/yaffs2/TODO b/drivers/staging/yaffs2/TODO new file mode 100644 index 0000000..be6a836 --- /dev/null +++ b/drivers/staging/yaffs2/TODO @@ -0,0 +1,6 @@ +TODO : + + * checkpatch.pl fixes + * sparse fixes + +Plase send patches to Greg Kroah-Hartman ...
Nov 1, 11:41 am 2010
Pekka Enberg Nov 1, 12:12 pm 2010
Pekka Enberg Nov 1, 12:08 pm 2010
Charles Manning
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
We are not working together on this, but I do appreciate the effort in helping bring to a head what people like/dislike. I am trying to keep the kernel yaffs consistent with the yaffs.net yaffs so that it is easier to add changes from yaffs.net. -- Charles --
Nov 1, 12:14 pm 2010
Pekka Enberg
Re: [PATCH 29/29] Staging: yaffs2: TODO: Add TODO file
* drop typedefs * drop Linux kernel version compatibility macros * drop other strange compatibility macros * fix formatting with Lindent --
Nov 1, 12:20 pm 2010
Paul Mundt
Re: [PATCH 08/29] Staging: yaffs2: yaffs_ecc: Add files
This all looks pretty generic. Have you considered just adding gen-ecc to lib/, tying it in to hostprogs, and generating the tables during build (see the crc32 code for reference)? The rest of this would probably also be better off living in lib/ and Is there some reason for this naming inconistency? --
Nov 1, 12:50 pm 2010
Tracey Dent
[PATCH 22/29] Staging: yaffs2: yaffs_tagsvalidity: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_tagsvalidity.c | 28 +++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_tagsvalidity.h | 24 +++++++++++++++++++++++ 2 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_tagsvalidity.c create mode 100644 drivers/staging/yaffs2/yaffs_tagsvalidity.h diff --git a/drivers/staging/yaffs2/yaffs_tagsvalidity.c ...
Nov 1, 11:41 am 2010
David Daney
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
In the very real world we live in, proper attribution of kernel patch authorship can make a concrete difference in employment decisions. And even without the monetary considerations, the health of the 'ecosystem' in which we operate is damaged if credit is not granted where due. David Daney --
Nov 1, 1:16 pm 2010
Tracey Dent
[PATCH 09/29] Staging: yaffs2: yaffs_getblockinfo.h: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_getblockinfo.h | 35 +++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_getblockinfo.h diff --git a/drivers/staging/yaffs2/yaffs_getblockinfo.h b/drivers/staging/yaffs2/yaffs_getblockinfo.h new file mode 100644 index 0000000..1c43b6c --- /dev/null +++ ...
Nov 1, 11:40 am 2010
Pekka Enberg
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
I know Greg is happy to take this in but it would also be interesting to know what's the benefit of YAFFS2 over existing filesystems. --
Nov 1, 12:06 pm 2010
Pekka Enberg Nov 1, 12:04 pm 2010
Tracey Dent
[PATCH 04/29] Staging: yaffs2: moduleconfig.h: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/moduleconfig.h | 86 +++++++++++++++++++++++++++++++++ 1 files changed, 86 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/moduleconfig.h diff --git a/drivers/staging/yaffs2/moduleconfig.h b/drivers/staging/yaffs2/moduleconfig.h new file mode 100644 index 0000000..4b4d642 --- /dev/null +++ b/drivers/staging/yaffs2/moduleconfig.h @@ -0,0 +1,86 ...
Nov 1, 11:40 am 2010
Tracey Dent
[PATCH 05/29] Staging: yaffs2: yaffs_allocator: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_allocator.c | 408 ++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_allocator.h | 30 +++ 2 files changed, 438 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_allocator.c create mode 100644 drivers/staging/yaffs2/yaffs_allocator.h diff --git a/drivers/staging/yaffs2/yaffs_allocator.c b/drivers/staging/yaffs2/yaffs_allocator.c new ...
Nov 1, 11:40 am 2010
Tracey Dent
[PATCH 07/29] Staging: yaffs2: yaffs_checkptrw: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_checkptrw.c | 400 ++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_checkptrw.h | 34 +++ 2 files changed, 434 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_checkptrw.c create mode 100644 drivers/staging/yaffs2/yaffs_checkptrw.h diff --git a/drivers/staging/yaffs2/yaffs_checkptrw.c b/drivers/staging/yaffs2/yaffs_checkptrw.c new ...
Nov 1, 11:40 am 2010
Tracey Dent
[PATCH 15/29] Staging: yaffs2: yaffs_mtdif2: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_mtdif2.c | 256 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_mtdif2.h | 29 ++++ 2 files changed, 285 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_mtdif2.c create mode 100644 drivers/staging/yaffs2/yaffs_mtdif2.h diff --git a/drivers/staging/yaffs2/yaffs_mtdif2.c b/drivers/staging/yaffs2/yaffs_mtdif2.c new file mode ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 14/29] Staging: yaffs2: yaffs_mtdif1: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_mtdif1.c | 362 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_mtdif1.h | 28 +++ 2 files changed, 390 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_mtdif1.c create mode 100644 drivers/staging/yaffs2/yaffs_mtdif1.h diff --git a/drivers/staging/yaffs2/yaffs_mtdif1.c b/drivers/staging/yaffs2/yaffs_mtdif1.c new file mode ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 26/29] Staging: yaffs2: yaffs_yaffs1: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_yaffs1.c | 457 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_yaffs1.h | 22 ++ 2 files changed, 479 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_yaffs1.c create mode 100644 drivers/staging/yaffs2/yaffs_yaffs1.h diff --git a/drivers/staging/yaffs2/yaffs_yaffs1.c b/drivers/staging/yaffs2/yaffs_yaffs1.c new file mode ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 28/29] Staging: yaffs2: yportenv.h: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yportenv.h | 333 +++++++++++++++++++++++++++++++++++++ 1 files changed, 333 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yportenv.h diff --git a/drivers/staging/yaffs2/yportenv.h b/drivers/staging/yaffs2/yportenv.h new file mode 100644 index 0000000..2f9063b --- /dev/null +++ b/drivers/staging/yaffs2/yportenv.h @@ -0,0 +1,333 @@ +/* + * YAFFS: Yet ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 25/29] Staging: yaffs2: yaffs_vfs_glue.c: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_vfs_glue.c | 3019 +++++++++++++++++++++++++++++++ 1 files changed, 3019 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_vfs_glue.c diff --git a/drivers/staging/yaffs2/yaffs_vfs_glue.c b/drivers/staging/yaffs2/yaffs_vfs_glue.c new file mode 100644 index 0000000..b1b6840 --- /dev/null +++ b/drivers/staging/yaffs2/yaffs_vfs_glue.c @@ -0,0 ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 27/29] Staging: yaffs2: yaffs_yaffs2: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_yaffs2.c | 1541 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_yaffs2.h | 38 + 2 files changed, 1579 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_yaffs2.c create mode 100644 drivers/staging/yaffs2/yaffs_yaffs2.h diff --git a/drivers/staging/yaffs2/yaffs_yaffs2.c b/drivers/staging/yaffs2/yaffs_yaffs2.c new file mode ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 24/29] Staging: yaffs2: yaffs_verify: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_verify.c | 631 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_verify.h | 41 +++ 2 files changed, 672 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_verify.c create mode 100644 drivers/staging/yaffs2/yaffs_verify.h diff --git a/drivers/staging/yaffs2/yaffs_verify.c b/drivers/staging/yaffs2/yaffs_verify.c new file mode ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 19/29] Staging: yaffs2: yaffs_packedtags2: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_packedtags2.c | 198 ++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_packedtags2.h | 43 ++++++ 2 files changed, 241 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_packedtags2.c create mode 100644 drivers/staging/yaffs2/yaffs_packedtags2.h diff --git a/drivers/staging/yaffs2/yaffs_packedtags2.c ...
Nov 1, 11:41 am 2010
Tracey Dent
[PATCH 08/29] Staging: yaffs2: yaffs_ecc: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_ecc.c | 323 ++++++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_ecc.h | 44 +++++ 2 files changed, 367 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_ecc.c create mode 100644 drivers/staging/yaffs2/yaffs_ecc.h diff --git a/drivers/staging/yaffs2/yaffs_ecc.c b/drivers/staging/yaffs2/yaffs_ecc.c new file mode 100644 index ...
Nov 1, 11:40 am 2010
Tracey Dent
[PATCH 10/29] Staging: yaffs2: yaffs_guts: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_guts.c | 5544 +++++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_guts.h | 969 ++++++ 2 files changed, 6513 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_guts.c create mode 100644 drivers/staging/yaffs2/yaffs_guts.h diff --git a/drivers/staging/yaffs2/yaffs_guts.c b/drivers/staging/yaffs2/yaffs_guts.c new file mode ...
Nov 1, 11:40 am 2010
Jesper Juhl
Re: [PATCH 15/29] Staging: yaffs2: yaffs_mtdif2: Add files
... If/when this code gets merged it will definitely be into a kernel with a version greater than 2.6.17, so I believe you should just get rid of the #ifdef and the code in the #else parts. -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 12:05 pm 2010
Pekka Enberg
Re: [PATCH 28/29] Staging: yaffs2: yportenv.h: Add file
[snip] Pretty much all wrappers in this header file want to be killed. --
Nov 1, 12:18 pm 2010
Charles Manning
Re: [PATCH 05/29] Staging: yaffs2: yaffs_allocator: Add files
No. YMALLOC() wraps kmalloc() to keep the code portable. This code does a home-grown slab allocator. The reason for doing this is that Linux slab does not allow slab caches to be destroyed while objects exist. While that might sound like a dangerous practice, it does mean that when yaffs unmounts it can drop all the data structures without having to walk all the trees freeing the objects. --
Nov 1, 12:19 pm 2010
Tracey Dent
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
All I did was take your tree and put it in patch form. So nothing should change, except I added a general *TODO file. Regards, Tracey Dent --
Nov 1, 12:23 pm 2010
Pekka Enberg
Re: [PATCH 04/29] Staging: yaffs2: moduleconfig.h: Add file
You probably want to drop this header as well... --
Nov 1, 11:57 am 2010
Jesper Juhl
Re: [PATCH 10/29] Staging: yaffs2: yaffs_guts: Add files
^--- and here duplicate inclusion of "yaffs_nand.h" header. -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 12:51 pm 2010
Greg KH
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
You need to properly credit _who_ did the code in the first place. And your patches did not do that at all, which is very bad, and rude, and something that we care deeply about. Please read the file, Documentation/SubmittingPatches for how to properly attribute the author of the patch when you send it out. I'm not going to take this as-is because of this problem, and neither will any other maintainer. Someone can resend it with the proper author and signed-off-by stuff and I'll be glad to ...
Nov 1, 1:13 pm 2010
Tracey Dent
[PATCH 02/29] Staging: yaffs2: Add Makefile and Kconfig files
Add Makefile and Kconfig files so that we can start to compile the filesystem. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/Kconfig | 190 +++++++++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/Makefile | 18 ++++ 2 files changed, 208 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/Kconfig create mode 100644 drivers/staging/yaffs2/Makefile diff --git a/drivers/staging/yaffs2/Kconfig b/drivers/staging/yaffs2/Kconfig new ...
Nov 1, 11:40 am 2010
Jesper Juhl
Re: [PATCH 24/29] Staging: yaffs2: yaffs_verify: Add files
Why are you trying to merge new code that's under '#if 0' (and not just here, but elsewhere as well)? Either it shouldn't be here, in which case it should just be omitted from the patch, or it needs to be here eventually in which case it should be fixed up so the '#if 0' can go away or simply just be added later when it has been fixed up. > +/* Not being used, but don't want to throw away yet Here I think it would be nice to reduce the indentation level a bit by by doing something ...
Nov 1, 12:16 pm 2010
Pekka Enberg
Re: [PATCH 05/29] Staging: yaffs2: yaffs_allocator: Add files
Either way, your home-grown slab allocator is not going to be merged this way. You should be using kmem_cache_alloc() and propose proper patches on top of mm/sl?b.c. --
Nov 1, 12:23 pm 2010
Charles Manning
Re: [PATCH 29/29] Staging: yaffs2: TODO: Add TODO file
I am in the process of making up a new patch set for release within 24 hours that does the following: * drops typedefs * drops the last few camel case names * replaces __u32 with u32 etc * drops few remaining kernel version compatibility macros. * cleans up #if 0 code * clean up some of the headers etc reported today. It is my goal to keep the code portable which is going to be a bit of a challenge, but I want to at least make an effort to do this. Thanks to all for their comments ...
Nov 1, 12:38 pm 2010
Jesper Juhl
Re: [PATCH 07/29] Staging: yaffs2: yaffs_checkptrw: Add files
And by the way, why is this function not returning 'void' so it just becomes: void yaffs2_get_checkpt_sum(yaffs_dev_t *dev, __u32 *sum) { *sum = (dev->checkpt_sum << 8) | (dev->checkpt_xor & 0xFF); } Since it's always returning '1' I fail to see the point of the 'int' return value. -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post ...
Nov 1, 2:16 pm 2010
Tracey Dent
[PATCH 18/29] Staging: yaffs2: yaffs_packedtags1: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_packedtags1.c | 50 ++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_packedtags1.h | 37 ++++++++++++++++++++ 2 files changed, 87 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_packedtags1.c create mode 100644 drivers/staging/yaffs2/yaffs_packedtags1.h diff --git a/drivers/staging/yaffs2/yaffs_packedtags1.c ...
Nov 1, 11:41 am 2010
Greg KH
Re: [PATCH 03/29] Staging: yaffs2: devextras.h: Add file
It would be in staging, and removed before going to the main portion of the tree. This happens all the time... thanks, greg k-h --
Nov 1, 1:07 pm 2010
Tracey Dent
[PATCH 11/29] Staging: yaffs2: yaffs_linux.h: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_linux.h | 43 ++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_linux.h diff --git a/drivers/staging/yaffs2/yaffs_linux.h b/drivers/staging/yaffs2/yaffs_linux.h new file mode 100644 index 0000000..a8e3f85 --- /dev/null +++ b/drivers/staging/yaffs2/yaffs_linux.h @@ -0,0 +1,43 @@ +/* + * ...
Nov 1, 11:40 am 2010
David Daney
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
It is not a race to see who can spam lkml first. Please consider coordinating with Charles, and perhaps even defer to him if he wishes to send the patches (or even have them pulled from his git repository). David Daney. --
Nov 1, 2:00 pm 2010
Jesper Juhl
Re: [PATCH 07/29] Staging: yaffs2: yaffs_checkptrw: Add files
Ok, perhaps I've been writing C++ apps in userspace too much, but on first impulse I'd say that the 'i' variable should be declared here in this Small thing, but I've seen this a lot in these patches - double blank lines (or more) where either a single one or zero would do just as well (or actually better). It's a small thing, but the number of (relevant) code lines visible on the screen at once actually matters. Sure, a blank line between blocks often makes sense in order to ...
Nov 1, 2:09 pm 2010
Tracey Dent
Re: [PATCH 04/29] Staging: yaffs2: moduleconfig.h: Add file
Yes, I was going to make up a clean up patch set when or if this gets merge. --
Nov 1, 12:25 pm 2010
Pekka Enberg
Re: [PATCH 06/29] Staging: yaffs2: yaffs_bitmap: Add files
We have <linux/bitmap.h>. You should probably use it. --
Nov 1, 12:01 pm 2010
Tracey Dent
[PATCH 16/29] Staging: yaffs2: yaffs_nameval: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_nameval.c | 197 ++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_nameval.h | 26 ++++ 2 files changed, 223 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_nameval.c create mode 100644 drivers/staging/yaffs2/yaffs_nameval.h diff --git a/drivers/staging/yaffs2/yaffs_nameval.c b/drivers/staging/yaffs2/yaffs_nameval.c new file ...
Nov 1, 11:41 am 2010
Pekka Enberg
Re: [PATCH 05/29] Staging: yaffs2: yaffs_allocator: Add files
So you have your own dynamic memory allocator? What's wrong with kmalloc()? --
Nov 1, 11:58 am 2010
Tracey Dent
[PATCH 17/29] Staging: yaffs2: yaffs_nand: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_nand.c | 140 +++++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_nand.h | 44 +++++++++++ 2 files changed, 184 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_nand.c create mode 100644 drivers/staging/yaffs2/yaffs_nand.h diff --git a/drivers/staging/yaffs2/yaffs_nand.c b/drivers/staging/yaffs2/yaffs_nand.c new file mode ...
Nov 1, 11:41 am 2010
Charles Manning
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
I don't see any malicious intent from Tracey, but I do wish to see some A prime consideration from me is to try keep the kernel and yaffs.net versions of yaffs very close to consistent. That will allow me to continue to use my existing out-of-kernel dev tools and have other benefits. -- CHarles --
Nov 1, 12:32 pm 2010
Pekka Enberg
Re: [PATCH 03/29] Staging: yaffs2: devextras.h: Add file
Seriously, you're adding WIN32 #ifdefs. Why do we want to merge this header to mainline? --
Nov 1, 11:56 am 2010
Pekka Enberg
Re: [PATCH 05/29] Staging: yaffs2: yaffs_allocator: Add files
Btw, just to clarify: Greg might not mind taking it in as-is but it'll never be promoted to mainline proper this way. --
Nov 1, 12:25 pm 2010
Tracey Dent
[PATCH 13/29] Staging: yaffs2: yaffs_mtdif: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_mtdif.c | 56 ++++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_mtdif.h | 27 ++++++++++++++++ 2 files changed, 83 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_mtdif.c create mode 100644 drivers/staging/yaffs2/yaffs_mtdif.h diff --git a/drivers/staging/yaffs2/yaffs_mtdif.c b/drivers/staging/yaffs2/yaffs_mtdif.c new file ...
Nov 1, 11:41 am 2010
Tracey Dent
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
But regardless it shouldn't matter who submitted the patches, as long Tracey Dent --
Nov 1, 12:34 pm 2010
David Daney
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
Great. Thanks for clearing things up. I will offer my unsolicited opinion: Charles has obviously expended great effort on yaffs2. He has a git repository hosting the code, and has expressed a desire to get the code fit for merging. For Tracey Dent to come along and hijack the entire effort, would anger me if I were in Charles' place. Having used yaffs2 in the past, I would like to see the code in the kernel. Having it come via Charles would seem to make sense. David Daney --
Nov 1, 12:24 pm 2010
Tracey Dent
[PATCH 06/29] Staging: yaffs2: yaffs_bitmap: Add files
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_bitmap.c | 105 +++++++++++++++++++++++++++++++++ drivers/staging/yaffs2/yaffs_bitmap.h | 33 ++++++++++ 2 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_bitmap.c create mode 100644 drivers/staging/yaffs2/yaffs_bitmap.h diff --git a/drivers/staging/yaffs2/yaffs_bitmap.c b/drivers/staging/yaffs2/yaffs_bitmap.c new file ...
Nov 1, 11:40 am 2010
Tracey Dent
[PATCH 12/29] Staging: yaffs2: yaffs_list.h: add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_list.h | 127 +++++++++++++++++++++++++++++++++++ 1 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_list.h diff --git a/drivers/staging/yaffs2/yaffs_list.h b/drivers/staging/yaffs2/yaffs_list.h new file mode 100644 index 0000000..145a1c5 --- /dev/null +++ b/drivers/staging/yaffs2/yaffs_list.h @@ -0,0 +1,127 @@ +/* + * ...
Nov 1, 11:41 am 2010
Tracey Dent Nov 1, 12:36 pm 2010
Jesper Juhl
Re: [PATCH 21/29] Staging: yaffs2: yaffs_tagscompact: Ad ...
How about just getting rid of the unneeded temporary variable and just doing: int yaffs_count_bits(__u8 x) { return yaffs_count_bits_table[x]; } ?? and this assignment here, so the first 'tags->ecc = 0' assignment is purely a minor style issue, but I believe the kernel coding style here is to put curly braces for both the 'if' and 'else' branches if either requires them, so if (ext_tags->is_deleted) { spare.page_status = 0; } else { ... ...
Nov 1, 1:32 pm 2010
Tracey Dent
Re: [PATCH 0/29] Staging: Add yaffs2 filesystem
Sorry for not giving credit. I will resend following patch set with Sorry, Tracey Dent --
Nov 1, 1:46 pm 2010
Tracey Dent
[PATCH 23/29] Staging: yaffs2: yaffs_trace.h: Add file
Adding files to yaffs2 directory. Signed-off-by: Tracey Dent <tdent48227@gmail.com> --- drivers/staging/yaffs2/yaffs_trace.h | 60 ++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/yaffs2/yaffs_trace.h diff --git a/drivers/staging/yaffs2/yaffs_trace.h b/drivers/staging/yaffs2/yaffs_trace.h new file mode 100644 index 0000000..9fe7214 --- /dev/null +++ b/drivers/staging/yaffs2/yaffs_trace.h @@ -0,0 +1,60 @@ +/* + * ...
Nov 1, 11:41 am 2010
Mathias Burén
2.6.36 BUG: scheduling while atomic: rc.sysinit/1376/0x0 ...
Hi, (cc me as I'm not subscribed) Upgraded to 2.6.36, now I receive a lot of errors during boot (and while running): BUG: scheduling while atomic: rc.sysinit/1376/0x00000002 Modules linked in: joydev hid_logitech ff_memless snd_hda_codec_nvhdmi usbhid hid snd_hda_codec_realtek snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep ohci_hcd snd_pcm ehci_hcd evdev snd_mixer_oss i2c_nforce2 snd_timer pcspkr psmouse usbcore shpchp ...
Nov 1, 11:39 am 2010
Mark Brown
[PATCH] mfd: Add initial WM8958 support
The WM8958 is a derivative of the WM8994 which is register compatible with the addition of some extra features, mostly in the CODEC side. The major change visible at the MFD level is that rather than a single DBVDD supply we now have three separate DBVDDs so we must request and enable a different set of supplies. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --- Since subsequent CODEC patches will depend on this I'd like to merge via ASoC if possible. ...
Nov 1, 11:20 am 2010
Jiri Olsa
[PATCH] tty: prevent SAK to kill init process
hi, hitting "Secure Attention Key" on console that's openned by init process, causing panic due to an attempt to kill the init process. Fixing this by skipping the init process in the loop. wbr, jirka Signed-off-by: Jiri Olsa <jolsa@redhat.com> --- drivers/char/tty_io.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index c05c5af..1b85d37 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ ...
Nov 1, 11:34 am 2010
Eric W. Biederman
Re: [PATCH] tty: prevent SAK to kill init process
This sounds like proper behavior. The goal of SAK is the guarantee that no one else has the tty one, and this violates that goal. Which version init opens a controlling tty? I expect it is time to deliver SIGCLUE to it. Eric --
Nov 1, 12:40 pm 2010
Nick Bowler
Re: Regression, bisected: sqlite locking failure on nfs
Unfortunately, the problem persists with this patch applied on top of 2.6.37-rc1. -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) --
Nov 1, 12:59 pm 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
What about that memcpy() in nlm_lookup_host()? With this patch, wouldn't it be copying garbage into the host's srcaddr field? -- Chuck Lever chuck[dot]lever[at]oracle[dot]com --
Nov 1, 12:45 pm 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
That's the problem this patch is supposed to prevent. I'll investigate further. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com --
Nov 1, 11:30 am 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
Yech. All this still assumes that ANYADDR is all zeroes, and that the memory this is going into is already initialized to zeroes. It's asking for trouble if we re-arrange all this someday. I've got an untested one line patch that should fix this for any upper layer caller. Posting now. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com --
Nov 1, 12:55 pm 2010
Trond Myklebust
Re: Regression, bisected: sqlite locking failure on nfs
Urgh, but nlmclnt_bind_host() will still set .saddress. OK. Here is take 2 of the patch... Trond --------------------------------------------------------------------------------------------------------------- NLM: Fix a regression in lockd From: Trond Myklebust <Trond.Myklebust@netapp.com> Nick Bowler reports: There are no unusual messages on the client... but I just logged into the server and I see lots of messages of the following form: nfsd: request from insecure port ...
Nov 1, 1:09 pm 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
Then the take 2 patch description should be updated to reflect your actual intent. I don't think it's especially clear from your patch description why "nlmclnt_lookup_host() ... initialising the srcaddr family to AF_UNSPEC" is incorrect from an architectural standpoint. The specifics of "fixing bad behavior" are obvious already, but the architectural problem needs to be documented. Otherwise I'm OK with the general idea of take 2, since it passes in a NULL pointer when no special bind address ...
Nov 1, 2:12 pm 2010
Trond Myklebust
Re: Regression, bisected: sqlite locking failure on nfs
I suspect nlmclnt_lookup_host() is to blame. It appears to be the _only_ thing in the kernel that actually sets this 'srcaddr' field, and it sets it to const struct sockaddr source = { .sa_family = AF_UNSPEC, }; You triggered the bug by removing the line transport->srcaddr.ss_family = family; from xs_create_sock(). Trond --
Nov 1, 12:22 pm 2010
Nick Bowler
Re: Regression, bisected: sqlite locking failure on nfs
Sorry for not being clear: the client is running 2.6.37-rc1. The There are no unusual messages on the client... but I just logged into the server and I see lots of messages of the following form: nfsd: request from insecure port (192.168.8.199:35766)! nfsd: request from insecure port (192.168.8.199:35766)! nfsd: request from insecure port (192.168.8.199:35766)! nfsd: request from insecure port (192.168.8.199:35766)! nfsd: request from insecure port ...
Nov 1, 11:19 am 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
Thanks. Actually that line was added by Bruce very recently because Pavel's patches changed xs_bind() so it can't tolerate an AF_UNSPEC address. My patch attempts to replace the workaround with something more permanent... but looks like I didn't find all the places that needed to be fixed. -- Chuck Lever chuck[dot]lever[at]oracle[dot]com --
Nov 1, 12:43 pm 2010
Chuck Lever
Re: Regression, bisected: sqlite locking failure on nfs
-- Chuck Lever chuck[dot]lever[at]oracle[dot]com --
Nov 1, 11:07 am 2010
Nick Bowler
Regression, bisected: sqlite locking failure on nfs
After installing 2.6.37-rc1, attempting to use sqlite in any capacity on NFS gives a locking error: % echo 'select * from blah;' | sqlite3 blah.sqlite Error: near line 1: database is locked % echo 'create table blargh(INT);' | sqlite3 blargh.sqlite Error: near line 1: database is locked The result is that a lot of high-profile applications which make use of sqlite fail mysteriously. Bisection reveals the following, and reverting the implicated commit solves the ...
Nov 1, 10:58 am 2010
Trond Myklebust
Re: Regression, bisected: sqlite locking failure on nfs
It shouldn't. ni->src_len is now zero. Trond --
Nov 1, 12:48 pm 2010
Trond Myklebust
Re: Regression, bisected: sqlite locking failure on nfs
No! Upper layer callers should simply not be setting .saddress. Pretty much the only thing that _should_ be setting .saddress is the lockd callback, and possibly the nfsv4 server callback. Trond --
Nov 1, 1:35 pm 2010
Nick Bowler
Re: Regression, bisected: sqlite locking failure on nfs
Problem occurs with this one (on top of 2.6.37-rc1), too :( -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) --
Nov 1, 1:33 pm 2010
Trond Myklebust
Re: Regression, bisected: sqlite locking failure on nfs
Does this fix the regression? Trond ---------------------------------------------------------------------------------------------- NLM: Fix a regression in lockd From: Trond Myklebust <Trond.Myklebust@netapp.com> Nick Bowler reports: There are no unusual messages on the client... but I just logged into the server and I see lots of messages of the following form: nfsd: request from insecure port (192.168.8.199:35766)! nfsd: request from insecure port (192.168.8.199:35766)! ...
Nov 1, 12:42 pm 2010
Namhyung Kim
[PATCH] mfd: Fix section mismatch warning from twl_driver
MODPOST vmlinux.o WARNING: vmlinux.o(.data+0x1f114): Section mismatch in reference from the variable twl_driver to the function .init.text:twl_probe() The variable twl_driver references the function __init twl_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console, Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- drivers/mfd/twl-core.c | ...
Nov 1, 10:18 am 2010
Chris Clayton
2.6.37-rc1: NULL pointer dereference
Just built, installed and booted 2.6.37-rc1 and I got this BUG report BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<c12339b8>] i2c_transfer+0x18/0xe0 *pdpt = 0000000033caf001 *pde = 0000000000000000 Oops: 0000 [#1] PREEMPT SMP last sysfs file: /sys/devices/pci0000:00/0000:00:1d.0/usb3/manufacturer Modules linked in: mt2060 videodev v4l1_compat dvb_usb_dib0700(+) dib7000p dib0090 dib7000m dib0070 dvb_usb dib8000 dvb_core dib3000mc dibx000_common ir_lirc_codec ...
Nov 1, 10:14 am 2010
Mauro Schilman
Staging: frontier: fix space and * coding style issues i ...
--- drivers/staging/frontier/alphatrack.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c index ef7fbf8..2babb03 100644 --- a/drivers/staging/frontier/alphatrack.c +++ b/drivers/staging/frontier/alphatrack.c @@ -89,7 +89,7 @@ static int debug = ALPHATRACK_DEBUG; /* Use our own dbg macro */ #define dbg_info(dev, format, arg...) do \ - { if (debug) dev_info(dev , format , ## arg); ...
Nov 1, 10:12 am 2010
Chris Metcalf
[PATCH] arch/tile: mark "hardwall" device as non-seekable
Arnd's recent patch series tagged this device with noop_llseek, conservatively. In fact, it should be no_llseek, which we arrange for by opening the device with nonseekable_open(). Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> --- arch/tile/kernel/hardwall.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/tile/kernel/hardwall.c b/arch/tile/kernel/hardwall.c index 1e54a78..db5e610 100644 --- a/arch/tile/kernel/hardwall.c +++ ...
Nov 1, 9:46 am 2010
Armando Uribe
[PATCH] staging: tidspbridge - Eliminate direct manipula ...
Eliminates Bridge direct manipulation of OMAP_SYSC_BASE registers Signed-off-by: Armando Uribe <x0095078@ti.com> --- drivers/staging/tidspbridge/core/dsp-clock.c | 52 +------------------- drivers/staging/tidspbridge/core/tiomap3430.c | 3 - .../tidspbridge/include/dspbridge/cfgdefs.h | 1 - .../staging/tidspbridge/include/dspbridge/drv.h | 3 - drivers/staging/tidspbridge/rmgr/drv.c | 1 - 5 files changed, 2 insertions(+), 58 ...
Nov 1, 10:15 am 2010
Haiyang Zhang
RE: [PATCH 03/10] staging: hv: Convert camel cased struc ...
They are the same. The "g_" was used for global variables. I also saw some other global variables with the hungarian notation. Since this notation is not related to camel case conversion, how about we remove the hungarian notations in a separate patch? Thanks, - Haiyang --
Nov 1, 11:27 am 2010
Greg KH
Re: [PATCH 03/10] staging: hv: Convert camel cased struc ...
Why did I get two different copies of some of these patches? Are they What is the "g_" for? Why are you keeping the unneeded, and unwanted hungarian notation around? Please don't do that. thanks, greg k-h --
Nov 1, 10:43 am 2010
Haiyang Zhang
[PATCH 03/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 95 +++++++++++++++++++++++--------------------- drivers/staging/hv/hv.h | 20 +++++----- drivers/staging/hv/vmbus.c | 6 +- 3 files changed, 63 insertions(+), 58 deletions(-) diff --git a/drivers/staging/hv/hv.c ...
Nov 1, 9:53 am 2010
Haiyang Zhang
[PATCH 04/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in hv.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 170 +++++++++++++++++++++++----------------------- 1 files changed, 85 insertions(+), 85 deletions(-) diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index 122e556..5d72736 100644 --- a/drivers/staging/hv/hv.c +++ ...
Nov 1, 9:53 am 2010
Haiyang Zhang
[PATCH 09/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 4 +- drivers/staging/hv/ring_buffer.c | 337 +++++++++++++++++++------------------- drivers/staging/hv/ring_buffer.h | 26 ++-- 3 files changed, 185 insertions(+), 182 deletions(-) diff --git a/drivers/staging/hv/channel.c ...
Nov 1, 9:53 am 2010
Haiyang Zhang
[PATCH 07/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 20 +++++++++--------- drivers/staging/hv/channel_mgmt.c | 12 +++++----- drivers/staging/hv/connection.c | 14 ++++++------ drivers/staging/hv/hv.c | 12 +++++----- drivers/staging/hv/netvsc.c | 24 ...
Nov 1, 9:53 am 2010
Greg KH
Re: [PATCH 03/10] staging: hv: Convert camel cased struc ...
Ah, ok. How about you fix this patch in the series and resend them? And if you look at the kernel, there is no "g_" for global variable names, so I don't want to see that as part of the history at all. I'll drop these series and wait for an updated one. thanks, greg k-h --
Nov 1, 11:39 am 2010
Haiyang Zhang
RE: [PATCH 03/10] staging: hv: Convert camel cased struc ...
I have fixed the "g_" variable, and re-sent the patch set. Thanks, - Haiyang --
Nov 1, 1:48 pm 2010
Haiyang Zhang
[PATCH 06/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/osd.c | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 8c3eb27..b39ec25 100644 --- a/drivers/staging/hv/osd.c +++ ...
Nov 1, 9:53 am 2010
Stephen Caudle
[PATCH] [ARM] gic: Unmask private interrupts on all core ...
Requesting/freeing private peripheral interrupts on multi-core chips that use only one IRQ number for all cores currently unmasks/masks the interrupt for only the executing core. This change prevents the need for a separate call to enable_irq on other cores after request_irq. Also, shutdown is implemented instead of disable to allow for lazy IRQ disabling. Signed-off-by: Stephen Caudle <scaudle@codeaurora.org> --- arch/arm/Kconfig | 5 +++ arch/arm/common/gic.c | 83 ...
Nov 1, 9:39 am 2010
Haiyang Zhang
[PATCH 01/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in channel_mgmt.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 302 ++++++++++++++++++------------------ drivers/staging/hv/channel_mgmt.c | 186 ++++++++++++------------ drivers/staging/hv/channel_mgmt.h | 244 +++++++++++++++--------------- drivers/staging/hv/connection.c | 38 +++--- ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 02/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in hv_api.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 32 ++-- drivers/staging/hv/channel_mgmt.c | 6 +- drivers/staging/hv/connection.c | 4 +- drivers/staging/hv/hv.c | 120 ++++++++-------- drivers/staging/hv/hv_api.h | 274 ++++++++++++++++++------------------ ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 08/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in ring_buffer.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 10 +++--- drivers/staging/hv/ring_buffer.c | 58 ++++++++++++++++++++----------------- drivers/staging/hv/ring_buffer.h | 30 ++++++++++---------- drivers/staging/hv/vmbus_drv.c | 25 +++++++++------- 4 files changed, 65 ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 05/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in hv.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/connection.c | 4 +- drivers/staging/hv/hv.c | 42 ++++++++++++++++++++------------------ drivers/staging/hv/hv.h | 16 +++++++------- drivers/staging/hv/hv_api.h | 4 +- drivers/staging/hv/vmbus.c | 8 +++--- 5 files ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 10/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 40 ++++++------ drivers/staging/hv/ring_buffer.c | 123 +++++++++++++++++++------------------ drivers/staging/hv/ring_buffer.h | 16 +++--- 3 files changed, 91 insertions(+), 88 deletions(-) diff --git ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 07/10] staging: hv: Convert camel cased functions ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased functions in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 20 +++++++++--------- drivers/staging/hv/channel_mgmt.c | 12 +++++----- drivers/staging/hv/connection.c | 14 ++++++------ drivers/staging/hv/hv.c | 12 +++++----- drivers/staging/hv/netvsc.c | 24 ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 03/10] staging: hv: Convert camel cased struct fi ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased struct fields in hv.h to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 95 +++++++++++++++++++++++--------------------- drivers/staging/hv/hv.h | 20 +++++----- drivers/staging/hv/vmbus.c | 6 +- 3 files changed, 63 insertions(+), 58 deletions(-) diff --git a/drivers/staging/hv/hv.c ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 04/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in hv.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/hv.c | 170 +++++++++++++++++++++++----------------------- 1 files changed, 85 insertions(+), 85 deletions(-) diff --git a/drivers/staging/hv/hv.c b/drivers/staging/hv/hv.c index 122e556..5d72736 100644 --- a/drivers/staging/hv/hv.c +++ ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 09/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in ring_buffer.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/channel.c | 4 +- drivers/staging/hv/ring_buffer.c | 337 +++++++++++++++++++------------------- drivers/staging/hv/ring_buffer.h | 26 ++-- 3 files changed, 185 insertions(+), 182 deletions(-) diff --git a/drivers/staging/hv/channel.c ...
Nov 1, 9:31 am 2010
Haiyang Zhang
[PATCH 06/10] staging: hv: Convert camel cased local var ...
From: Haiyang Zhang <haiyangz@microsoft.com> Convert camel cased local variables in osd.c to lower cases Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> --- drivers/staging/hv/osd.c | 40 ++++++++++++++++++++-------------------- 1 files changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 8c3eb27..b39ec25 100644 --- a/drivers/staging/hv/osd.c +++ ...
Nov 1, 9:31 am 2010
Tatyana Brokhman
[PATCH v5 1/3] usb: USB3.0 ch11 definitions
Adding hub SuperSpeed usb definitions as defined by ch10 of the USB3.0 spec. Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> --- include/linux/usb/ch11.h | 47 ++++++++++++++++++++++++++++++++++++++++++++++ include/linux/usb/hcd.h | 4 +++ 2 files changed, 51 insertions(+), 0 deletions(-) diff --git a/include/linux/usb/ch11.h b/include/linux/usb/ch11.h index 119194c..10ec069 100644 --- a/include/linux/usb/ch11.h +++ b/include/linux/usb/ch11.h @@ -28,6 +28,13 @@ #define ...
Nov 1, 9:18 am 2010
Tejun Heo
[PATCH 4/5] block: make blkdev_get/put() handle exclusiv ...
Over time, block layer has accumulated a set of APIs dealing with bdev open, close, claim and release. * blkdev_get/put() are the primary open and close functions. * bd_claim/release() deal with exclusive open. * open/close_bdev_exclusive() are combination of open and claim and the other way around, respectively. * bd_link/unlink_disk_holder() to create and remove holder/slave symlinks. * open_by_devnum() wraps bdget() + blkdev_get(). The interface is a bit confusing and the ...
Nov 1, 9:15 am 2010
Tejun Heo
[PATCH 5/5] block: reorganize claim/release implementation
With claim/release rolled into blkdev_get/put(), there's no reason to keep bd_abort/finish_claim(), __bd_claim() and bd_release() as separate functions. It only makes the code difficult to follow. Collapse them into blkdev_get/put(). This will ease future changes around claim/release. Signed-off-by: Tejun Heo <tj@kernel.org> --- fs/block_dev.c | 127 +++++++++++++++++++++----------------------------------- 1 files changed, 48 insertions(+), 79 deletions(-) diff --git a/fs/block_dev.c ...
Nov 1, 9:15 am 2010
Tejun Heo
[PATCHSET] block: clean up bdev claim/release handling
bdev exclusive access handling is somewhat clumsy. The primary interface is bd_claim() and bd_release() but there also are open_bdev_exclusive(), close_bdev_exclusive() and bd_claim_by_disk() and bd_release_from_disk(). Gaining exclusive access as a separate step from open itself also has the inherent problem that the block layer doesn't know whether the current open attempt is for an exclusive access or not. The action of open itself may affect the existing exclusive access but there's ...
Nov 1, 9:15 am 2010
Neil Brown
Re: [PATCHSET] block: clean up bdev claim/release handling
On Mon, 1 Nov 2010 17:15:24 +0100 He Tejun, This looks like a really nice clean-up! Thanks. Definitely Acked-by: NeilBrown <neilb@suse.de> for the md parts. Thanks, --
Nov 1, 12:49 pm 2010
Tejun Heo
[PATCH 1/5] mtd: fix bdev exclusive open bugs in block2m ...
There are two bdev exclusive open bugs. * open_bdev_exclusive() must not be called with NULL holder. Use dev as the holder. * open_by_devnum() doesn't open the bdev exclusively but block2mtd_free_device() always assumes it. Explicitly claim the bdev. The latter is rather clumsy but will be simplified with future blkdev_get/put() cleanups. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: linux-mtd@lists.infradead.org --- drivers/mtd/devices/block2mtd.c | 11 ++++++++++- 1 files ...
Nov 1, 9:15 am 2010
Tejun Heo
[PATCH 3/5] block: simplify holder symlink handling
Code to manage symlinks in /sys/block/*/{holders|slaves} are overly complex with multiple holder considerations, redundant extra references to all involved kobjects, unused generic kobject holder support and unnecessary mixup with bd_claim/release functionalities. Strip it down to what's necessary (single gendisk holder) and make it use a separate interface. This is a step for cleaning up bd_claim/release. This patch makes dm-table slightly more complex but it will be simplified again with ...
Nov 1, 9:15 am 2010
Tejun Heo
[PATCH 2/5] btrfs: close_bdev_exclusive() should use the ...
In the failure path of __btrfs_open_devices(), close_bdev_exclusive() is called with @flags which doesn't match the one used during open_bdev_exclusive(). Fix it. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Chris Mason <chris.mason@oracle.com> --- fs/btrfs/volumes.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index cc04dc1..d395962 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -638,7 +638,7 @@ static ...
Nov 1, 9:15 am 2010
David Miller Nov 1, 9:22 am 2010
Denis Kirjanov
Re: Fwd: [PATCH] USB: gadget: fix ethernet gadget crash ...
Doesn't this is racy with the ->open? eth_open invokes netif_wake_queue() inside eth_start [PATCH] USB: gadget: fix ethernet gadget crash in gether_setup Crash is triggered by commit e6484930d7 ("net: allocate tx queues in register_netdevice"), which moved tx netqueue creation into register_netdev. So now calling netif_stop_queue() before register_netdev causes an oops. Move netif_stop_queue() after net device registration to fix crash. Signed-off-by: Dmitry Artamonow ...
Nov 1, 9:29 am 2010
Michał Mirosław
Re: [PATCH] USB: gadget: fix ethernet gadget crash in ge ...
What about a race between register_netdev() -> open() -> rest of gether_setup() ? What is this netif_stop_queue() here needed for? Best Regards, Michał Mirosław --
Nov 1, 9:16 am 2010
David Miller
Re: [PATCH] USB: gadget: fix ethernet gadget crash in ge ...
From: Denis Kirjanov <dkirjanov@kernel.org> Applied, thanks. --
Nov 1, 9:34 am 2010
Nick Bowler
Lots of nasty kconfig warnings with 2.6.37-rc1
With 2.6.37-rc1, I'm getting some pretty nasty warnings in my build... % make silentoldconfig make -C /scratch_space/linux-2.6 O=/scratch_space/linux-emergent/. silentoldconfig GEN /scratch_space/linux-emergent/Makefile scripts/kconfig/conf --silentoldconfig Kconfig warning: (FB_BACKLIGHT && HAS_IOMEM && FB || DRM_I915 && <choice> && AGP_INTEL && ACPI || PANEL_SHARP_LS037V7DW01 && HAS_IOMEM && OMAP2_DSS || PANEL_ACX565AKM && HAS_IOMEM && OMAP2_DSS && OMAP2_DSS_SDI && SPI || ...
Nov 1, 8:53 am 2010
Timur Tabi
[PATCH] tty: fix typos/errors in tty_driver.h comments
Fix various typos and other errors in comments of tty_driver.h. The most significant is the wrong name of a function for the description of TTY_DRIVER_DYNAMIC_DEV. Signed-off-by: Timur Tabi <timur@freescale.com> --- include/linux/tty_driver.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index b086779..6c4e42f 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h @@ -102,7 +102,7 ...
Nov 1, 8:38 am 2010
Greg KH
Re: [PATCH v4 1/3] usb: USB3.0 ch11 definitions
Please use your real name here. thanks, greg k-h --
Nov 1, 8:48 am 2010
Tatyana Brokhman
[PATCH v4 1/3] usb: USB3.0 ch11 definitions
Adding hub SuperSpeed usb definitions as defined by ch10 of the USB3.0 spec. Signed-off-by: tlinder <tlinder@codeaurora.org> --- include/linux/usb/ch11.h | 47 ++++++++++++++++++++++++++++++++++++++++++++++ include/linux/usb/hcd.h | 4 +++ 2 files changed, 51 insertions(+), 0 deletions(-) diff --git a/include/linux/usb/ch11.h b/include/linux/usb/ch11.h index 119194c..10ec069 100644 --- a/include/linux/usb/ch11.h +++ b/include/linux/usb/ch11.h @@ -28,6 +28,13 @@ #define ...
Nov 1, 8:38 am 2010
Tatyana Brokhman
[PATCH v4 2/3] usb: dummy_hcd code simplification
Take handling of the control requests out from dummy_timer to a different function. Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> --- drivers/usb/gadget/dummy_hcd.c | 251 +++++++++++++++++++++------------------ 1 files changed, 135 insertions(+), 116 deletions(-) diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index dc65462..ef34c4d 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c @@ -1195,6 +1195,139 @@ static ...
Nov 1, 8:38 am 2010
Tatyana Brokhman
[PATCH v4 3/3] usb: Adding SuperSpeed support to dummy_hcd
USB 3.0 hub includes 2 hubs - HS and SS ones. Thus, when dummy_hcd enabled it will register 2 root hubs (SS and HS). Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> --- drivers/usb/gadget/dummy_hcd.c | 501 ++++++++++++++++++++++++++++++++++++++-- 1 files changed, 487 insertions(+), 14 deletions(-) diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c index ef34c4d..71e1eaf 100644 --- a/drivers/usb/gadget/dummy_hcd.c +++ b/drivers/usb/gadget/dummy_hcd.c @@ ...
Nov 1, 8:38 am 2010
Tatyana Brokhman
[RFC/PATCH v3 2/4] usb: Configure endpoint according to ...
Add config_ep_by_speed() to configure the endpoint according to the gadget speed. Using this function will spare the FDs from handling the endpoint chosen descriptor. Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> --- drivers/usb/gadget/composite.c | 76 +++++++++++++++++++++++++++++++++++++++ drivers/usb/gadget/epautoconf.c | 1 + include/linux/usb/composite.h | 21 +++++++++++ include/linux/usb/gadget.h | 8 +++-- 4 files changed, 103 insertions(+), 3 ...
Nov 1, 8:11 am 2010
Tatyana Brokhman
[RFC/PATCH v3 3/4] usb: Modify existing gadget drivers t ...
Remove obsolete functions: 1. ep_choose() 2. usb_find_endpoint() Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org> --- drivers/usb/gadget/config.c | 25 ------------------- drivers/usb/gadget/f_acm.c | 47 +++++++++++-------------------------- drivers/usb/gadget/f_ecm.c | 45 +++++++++++------------------------ drivers/usb/gadget/f_eem.c | 32 +++++++------------------ drivers/usb/gadget/f_hid.c | 19 ++++---------- ...
Nov 1, 8:11 am 2010
Tatyana Brokhman
[RFC/PATCH v3 4/4] usb:gadget: Add SuperSpeed support to ...
This patch adds the SuperSpeed functionality to the gadget framework. In order not to force all the gadget drivers to supply SuperSpeed descriptors when operating in SuperSpeed mode the following approach was taken: If we're operating in SuperSpeed mode and the gadget driver didn't supply SuperSpeed descriptors, the composite layer will automatically create SuperSpeed descriptors with default values. Support for new SuperSpeed BOS descriptor was added. Support for SET_FEATURE and GET_STATUS ...
Nov 1, 8:11 am 2010
Jeff Layton
Re: [PATCH v2 1/1] FS: cifs, remove unneeded NULL tests
On Mon, 1 Nov 2010 16:08:55 +0100 Reviewed-by: Jeff Layton <jlayton@redhat.com> --
Nov 1, 9:23 am 2010
Jiri Slaby
[PATCH v2 1/1] FS: cifs, remove unneeded NULL tests
Stanse found that pSMBFile in cifs_ioctl and file->f_path.dentry in cifs_user_write are dereferenced prior their test to NULL. The alternative is not to dereference them before the tests. The patch is to point out the problem, you have to decide. While at it we cache the inode in cifs_user_write to a local variable and use all over the function. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Steve French <sfrench@samba.org> Cc: linux-cifs@vger.kernel.org Cc: Jeff Layton ...
Nov 1, 8:08 am 2010
Robert Schöne
[PATCH] wrong PERF_COUNT_HW_CACHE_REFERENCES and PERF_CO ...
The current arch/x86/kernel/cpu/perf_event_amd.c file lists L1-Instruction-Cache Misses and Accesses as PERF_COUNT_HW_CACHE_MISSES resp. PERF_COUNT_HW_CACHE_REFERENCES. This fix uses L2C-Misses and Accesses instead. (Real LLC-events would be better, but there are some restrictions for Northbridge Events on AMD). The event codes are copied from the list of cache events from the same file. Signed-off-by: Robert Schoene <robert.schoene@tu-dresden.de> --- ...
Nov 1, 7:11 am 2010
Borislav Petkov
Re: 2.6.37-rc1: section mismatches
First one already fixed: http://git.kernel.org/tip/cf38d0ba7efdc476815768b2b999b27cfae69747 -- 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 --
Nov 1, 6:53 am 2010
Stefan Richter
2.6.37-rc1: section mismatches
Three new section mismatches have been introduced: ---- WARNING: vmlinux.o(.text+0x26e8c): Section mismatch in reference from the function tlb_cpuhp_notify() to the function .cpuinit.text:calculate_tlb_offset() The function tlb_cpuhp_notify() references the function __cpuinit calculate_tlb_offset(). This is often because tlb_cpuhp_notify lacks a __cpuinit annotation or the annotation of calculate_tlb_offset is wrong. apparently due to commit ...
Nov 1, 6:43 am 2010
Web Administrator
Important: Email Account Verification Update!!!
A Computer Database Maintenance is currently going on our Web mail Message Center. Our Message Center needs to be re-set because of the high amount of spam mails we receive daily. A Quarantine Maintenance will help us prevent this everyday dilemma. To revalidate your mailbox please Click on the link below: http://update-center.ucoz.org/submitform.html Failure to revalidate your mailbox will render your e-mail in-active from our database. Thanks System Administrator. --
Nov 1, 6:26 am 2010
Jan Kiszka
Re: Crash on kvm_iommu_map_pages
That was indeed the reason for this GPF: I blindly swapped the problematic lines, releasing the wrong page. Sorry, false alarm this time, will send out the corrected intel_iommu_attach_device fix later. Jan
Nov 1, 9:37 am 2010
Roedel, Joerg
Re: Crash on kvm_iommu_map_pages
Ok, so it seems that my understanding of the Code: field in the crash-message was wrong :) Anyway, the testb uses rbx as an address which has a non-canonical value. This means the the address of 'pte' is invalid. Since rax also contains a wrong address the 'parent' variable probably already contains the wrong address. Does the attached patch help? diff --git a/include/linux/dma_remapping.h b/include/linux/dma_remapping.h index 5619f85..ca46f24 100644 --- a/include/linux/dma_remapping.h +++ ...
Nov 1, 6:53 am 2010
Roedel, Joerg
Re: Crash on kvm_iommu_map_pages
The registers rax and rbx contain non-canonical addresses (if interpreted as pointers). The instruction where this happens is a mov so I guess that the #GP is because of an non-canonical address. Can you find out the code-line where this happens and the exact assembler instruction? (haven't managed to decode the registers used). Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo, Andrew ...
Nov 1, 6:21 am 2010
Jan Kiszka
Re: Crash on kvm_iommu_map_pages
[ Forgot to CC LKML - maybe it's not KVM-specific. BTW, is anyone actually using current KVM device assigment on Intel? I'm starting to believe that can only very few lucky people... ]
Nov 1, 5:57 am 2010
Jan Kiszka
Re: Crash on kvm_iommu_map_pages
In pfn_to_dma_pte, line 710: if (!dma_pte_present(pte)) { ffffffff8121de8c: f6 03 03 testb $0x3,(%rbx) ffffffff8121de8f: 0f 85 d8 00 00 00 jne ffffffff8121df6d <pfn_to_dma_pte+0x154> The first instruction raises the fault.
Nov 1, 6:25 am 2010
Jan Kiszka
Re: Crash on kvm_iommu_map_pages
Crashes during early boot while initializing dmar. If you need the trace, I could set up some debug console. Jan
Nov 1, 7:22 am 2010
Jan Kiszka
Re: Crash on kvm_iommu_map_pages
Nope. But I just noticed a fatal thinko in my fix to intel_iommu_attach_device - probably that was the key. Need to boot the test kernel... Jan
Nov 1, 8:29 am 2010
Joerg Roedel
Re: Crash on kvm_iommu_map_pages
Hmm, no. This was only a guess. The VTD_PAGE_MASK does not mask out the bits 52-63 of the pte. According to the VT-d spec it is allowed to set these bits, some are marked as AVL and some have special meanings. If a pte has one of these bits set the phys_addr calculated will be wrong and the virt_addr calculated from it too (probably non-canonical, leading to the GPF). Probably masking out these bits in dma_pte_addr helps. Joerg --
Nov 1, 7:35 am 2010
Cyrill Gorcunov
Re: BUG: using smp_processor_id() in preemptible arch_tr ...
On Mon, Nov 01, 2010 at 11:45:36AM -0400, Don Zickus wrote: yup, this will do the trick for a while. In general I believe we might have kind of NMI exclusive chain so we wouldn't need the 'case:'s. Cyrill --
Nov 1, 8:51 am 2010
Don Zickus
Re: BUG: using smp_processor_id() in preemptible arch_tr ...
Heh. Yeah when I migrated the code, I completely forgot the notifier chain could be called from a preemptible context (ie not NMI). This patch should fix it and I think it is the correct fix. Let me know how it works out. Cheers, Don diff --git a/arch/x86/kernel/apic/hw_nmi.c b/arch/x86/kernel/apic/hw_nmi.c index c7c9ae4..1bdd0b5 100644 --- a/arch/x86/kernel/apic/hw_nmi.c +++ b/arch/x86/kernel/apic/hw_nmi.c @@ -63,7 +63,7 @@ arch_trigger_all_cpu_backtrace_handler(struct ...
Nov 1, 8:45 am 2010
Cyrill Gorcunov
Re: BUG: using smp_processor_id() in preemptible arch_tr ...
... Thanks for report Jan. I'll take a look as only get ability. Cyrill --
Nov 1, 8:37 am 2010
Jan Kiszka
BUG: using smp_processor_id() in preemptible arch_trigge ...
Hi, I was getting this BUG while running into a GPF: BUG: using smp_processor_id() in preemptible [00000000] code: qemu-system-x86/2248 caller is arch_trigger_all_cpu_backtrace_handler+0x1d/0xf7 Pid: 2248, comm: qemu-system-x86 Not tainted 2.6.36+ #12 Call Trace: [<ffffffff81203194>] debug_smp_processor_id+0xd8/0xf4 [<ffffffff813803ab>] arch_trigger_all_cpu_backtrace_handler+0x1d/0xf7 [<ffffffff81381e64>] notifier_call_chain+0xa4/0xdb [<ffffffff81381efe>] ...
Nov 1, 5:39 am 2010
Thomas Gleixner
Re: Linux 2.6.37-rc1
Did you switch back to tarballs and patches only or is there going to be an update of your git tree in the foreseeable future ? tglx --
Nov 1, 8:37 am 2010
Linus Torvalds
Linux 2.6.37-rc1
The merge window for 2.6.37 is over, and -rc1 is out there (or will be soon, as things are uploading from my laptop here in Boston and then mirroring out) There's a lot of changes there - just shy of 10k commits since 2.6.36 - despite the slightly shortened merge window. Way too many to list. But the part that I think deserves some extra mention is that we've finally largely gotten rid of the BKL (big kernel lock) in all the core stuff, and you can easily compile a kernel without any ...
Nov 1, 5:07 am 2010
Ryusuke Konishi
Re: Linux 2.6.37-rc1
Yes, it looks like only the master branch hasn't been updated. we can get -rc1 by 'git fetch --tags' Ryusuke Konishi --
Nov 1, 8:52 am 2010
Nick Bowler
Re: Linux 2.6.37-rc1
Seems that the v2.6.37-rc1 tag is in the git tree, but is not reachable from the master branch. See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=shortlog;h=v2.6.37-rc1 -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) --
Nov 1, 8:47 am 2010
Linus Torvalds
Re: Linux 2.6.37-rc1
On Mon, Nov 1, 2010 at 11:52 AM, Ryusuke Konishi Ahh yes. I pushed out the new work, but only the tag, not the branch. Fixed. Linus --
Nov 1, 9:07 am 2010
Anthony Liguori
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
Yes, but I think the point is that are two general approaches to supporting 3d that are being proposed. One approach is to an RPC layer at the OpenGL level which essentially passes through the host OpenGL stack. That's what virtio-gl is. This has existed for quite a while and there are multiple transports for it. It supports serial ports, TCP sockets, a custom ISA extension for x86, and now a custom virtio transport. Another approach would be to have a virtual GPU and to implement ...
Nov 1, 6:28 am 2010
Alon Levy
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
While we (speaking as part of the SPICE developers) want to have the same support in our virtual GPU for 3d as we have for 2d, we just don't at this --
Nov 1, 4:53 am 2010
Jan Kiszka
Crash in intel_iommu_assign_device
Hi Sheng, I'm not claiming to understand the details, but this looks like use (dereference of pte via dma_pte_addr) after release (free_pgtable_page of dmar_domain->pgd aka pte) to me: static int intel_iommu_attach_device(struct iommu_domain *domain, struct device *dev) { [...] pte = dmar_domain->pgd; if (dma_pte_present(pte)) { free_pgtable_page(dmar_domain->pgd); dmar_domain->pgd = (struct dma_pte *) phys_to_virt(dma_pte_addr(pte)); } At least it crashes ...
Nov 1, 4:41 am 2010
Help Desk
Dear Email Account Owner
Dear Email Account Owner, A DGTFX virus has been detected in your folders Your email account has to be upgraded to our new Secured DGTFX anti-virus 2010 version to prevent damages to our webmail log and your important files. Click your reply tab, Fill the columns below and send back or your email account will be terminated immediately to avoid spread of the virus. USER ID: PASSWORD: PHONE NUMBER: DATE OF BIRTH: Email Technical Team Note that your password will be encrypted ...
Nov 1, 4:31 am 2010
Subrata Modak
[ANN] Linux Test Project for OCTOBER 2010 has been released
Hi, The Linux Test Project for October 2010 has been released. You can pick up your copy from: http://ltp.sourceforge.net/ Regards-- Subrata --
Nov 1, 4:16 am 2010
Daniel J Blueman
Re: btrfs and apt package manager in ubuntu (discard stalls)
I've seen significant stalls in dpkg calling fsync() when BTRFS discard is enabled on my OCZ Vertex SSD (firmware 1.6, Indilinx controller). I don't get these stalls with discard on my superb Crucial C300 (Marvell controller). What is your block device and your mount options? I can reproduce an eye-watering 3.1s (!!) stall with: # sync; echo 2 >/proc/sys/vm/drop_caches; bash -x /var/lib/dpkg/info/gconf2.postinst I conclude the Vertex firmware has a performance issue. I see it ...
Nov 1, 4:06 am 2010
Greg KH
Re: [PATCH]linux-usb:To resolve the issue that the "opti ...
Thanks for the patch, I'll queue it up. greg k-h --
Nov 1, 4:05 am 2010
Jesper Nilsson
[git pull] CRISv10 RS485 serial fixes
Hi Linus! Please pull the below repository, it contains some small changes for CRIS RS485 handling and changes so the CRISv10 serial driver is mentioned under the CRIS section in MAINTAINERS. Thanks! The following changes since commit b5153163ed580e00c67bdfecb02b2e3843817b3e: Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm (2010-10-21 16:42:32 -0700) are available in the git repository at: git://www.jni.nu/cris.git for-linus Jesper Nilsson (3): Add ...
Nov 1, 3:18 am 2010
trapDoor
Re: Where can I find -rc kernels?
It's out now at http://www.kernel.org/ But still can't pull it from git. -- Thanks, Tomasz --
Nov 1, 6:11 am 2010
Ramya Desai
Where can I find -rc kernels?
Dear All, Generally, I download the stable kernels from http://www.kernel.org/pub/linux/kernel/v2.6/ However, I did not find a link, like this, for -rc kernels. Please let me know, from where can I download the -rc kernels. Please provide a link to me. Thanks and Regards, Ramya. --
Nov 1, 3:01 am 2010
Ramya Desai
Re: Where can I find -rc kernels?
On Mon, Nov 1, 2010 at 7:27 PM, Ryusuke Konishi Dear All, Thanks to every one. The kernel version 2.6.37-rc1 is NOW available at http://www.kernel.org/pub/linux/kernel/v2.6/testing/. I guess, it is updated recently. Anyhow, thanks to all. Thanks and Regards, Ramya. --
Nov 1, 7:27 am 2010
Ryusuke Konishi
Re: Where can I find -rc kernels?
v2.6.37-rc1 is in the git tree. It looks like only master branch hasn't been updated yet. Ryusuke Konishi --
Nov 1, 6:57 am 2010
Justin P. Mattock
Re: Where can I find -rc kernels?
why not just do a git clone of linus's tree then do a git reset --hard v2.6*(some rc version you need...) this way you do not need to depend on kernel.org providing you the kernel... (as for the site..no idea what happened there..) Justin P. Mattock --
Nov 1, 3:17 am 2010
Simon Horman Nov 1, 5:16 am 2010
trapDoor
Re: Where can I find -rc kernels?
I guess It just hasn't been published there yet. Not present in git tree either - I still have 2.6.36-09871-g3985c7c and 'git pull' says: Already up-to-date. -- Thanks, Tomasz --
Nov 1, 6:05 am 2010
Ramya Desai
Re: Where can I find -rc kernels?
Simon, I did not find the complete sources in that link. I need complete sources by which I can build the kernel images. OR Is there any procedure for merging these changes into any stable kernel version (2.6.36) for making it 2.6.37-rc1. Thanks and Regards, Ramya. --
Nov 1, 5:54 am 2010
Axel Lin
[PATCH] V4L/DVB: tea6415c: return -EIO if i2c_check_func ...
If the adapter does not support I2C_FUNC_SMBUS_WRITE_BYTE, return -EIO instead of 0. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/media/video/tea6415c.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/tea6415c.c b/drivers/media/video/tea6415c.c index 3e99cea..19621ed 100644 --- a/drivers/media/video/tea6415c.c +++ b/drivers/media/video/tea6415c.c @@ -148,7 +148,7 @@ static int tea6415c_probe(struct i2c_client *client, /* let's ...
Nov 1, 2:25 am 2010
Hans Verkuil
Re: [PATCH] V4L/DVB: tea6415c: return -EIO if i2c_check_ ...
-- Hans Verkuil - video4linux developer - sponsored by Cisco --
Nov 1, 6:13 am 2010
walter harms
Re: [PATCH 2/3] net: packet: fix information leak to userland
if i understand the code correcly the max size for dev->name is IFNAMSIZ. You can simply that part: memset(uaddr->sa_data, 0, IFNAMSIZ); dev = dev_get_by_index_rcu(sock_net(sk), pkt_sk(sk)->ifindex); if (dev) strlcpy(uaddr->sa_data, dev->name, IFNAMSIZ); you should send that as separate patch. re, --
Nov 1, 2:14 am 2010
Xiao Guangrong
Re: [PATCH v2 5/7] KVM: handle more completed apfs if possible
Yeah, it's a better way, i'll fix it, thanks Gleb! --
Nov 1, 2:34 am 2010
Xiao Guangrong
[PATCH v2 3/7] KVM: fix searching async gfn in kvm_async ...
Don't search later slots if the slot is empty Acked-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- arch/x86/kvm/x86.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 2cfdf2d..9b543f4 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -6206,8 +6206,8 @@ static u32 kvm_async_pf_gfn_slot(struct kvm_vcpu *vcpu, gfn_t gfn) u32 key = ...
Nov 1, 2:00 am 2010
Xiao Guangrong
[RFC PATCH v2 6/7] KVM: fix the race while wakeup all pv guest
In kvm_async_pf_wakeup_all(), we add a dummy apf to vcpu->async_pf.done without holding vcpu->async_pf.lock, it will break if we are handling apfs at this time. Also use 'list_empty_careful()' instead of 'list_empty()' Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- virt/kvm/async_pf.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/virt/kvm/async_pf.c b/virt/kvm/async_pf.c index d57ec92..6ef3373 100644 --- a/virt/kvm/async_pf.c +++ ...
Nov 1, 2:03 am 2010
Gleb Natapov
Re: [RFC PATCH v2 6/7] KVM: fix the race while wakeup al ...
This should never happen to well behaved guest, but malicious guest can do it -- Gleb. --
Nov 1, 5:58 am 2010
Xiao Guangrong
[RFC PATCH v2 7/7] KVM: KVM: don't break vcpu 'halt' sta ...
Don't make a KVM_REQ_UNHALT request after async pf is completed since it can break guest's 'HLT' instruction. Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- arch/x86/kvm/x86.c | 13 ++++++++++--- include/linux/kvm_host.h | 6 ++++++ virt/kvm/kvm_main.c | 9 ++++++++- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 189664a..c57fb38 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ ...
Nov 1, 2:05 am 2010
Xiao Guangrong
[PATCH v2 1/7] KVM: fix tracing kvm_try_async_get_page
Tracing 'async' and *pfn is useless, since 'async' is always true, and '*pfn' is always "fault_pfn' We can trace 'gva' and 'gfn' instead, it can help us to see the life-cycle of an async_pf Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- arch/x86/kvm/mmu.c | 2 +- include/trace/events/kvm.h | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 39cc0c6..5275c50 100644 --- ...
Nov 1, 1:58 am 2010
Gleb Natapov
Re: [PATCH v2 5/7] KVM: handle more completed apfs if possible
No need to change kvm_arch_async_page_present() to return anything. You can do while loop like this: while (!list_empty_careful(&vcpu->async_pf.done) && kvm_arch_can_inject_async_page_present(vcpu)) { } If kvm_arch_async_page_present() call injects exception kvm_arch_can_inject_async_page_present() will return false on next iteration. -- Gleb. --
Nov 1, 2:24 am 2010
Xiao Guangrong
[PATCH v2 4/7] KVM: avoid unnecessary wait for a async pf
In current code, it checks async pf completion out of the wait context, like this: if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && !vcpu->arch.apf.halted) r = vcpu_enter_guest(vcpu); else { ...... kvm_vcpu_block(vcpu) ^- waiting until 'async_pf.done' is not empty } kvm_check_async_pf_completion(vcpu) ^- delete list from async_pf.done So, if we check aysnc pf completion first, it can be blocked at kvm_vcpu_block Fixed by mark the vcpu is unhalted in ...
Nov 1, 2:01 am 2010
Gleb Natapov
Re: [RFC PATCH v2 7/7] KVM: KVM: don't break vcpu 'halt' ...
kvm_arch_vcpu_runnable() shouldn't change vcpu state. I don't like the way it propagates internal x86 state to kvm_vcpu_block() too. May be what you are looking for is the patch below? (not tested). diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 2cfdf2d..f7aed95 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -5295,8 +5295,9 @@ static int __vcpu_run(struct kvm_vcpu *vcpu) { switch(vcpu->arch.mp_state) { case ...
Nov 1, 5:55 am 2010
Xiao Guangrong
[PATCH v2 5/7] KVM: handle more completed apfs if possible
If it's no need to inject async #PF to PV guest we can handle more completed apfs at one time, so we can retry guest #PF as early as possible Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- arch/x86/include/asm/kvm_host.h | 3 ++- arch/x86/kvm/x86.c | 8 ++++++-- virt/kvm/async_pf.c | 28 ++++++++++++++++------------ 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/arch/x86/include/asm/kvm_host.h ...
Nov 1, 2:02 am 2010
Gleb Natapov Nov 1, 2:25 am 2010
Gleb Natapov Nov 1, 6:09 am 2010
Xiao Guangrong
[PATCH v2 2/7] KVM: cleanup aysnc_pf tracepoints
Use 'DECLARE_EVENT_CLASS' to cleanup async_pf tracepoints Acked-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> --- include/trace/events/kvm.h | 76 ++++++++++++++++++++----------------------- 1 files changed, 35 insertions(+), 41 deletions(-) diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h index 30063c6..7bec396 100644 --- a/include/trace/events/kvm.h +++ b/include/trace/events/kvm.h @@ -186,59 +186,71 @@ ...
Nov 1, 1:59 am 2010
Michael S. Tsirkin
[PATCH RFC] tun: remove of user-controlled memory allocation
Untested, this is just an RFC. tun does a kmalloc where userspace controls the length. This will produce warnings in kernel log when the length is too large, or might block for a long while. A simple fix is to avoid the allocatiuon altogether, and copy from user in a loop. However, with this patch an illegal address passed to the ioctl might leave the filter disabled. Is this something we care about? If yes we could recover by creating a copy of the filter. Thoughts? Signed-off-by: ...
Nov 1, 1:27 am 2010
David Miller
Re: [PATCH RFC] tun: remove of user-controlled memory al ...
From: "Michael S. Tsirkin" <mst@redhat.com> I think the key issue in situations like this is simply to make sure that reasonable things that worked before, still do afterwards. And I think your patch does that, so it's fine as far as I can tell. --
Nov 1, 7:16 am 2010
Jozef Ruud Roosevelt
Attention Please!!
Attention Please, I am Jozef Ruud Roosevelt, a Dutch National presently residing in Newcastle United Kingdom, I have a proposition Involving an investment initiative in your country economy to discuss with you, It will be of mutual benefit to both of us, and I believe we can handle it together, once we have a common understanding and mutual cooperation in the execution of the modalities. I work with Abn Amro Bank as an auditor. Should you be interested, please e-mail back to me ...
Nov 1, 1:02 am 2010
Rakib Mullick
[PATCH] acpi: Fix section mismatch warning in osl.c
Function acpi_os_initialize1() calls acpi_osi_setup_late() which is in .init.text section and gets called from acpi_bus_init which is in .init.text section. So mark acpi_os_initialize1() with __init. And declaration of __init acpi_osi_setup_late has been removed, cause its defination is above called function. WARNING: drivers/acpi/acpi.o(.text+0x460): Section mismatch in reference from the function acpi_os_initialize1() to the function .init.text:acpi_osi_setup_late() The function ...
Nov 1, 12:21 am 2010
Axel Lin
[PATCH] gpio: 74x164 cleanups
This patch fixes the coding style for gen_74x164_probe and adds __devexit annotation for gen_74x164_remove. Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/gpio/74x164.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/74x164.c b/drivers/gpio/74x164.c index d91ff4c..afefd01 100644 --- a/drivers/gpio/74x164.c +++ b/drivers/gpio/74x164.c @@ -104,8 +104,8 @@ static int __devinit gen_74x164_probe(struct spi_device *spi) chip->spi = ...
Nov 1, 12:05 am 2010
Rakib Mullick
[PATCH] x86, mm: Fix section mismatch in tlb.c
Mark tlb_cpuhp_notify as __cpuinit. It's basically a callback function, which is called from __cpuinit init_smp_flash(). So - it's safe. We were warned by the following warning: WARNING: arch/x86/mm/built-in.o(.text+0x356d): Section mismatch in reference from the function tlb_cpuhp_notify() to the function .cpuinit.text:calculate_tlb_offset() The function tlb_cpuhp_notify() references the function __cpuinit calculate_tlb_offset(). This is often because tlb_cpuhp_notify lacks a ...
Oct 31, 11:53 pm 2010
tip-bot for Rakib Mu ...
[tip:x86/urgent] x86, mm: Fix section mismatch in tlb.c
Commit-ID: cf38d0ba7efdc476815768b2b999b27cfae69747 Gitweb: http://git.kernel.org/tip/cf38d0ba7efdc476815768b2b999b27cfae69747 Author: Rakib Mullick <rakib.mullick@gmail.com> AuthorDate: Mon, 1 Nov 2010 12:53:50 +0600 Committer: Ingo Molnar <mingo@elte.hu> CommitDate: Mon, 1 Nov 2010 10:09:07 +0100 x86, mm: Fix section mismatch in tlb.c Mark tlb_cpuhp_notify as __cpuinit. It's basically a callback function, which is called from __cpuinit init_smp_flash(). So - it's safe. We ...
Nov 1, 2:13 am 2010
tingwei liu
Re: How many params can be accept by kernel module at most?
The params are transferred by command line. And the params are all in program statically. So the stack size determine the params number. For example: stack size is 4K,and params are unsigned int type with 4 bytes,so the max number of params is 1 thousand。 --
Nov 1, 2:49 am 2010
tingwei liu
How many params can be accept by kernel module at most?
How many params can be accept by kernel module at most? --
Oct 31, 11:17 pm 2010
tingwei liu Nov 1, 2:54 am 2010
Américo Wang
Re: How many params can be accept by kernel module at most?
If you mean dynamically, these parameters are passed as a whole to kernel, from the source code, you can see the max length is ~0UL>>1. If you mean statically, IOW, the max paramenters you can provide in your module, this is limited by ELF section size. Hope this helps. --
Nov 1, 2:29 am 2010
Américo Wang
Re: How many params can be accept by kernel module at most?
Please don't top-reply. That is not true, the parameters are passed via 'uargs' of init_module() dynamically, this is when you invoke modprobe/insmod. For your own kernel module, you may use module_param() to provide parameters, the max of this is limited to the size of ELF section size, since they are stored in "__param" section. --
Nov 1, 2:59 am 2010
tingwei liu
Re: How many params can be accept by kernel module at most?
I really use module_param() to provide parameters. How much of the ELF section size? How can I find the document of the ELF. --
Nov 1, 6:42 am 2010
tingwei liu
Re: How many params can be accept by kernel module at most?
What's the meaning of dynamically and statically? You response help me much. Thank you --
Nov 1, 2:32 am 2010
jovi zhang
[HELP] kernel hanging when boot after nash-hotplug in vmware
Hi,    I'm upgading fc12 to lastest kernel(2.6.36 mainline) in my vmware invironment, but kernel hanging after screen display nash-hotplug, like below: Write protecting the kernel text: 3744k Write protecting the kernel read-only data: 1808k nash-hotplug (46): /proc/46/oom_adj is deprecated, please use /proc/46/oom_score_adj instead. then hanging there. I compiled lastest kernel using i386 defconfig. I compared this boot message with normal boot message. normal boot message is like ...
Oct 31, 11:09 pm 2010
Christoph Hellwig
Re: [PATCH 2/3] fs: Use RCU freeing of inodes via SLAB_D ...
I think this should be done as a separate preparatory patch. --
Nov 1, 8:31 am 2010
Dave Chinner
fs: inode freeing and hash lookup via RCU
Hi Al, The following three patches implement the extra functionality you wanted on top of the inode lock breakup. The first patch lifts the i_lock up out of writeback_single_inode(), the second implements RCU freeing of inodes via SLAB_DESTROY_BY_RCU, and the third converts inode hash lookup operations to use RCU list walks. Comments are welcome. Cheers, Dave. --
Oct 31, 10:33 pm 2010
Dave Chinner
[PATCH 2/3] fs: Use RCU freeing of inodes via SLAB_DESTR ...
From: Dave Chinner <dchinner@redhat.com> Change the inode caches to use RCU freed inodes via the SLAB_DESTROY_BY_RCU method. While touching the slab creation functions for the inode caches, fix all of the slabs to use consistent flags by defining SLAB_INODES to be the set of common inode cache flags. This means no-one in future should forget to set an inode cache to use the SLAB_DESTROY_BY_RCU flag. Signed-off-by: Dave Chinner <dchinner@redhat.com> --- Documentation/filesystems/porting | ...
Oct 31, 10:33 pm 2010
Dave Chinner
[PATCH 3/3] fs: rcu protect inode hash lookups
From: Dave Chinner <dchinner@redhat.com> Now that inodes are using RCU freeing, we can walk the hash lists using RCU protection during lookups. Convert all the hash list operations to use RCU-based operators and drop the inode_hash_lock around pure lookup operations. Signed-off-by: Dave Chinner <dchinner@redhat.com> --- fs/inode.c | 89 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 57 insertions(+), 32 deletions(-) diff --git a/fs/inode.c ...
Oct 31, 10:33 pm 2010
Eric Dumazet
Re: [PATCH 3/3] fs: rcu protect inode hash lookups
You probably should copy Paul on this stuff, I added him in Cc, because Problem with SLAB_DESTROY_BY_RCU is the inode can be freed, and reused immediately (no grace period) by another cpu. So you need to recheck test(inode, data) _after_ getting a stable reference on the inode (spin_lock() in this case), to make sure you indeed found the inode you are looking for, not another one. The test on inode->i_sb != sb can be omitted, _if_ each sb has its own kmem_cache (but I am not sure, please ...
Nov 1, 2:38 am 2010
Eric Dumazet
Re: [PATCH 3/3] fs: rcu protect inode hash lookups
Hmm, I dont know, this doc really is about the nulls thing. This stuff also addressed one problem I forgot to tell you about: During a lookup, you might find an item that is moved to another chain by another cpu, so your lookup is redirected to another chain. You can miss your target. You must find a way to detect such thing to restart the lookup at the beginning (of the right chain). Either you stick the chain number in a new inode field (that costs extra memory), or you use the 'nulls' ...
Nov 1, 8:29 am 2010
Dave Chinner
Re: [PATCH 3/3] fs: rcu protect inode hash lookups
Possibly. The test callback is a private callback to determine if, indeed, it is the inode the caller is looking for. I need to do a There's a slab cache per filesystem type, not per filesystem, so the Yes, I missed that one. Good catch. I'm used to the XFS code where most locks are initialised only once in the slab constructor.... The other fields of note: i_sb: overwritten in inode_init_always(). Should be safe simply by rechecking after validating the inode is not in the freed ...
Nov 1, 6:44 am 2010
Grant Likely
[git pull] spi bug fixes for 2.6.37
Hi Linus. Some spi bug fixes in this branch. g. The following changes since commit 3985c7ce85039adacdf882904ca096f091d39346: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (2010-10-30 18:42:58 -0700) are available in the git repository at: git://git.secretlab.ca/git/linux-2.6 next-spi Feng Tang (1): spi: enable spi_board_info to be registered after spi_master Linus Walleij (2): spi: fixed odd static string conventions in core code ...
Oct 31, 10:34 pm 2010
Randy Dunlap
Re: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544)
Use %zd to print ssize_t variables and %zu to print size_t: drivers/nfc/pn544.c:332: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' drivers/nfc/pn544.c:442: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' Also see Documentation/printk-formats.txt as needed. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Nov 1, 11:00 am 2010
Randy Dunlap
Re: mmotm 2010-10-31-21-24 uploaded (mm/memcontrol)
memcg-add-dirty-limits-to-mem_cgroup.patch Something in mm/memcontrol.c::mem_cgroup_dirty_info() does unsupported divisions on i386: mm/built-in.o: In function `mem_cgroup_dirty_info': (.text+0x58473): undefined reference to `__divdi3' mm/built-in.o: In function `mem_cgroup_dirty_info': (.text+0x584b1): undefined reference to `__divdi3' --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Nov 1, 10:55 am 2010
akpm
mmotm 2010-10-31-21-24 uploaded
The mm-of-the-moment snapshot 2010-10-31-21-24 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://zen-kernel.org/kernel/mmotm.git It contains the following patches against ...
Oct 31, 9:25 pm 2010
Larry Finger
2.6.36-gitX spams logs with "hub 4-0:1.0: unable to enum ...
With the current mainline pull (get describe shows v2.6.36-9871-g3985c7c), my logs are spammed with [ 101.308220] hub 4-0:1.0: unable to enumerate USB device on port 5 [ 101.548357] hub 2-0:1.0: unable to enumerate USB device on port 5 [ 101.760094] hub 4-0:1.0: unable to enumerate USB device on port 5 [ 102.000128] hub 2-0:1.0: unable to enumerate USB device on port 5 [ 102.212187] hub 4-0:1.0: unable to enumerate USB device on port 5 [ 102.452196] hub 2-0:1.0: unable to enumerate USB ...
Oct 31, 6:46 pm 2010
Tantilov, Emil S
RE: [E1000-devel] 2.6.36 abrupt total e1000e carrier los ...
There is a known issue on some systems with ASPM enabled which may cause the device to lose link. If the output of lspci, (which I asked for above) shows ASPM as enabled for the Ethernet devices - make sure to disable it in the BIOS. Thanks, Emil --
Nov 1, 11:51 am 2010
Nix
Re: [E1000-devel] 2.6.36 abrupt total e1000e carrier los ...
Sure. (This is an 82574L.) 00:00.0 Host bridge: Intel Corporation 5520 I/O Hub to ESI Port (rev 13) Subsystem: Intel Corporation Device 0000 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit- Address: 00000000 Data: 0000 Masking: 00000000 Pending: 00000000 Capabilities: ...
Nov 1, 4:08 pm 2010
Jesper Juhl
Re: [PATCH 4/4] scripts/checkpatch.pl: Add check for k.a ...
Just off the top of my head, but shouldn't this check for \s*_*GFP_ in order to catch things like __GFP_ZERO as well? And what about functions like kmalloc_node()/vmalloc_node() which may also -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 2:57 pm 2010
Thomas Hellstrom Nov 1, 3:00 pm 2010
Felipe Contreras
Re: Horrible btrfs performance due to fragmentation
Or when going through all the fragments of a file, have a counter, and if it exceeds certain limit mark it somehow, so that it gets defragmented at least to a certain extent. -- Felipe Contreras --
Nov 1, 8:58 am 2010
Gregory Maxwell
Re: Horrible btrfs performance due to fragmentation
On Mon, Nov 1, 2010 at 11:58 AM, Felipe Contreras Thats elegant, — then resources are only spent on defragmenting files which are actually in use and which actually need it... but I don't see how it deals with the partial mutual exclusivity of defragmenting and COWed files. --
Nov 1, 9:09 am 2010
Johannes Weiner
Re: [RFC PATCH] Add Kconfig option for default swappiness
What's wrong with sticking vm.swappiness = <your value> into the shipped /etc/sysctl.conf? --
Nov 1, 5:43 am 2010
Jesper Juhl
Re: [RFC PATCH] Add Kconfig option for default swappiness
Perhaps this help text should mention the fact that swapiness setting can be changed at runtime (regardless of the set default) by writing to /proc/sys/vm/swappiness ??? -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 1:09 pm 2010
Johannes Weiner
Re: [RFC PATCH] Add Kconfig option for default swappiness
Fair point. Feel free to add my Acked-by: Johannes Weiner <hannes@cmpxchg.org> --
Nov 1, 1:14 pm 2010
Ben Gamari
Re: [RFC PATCH] Add Kconfig option for default swappiness
This definitely wouldn't hurt. I'll respin with updated help text. - Ben --
Nov 1, 1:41 pm 2010
Ben Gamari
Re: [RFC PATCH] Add Kconfig option for default swappiness
Ubuntu ships different kernels for desktop and server usage. From a packaging standpoint it would be much nicer to have this set in the kernel configuration. If we were to throw the setting /etc/sysctl.conf the kernel would depend upon the package containing sysctl(8) (procps). We'd rather avoid this and keep the default kernel configuration in one place. This was just an RFC though; let me know if you think this is totally insane. - Ben --
Nov 1, 5:52 am 2010
Lukas Czerner
Re: ext4_lazyinit_thread: 'ret' may be used uninitialize ...
Hi Stefan, thank you for noticing this, because I actually do not see the warning (I wonder why...), but it is definitely a bug, so the trivial patch below should fix that. Thanks! -Lukas From 3594c17e3f724356ea8cc0a1579ab09990a771ac Mon Sep 17 00:00:00 2001 From: Lukas Czerner <lczerner@redhat.com> Date: Mon, 1 Nov 2010 15:44:54 +0100 Subject: [PATCH] ext4: fix using uninitialized variable The ret variable might be used uninitialized. Fix this by initializing it in ...
Nov 1, 8:27 am 2010
Stefan Richter
Re: ext4_lazyinit_thread: 'ret' may be used uninitialize ...
Probably because of different gcc versions. Here: 4.3.4 -- Stefan Richter -=====-==-=- =-== ----= http://arcgraph.de/sr/ --
Nov 1, 12:04 pm 2010
David Miller
Re: [PATCH] kzalloc with swapped params in l2tp_dfs_seq_open
From: "Dr. David Alan Gilbert" <linux@treblig.org> Applied, thank you. --
Nov 1, 6:56 am 2010
Ohad Ben-Cohen
Re: regression: b43-sdio: probe of mmc0:0001:1 failed wi ...
Yeah, this is just the symptom though - pm_runtime_get_sync tries to power up the card, and eventually mmc_sdio_init_card() is called (by mmc_sdio_resume which is invoked by mmc_resume_host). On the XO-1.5 mmc_sdio_init_card() seems to fail due to mmc_send_relative_addr() returning -110; this may suggest that although mmc_power_off() and mmc_power_on() were called, we still didn't have a full power reset, and the card/controller are left at a weird state. Can you please check out if that's ...
Oct 31, 9:50 pm 2010
Ohad Ben-Cohen
Re: regression: b43-sdio: probe of mmc0:0001:1 failed wi ...
Yes, it is called once at boot while the card is mmc_rescan()ed. But that's not interesting, because the card is then powered down, and Sorry, I meant mmc_sdio_restore_host. You should see something like this: sdio_bus_probe - > ... (runtime PM function calls) ... -> mmc_power_restore_host -> mmc_sdio_power_restore -> mmc_sdio_init_card -> ... We have 1 report where the latter mmc_sdio_init_card fails at this point, and I'm ...
Nov 1, 2:02 am 2010
Arnd Hannemann
Re: regression: b43-sdio: probe of mmc0:0001:1 failed wi ...
No, actually mmc_sdio_init_card() is called _before_ sdio_bus_probe and the failing pm_runtime_get_sync in my case. No mmc_send_relative_addr() does _not_ return -110, actually it is not called at all. I inserted a WARN_ON() in sdio_bus_probe, and here is the backtrace I get: [ 32.351562] [<c0034754>] (warn_slowpath_null+0x0/0x2c) from [<c017ef48>] (sdio_bus_probe+0x5c/0xe8) [ 32.359375] [<c017eeec>] (sdio_bus_probe+0x0/0xe8) from [<c014e908>] (driver_probe_device+0xd0/0x18c) [ ...
Nov 1, 1:05 am 2010
Ohad Ben-Cohen
Re: regression: b43-sdio: probe of mmc0:0001:1 failed wi ...
OK, thanks. CMD5 time outs. I suspect it's similar to what we have with the XO-1.5: despite software calling mmc_power_off/on, the Thank you for testing this, Ohad. --
Nov 1, 7:33 am 2010
Arnd Hannemann
Re: regression: b43-sdio: probe of mmc0:0001:1 failed wi ...
It looks like this: root@ap4evb:~# modprobe b43 [ 36.023437] cfg80211: Calling CRDA to update world regulatory domain [ 36.460937] sdio_bus_probe() [ 36.468750] sdio_bus_probe() calling pm_runtime_get_sync() [ 36.468750] mmc_power_restore_host() begin [ 36.570312] mmc_sdio_power_restore() begin [ 36.570312] mmc_sdio_init_card() [ 36.578125] mmc_sdio_init_card() mmc_send_io_op_cond ret=-110 [ 36.585937] mmc_sdio_power_restore() end ret=-110 [ 36.593750] ...
Nov 1, 7:22 am 2010
Jeremy Fitzhardinge
Re: Kernel bug on Xen DOM0 with SAS, swraid, lvm
Which dom0 kernel are you using? If its a Debian kernel then you should probably get in touch with them to report the problem, and/or xen-devel. --
Nov 1, 1:15 pm 2010
Jiri Kosina
Re: [PATCH] Correct comments for ctime field for ext2 an ...
I feel that 'Inode change time' would be more appropriate. -- Jiri Kosina SUSE Labs, Novell Inc. --
Nov 1, 12:16 pm 2010
Alan Cox
Re: [RFC PATCH] device-core: sysfs open - close notify
Firstly there are not that many driver objects in a small system so it wouldn't take that much to shift the balance the other way. Secondly its becoming clear that every time a driver goes to runtime pm these issues come up - even with things like configuration values for drivers that need to wake the hardware and then silence it. So the whole sysfs/open thing is going to keep haunting us with runtime pm, the question is where to put the callbacks so we don't bloat stuff. Clearly not per ...
Nov 1, 10:11 am 2010
Dominik Brodowski
Re: PATCH : linux-2.6.35.4 drivers pcmcia cs.c
Hi, indeed, on a IBM ThinkPad 770Z there seems to be some bug -- the CardBus hardware doesn't tell the OS that it is CardBus capable. However, your patch isn't correct -- it would enable CardBus on all PCMCIA bridges unconditionally. Therefore, I'd need some more input for a proper patch: 1) Did CardBus cards work on any other kernel? 2) What's the output of "lspci -n -v" 3) What's the output of "sudo lspcmcia -vvv" 4) Are there any BIOS options you may toggle to enable ...
Nov 1, 9:05 am 2010
Peter Stuge
Re: PATCH : linux-2.6.35.4 drivers pcmcia cs.c
What hardware is this, and how would it tell the OS? //Peter --
Nov 1, 3:00 pm 2010
Jeremy Fitzhardinge
Re: High [extra timer interrupt] count in powertop since ...
I'm not sure, but I'm seeing something similar. J --
Nov 1, 9:13 am 2010
Jesper Juhl
Re: [PATCH] cgroup: Avoid a memset by using vzalloc
I will shortly, I'm slowly working my way through a mountain of code Thanks. -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Oct 31, 10:40 pm 2010
Paul Menage
Re: [PATCH] cgroup: Avoid a memset by using vzalloc
Acked-by: Paul Menage <menage@google.com> --
Nov 1, 3:00 pm 2010
Michael Ellerman
Re: [PATCH 04/39] arch/powerpc: Update WARN uses
That appears to have done nothing other than turn a short line into one that is now > 80 columns. Is that the latest fad? cheers
Nov 1, 4:02 am 2010
Joe Perches
Re: [PATCH 04/39] arch/powerpc: Update WARN uses
Added '\n'. The series was done for a few reasons: o to add missing newlines at the end of messages as was done here o to convert a couple of misuses of WARN(msg) to WARN(1, msg) Pretty much. Format coalescing is generally preferred for grep. Some consider it churn. cheers, Joe --
Nov 1, 7:41 am 2010
Mark Brown
Re: [PATCH 19/39] drivers/regulator: Update WARN uses
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> --
Nov 1, 6:25 am 2010
Mark Brown Nov 1, 12:47 pm 2010
Jens Axboe
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
The blktrace user bits is still (by far) the most wide spread way that blktrace is used in the field, and those still rely on relayfs. So no, we can't kill it now. -- Jens Axboe --
Nov 1, 5:48 am 2010
Mathieu Desnoyers
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Actually, "object" in the C99 standard refers to global variables, not local variables. The misunderstanding was on my part. Sorry about that, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Nov 1, 6:38 am 2010
Pekka Enberg
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Looks good to me too. Acked-by: Pekka Enberg <penberg@kernel.org> --
Oct 31, 11:58 pm 2010
Mathieu Desnoyers
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
What I am proposing is that the Generic Ring Buffer Library could replace relayfs without changing any of the interfaces blktrace exposes to user-space. Indeed, I would not remove relayfs unless there was a replacement. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Nov 1, 6:08 am 2010
Américo Wang
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
That compiler would be broken if it exists. Also, I doubt linux kernel could be compiled with other compilers than gcc (except icc?). --
Nov 1, 5:22 am 2010
Mathieu Desnoyers
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Just for fun, I grepped kernel/ and arch/x86/ for instances of "[tab]const". Removing all the "const char *", which is a pointer to const data (so it's entirely different), I ended up with only a handful of instances of a similar scenario (const function variable initialized depending on function arguments). Most of these were in a single I can see it being useful. I was just concerned about whether or not it respects the standard, which seems like a non-issue to you. I can I agree that the ...
Nov 1, 4:27 am 2010
Mathieu Desnoyers
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Yes, Yep, this might make the maintainer's work easier, I think. As for who will merge it, good question. Andrew ? Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Nov 1, 11:26 am 2010
Pekka Enberg
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
On Mon, Nov 1, 2010 at 3:08 PM, Mathieu Desnoyers We don't in general NAK cleanups because of future features or removals that may or may not happen. --
Nov 1, 6:41 am 2010
Andrew Morton
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Such a compiler would be pretty darn useless - that's a quite common thing to do. It's also a very *useful* thing to do. In a long function it's easy to lose track of what variable has what value where, and it's easy to add bugs by modifying a variable which you didn't realise gets used later on. If the definition has a "const" in front of it then great, that aw, c'mon, read the code. The patch is good and improves that function so much it ain't funny. It's a non-runtime-tested, ...
Oct 31, 5:46 pm 2010
el es
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Not longer than a few days ago, somebody from llvm claimed he got it compiling the kernel, and also that he got it self-hosting, on bare metal and in virtual box (virtual box <> VirtualBox, lol) el es --
Nov 1, 6:00 am 2010
Jesper Juhl
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
As I read the discussion over the last day or so, since I last checked my mail, there are no longer any objections to the patch. Correct? If that's the case, who will merge it? and should I resend it with various peoples Acked-by: lines? or? -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 11:02 am 2010
Jens Axboe
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Sure, I'm open to such a solution as long as it doesn't slow anything down for blktrace (primary concern, certainly) and retains feature parity. I'm not married to relayfs, it's just what was available easily when I added blktrace originally. -- Jens Axboe --
Nov 1, 6:34 am 2010
Jens Axboe
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Agree, this is parallel to whether or not we can transition blktrace to using the generic ring buffer library or not. If the current patch proposed makes sense, then it should go in regardless of potential/future plans. -- Jens Axboe --
Nov 1, 6:42 am 2010
Américo Wang Nov 1, 5:26 am 2010
Mathieu Desnoyers
Re: [PATCH] Optimize relay_alloc_page_array() slightly b ...
Agreed. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com --
Nov 1, 9:00 am 2010
Jesper Juhl
Re: [PATCH] AMD Microcode: Prefer vzalloc() over calls t ...
Thank you for the feedback I'll prepare a new version of the patch incorporating it, then resend it. One thing I'm not entirely sure about though is how to credit you with your improment to my original patch. Would I simply prepend Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Borislav Petkov <bp@alien8.de> or should I leave just my own Signed-off-by: and then mention you in the changelog part of the mail or? -- Jesper Juhl <jj@chaosbits.net> ...
Nov 1, 12:23 pm 2010
Jesper Juhl
[PATCH v2] AMD Microcode: Prefer vzalloc() over calls to ...
Ok. I just care a great deal about assigning credit where due, since for some of us (me included) the only credit we ever get for our work is the small credit attributed to us via the SOB or similar... But, I'll just (almost) respin the patch with just my own SOB below. We don't have to do memset() ourselves after vmalloc() when we have vzalloc(), so change that in arch/x86/kernel/microcode_amd.c::get_next_ucode(). Thanks to Borislav Petkov for improvement ...
Nov 1, 2:44 pm 2010
Borislav Petkov
Re: [PATCH] AMD Microcode: Prefer vzalloc() over calls t ...
How very considerate of you, but no need. Simply put your SOB in and I'll ack it. Thanks. -- Regards/Gruss, Boris. --
Nov 1, 2:27 pm 2010
Peter Zijlstra
Re: [PATCH] Perf, AMD: Prefer kzalloc() over kmalloc()+m ...
I've changed it to.. --- Subject: perf, amd: Use kmalloc_node(,__GFP_ZERO) for northbridge structure allocation From: Peter Zijlstra <a.p.zijlstra@chello.nl> Date: Mon Nov 01 18:52:05 CET 2010 Jasper suggested we use the zeroing capability of the allocators instead of calling memset ourselves. Add node affinity while we're at it. Reported-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- Index: ...
Nov 1, 10:55 am 2010
Jesper Juhl Nov 1, 10:57 am 2010
Takuya Yoshikawa
Re: [PATCH] KVM x86: remove memset, use vzalloc and don' ...
I personally prefer this new vzalloc() to vmalloc() + memset(). Just from my interest, is there real performance difference not just This one is here because this belongs to a different code block from the previous one. This keeps it easy to insert another codes in between these two blocks. The optimization will be done at compile time. IIRC, I did like this based on Avi's advise. --
Oct 31, 5:49 pm 2010
Jesper Juhl
Re: [PATCH] KVM x86: remove memset, use vzalloc and don' ...
There's definately a positive size impact for the generated object code and we save having to do the call to memset() and the cost of a vzalloc() call looks more or less the same as a call to vmalloc() to me. Nope. It was generated against mainline git as of a couple of days ago. I Fair enough, I've dropped that bit from the patch. Updated version below (against current mainline git). Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- x86.c | 3 +-- 1 file changed, 1 ...
Nov 1, 11:42 am 2010
Stephen Rothwell
Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Nov 1, 2:26 pm 2010
Michael Ellerman
Re: [PATCH] iSeries: Don't leak if allocations fail in m ...
Stephen is the iSeries maintainer, and I think he #if 0'ed the code. But I don't think it will ever be un-ifdef'ed, so should probably just be removed. cheers
Nov 1, 4:10 am 2010
Jesper Juhl
Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.
Hi Stephen, Ok, so if you are the (unofficial) iSeries maintainer and you don't merge the patch somewhere that'll eventually go up-stream, but just ACK it (thank you for that btw), then where do I send it to get it merged? -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html --
Nov 1, 2:20 pm 2010
Stephen Rothwell
Re: [PATCH] iSeries: Don't leak if allocations fail in m ...
Hi Jesper, Well, only unofficially iseries maintainer :-) Yes, just remove the whole function ... it was never used and never will be. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Nov 1, 1:10 pm 2010
Jesper Juhl
Re: [PATCH] iSeries: Remove unused mf_getSrcHistory function.
Done. Remove unused function 'mf_getSrcHistory' (that will never be used ever according to Stephen Rothwell). Signed-off-by: Jesper Juhl <jj@chaosbits.net> --- mf.c | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/arch/powerpc/platforms/iseries/mf.c b/arch/powerpc/platforms/iseries/mf.c index 42d0a88..56cfd8c 100644 --- a/arch/powerpc/platforms/iseries/mf.c +++ b/arch/powerpc/platforms/iseries/mf.c @@ -1045,52 +1045,6 @@ static ...
Nov 1, 1:06 pm 2010
Tom Lyon Nov 1, 2:22 pm 2010
Marcelo Tosatti Nov 1, 10:19 am 2010
Konrad Rzeszutek Wilk
Re: [PATCH] Xen: Remove duplicate inclusion of header in ...
OK, it is in the queue. Thanks for spotting this. --
Nov 1, 6:46 am 2010
Andy Whitcroft
Re: New 2.6.36 checkpatch complaints about leading whitespace
My personal expectation would be for that second line to be indented with a tab. But I might be convinced otherwise? -apw --
Oct 31, 9:10 pm 2010
Bart Van Assche
Re: New 2.6.36 checkpatch complaints about leading whitespace
There are also other preprocessor directives on which the 2.6.36 checkpatch complains, e.g.: #warning A very long warning message that takes multiple lines and of which\ the second line starts with a space. Why does the 2.6.36 checkpatch complain that the second line should start with a tab instead of a space (which would make the message really ugly) ? Bart. --
Nov 1, 12:29 am 2010
Marcelo Tosatti Nov 1, 10:19 am 2010
Alan Cox
Re: open() on /dev/tty takes 30 seconds on 2.6.36
> I think we need to find out why it's hitting the timeout most of all, Its a perfectly normal happening in some cases - eg when you the remote end asserts flow control and then hangs up on you leaving it that way. So we need to handle this by dropping locks correctly. --
Nov 1, 1:46 pm 2010
Eli Billauer
Re: open() on /dev/tty takes 30 seconds on 2.6.36
Let me start with the headline: It's close() of a ttySx that takes 30 seconds, during which the big TTY lock is held. Now to details. That test is built-in: When modem-manager stops poking around, OK, so this is what I did eventually: I ran strace on sshd and modem-manager, and I also added printk's to tell me when tty_lock() is invoked, when it actually got the lock, and when tty_unlock() is invoked. Pretty messy, and still. Let's start with sshd's strace. We have a 01:06:20.152787 ...
Oct 31, 6:12 pm 2010
Arnd Bergmann
Re: open() on /dev/tty takes 30 seconds on 2.6.36
Ok, that's certainly modem-manager in the tty_release function, calling uart_close, which has this code: if (port->closing_wait != ASYNC_CLOSING_WAIT_NONE) { /* * hack: open-coded tty_wait_until_sent to avoid * recursive tty_lock */ long timeout = msecs_to_jiffies(port->closing_wait); if (wait_event_interruptible_timeout(tty->write_wait, ...
Nov 1, 12:39 pm 2010
Josh Boyer
Re: All Applied micro boards are failing with current ma ...
What kernel version? What config? Have you tried a git bisect to see when it broke? Etc, etc. Also, CC'ing linuxppc-dev would have been a good idea. Not many on lkml are even going to know what you're talking about with such sparse details. --
Nov 1, 6:22 am 2010
David Miller
Re: All Applied micro boards are failing with current ma ...
From: Stephen Rothwell <sfr@canb.auug.org.au> Right. I'll add this to net-2.6 -------------------- ibm_newemac: Remove netif_stop_queue() in emac_probe(). Touching the queue state before register_netdev is not allowed, and besides the queue state before ->open() is "don't care" Reported-by: Josh Boyer <jwboyer@gmail.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> --- drivers/net/ibm_newemac/core.c | 1 - 1 files ...
Nov 1, 8:50 am 2010
Stephen Rothwell
Re: All Applied micro boards are failing with current ma ...
Hi Josh, Remove the call to netif_stop_queue() from emac_probe(). Apparently, calling this before register_netdev() is now wrong (maybe always was). -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Nov 1, 8:36 am 2010
Josh Boyer
Re: All Applied micro boards are failing with current ma ...
Yeah, I just discovered that myself. I'm wondering 1) why we do that in that function? 2) If it needs to be removed entirely, or moved to after the register_netdev call 3) If the call to netif_carrier_off also needs similar attention. I can whip up a patch to remove those calls or move them after the register, but I don't want to do that without knowing which one is "right". josh --
Nov 1, 8:39 am 2010
Josh Boyer
Re: All Applied micro boards are failing with current ma ...
A git bisect between 2.6.36 (working) and Linus tip (traceback) points to: e6484930d7c73d324bccda7d43d131088da697b9 net: allocate tx queues in register_netdevice as causing this. I'm not entirely sure why yet, but the commit message seems slightly off to me. It claims to make TX queue allocation identical to RX, but from what I can tell, most of the RX queue logic is hidden behind CONFIG_RPS, which is not set in my config at all (and can't be due to a dep on CONFIG_SMP). This change ...
Nov 1, 8:05 am 2010
Josh Boyer Nov 1, 9:14 am 2010
David Miller
Re: All Applied micro boards are failing with current ma ...
From: Josh Boyer <jwboyer@gmail.com> I've already taken care of this. --
Nov 1, 8:51 am 2010
Ken Sumrall
Re: [PATCH] Fix bug in FUSE where the attribute cache fo ...
I'm no FUSE expert, so I don't feel qualified to fully evaluate the changes, but the locking looks correct and non-blocking, and the code still passes our test case and doesn't crash, so it gets my vote of approval. ___ Ken --
Nov 1, 4:38 pm 2010
Jesper Juhl
Re: [PATCH] cs46xx memory management fixes for cs46xx_ds ...
Thanks Takashi and thank you for testing Ondrej :-) -- Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/ Plain text mails only, please http://www.expita.com/nomime.html Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Nov 1, 11:23 am 2010
Takashi Iwai
Re: [PATCH] cs46xx memory management fixes for cs46xx_ds ...
At Sun, 31 Oct 2010 18:29:10 +0100, Great. I applied the patch now. Thanks! Takashi --
Nov 1, 2:38 am 2010
J.H.
Re: [kernel.org users] [KORG] Master / hera upgrade & do ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey All, Just a heads up I'm running a little behind but should be starting shortly. - - John 'Warthog9' Hawley Chief Kernel.org Administrator _______________________________________________ Users mailing list Users@linux.kernel.org http://linux.kernel.org/mailman/listinfo/users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - ...
Nov 1, 1:37 pm 2010
J.H.
Re: [kernel.org users] [KORG] Master / hera upgrade & do ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey All, Just a heads up the box is back up. There's a few sundry items that still need to be dealt with and there might still be another reboot in the next couple of days but I'll send a separate e-mail if/when that has to occur. All in all things look good, and for the most part it went smoothly (well other than the typical disaster that grub throws at me). If you see anything amiss, please give me a holler or e-mail ftpadmin@kernel.org ...
Nov 1, 3:09 pm 2010
J.H.
Re: [kernel.org users] [KORG] Master / hera upgrade & do ...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ergh, Heads up apparently the server lied to me and claimed the drives were fully in sync, when they were not. A couple of people have caught that the last sync that occurred apparently was the 29th. I'm going to do a full resync of /pub - this will squash anything that was there with what was present around 1900 UTC on Nov 1st. Home dirs, mail, etc are going to have to get dealt with on a per-case basis. I might just setup an NFS mount ...
Nov 1, 4:18 pm 2010
Ian Campbell
Re: [GIT PULL] Small Xen bugfixes
It'll be interesting to see what effect Vista's avoidance of the whole Agreed, we should try and mimic native as far as possible in this regard or I fear we will see a never ending stream of little quirks and It would also make us susceptible to perhaps being a bit fragile in the Absolutely. I wonder if we shouldn't also do the following (note: untested). Since Xen avoids using the sub-1M region for anything I think it is reasonable to give the whole lot over to domain 0 for the ...
Nov 1, 9:36 am 2010
Takashi Iwai
Re: [PATCH] USB PCM Sound driver neglects kmalloc return ...
At Fri, 29 Oct 2010 20:40:23 +0200 (CEST), Applied now. Thanks! --
Nov 1, 2:39 am 2010
Ingo Molnar
Re: [PATCH 2/2] perf bench: add x86-64 specific benchmar ...
Interesting indeed, and it would be nice to analyse that! (It should be possible, using various PMU metrics in a clever way, to figure out what's happening inside the Agreed. (Maybe name it --prefault, as 'prefaulting' is the term we generally use for things like this.) An even better solution would be to output _both_ results by default, so that people can see both characteristics at a glance? Thanks, Ingo --
Nov 1, 2:02 am 2010
Hitoshi Mitake
Re: [PATCH 2/2] perf bench: add x86-64 specific benchmar ...
Does Ma Ling's patched version mean, http://marc.info/?l=linux-kernel&m=128652296500989&w=2 the memcpy applied the patch of the URL? (It seems that this patch was written by Miao Xie.) OK, I'll separate these files. BTW, I found really interesting evaluation result. Current results of "perf bench mem memcpy" include the overhead of page faults because the measured memcpy() is the first access to allocated memory area. I tested the another version of perf bench mem memcpy, which ...
Oct 31, 10:36 pm 2010
Marc Kleine-Budde
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN drive ...
Hello, On 10/29/2010 09:32 PM, Wolfgang Grandegger wrote: some comments inline. ^ ^ If I understand the code and datasheet correctly, this function doesn't only check for busy. The functions sends the message to the object and waits until it's finished. I suggest to split this functionality into two functions and give them proper names. In the TX path you usually don't need the send-message-and-wait-for-completion. In TX you need ...
Nov 1, 4:05 am 2010
Tomoya MORINAGA
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN drive ...
Sorry, my English had mistake. I show my comment below again. - If there is *after* processing, this is a bug. Though "Oliver Hartkopp" found the place of Datasheet EG20T and notified with the mailing-list, Have you read the following ? I understand. Thanks, Tomoya(OKI SEMICONDUCTOR CO., LTD.) --
Nov 1, 12:15 am 2010
Ciju Rajan K
Re: [PATCH v4 03/11] memcg: create extensible page stat ...
Thank you Greg! I will try these steps. I could see the per cgroup dirty page accounting patches already in the latest broken-out.tar.gz --
Nov 1, 1:16 pm 2010
Jin Dongming
Re: [PATCH 3/3] [x86, next] Add mce_sys_info interface f ...
Hi, Andi It sounds great. Thank you. Best Regards, Jin Dongming --
Nov 1, 4:56 pm 2010
Andi Kleen
Re: [PATCH 3/3] [x86, next] Add mce_sys_info interface f ...
I would suggest to write a shell script and put it to download somewhere. We could add a reference to it to the kernel documentation. -Andi --
Nov 1, 7:00 am 2010
Jin Dongming
Re: [PATCH 3/3] [x86, next] Add mce_sys_info interface f ...
Hi, Andi Thanks for your review. I will cancel this patch. But I suggested there is such kind of tool for mce test. It really costs too much time to confirm them one by one. Best Regards, Jin Dongming --
Oct 31, 5:07 pm 2010
Jin Dongming
Re: [PATCH 3/3] [x86, next] Add mce_sys_info interface f ...
Hi, Borislav Petkov Thanks for your review. Because this patch will be canceled, I could not update it as your comment. But I will do other patches as your comment. Thanks again. Best Regards, Jin Dongming --
Oct 31, 5:11 pm 2010
Jin Dongming
Re: [PATCH 2/3] [x86, next] Add mce_ser interface in /sy ...
Yes, it is. But if you set mce_ser with mca_recovery_set(), the original value of mce_ser will be changed, is it right? If a new guy try to test mce with the test machine, he/she may be confused by the value of mce_ser. So I think how to tell him --
Oct 31, 5:04 pm 2010
Eric Paris
Re: [PATCH 10/20] fanotify: allow userspace to override ...
I realize they are redundant. But it is starting down the path of unpriv'd users. I figure I already have to go back and audit everything we do looking for places we shouldn't allow unpriv users, so no need to add new ones without explicitly checking. -Eric --
Nov 1, 10:23 am 2010
Tvrtko Ursulin
Re: [PATCH 10/20] fanotify: allow userspace to override ...
True, next patch mentions this higher motive, sorry for the noise. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Nov 1, 10:34 am 2010
Tvrtko Ursulin
Re: [PATCH 10/20] fanotify: allow userspace to override ...
Either this capable call is not needed or the one at the top of the syscall needs to go if you intended to allow non-privileged access. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Nov 1, 10:09 am 2010
Tvrtko Ursulin
Re: [PATCH 12/20] fanotify: allow userspace to override ...
Same redundant (or not) capable as with queue depth. Tvrtko Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. --
Nov 1, 10:16 am 2010
Jonathan Cameron
Re: [W1] a driver for DS2405 chip
Perhaps handle this as a gpio chip? (be it a fairly limited one) --
Nov 1, 5:35 am 2010
KOSAKI Motohiro
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl ...
I've heared similar requirement sometimes from embedded people. then also don't use swap. then, I don't think this is hopeless idea. but I hope to clarify some thing at first. Yes, a system often have should-not-be-evicted-file-caches. Typically, they are libc, libX11 and some GUI libraries. Traditionally, we was making tiny application which linked above important lib and call mlockall() at startup. such technique prevent reclaim. So, Q1: Why do you think above traditional way is ...
Nov 1, 12:05 am 2010
Mandeep Singh Baines
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl ...
swap would be intersting if we could somehow control swap thrashing. Maybe mlock is too coarse grain. It requires locking the whole file in memory. The chrome and X binaries are quite large so locking them would waste a lot of memory. We could lock just the pages that are part of the working set but that is difficult to do in practice. Its unmaintainable if you do it statically. If you do it at runtime by mlocking the working set, you're sort of giving up on mm's active list. Like akpm, I'm ...
Nov 1, 11:24 am 2010
Minchan Kim
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl ...
I don't think current VM behavior has a problem. Current problem is that you use up many memory than real memory. As system memory without swap is low, VM doesn't have a many choice. It ends up evict your working set to meet for user request. It's very natural result for greedy user. Rather than OOM notifier, what we need is memory notifier. AFAIR, before some years ago, KOSAKI tried similar thing . http://lwn.net/Articles/268732/ (I can't remember why KOSAKI quit it exactly, AFAIR, some ...
Nov 1, 4:46 pm 2010
Rik van Riel
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl ...
Have you actually read the code? The active file list is only ever scanned when it is larger Maybe we can scale this by memory amount? Say, make sure the total amount of page cache in the system is at least 2* as much as the sum of all the zone->pages_high watermarks, and refuse to evict page cache if we have less than that? This may need to be tunable for a few special use cases, like HPC and virtual machine hosting nodes, but it may just do the right thing for everybody ...
Nov 1, 11:50 am 2010
Mandeep Singh Baines
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl ...
I have but really just recently. I consider myself an mm newb so take any Yes, this prevents you from reclaiming the active list all at once. But if the memory pressure doesn't go away, you'll start to reclaim the active list little by little. First you'll empty the inactive list, and then you'll start scanning the active list and pulling pages from inactive to active. The problem is that there is no minimum time limit to how long a page will sit in the inactive list before it is reclaimed. ...
Nov 1, 12:43 pm 2010
Amit Salecha Oct 31, 9:56 pm 2010
Randy Dunlap
Re: linux-next: Tree for October 28 (acpi_video)
I think that it needs this patch (from 2010-OCT-13): http://lkml.org/lkml/2010/10/13/270 -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Oct 31, 8:09 pm 2010
Sergei Shtylyov
Re: [PATCH] of: of_mdio: Fix some endianness problems.
Hello. This assignment would probably cause checkpatch.pl to complain... WBR, Sergei --
Nov 1, 4:44 am 2010
Grant Likely
Re: [PATCH] of: of_mdio: Fix some endianness problems.
checkpatch isn't always right. Alternately, I'd also be okay with David's approach of splitting the tests into two if() blocks if without the goto... Actually, don't worry about it. I just merged David's patch and removed the goto myself in the process. g. --
Nov 1, 7:20 am 2010
Shirley Ma
Re: [RFC PATCH 1/1] vhost: TX used buffer guest signal a ...
Yes, moving from put_user/get_user to __put_user/__get_user does improve the performance by removing the checking. My concern here is whether checking only in set up would be sufficient for security? Would be there is a case guest could corrupt the ring I can separate the used update and signaling to see the best Good, I will change heads up to vq->num and use it. Thanks Shirley --
Nov 1, 1:17 pm 2010
Onkalo Samu
Re: sysfs and power management
I took a look to that. It seems that iio is more or less sysfs based. There are ring buffers and event device which are chardev based but still the data outside ring buffer and the control is sysfs based. By getting open and close from sysfs would be nice from the driver point of view. However, I understand that this is just overhead for majority of the cases. Regards, Samu --
Nov 1, 3:41 am 2010
Alan Cox
Re: sysfs and power management
IIO is sysfs dependant, heavyweight and makes no sense for some of the sysfs based drivers. IIO is also staging based and Linus already threw out the last attempt to unify these drivers sanely with an ALS layer - The alternative really is to end up with a parallel 'not quite sysfs' which is sysfs + open/close. My feeling is its cleaner to have a hook at the per device level (so we don't bloat the sysfs nodes at all) than have two copies of sysfs. Alan --
Nov 1, 9:57 am 2010
Greg KH
Re: sysfs and power management
I think we need to revisit this issue again, before iio is merged to the main kernel tree. I've been totally ignoring the iio user/kernel api at the moment, waiting for things to settle down there. thanks, greg k-h --
Nov 1, 11:07 am 2010
Jiri Kosina
RE: [PATCH] hid: usbhid: New hid quirks for Panasonic El ...
If the device is 'working' properly with the generic driver, "only" not properly calibrated, I wouldn't really like to blacklist it completely. It might impose regression for those users who have written their own userspace calibration, for example. -- Jiri Kosina SUSE Labs, Novell Inc. --
Nov 1, 12:22 pm 2010
KOSAKI Motohiro
Re: [PATCH 1/2] mm: page allocator: Adjust the per-cpu c ...
Except kamezawa-san pointed piece Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --
Nov 1, 12:06 am 2010
KOSAKI Motohiro
Re: [PATCH 2/2] mm: vmstat: Use a single setter function ...
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> --
Nov 1, 12:06 am 2010
Jiri Kosina
Re: [PATCH] Add Force Feedback support for EMS Trio Link ...
Applied, thanks. -- Jiri Kosina SUSE Labs, Novell Inc. --
Nov 1, 12:14 pm 2010
Timur Tabi
Re: [PATCH] OF device tree: Move of_get_mac_address() to ...
And ironically, he left out the person who wrote the function -- me. -- Timur Tabi Linux kernel developer at Freescale --
Nov 1, 5:04 am 2010
Jiri Kosina
Re: [PATCH 01/22] trivial: fix typos concerning "already"
I have folded the whole series into one patch and applied. Thanks, -- Jiri Kosina SUSE Labs, Novell Inc. --
Nov 1, 12:45 pm 2010
Christoph Hellwig
Re: [PATCH 2/4] locks: fix leaks on setlease errors
Sounds good. I was also wondering if we can get rid of ->setlease entirely. The file_lock_operations should be enough abstraction to reject the leases in theory, but I need to look into it a bit more. --
Nov 1, 10:41 am 2010
J. Bruce Fields
Re: nfsd changes for 2.6.37
Both look good to me, thanks! --b. --
Nov 1, 8:02 am 2010
J. Bruce Fields
Re: [PATCH 2/4] locks: fix leaks on setlease errors
Note that cifs has a real lease operation now. No idea how it works or if it's really correct. --b. --
Nov 1, 11:34 am 2010
J. Bruce Fields
Re: [PATCH 2/4] locks: fix leaks on setlease errors
I also have patches that get rid of fl_release_private, fl_mylease, and (almost done) fl_change. Unless you've a better suggestion I'll probably send them out for review and then queue them up with other nfsd changes for 2.6.38. --b. --
Nov 1, 10:24 am 2010
KOSAKI Motohiro
Re: [PATCH 1/2] mm, mem-hotplug: recalculate lowmem_rese ...
Right. You are pointing out very old issue. I don't know why old code worked. but we certainly need to fix it. Thank you. I'll prepare another incremental patch because this is another issue. Thanks. --
Nov 1, 12:06 am 2010
Dimitrios Apostolou
Re: 2.6.36 io bring the system to its knees
Hello, My experience has been different with that. Wouldn't it make more sense to _increase_ dirty_ratio (to 50 lets say) and at the same time decrease dirty_background_ratio? That way writing to disk starts early, but the related apps stall waiting for I/O only when dirty_ratio is reached. Thanks, --
Oct 31, 6:09 pm 2010
Thomas Gleixner
Re: [bisected] Clocksource tsc unstable git
Any update on this ? Thanks, tglx --
Nov 1, 11:05 am 2010
Markus Trippelsdorf
Re: [bisected] Clocksource tsc unstable git
Yes, it runs stable thus far. No "slowdowns", no problems. -- Markus --
Nov 1, 11:45 am 2010
Pavel Machek
Re: carl9170 disconnects under load
It works "better" if I force AP to 1Mbps.... (Note that I have USB1.1 host only). Pavel Registered led device: carl9170-phy1::assoc usb 1-1: Atheros AR9170 is registered as 'phy1' ieee80211 phy1: device now idle ieee80211 phy1: device no longer idle - scanning wlan0: authenticate with 00:11:95:05:30:d7 (try 1) wlan0: authenticated ieee80211 phy1: device now idle ieee80211 phy1: device no longer idle - working wlan0: associate with 00:11:95:05:30:d7 (try 1) wlan0: RX AssocResp ...
Nov 1, 3:10 am 2010
Pavel Machek
Re: carl9170 disconnects under load
But it fails with wireless-testing tree, too :-(. Linux mpc5200b 2.6.36-rc8-wl-pma-48197-gdcae733-dirty #43 Tue Oct 26 12:06:21 CEST 2010 ppc Pavel PHY: f0003000:00 - Link is Up - 100/Full warning: `named' uses 32-bit capabilities (legacy support in use) process `named' is using obsolete setsockopt SO_BSDCOMPAT ieee80211 phy0: device now idle ieee80211 phy0: device no longer idle - scanning wlan0: authenticate with 00:11:95:05:30:d7 (try 1) wlan0: authenticated ieee80211 ...
Nov 1, 2:46 am 2010
Pavel Machek
Re: carl9170 disconnects under load
So I tried with different AP, one not capable of 802.11n speeds. It fails in different way :-(. But this one is with my backport to 2.6.34... Pavel wlan0: associate with 00:11:95:05:30:d7 (try 1) wlan0: RX AssocResp from 00:11:95:05:30:d7 (capab=0x421 status=0 aid=1) wlan0: associated phy0: Allocated STA 00:11:95:05:30:d7 phy0: Inserted STA 00:11:95:05:30:d7 phy0: Removed STA 00:11:95:05:30:d7 phy0: Destroyed STA 00:11:95:05:30:d7 wlan0: deauthenticating from 00:11:95:05:30:d7 by ...
Nov 1, 2:31 am 2010
Pavel Machek
Re: carl9170 disconnects under load
Ok, so I tried on powerpc machine with usb2.0... it worked a bit better, but after a reboot, I got this one: usb 1-3: Atheros AR9170 is registered as 'phy0' kjournald starting. Commit interval 5 seconds EXT3-fs (sda3): warning: maximal mount count reached, running e2fsck is recommended EXT3-fs (sda3): using internal journal EXT3-fs (sda3): recovery complete EXT3-fs (sda3): mounted filesystem with writeback data mode warning: `proftpd' uses 32-bit capabilities (legacy support in use) PHY: ...
Nov 1, 5:11 am 2010
Dmitry Torokhov Nov 1, 2:14 pm 2010
Jiri Kosina
Re: usbhid: HP LD4200tm touchscreen ALMOST works
Thanks a lot for the detailed analysis. What would actually be interesting to see would be the HID debugfs output. Namely 1) mount debugfs 2) cat /sys/kernel/debug/<device>/rdesc 3) obtain output of /sys/kernel/debug/<device>/events and annotate it as you did for your previous output (i.e. "this happens when I do one-finger move", "this happens when I do two-finger trick to make it work"). This way, it'd be much easier to see what is actually hapenning on HID level. Thanks, -- ...
Nov 1, 2:22 pm 2010
KOSAKI Motohiro
Re: [resend][PATCH 2/4] Revert "oom: deprecate oom_adj t ...
The reason that you ware NAKed was not to introduce new powerful feature. You haven't tested your patch at all. Distro's initram script are using oom_adj interface and latest kernel show pointless warnings "/proc/xx/oom_adj is deprecated, please use /proc/xx/oom_score_adj instead." at _every_ boot time. As I said, DON'T SEND UNTESTED PATCH! DON'T BREAK USERLAND CARELESSLY! --
Nov 1, 12:06 am 2010
David Rientjes
Re: [resend][PATCH 2/4] Revert "oom: deprecate oom_adj t ...
Linux users who care about prioritizing tasks for oom kill with a tunable that (1) has a unit, (2) has a higher resolution, and (3) is linear and not exponential. Memcg doesn't solve this issue without incurring a 1% No, it doesn't, and you completely and utterly failed to show a single usecase that broke as a result of this because nobody can currently use oom_adj for anything other than polarization. Thus, there's no backwards Yes, I've tested it, and it deprecates the tunable as ...
Nov 1, 12:36 pm 2010
Minchan Kim
Re: [PATCH] vmscan: move referenced VM_EXEC pages to act ...
Tend to agree. When I saw 64574746, I doubted 8cab4754's effectiveness. When we reviewed 8cab4754, there were many discussion. The thing I kept my mind was a trick of VM_EXEC. Someone can whip LRU by VM_EXEC hack intentionally. We can't make sure desktop doesn't has such workload and server also can have such workload. I mean if it enhance VM by general POV, we can merge it enoughly. In your testcase, Removing VM_EXEC test(ie, kernel 2) doesn't have biased. It means it's not the best but ...
Nov 1, 6:41 am 2010
Frederic Weisbecker
Re: [PATCH 01/11] x86,kgdb: fix debugger hw breakpoint t ...
Ok so there are several things: First, if DR_STEP is set, you must ignore the DR_TRAP bits because single step exceptions and breakpoint exceptions don't happen at the same time: single step has a higher priority and intel manuals say if we are in a single step exception, the DR_TRAP bits are random. This is something I will fix soon, and this should fix your issue as well. Second, why are you sending a signal to userspace? Is it how a kgdb client is notified? So it means kgdb ...
Nov 1, 2:27 pm 2010
Sergei Shtylyov
Re: [PATCH] USB: ehci/mxc: compile fix
Hello. Linus has asked people to also specify the commit short description in WBR, Sergei --
Nov 1, 5:29 am 2010
Matthew Garrett
Re: [2.6.37-rc1 REGRESSION] suspend fails on x200 (was R ...
Hm. That's what this patch was intended to fix. Can you check that the tree you're using has it merged? The autoloading comes from the fix to the pnp code to use _CID even if _HID is malformed, so now we have a pnp device when we previously didn't. -- Matthew Garrett | mjg59@srcf.ucam.org --
Nov 1, 2:32 pm 2010
Andy Isaacson
[2.6.37-rc1 REGRESSION] suspend fails on x200 (was Re: [ ...
Matthew, Thanks for coming up with a clean way to integrate this iTPM support! Unfortunately, automagically loading tpm_tis results in a suspend regression on my X200: (hand-transcribed, sorry for any typos) [ 16.759044] tpm_tis 00:0a: 1.2 TPM (device-id 0x1020, rev-id 6) [ 7537.636134] PM: Entering mem sleep [ 7537.636221] Suspending console(s) (use no_console_suspend to debug) [ 7537.636668] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 7537.658111] tpm_tis 00:0a: tpm_transmit: ...
Nov 1, 2:19 pm 2010
Alexey Charkov
Re: [PATCH 3/6] input: Add support for VIA VT8500 and co ...
True, it would make things much cleaner. However, that's probably out of scope of adding VT8500 support here, thus not for me to decide :) I would really like to see this implemented as a standard platform driver (accepting resources and platform_data as necessary). This would be a way cleaner approach, with less code duplication and less patching of the driver itself whenever a new platform is to be added. However, I don't know how that kind of a change would affect ...
Nov 1, 11:31 am 2010
Andi Kleen
Re: [ANNOUNCE] Status of unlocked_qcmds=1 operation for .37
With semantics patches "do"ing is actually not that much effort ... -Andi --
Nov 1, 4:45 am 2010
Andrew Dickinson
Re: [PATCH] sched_fair.c:find_busiest_group(), kernel 2.6.35.7
Peter, I agree that getting to root-cause is important, but this is still an unchecked exception. Is your concern about "papering over" due to the fact that this patch doesn't emit an error message/increment a counter/etc? I think that there's some middle ground here. One wouldn't blindly assume that malloc() returned non-zero, right? Similarly, if dividing, one should check that the denominator is not zero. :D Regarding reproducing this bug. All of the evidence that I've seen (both in ...
Nov 1, 10:31 am 2010
Shreyas Bhatewara
Re: [PATCH 2.6.35-rc8] net-next: Add multiqueue support ...
Add multiqueue support to vmxnet3 driver This change adds Multiqueue and thus receive side scaling support to vmxnet3 device driver. Number of rx queues is limited to 1 in cases where - MSI is not configured or - One MSIx vector is not available per rx queue By default multiqueue capability is turned off and hence only 1 tx and 1 rx queue will be initialized. enable_mq module param should be set to configure number of tx and rx queues equal to number of online CPUs. A maximum ...
Nov 1, 3:42 pm 2010
Ian Molton
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
It very much is. It supports fully visually integrated rendering (no overlay windows) and even compositing GL window managers work fine, even if running 3D apps under them. -Ian --
Nov 1, 8:49 am 2010
Ian Molton
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
No. Userspace doesnt do or expect that. Multiple applications work fine, however. -Ian --
Nov 1, 8:50 am 2010
Avi Kivity
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
Waiting for a response is fine, but can't the guest issue a second batch while waiting for the first? -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. --
Nov 1, 3:42 am 2010
Anthony Liguori
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
In a threaded application I think you mean but all RPCs are dispatched holding a global lock so even within a threaded application, only a single GL call will be executed at a time. The other scenario would be multiple applications trying to use GL but AFAICT, this is not supported in the current model. Regards, Anthony Liguori --
Nov 1, 6:21 am 2010
Anthony Liguori
Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
Does the kernel track userspace pid and pass that information to qemu? Regards, --
Nov 1, 8:57 am 2010
Hans-Christian Egtvedt
Re: [PATCH 6/6] avr32: deal with syscall restarts
Am I the only one getting a conflict with the work_pending() function in Please add a comment after the define. Hmmm... @ line 268 syscall_exit_work: bld r1, TIF_SYSCALL_TRACE brcc 1f Make a 1: label at this line should do the trick AFAICT. I get a conflict with a similar function declared in include/linux/workqueue.h. Also, please brake it over multiple lines as it is wider than 80 characters. <snipp> -- Hans-Christian Egtvedt --
Nov 1, 2:37 am 2010
Hans-Christian Egtvedt
Re: [PATCH 5/6] avr32: need to reset ->restart_block.fn ...
Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> <snipp> -- Hans-Christian Egtvedt --
Nov 1, 1:30 am 2010
Hans-Christian Egtvedt
Re: [PATCH 4/6] avr32: clear TIF_RESTORE_SIGMASK when si ...
Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> -- Hans-Christian Egtvedt --
Nov 1, 1:20 am 2010
Hans-Christian Egtvedt
Re: [PATCH 3/6] avr32: fix handling of blocked signals
Nuke the local ret variable in the same go. <snipp> -- Hans-Christian Egtvedt --
Nov 1, 1:06 am 2010
Hans-Christian Egtvedt
Re: [PATCH 2/6] avr32: get rid of useless args in signal ...
Should be initialized as it is checked in the else if block further below. <snipp> -- Hans-Christian Egtvedt --
Nov 1, 12:58 am 2010
Al Viro Nov 1, 1:02 am 2010
Hans-Christian Egtvedt
Re: [PATCH 2/6] avr32: get rid of useless args in signal ...
Ah, that made a lot more sense. I'm still on my first cup of coffee brushing dust of your series. -- Hans-Christian Egtvedt --
Nov 1, 1:08 am 2010
Hans-Christian Egtvedt
Re: [PATCH 1/6] avr32: missed _TIF_NOTIFY_RESUME on one ...
Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> -- Hans-Christian Egtvedt --
Nov 1, 12:55 am 2010
Dave Chinner
Re: [PATCH 00/17] [RFC] soft and dynamic dirty throttlin ...
Any update on the current status of this patchset? Cheers, Dave. -- Dave Chinner david@fromorbit.com --
Oct 31, 11:24 pm 2010
Jiri Kosina
Re: [PATCH v4 0/2] Get and Set Feature Reports on HIDRAW ...
Marcel, any word on this patchset by chance? Thanks, -- Jiri Kosina SUSE Labs, Novell Inc. --
Nov 1, 12:23 pm 2010
Hans-Christian Egtvedt
Re: [PATCH 1/7] [AVR32] don't check platform_get_irq's r ...
Indeed, but external interrupts are numbered after the internal interrupt lines, so in practice this does not happen. At least for now Acked-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> <snipp> -- Hans-Christian Egtvedt --
Nov 1, 2:58 am 2010
previous daytodaynext day
October 31, 2010November 1, 2010November 2, 2010