Re: [PATCH] intel-iommu: fix sg_page()

2007-10-22 Thread FUJITA Tomonori
On Tue, 23 Oct 2007 07:04:27 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > drivers/pci/intel-iommu.c: In function 'intel_unmap_sg': > > drivers/pci/intel-iommu.c:1987: error: 'struct scatterlist' has no member > > named 'page' > >

Re: LSM conversion to static interface

2007-10-22 Thread Giacomo Catenazzi
Thomas Fricaccia wrote: > Some well-respected contributors have taken exception my amplification > of Crispin Cowan's point about the patch that closes LSM. > > Crispin Cowan <[EMAIL PROTECTED]> wrote: >> * It prevents enterprise users, and in fact anyone who isn't >> comfortable

Re: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-22 Thread Daniel Barkalow
On Mon, 22 Oct 2007, David Miller wrote: > My suggestion is: > > 1) Leave the pci_intx() twiddling code in drivers/pci/msi.c > > 2) Add quirks for "INTX_DISABLE turns off MSI too", this sets >a flag in the pci_dev. > > 3) The pci_intx() calls in drivers/pci/msi.c are skipped if this >

Re: IB/ehca: Fix sg_page() fallout

2007-10-22 Thread Olof Johansson
More fallout from sg_page changes: drivers/infiniband/hw/ehca/ehca_mrmw.c: In function 'ehca_set_pagebuf_user1': drivers/infiniband/hw/ehca/ehca_mrmw.c:1779: error: 'struct scatterlist' has no member named 'page' drivers/infiniband/hw/ehca/ehca_mrmw.c: In function 'ehca_check_kpages_per_ate':

Re: LSM conversion to static interface

2007-10-22 Thread Giacomo Catenazzi
Jan Engelhardt wrote: > I do have a pseudo LSM called "multiadm" at > http://freshmeat.net/p/multiadm/ , quoting: > Policy is dead simple since it is based on UIDs. The UID ranges can be > set on module load time or during runtime (sysfs params). This LSM is > basically grants extra rights

[PATCH] net: fix xfrm build - missing scatterlist.h include

2007-10-22 Thread Heiko Carstens
From: Heiko Carstens <[EMAIL PROTECTED]> net/xfrm/xfrm_algo.c: In function 'skb_icv_walk': net/xfrm/xfrm_algo.c:555: error: implicit declaration of function 'sg_set_page' make[2]: *** [net/xfrm/xfrm_algo.o] Error 1 Cc: David Miller <[EMAIL PROTECTED]> Cc: Jens Axboe <[EMAIL PROTECTED]>

[PATCH] fix ll_rw_blk.c build on s390

2007-10-22 Thread Heiko Carstens
From: Heiko Carstens <[EMAIL PROTECTED]> CC block/ll_rw_blk.o block/ll_rw_blk.c: In function 'blk_rq_map_sg': block/ll_rw_blk.c:1357: error: implicit declaration of function 'sg_dma_len' block/ll_rw_blk.c:1357: error: lvalue required as left operand of assignment block/ll_rw_blk.c:1358:

Re: [PATCH] Fix warning in mm/slub.c

2007-10-22 Thread Yasunori Goto
> "Make kmem_cache_node for SLUB on memory online to avoid panic" introduced > the following: > > mm/slub.c:2737: warning: passing argument 1 of 'atomic_read' from > incompatible pointer type > > > Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> > > > diff --git a/mm/slub.c b/mm/slub.c >

Re: [PATCH 1/1] x86: convert-cpuinfo_x86-array-to-a-per_cpu-array fix

2007-10-22 Thread Yinghai Lu
On 10/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This fix corrects the problem that early_identify_cpu() sets > cpu_index to '0' (needed when called by setup_arch) after > smp_store_cpu_info() had set it to the correct value. > > Signed-off-by: Mike Travis <[EMAIL PROTECTED]> > --- >

Re: Query about Bio submission / Direct IO

2007-10-22 Thread Shreyansh
Hi list and Boaz, On 10/22/07, Boaz Harrosh <[EMAIL PROTECTED]> wrote: > On Fri, Oct 19 2007 at 8:17 +0200, Shreyansh Jain <[EMAIL PROTECTED]> wrote: > > Hi List, > > ---8<- > > Any idea why it doesn't work (though I am expecting that this doc is 2.6 > > starting era and things might

Re: LSM conversion to static interface

2007-10-22 Thread david
On Mon, 22 Oct 2007, Crispin Cowan wrote: Suffice it to say that there are a variety of reasons why someone either cannot re-compile a kernel, or just does not want to recompile a kernel. This change to LSM removes their choice to use modules others than those provided by their distro vendor.

[PATCH] radeonfb: Remove warning with CONFIG_PM=n

2007-10-22 Thread Olof Johansson
Remove warning from powerpc ppc64_defconfig builds: drivers/video/aty/radeon_pm.c:30: warning: 'radeon_reinitialize_M10' declared 'static' but never defined It's used only under CONFIG_PM, and only with CONFIG_X86 before it is defined, so the forward declaration can be moved under the ifdef.

Re: [PATCH 02/10] [SG] Update block layer to use sg helpers

2007-10-22 Thread Jens Axboe
On Tue, Oct 23 2007, Heiko Carstens wrote: > On Mon, Oct 22, 2007 at 08:10:56PM +0200, Jens Axboe wrote: > > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> > > --- > > block/ll_rw_blk.c |8 ++-- > > 1 files changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/block/ll_rw_blk.c

Re: LSM conversion to static interface [revert patch]

2007-10-22 Thread Chris Wright
* Arjan van de Ven ([EMAIL PROTECTED]) wrote: > On Sun, 21 Oct 2007 08:57:06 +1000 (EST) > James Morris <[EMAIL PROTECTED]> wrote: > > > On Sat, 20 Oct 2007, Jan Engelhardt wrote: > > > > > >I'd like to note that I asked people who were actually affected, > > > >and had examples of their

Re: LSM conversion to static interface

2007-10-22 Thread Crispin Cowan
Greg KH wrote: > On Mon, Oct 22, 2007 at 10:00:46AM -0700, Thomas Fricaccia wrote: > >> Security is big business, as is compliance with regulatory law. Large >> enterprise customers are NOT going to either void their system support >> contracts, or place themselves in jeopardy of failing a SOX

Re: [PATCH 02/10] [SG] Update block layer to use sg helpers

2007-10-22 Thread Heiko Carstens
On Mon, Oct 22, 2007 at 08:10:56PM +0200, Jens Axboe wrote: > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> > --- > block/ll_rw_blk.c |8 ++-- > 1 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c > index 8025d64..61c2e39 100644 > ---

Re: [PATCH] intel-iommu: fix sg_page()

2007-10-22 Thread Keshavamurthy, Anil S
On Tue, Oct 23, 2007 at 01:59:26PM +0900, FUJITA Tomonori wrote: > drivers/pci/intel-iommu.c: In function 'intel_unmap_sg': > drivers/pci/intel-iommu.c:1987: error: 'struct scatterlist' has no member > named 'page' > drivers/pci/intel-iommu.c: In function 'intel_nontranslate_map_sg': >

Re: IB/ehca: Fix sg_page() fallout

2007-10-22 Thread Jens Axboe
On Mon, Oct 22 2007, Olof Johansson wrote: > More fallout from sg_page changes, found with powerpc allyesconfig: > > drivers/infiniband/hw/ehca/ehca_mrmw.c: In function 'ehca_set_pagebuf_user1': > drivers/infiniband/hw/ehca/ehca_mrmw.c:1779: error: 'struct scatterlist' has > no member named

Re: [PATCH] intel-iommu: fix sg_page()

2007-10-22 Thread Jens Axboe
On Tue, Oct 23 2007, FUJITA Tomonori wrote: > drivers/pci/intel-iommu.c: In function 'intel_unmap_sg': > drivers/pci/intel-iommu.c:1987: error: 'struct scatterlist' has no member > named 'page' > drivers/pci/intel-iommu.c: In function 'intel_nontranslate_map_sg': > drivers/pci/intel-iommu.c:2013:

Re: LSM conversion to static interface [revert patch]

2007-10-22 Thread Arjan van de Ven
On Tue, 23 Oct 2007 14:56:52 +1000 (EST) James Morris <[EMAIL PROTECTED]> wrote: > On Mon, 22 Oct 2007, Arjan van de Ven wrote: > > > @@ -4895,6 +4908,7 @@ static struct security_operations selinu > > .sem_semop =selinux_sem_semop, > > > > .register_security = > >

[PATCH] intel-iommu: fix sg_page()

2007-10-22 Thread FUJITA Tomonori
drivers/pci/intel-iommu.c: In function 'intel_unmap_sg': drivers/pci/intel-iommu.c:1987: error: 'struct scatterlist' has no member named 'page' drivers/pci/intel-iommu.c: In function 'intel_nontranslate_map_sg': drivers/pci/intel-iommu.c:2013: error: 'struct scatterlist' has no member named

Re: LSM conversion to static interface [revert patch]

2007-10-22 Thread James Morris
On Mon, 22 Oct 2007, Arjan van de Ven wrote: > @@ -4895,6 +4908,7 @@ static struct security_operations selinu > .sem_semop =selinux_sem_semop, > > .register_security =selinux_register_security, > + .unregister_security =

[M68KNOMMU]: cleanup m68knommu timer code

2007-10-22 Thread Greg Ungerer
Reduce the function pointer mess of the m68knommu timer code. Call direct to the local hardware's timer setup, and expose the local common timer interrupt handler to the lower level hardware timer. Ultimately this will save definitions of all these functions across all the platform code to setup

[M68KNOMMU]: fix make archclean

2007-10-22 Thread Greg Ungerer
Remove build reference to arch/m68knommu/boot directory, it doesn't exist. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/Makefile linux-2.6.23-uc0/arch/m68knommu/Makefile --- linux-2.6.23/arch/m68knommu/Makefile2007-10-19 10:30:58.0

[M68KNOMMU]: new style ColdFire UART driver

2007-10-22 Thread Greg Ungerer
A new style serial driver for the Freescale ColdFire UART to replace the old style one currently in the tree (drivers/serial/mcfserial.c). Currently this UART is only found in the ColdFire CPU family of parts (thus I prefixed this patch [M68KNOMMU]). This has been around for a long while now,

[M68KNOMMU]: improve mii_do_cmd code in FEC driver

2007-10-22 Thread Greg Ungerer
From: Philippe De Muyter <[EMAIL PROTECTED]> Improve the readability of mii_do_cmd(). Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/drivers/net/fec.c linux-2.6.23-uc0/drivers/net/fec.c ---

[M68KNOMMU]: remove use of undefined symbols in setup.c

2007-10-22 Thread Greg Ungerer
Remove use of undefined symbols CONFIG_TELOS, CONFIG_M68EZ328ADS and CONFIG_ALMA_ANS. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/kernel/setup.c linux-2.6.23-uc0/arch/m68knommu/kernel/setup.c --- linux-2.6.23/arch/m68knommu/kernel/setup.c

[M68KNOMMU]: fix syscall restart handling

2007-10-22 Thread Greg Ungerer
Fix system call restart handling. We can call directly to the restart handler, no need to back track through trap that isn't even implemented on m68knommu. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/kernel/signal.c

[M68KNOMMU]: remove use of undefined symbol CONFIG_DISKtel

2007-10-22 Thread Greg Ungerer
Remove use of undefined symbol CONFIG_DISKtel. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/include/asm-m68knommu/mcfuart.h linux-2.6.23-uc0/include/asm-m68knommu/mcfuart.h --- linux-2.6.23/include/asm-m68knommu/mcfuart.h2007-10-19 10:21:30.0

[M68KNOMMU]: add make support for Savant/Rosie1 board

2007-10-22 Thread Greg Ungerer
From: Wilson Callan <[EMAIL PROTECTED]> Add make support for the Savant/Rosie1 board. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/Makefile linux-2.6.23-uc0/arch/m68knommu/Makefile --- linux-2.6.23/arch/m68knommu/Makefile2007-10-19

[M68KNOMMU]: updated defconfig

2007-10-22 Thread Greg Ungerer
Updated defconfig with new options for m68knommu. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/defconfig linux-2.6.23-uc0/arch/m68knommu/defconfig --- linux-2.6.23/arch/m68knommu/defconfig 2007-10-19 10:30:58.0 +1000 +++

[M68KNOMMU]: local module/elf definitions

2007-10-22 Thread Greg Ungerer
Up to now m68knommu has been using the asm-m68k/module.h instead of defining its own. There are recent changes there that we don't need (fixups specifically). We don't need much support here so it makes sense to have an m68knommu specific one now. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]>

[M68KNOMMU]: no separate stack region to report at startup

2007-10-22 Thread Greg Ungerer
There is no separate stack region addresses to print at startup time, so remove it from the debug listing Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/kernel/setup.c linux-2.6.23-uc0/arch/m68knommu/kernel/setup.c ---

[M68KNOMMU]: add config support for Savant/Rosie1 board

2007-10-22 Thread Greg Ungerer
From: Wilson Callan <[EMAIL PROTECTED]> Add configure support for the Savant/Rosie1 board. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/arch/m68knommu/Kconfig linux-2.6.23-uc0/arch/m68knommu/Kconfig --- linux-2.6.23/arch/m68knommu/Kconfig 2007-10-19

[M68KNOMMU]: improve code formating FEC driver

2007-10-22 Thread Greg Ungerer
From: Philippe De Muyter <[EMAIL PROTECTED]> Indent all the `else' the same way. Remove some unecesary white space. Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]> Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/drivers/net/fec.c

[M68KNOMMU]: define __clear_user macro

2007-10-22 Thread Greg Ungerer
From: Matt Waddel <[EMAIL PROTECTED]> Define __clear_user macro, consistent with other architectures. fs/signalfd.c won't compile without it. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp linux-2.6.23/include/asm-m68knommu/uaccess.h

[M68KNOMMU]: fix syscall tracing

2007-10-22 Thread Greg Ungerer
From: Matt Waddel <[EMAIL PROTECTED]> Fix the system call code for handling syscall tracing, so strace and gdbserver work properly. This fix originally developed by Philippe De Muyter and Stuart Hughes. Signed-off-by: Greg Ungerer <[EMAIL PROTECTED]> --- diff -Naurp

IB/ehca: Fix sg_page() fallout

2007-10-22 Thread Olof Johansson
More fallout from sg_page changes, found with powerpc allyesconfig: drivers/infiniband/hw/ehca/ehca_mrmw.c: In function 'ehca_set_pagebuf_user1': drivers/infiniband/hw/ehca/ehca_mrmw.c:1779: error: 'struct scatterlist' has no member named 'page' drivers/infiniband/hw/ehca/ehca_mrmw.c: In

[PATCH] Allow sysfs_remove_group() to be called on non-added groups

2007-10-22 Thread Michael Ellerman
It would be nice to be able to do: for_each_thing(thing) { error = sysfs_create_group(>kobj, attrs); if (error) { for_each_thing(thing) sysfs_remove_group(>kobj, attrs); return error; } } But there's a BUG_ON() in

Re: [PATCH -v2 4/7] RT overloaded runqueues accounting

2007-10-22 Thread Paul Jackson
Steven wrote: > +void cpuset_rt_set_overload(struct task_struct *tsk, int cpu) > +{ > + cpu_set(cpu, task_cs(tsk)->rt_overload); > +} Question for Steven: What locks are held when cpuset_rt_set_overload() is called? Questions for Paul Menage: Does 'tsk' need to be locked for the above

Re: [RFC] full suspend/resume support for i915 DRM driver

2007-10-22 Thread Jesse Barnes
On Friday, October 19, 2007, Jesse Barnes wrote: > Dave can you take a look at the new flag and also see what you think > about supporting suspend/resume in the event X hasn't started yet? > There's some #if 0'd code to support that case, but I haven't tested > it. Ok Dave, this one's been

[PATCH] Fix warning in mm/slub.c

2007-10-22 Thread Olof Johansson
Hi, "Make kmem_cache_node for SLUB on memory online to avoid panic" introduced the following: mm/slub.c:2737: warning: passing argument 1 of 'atomic_read' from incompatible pointer type Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> diff --git a/mm/slub.c b/mm/slub.c index

Re: BUG in: Driver core: convert block from raw kobjects to core devices

2007-10-22 Thread Alan Stern
On Tue, 23 Oct 2007, Kay Sievers wrote: > There is definitely something wrong, I tried all sorts of options now, > and a second machine, and I can never get the behavior you see. I even > booted with init=/bin/sh. > But true, looking at the kobject debugging for loop devices, and usb > storage

Re: LSM conversion to static interface [revert patch]

2007-10-22 Thread Arjan van de Ven
On Sun, 21 Oct 2007 08:57:06 +1000 (EST) James Morris <[EMAIL PROTECTED]> wrote: > On Sat, 20 Oct 2007, Jan Engelhardt wrote: > > > >I'd like to note that I asked people who were actually affected, > > >and had examples of their real-world use to step forward and > > >explain their use, and that

powerpc: Fix fallout from sg_page() changes

2007-10-22 Thread Olof Johansson
Fix fallout from 18dabf473e15850c0dbc8ff13ac1e2806d542c15: In file included from include/linux/dma-mapping.h:52, from drivers/base/dma-mapping.c:10: include/asm/dma-mapping.h: In function 'dma_map_sg': include/asm/dma-mapping.h:288: error: 'struct scatterlist' has no member named

Re: [linux-usb-devel] USB HCD: avoid duplicate local_irq_disable()

2007-10-22 Thread Alan Stern
On Tue, 23 Oct 2007, Arnd Bergmann wrote: > usb_hcd_flush_endpoint() has a retry loop that starts with a spin_lock_irq(), > but only gives up the spinlock, not the irq_disable before jumping to the > rescan label. > > Split the spin_lock_irq into the retryable part and the local_irq_disable() >

Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.

2007-10-22 Thread Pete Zaitcev
On Fri, 19 Oct 2007 20:40:35 +0300, Vitaliy Ivanov <[EMAIL PROTECTED]> wrote: Hi, Vitaly, I added you on cc: for the 2.6 cleanup. Please double-check what I'm doing there and use it for your 2.4 version. I hope my intentions get clearer with an example. Now, about the specific question: > Static

Re: futex strangeness in 2.6.23-mm1/UML

2007-10-22 Thread Jeff Dike
On Mon, Oct 22, 2007 at 09:38:12PM -0400, Rik van Riel wrote: > Wrt. the UML failures that Miklos is seeing, I imagine UML needs > to do some similar tricks. UML is just an architecture - it has no need of such tricks (although it does need to keep track of host pids, but these are in

Re: [PATCH 1/2] irq_flags_t: intro and core annotations

2007-10-22 Thread Herbert Xu
Jeff Garzik <[EMAIL PROTECTED]> wrote: > > Let me add to the chorus of voices: I continually see two cases where > real bugs crop up: > > 1) hacker uses spin_lock_irq() in incorrect context (where it is not > safe to do a blind enable/disable) > > 2) hacker uses spin_lock_irq() correctly,

USB: FIx locks and urb->status in adutux

2007-10-22 Thread Pete Zaitcev
Two main issues fixed here are: - An improper use of in-struct lock to protect an open count - Use of urb status for -EINPROGRESS Also, along the way: - Change usb_unlink_urb to usb_kill_urb. Apparently there's no need to use usb_unlink_urb whatsoever in this driver, and the old use of

[PATCH -v2 3/7] push RT tasks

2007-10-22 Thread Steven Rostedt
This patch adds an algorithm to push extra RT tasks off a run queue to other CPU runqueues. When more than one RT task is added to a run queue, this algorithm takes an assertive approach to push the RT tasks that are not running onto other run queues that have lower priority. The way this works

[PATCH -v2 7/7] disable CFS RT load balancing.

2007-10-22 Thread Steven Rostedt
Since we now take an active approach to load balancing, we don't need to balance RT tasks via CFS. In fact, this code was found to pull RT tasks away from CPUS that the active movement performed, resulting in large latencies. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> ---

[PATCH -v2 2/7] track highest prio queued on runqueue

2007-10-22 Thread Steven Rostedt
This patch adds accounting to each runqueue to keep track of the highest prio task queued on the run queue. We only care about RT tasks, so if the run queue does not contain any active RT tasks its priority will be considered MAX_RT_PRIO. This information will be used for later patches.

[PATCH -v2 4/7] RT overloaded runqueues accounting

2007-10-22 Thread Steven Rostedt
This patch adds an RT overload accounting system. When a runqueue has more than one RT task queued, it is marked as overloaded. That is that it is a candidate to have RT tasks pulled from it. If CONFIG_CPUSET is defined, then an rt overloaded CPU bitmask is created in the cpusets. The algorithm

[PATCH -v2 6/7] wake up balance RT

2007-10-22 Thread Steven Rostedt
This patch adds pushing of overloaded RT tasks from a runqueue that is having tasks (most likely RT tasks) added to the run queue. TODO: We don't cover the case of waking of new RT tasks (yet). Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c|2 ++ kernel/sched_rt.c

[PATCH -v2 1/7] Add rt_nr_running accounting

2007-10-22 Thread Steven Rostedt
This patch adds accounting to keep track of the number of RT tasks running on a runqueue. This information will be used in later patches. Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> --- kernel/sched.c|1 + kernel/sched_rt.c | 17 + 2 files changed, 18

[PATCH -v2 0/7] New RT Task Balancing -v2

2007-10-22 Thread Steven Rostedt
[ Changes since V1: Updated to git tree 55b70a0300b873c0ec7ea6e33752af56f41250ce Various clean ups suggested by Gregory Haskins, Dmitry Adamushko, and Peter Zijlstra. Biggest change was recommended by Ingo Molnar. This is the use of cpusets for keeping track of RT

[PATCH -v2 5/7] pull RT tasks

2007-10-22 Thread Steven Rostedt
This patch adds the algorithm to pull tasks from RT overloaded runqueues. When a pull RT is initiated, all overloaded runqueues are examined for a RT task that is higher in prio than the highest prio task queued on the target runqueue. If another runqueue holds a RT task that is of higher prio

[IRQ]: Fix synchronize_irq races with IRQ handler

2007-10-22 Thread Herbert Xu
On Mon, Oct 22, 2007 at 07:10:05AM +1000, Benjamin Herrenschmidt wrote: > > Hrm... not on yet. Herbert, care to resend, looks like it fell down the > wrong hole in Linus mailbox :-) Thanks for the reminder Ben. Here it is again: [IRQ]: Fix synchronize_irq races with IRQ handler As it is some

Re: [PATCH] Allow sysfs_remove_group() to be called on non-added groups

2007-10-22 Thread Greg KH
On Tue, Oct 23, 2007 at 12:02:39PM +1000, Michael Ellerman wrote: > On 9/13/07, Michael Ellerman <[EMAIL PROTECTED]> wrote: > > It would be nice to be able to do: > > > > for_each_thing(thing) { > > error = sysfs_create_group(>kobj, attrs); > > if (error) { > >

Re: [PATCH 2/2] CFS CGroup: Report usage

2007-10-22 Thread Balbir Singh
Paul Menage wrote: > Report CPU usage in CFS Cgroup directories > > Adds a cpu.usage file to the CFS cgroup that reports CPU usage in > milliseconds for that cgroup's tasks > > This replaces the "example CPU Accounting CGroup subsystem" that > was merged into mainline last week. > >

Re: Add ACCUSYS RAID driver for Linux i386/x86-64

2007-10-22 Thread Dave Jones
On Mon, Oct 22, 2007 at 07:02:53PM -0700, David Miller wrote: > From: "Peter Chan" <[EMAIL PROTECTED]> > Date: Tue, 23 Oct 2007 09:45:48 +0800 > > > Add linux-scsi and linux-kernel in mail group. > > Please do not post your driver as a "RAR" attachment, > not only are most Linux folks not

Re: futex strangeness in 2.6.23-mm1/UML

2007-10-22 Thread Ian Kent
On Mon, 2007-10-22 at 21:38 -0400, Rik van Riel wrote: > On Mon, 22 Oct 2007 21:11:43 -0400 > Rik van Riel <[EMAIL PROTECTED]> wrote: > > > I have my systems set up to automount my home directory over > > NFS when I log in. When trying to log in to the system with > > 2.6.23-mm1, I get the

CONFIG_ACPI_PROCFS depreciated? new acpid?

2007-10-22 Thread Jeff Chua
Noticed that CONFIG_ACPI_PROCFS and CONFIG_ACPI_PROC_EVENT are indicated as depreciated. Does that imply a new acpid is needed to access /sys instead? Thanks, Jeff. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[PATCH] cifssmb.c: Wrap unused functions in appropriate #ifdef

2007-10-22 Thread Parag Warudkar
fs/cifs/cifssmb.c - get rid of couple of unused function warnings which show up when CONFIG_CIFS_EXPERIMENTAL is not defined - wrap them in #ifdef CONFIG_CIFS_EXPERIMENTAL. Patch against current git. Signed-off-by: Parag Warudkar <[EMAIL PROTECTED]> --- linux-2.6-wk/fs/cifs/cifssmb.c.orig

Re: [patch 1/2] oProfile: oops when profile_pc() return ~0LU

2007-10-22 Thread Linus Torvalds
This set of two patches look ok by me, but I'd like sign-offs.. Also, were they tested and found to fix the problem by Sami? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH 00/13] Use struct path in struct nameidata

2007-10-22 Thread Bharata B Rao
On Mon, Oct 22, 2007 at 03:57:58PM +0200, Christoph Hellwig wrote: > > Any reason we've got this patchset posted by three people now? :) Two reasons actually ! - The set of patches posted by Jan last was on 2.6.23-rc8-mm1. So I thought let me help Andrew a bit by making them available on latest

Re: [PATCH 1/2] CFS CGroup: Code cleanup

2007-10-22 Thread Srivatsa Vaddagiri
On Mon, Oct 22, 2007 at 05:49:20PM -0700, Paul Menage wrote: > Clean up some CFS CGroup code > > - replace "cont" with "cgrp" in a few places in the CFS cgroup code, This change looks good to me. Thanks for doing it. > - use write_uint rather than write for cpu.shares write function Minor

Re: [git pull] lguest: paravirt boot code

2007-10-22 Thread Linus Torvalds
On Mon, 22 Oct 2007, Rusty Russell wrote: > > First attempt at git, so please pull carefully. I've just put the > three i386 boot changes in the repo for the moment. If this works I'll pile > on the 44 lguest patches. Well, it looked ok, but I had already merged the same patches

Re: [PATCH 2/2] CFS CGroup: Report usage

2007-10-22 Thread Srivatsa Vaddagiri
On Mon, Oct 22, 2007 at 05:49:39PM -0700, Paul Menage wrote: > +static u64 cpu_usage_read(struct cgroup *cgrp, struct cftype *cft) > +{ > + struct task_group *tg = cgroup_tg(cgrp); > + int i; > + u64 res = 0; > + for_each_possible_cpu(i) { > + unsigned long flags; > +

Re: [PATCH -v6 0/3] x86 boot: 32-bit boot protocol

2007-10-22 Thread Huang, Ying
Hi, Peter, On Mon, 2007-10-22 at 11:42 -0700, H. Peter Anvin wrote: > This patchset should be rebased on top of Rusty's changes; the rebase is > fairly trivial and I was originally intending to simply commit the > rebase as-is, with the boot protocol version bumped to 2.08. > > However, the

Re: Sparse fix for scsi_request_fn

2007-10-22 Thread Linus Torvalds
On Mon, 22 Oct 2007, Matthew Wilcox wrote: > > Introduce new __holds() macro to tell sparse it's OK to drop and then > reacquire a lock within a function. Use it in scsi_request_fn. Umm. This is why we write things like static void double_lock_balance(struct rq *this_rq, struct rq

[RFC] what the hell is going on with /proc/self?

2007-10-22 Thread Al Viro
What is the proc_base_stuff[] nonsense about? AFAICS, that went in with no reason whatsoever in commit 801199ce805a2412bbcd9bfe213092ec656013dd Author: Eric W. Biederman <[EMAIL PROTECTED]> Date: Mon Oct 2 02:18:48 2006 -0700 Rationale is very weak and patch adds considerable

Re: Add ACCUSYS RAID driver for Linux i386/x86-64

2007-10-22 Thread David Miller
From: "Peter Chan" <[EMAIL PROTECTED]> Date: Tue, 23 Oct 2007 09:45:48 +0800 > Add linux-scsi and linux-kernel in mail group. Please do not post your driver as a "RAR" attachment, not only are most Linux folks not familiar with this archive format, it is also an attachment type rejected by just

Re: [PATCH] Allow sysfs_remove_group() to be called on non-added groups

2007-10-22 Thread Michael Ellerman
On 9/13/07, Michael Ellerman <[EMAIL PROTECTED]> wrote: > It would be nice to be able to do: > > for_each_thing(thing) { > error = sysfs_create_group(>kobj, attrs); > if (error) { > for_each_thing(thing) > sysfs_remove_group(>kobj, attrs); >

RE: Question about free/used memory on Linux

2007-10-22 Thread Ravinandan Arakali (rarakali)
Thanks all for the answers. I could load by specifying lower amount of memory but on the newer platform(does not exist), some of the existing components will not exist while some newer ones will be added. So, it won't be entirely accurate but I could still get some idea by trying it out. Thanks,

Sparse fix for scsi_request_fn

2007-10-22 Thread Matthew Wilcox
Introduce new __holds() macro to tell sparse it's OK to drop and then reacquire a lock within a function. Use it in scsi_request_fn. Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 207f1aa..5e0583a 100644 ---

Re: [PATCH] several returns before unlocking in lmc_ioctl

2007-10-22 Thread Roel Kluin
I think we should keep the lmc_tracing. Use this patch instead. -- Several returns before unlocking in lmc_ioctl Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> --- diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 5ea8772..64eb578 100644 ---

Re: futex strangeness in 2.6.23-mm1/UML

2007-10-22 Thread Rik van Riel
On Mon, 22 Oct 2007 21:11:43 -0400 Rik van Riel <[EMAIL PROTECTED]> wrote: > I have my systems set up to automount my home directory over > NFS when I log in. When trying to log in to the system with > 2.6.23-mm1, I get the messages from above in my syslog, and > the NFS filesystem is not

USB HCD: avoid duplicate local_irq_disable()

2007-10-22 Thread Arnd Bergmann
usb_hcd_flush_endpoint() has a retry loop that starts with a spin_lock_irq(), but only gives up the spinlock, not the irq_disable before jumping to the rescan label. Split the spin_lock_irq into the retryable part and the local_irq_disable() that is only done once as a micro-optimization and

Re: [patch 6/8] pull RT tasks

2007-10-22 Thread Steven Rostedt
-- On Tue, 23 Oct 2007, Dmitry Adamushko wrote: > Hi Steven, > > agreed with your comments in the previous message. Indeed, I missed some > points. > > > On wakeup, we can wake up several RT tasks (as my test case does) and if > > we only push one task, then the other tasks may not migrate over

[PATCH] Unlock before return in p9_mux_poll_start

2007-10-22 Thread Roel Kluin
commit 9f822afc65cc094c905901f9d92bf25042f9ed22 Author: Roel Kluin <[EMAIL PROTECTED]> Date: Tue Oct 23 03:15:55 2007 +0200 Unlock before return in p9_mux_poll_start Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> diff --git a/net/9p/mux.c b/net/9p/mux.c index f140147..c9f0805

Re: futex strangeness in 2.6.23-mm1/UML

2007-10-22 Thread Rik van Riel
On Mon, 22 Oct 2007 17:16:24 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > Oct 22 14:39:01 kenny automount[2299]: cache_readlock: mapent > > > > > cache rwlock lock failed > > > > > Oct 22 14:39:01 kenny automount[2299]: unexpected pthreads > > > > > error: 11 at 65 in cache.c > I

[PATCH] Unlock in iTCO_wdt_start when reboot is disabled

2007-10-22 Thread Roel Kluin
commit 61c31efe4e9c34531666a6c5857ecd19c8db Author: Roel Kluin <[EMAIL PROTECTED]> Date: Tue Oct 23 03:08:27 2007 +0200 Unlock in iTCO_wdt_start when reboot is disabled Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> diff --git a/drivers/watchdog/iTCO_wdt.c

Re: [PATCH 1/2] irq_flags_t: intro and core annotations

2007-10-22 Thread Arnd Bergmann
On Monday 22 October 2007, Thomas Gleixner wrote: > On Mon, 22 Oct 2007, Arnd Bergmann wrote: > > > I tried this as well a few years ago, and I think I hit a few places in > > the early initialization, but nothing unfixable. > > Hmm, lockdep checks this already. If it does not catch it, we need

Re: Resume problems

2007-10-22 Thread Gabriel C
> Also box just froze on level 3 but I got a ACPI error at least which I didn't > got in any other dmesg till now : > ( also patch was tested with HT disabled and Suspend and Hibernation enabled > in kernel and BIOS ) > > ... > > Oct 23 01:51:05 lara [ 273.512374] PM: Removing info for No

[PATCH] several returns before unlocking in lmc_ioctl

2007-10-22 Thread Roel Kluin
Several returns before unlocking in lmc_ioctl Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> --- diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 5ea8772..af7b3e4 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c @@

[PATCH 1/2] CFS CGroup: Code cleanup

2007-10-22 Thread Paul Menage
Clean up some CFS CGroup code - replace "cont" with "cgrp" in a few places in the CFS cgroup code, - use write_uint rather than write for cpu.shares write function Signed-off-by: Paul Menage <[EMAIL PROTECTED]> --- kernel/sched.c | 51 +-- 1

[PATCH 2/2] CFS CGroup: Report usage

2007-10-22 Thread Paul Menage
Report CPU usage in CFS Cgroup directories Adds a cpu.usage file to the CFS cgroup that reports CPU usage in milliseconds for that cgroup's tasks This replaces the "example CPU Accounting CGroup subsystem" that was merged into mainline last week. Signed-off-by: Paul Menage <[EMAIL PROTECTED]>

[PATCH 0/2] CFS CGroup: cleanup & usage reporting

2007-10-22 Thread Paul Menage
These two patches consist of a small cleanup to CFS, and adding a control file reporting CPU usage in milliseconds in each CGroup directory. They're just bundled together since the second patch depends slightly on the cleanups in the first patch. - To unsubscribe from this list: send the line

Re: [PATCH 1/9] Unionfs: security convert lsm into a static interface fix

2007-10-22 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Christoph Hellwig writes: > On Sun, Oct 21, 2007 at 07:51:14PM -0400, Erez Zadok wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > > > ERROR: "security_inode_permission" [fs/unionfs/unionfs.ko] undefined! > > ERROR: "security_file_ioctl"

Re: Interaction between Xen and XFS: stray RW mappings

2007-10-22 Thread David Chinner
On Tue, Oct 23, 2007 at 01:35:14AM +0200, Andi Kleen wrote: > On Tue, Oct 23, 2007 at 08:32:25AM +1000, David Chinner wrote: > > On Mon, Oct 22, 2007 at 09:07:40PM +0200, Andi Kleen wrote: > > > It's hidden now so it causes any obvious failures any more. Just subtle > > > ones which is much worse.

[PATCH] 9p: v9fs_vfs_rename incorrect clunk order

2007-10-22 Thread Latchesar Ionkov
In v9fs_vfs_rename function labels don't match the fids that are clunked. The correct clunk order is clunking newdirfid first and then olddirfid next. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> --- commit 0c9269a1384273b7a409a2163fdf91cd39092889 tree

Re: [PATCH 1/2] irq_flags_t: intro and core annotations

2007-10-22 Thread David Miller
From: Jeff Garzik <[EMAIL PROTECTED]> Date: Mon, 22 Oct 2007 16:47:16 -0400 > Let me add to the chorus of voices: I continually see two cases where > real bugs crop up: > > 1) hacker uses spin_lock_irq() in incorrect context (where it is not > safe to do a blind enable/disable) > > 2) hacker

Re: [PATCH] return hidden bug

2007-10-22 Thread Rene Herman
On 10/23/2007 01:00 AM, Ray Lee wrote: On 10/22/07, Rene Herman <[EMAIL PROTECTED]> wrote: Hugely trust inspiring isn't it -- the amount of eyes and comments you'll get even on trivial patches like this? This development model is working! Go easy with the snarkiness, hmm? It's the trivial

Re: futex strangeness in 2.6.23-mm1/UML

2007-10-22 Thread Andrew Morton
On Mon, 22 Oct 2007 20:07:42 -0400 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Mon, 22 Oct 2007 17:29:26 -0400 > Rik van Riel <[EMAIL PROTECTED]> wrote: > > > On Mon, 22 Oct 2007 22:48:51 +0200 > > Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > > > > > I'm getting a process stuck in

Re: Interaction between Xen and XFS: stray RW mappings

2007-10-22 Thread Zachary Amsden
On Tue, 2007-10-23 at 01:35 +0200, Andi Kleen wrote: > On Tue, Oct 23, 2007 at 08:32:25AM +1000, David Chinner wrote: > > On Mon, Oct 22, 2007 at 09:07:40PM +0200, Andi Kleen wrote: > > > On Mon, Oct 22, 2007 at 11:40:52AM -0700, Jeremy Fitzhardinge wrote: > > > > Andi Kleen wrote: > > > > >

Re: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-22 Thread David Miller
From: Daniel Barkalow <[EMAIL PROTECTED]> Date: Mon, 22 Oct 2007 17:31:04 -0400 (EDT) > It's likewise documented (although maybe arguable in wording) that the > device shouldn't send legacy interrupts if MSI is in use, regardless of > INTX_DISABLE, but this also happens in the field. > > I

Re: Resume problems

2007-10-22 Thread Gabriel C
Gabriel C wrote: > Rafael J. Wysocki wrote: >> On Tuesday, 23 October 2007 01:00, Gabriel C wrote: >>> Rafael J. Wysocki wrote: On Monday, 22 October 2007 18:15, Gabriel C wrote: > Hi all , > > I'm running current git + aic7xxx suspend patch from >

Re: [PATCH 09/10] Change table chaining layout

2007-10-22 Thread Jeff Garzik
Matt Mackall wrote: On Mon, Oct 22, 2007 at 11:52:51PM +0100, Alan Cox wrote: On Mon, 22 Oct 2007 16:47:07 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: On Mon, Oct 22, 2007 at 05:21:30PM -0400, Jeff Garzik wrote: Alan Cox wrote: Why can't we just make the list one item longer than the

  1   2   3   4   5   6   7   8   9   >