Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-21 Thread Srivatsa Vaddagiri
On Wed, Feb 21, 2007 at 05:30:10PM +0300, Oleg Nesterov wrote: > Agreed. Note that we don't need the new "del_work". It is always safe to > use cancel_work_sync() if we know that the workqueue is frozen, it won't > block. We can also do > > if (!cancel_delayed_work()) >

Re: [PATCH 08/29] mm: kmem_cache_objs_to_pages()

2007-02-21 Thread Pekka Enberg
Hi Peter, On 2/21/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: Provide a method to calculate the number of pages needed to store a given number of slab objects (upper bound when considering possible partial and free slabs). So how does this work? You ask the slab allocator how many pages you

Re: [PATCH 2.6.21-rc1] serial: serial_txx9 driver update

2007-02-21 Thread Alan
> +static void serial_txx9_initialize(struct uart_port *port) > +{ > + struct uart_txx9_port *up = (struct uart_txx9_port *)port; > + > + sio_out(up, TXX9_SIFCR, TXX9_SIFCR_SWRST); > +#ifdef CONFIG_CPU_TX49XX > + /* TX4925 BUG WORKAROUND. Accessing SIOC register > + * immediately

Re: Kernel oops in 2.6.18.3 with RAID5

2007-02-21 Thread Andrew Robinson
Update: I think that you can ignore this error. I am getting segmentation faults when I attempt to rebuild the kernel. This is exactly the same problem I had with slackware 10.1 with the 2.6.10 kernel. So I think it is a hardware issue. Memtest86 didn't show any errors after 35 passes, so I'll

[PATCH 14/29] netvm: INET reserves.

2007-02-21 Thread Peter Zijlstra
Add reserves for INET. The two big users seem to be the route cache and ip-fragment cache. Account the route cache to the auxillary reserve. Account the fragments to the skb reserve so that one can at least overflow the fragment cache (avoids fragment deadlocks). Signed-off-by: Peter Zijlstra

Re: 2.6.20-git15 BUG: soft lockup detected on CPU#0! - timers?

2007-02-21 Thread Michal Piotrowski
On 21/02/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: On Tue, 2007-02-20 at 23:37 +0100, Michal Piotrowski wrote: > On 20/02/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-02-20 at 19:54 +0100, Michal Piotrowski wrote: > > > > > > Might it be

[PATCH 15/29] netvm: hook skb allocation to reserves

2007-02-21 Thread Peter Zijlstra
Change the skb allocation api to indicate RX usage and use this to fall back to the reserve when needed. Skbs allocated from the reserve are tagged in skb->emergency. Teach all other skb ops about emergency skbs and the reserve accounting. Use the (new) packet split API to allocate and track

[PATCH 01/29] mm: page allocation rank

2007-02-21 Thread Peter Zijlstra
Introduce page allocation rank. This allocation rank is an measure of the 'hardness' of the page allocation. Where hardness refers to how deep we have to reach (and thereby if reclaim was activated) to obtain the page. It basically is a mapping from the ALLOC_/gfp flags into a scalar quantity,

[PATCH 22/29] mm: add support for non block device backed swap files

2007-02-21 Thread Peter Zijlstra
A new addres_space_operations method is added: int swapfile(struct address_space *, int) When during sys_swapon() this method is found and returns no error the swapper_space.a_ops will proxy to sis->swap_file->f_mapping->a_ops. The swapfile method will be used to communicate to the

[PATCH 28/29] nfs: enable swap on NFS

2007-02-21 Thread Peter Zijlstra
Provide an ops->swapfile() implementation for NFS. This will set the NFS socket to SOCK_VMIO and run socket reconnect under PF_MEMALLOC as well as reset SOCK_VMIO before engaging the protocol ->connect() method. PF_MEMALLOC should allow the allocation of struct socket and related objects and the

[PATCH 13/29] netvm: link network to vm layer

2007-02-21 Thread Peter Zijlstra
Hook up networking to the memory reserve. There are two kinds of reserves: skb and aux. - skb reserves are used for incomming packets, - aux reserves are used for processing these packets. The consumers for these reserves are sockets marked with: SOCK_VMIO Such sockets are to be used to

[PATCH 11/29] net: packet split receive api

2007-02-21 Thread Peter Zijlstra
Add some packet-split receive hooks. For one this allows to do NUMA node affine page allocs. Later on these hooks will be extended to do emergency reserve allocations for fragments. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- drivers/net/e1000/e1000_main.c |8 ++--

[PATCH 06/29] mm: __GFP_EMERGENCY

2007-02-21 Thread Peter Zijlstra
__GFP_EMERGENCY will allow the allocation to disregard the watermarks, much like PF_MEMALLOC. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/gfp.h |7 ++- mm/internal.h | 10 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) Index:

[PATCH 27/29] nfs: disable data cache revalidation for swapfiles

2007-02-21 Thread Peter Zijlstra
Do as Trond suggested: http://lkml.org/lkml/2006/8/25/348 Disable NFS data cache revalidation on swap files since it doesn't really make sense to have other clients change the file while you are using it. Thereby we can stop setting PG_private on swap pages, since there ought to be no further

[PATCH 12/29] net: remove alloc_skb_from_cache

2007-02-21 Thread Peter Zijlstra
Lets get rid of the unused alloc_skb_from_cache() thing. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/skbuff.h |3 -- net/core/dev.c |1 net/core/skbuff.c | 71 ++--- 3 files changed, 11 insertions(+), 64

[PATCH 23/29] mm: methods for teaching filesystems about PG_swapcache pages

2007-02-21 Thread Peter Zijlstra
In order to teach filesystems to handle swap cache pages, two new page functions are introduced: pgoff_t page_file_index(struct page *); struct address_space *page_file_mapping(struct page *); page_file_index - gives the offset of this page in the file in PAGE_CACHE_SIZE blocks. Like

[PATCH 17/29] netvm: prevent a TCP specific deadlock

2007-02-21 Thread Peter Zijlstra
It could happen that all !SOCK_VMIO sockets have buffered so much data that we're over the global rmem limit. This will prevent SOCK_VMIO buffers from receiving data, which will prevent userspace from running, which is needed to reduce the buffered data. Signed-off-by: Peter Zijlstra <[EMAIL

[PATCH 03/29] mm: allow PF_MEMALLOC from softirq context

2007-02-21 Thread Peter Zijlstra
Allow PF_MEMALLOC to be set in softirq context. When running softirqs from a borrowed context save current->flags, ksoftirqd will have its own task_struct. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- kernel/softirq.c |3 +++ mm/internal.h| 14 -- 2 files changed,

[PATCH 00/29] swap over networked storage -v11

2007-02-21 Thread Peter Zijlstra
(patches against 2.6.20-mm1) There is a fundamental deadlock associated with paging; when writing out a page to free memory requires free memory to complete. The usually solution is to keep a small amount of memory available at all times so we can overcome this problem. This however assumes the

Re: [PATCH 02/29] mm: slab allocation fairness

2007-02-21 Thread Pekka Enberg
On 2/21/07, Peter Zijlstra <[EMAIL PROTECTED]> wrote: [AIM9 results go here] Yes please. I would really like to know what we gain by making the slab even more complex. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[PATCH 04/29] mm: serialize access to min_free_kbytes

2007-02-21 Thread Peter Zijlstra
There is a small race between the procfs caller and the memory hotplug caller of setup_per_zone_pages_min(). Not a big deal, but the next patch will add yet another caller. Time to close the gap. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- mm/page_alloc.c | 16 +--- 1

[PATCH 08/29] mm: kmem_cache_objs_to_pages()

2007-02-21 Thread Peter Zijlstra
Provide a method to calculate the number of pages needed to store a given number of slab objects (upper bound when considering possible partial and free slabs). Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/linux/slab.h |1 + mm/slab.c|6 ++ 2 files

[PATCH 20/29] uml: rename arch/um remove_mapping()

2007-02-21 Thread Peter Zijlstra
When 'include/linux/mm.h' includes 'include/linux/swap.h', the global remove_mapping() definition clashes with the arch/um one. Rename the arch/um one. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> Acked-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/physmem.c |6 +++--- 1 file

[PATCH 07/29] mm: allow mempool to fall back to memalloc reserves

2007-02-21 Thread Peter Zijlstra
Allow the mempool to use the memalloc reserves when all else fails and the allocation context would otherwise allow it. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- mm/mempool.c | 10 ++ 1 file changed, 10 insertions(+) Index: linux-2.6-git/mm/mempool.c

[PATCH 18/29] netfilter: notify about NF_QUEUE vs emergency skbs

2007-02-21 Thread Peter Zijlstra
Emergency skbs should never touch user-space, however NF_QUEUE is fully user configurable. Notify the user of his mistake and try to continue. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- net/netfilter/core.c |5 + 1 file changed, 5 insertions(+) Index:

[PATCH 16/29] netvm: filter emergency skbs.

2007-02-21 Thread Peter Zijlstra
Toss all emergency packets not for a SOCK_VMIO socket. This ensures our precious memory reserve doesn't get stuck waiting for user-space. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/net/sock.h |3 +++ 1 file changed, 3 insertions(+) Index: linux-2.6-git/include/net/sock.h

[PATCH 2.6.21-rc1] serial: serial_txx9 driver update

2007-02-21 Thread Atsushi Nemoto
Update the serial_txx9 driver. * Use platform_device. * Fix and cleanup suspend/resume codes. Signed-off-by: Atsushi Nemoto <[EMAIL PROTECTED]> --- diff --git a/drivers/serial/serial_txx9.c b/drivers/serial/serial_txx9.c index f4440d3..124d056 100644 --- a/drivers/serial/serial_txx9.c +++

Re: High CPU usage with sata_nv

2007-02-21 Thread Matthew Fredrickson
On Feb 20, 2007, at 9:43 PM, Robert Hancock wrote: Matthew Fredrickson wrote: I have noticed something that might be related as well. I am working on a device driver that would have periodic data errors due to exceptionally long interrupt handling latency. I have come to the point that I

Re: 2.6.20-git15 BUG: soft lockup detected on CPU#0! - timers?

2007-02-21 Thread Thomas Gleixner
On Tue, 2007-02-20 at 23:37 +0100, Michal Piotrowski wrote: > On 20/02/07, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-02-20 at 19:54 +0100, Michal Piotrowski wrote: > > > > > > Might it be 6ba9b346e1e0eca65ec589d32de3a9fe32dc5de6 commit? > > > > I doubt that it is, but can you

Re: [BUG] PATA_PCMCIA does not work

2007-02-21 Thread Manuel Lauss
On Wed, Feb 21, 2007 at 03:37:29PM +, Alan wrote: > Does this fix the oops ? > > Alan > > > diff -u --new-file --recursive --exclude-from /usr/src/exclude > linux.vanilla-2.6.20-mm2/drivers/ata/pata_pcmcia.c > linux-2.6.20-mm2/drivers/ata/pata_pcmcia.c > ---

Re: [PATCH 09/29] selinux: tag avc cache alloc as non-critical

2007-02-21 Thread James Morris
On Wed, 21 Feb 2007, Peter Zijlstra wrote: > Failing to allocate a cache entry will only harm performance. > > Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> > --- > security/selinux/avc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: James Morris <[EMAIL PROTECTED]>

Re: SATA problems

2007-02-21 Thread Pablo Sebastian Greco
Tejun Heo wrote: Pablo Sebastian Greco wrote: Tejun Heo wrote: * Pablo, the bug you saw was bad interaction between blacklisted NCQ device and dynamic queue depth adjustment. Patches are submitted to fix the problem. Just drop the blacklist patch. Your drives should work fine in NCQ

Re: [PATCH] [MTD] CHIPS: oops in cfi_amdstd_sync

2007-02-21 Thread Josh Boyer
On Wed, 2007-02-21 at 14:54 +, Jörn Engel wrote: > On Tue, 20 February 2007 17:46:13 -0800, Vijay Sampath wrote: > > > > The files cfi_cmdset_0002.c and cfi_cmdset_0020.c do not initialize > > their wait queues like is done in cfi_cmdset_0001.c. This causes an > > oops when the wait queue is

[PATCH] tty: Clarify documentation of ->write()

2007-02-21 Thread Alan
The tty driver write method is different to the usual fops device write methods as the buffer is already in kernel space. Clarify the docs since someone writing a driver made that mistake. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude

[PATCH 26/29] nfs: teach the NFS client how to treat PG_swapcache pages

2007-02-21 Thread Peter Zijlstra
Replace all relevant occurences of page->index and page->mapping in the NFS client with the new page_file_index() and page_file_mapping() functions. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> Cc: Trond Myklebust <[EMAIL PROTECTED]> --- fs/nfs/file.c |4 ++-- fs/nfs/internal.h |

[PATCH 19/29] netvm: skb processing

2007-02-21 Thread Peter Zijlstra
In order to make sure emergency packets receive all memory needed to proceed ensure processing of emergency skbs happens under PF_MEMALLOC. Use the (new) sk_backlog_rcv() wrapper to ensure this for backlog processing. Skip taps, since those are user-space again. Signed-off-by: Peter Zijlstra

Re: [PATCH] free swap space when (re)activating page

2007-02-21 Thread Al Boldi
Rik van Riel wrote: > Rik van Riel wrote: > > ... because I think this is what my patch does :) > > Never mind, I see it now. > > The attached patch should be correct. Your patch seems to improve the situation a little bit, but the numbers still look weird, especially for swap-in, which gets

[PATCH 10/29] net: wrap sk->sk_backlog_rcv()

2007-02-21 Thread Peter Zijlstra
Wrap calling sk->sk_backlog_rcv() in a function. This will allow extending the generic sk_backlog_rcv behaviour. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- include/net/sock.h |5 + net/core/sock.c |4 ++-- net/ipv4/tcp.c |2 +- net/ipv4/tcp_timer.c |2

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-02-21 Thread Jean Delvare
Hi Matthew, On Tue, 20 Feb 2007 15:18:13 +, Matthew Garrett wrote: > On Sun, Feb 18, 2007 at 06:38:05PM +0100, Jean Delvare wrote: > > > ACPI is broken here, not k8temp, so let's fix ACPI instead. ACPI > > doesn't conflict with only k8temp, but with virtually all hardware > > monitoring

[PATCH 24/29] nfs: remove mempools

2007-02-21 Thread Peter Zijlstra
With the introduction of the shared dirty page accounting in .19, NFS should not be able to surpise the VM with all dirty pages. Thus it should always be able to free some memory. Hence no more need for mempools. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> Cc: Trond Myklebust <[EMAIL

[PATCH 05/29] mm: emergency pool

2007-02-21 Thread Peter Zijlstra
Provide means to reserve a specific amount pages. The emergency pool is separated from the min watermark because ALLOC_HARDER and ALLOC_HIGH modify the watermark in a relative way and thus do not ensure a strict minimum. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> ---

[PATCH 25/29] nfs: only use stable storage for swap

2007-02-21 Thread Peter Zijlstra
unstable writes don't make sense for swap pages. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> Cc: Trond Myklebust <[EMAIL PROTECTED]> --- fs/nfs/write.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6-git/fs/nfs/write.c

[PATCH 21/29] mm: prepare swap entry methods for use in page methods

2007-02-21 Thread Peter Zijlstra
Move around the swap entry methods in preparation for use from page methods. Also provide a function to obtain the swap_info_struct backing a swap cache page. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> CC: Trond Myklebust <[EMAIL PROTECTED]> --- include/linux/mm.h |8

[PATCH 02/29] mm: slab allocation fairness

2007-02-21 Thread Peter Zijlstra
The slab allocator has some unfairness wrt gfp flags; when the slab cache is grown the gfp flags are used to allocate more memory, however when there is slab cache available (in partial or free slabs, per cpu caches or otherwise) gfp flags are ignored. Thus it is possible for less critical slab

[PATCH 29/29] balance_dirty_pages() vs throttle_vm_writeout() deadlock

2007-02-21 Thread Peter Zijlstra
If we have a lot of dirty memory and hit the throttle in balance_dirty_pages() we (potentially) generate a lot of writeback and unstable pages, if however during this writeback we need to reclaim a bit, we might hit throttle_vm_writeout(), which might delay us until the combined total of

[PATCH 09/29] selinux: tag avc cache alloc as non-critical

2007-02-21 Thread Peter Zijlstra
Failing to allocate a cache entry will only harm performance. Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]> --- security/selinux/avc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6-git/security/selinux/avc.c

cat problem in tiny_tty driver (the source included)

2007-02-21 Thread Mockern
I tried to check cat operations for tiny_tty driver from LDD book. What is wrong with cat operation here? Here is the output from strace cat hello > /dev/my_tty1 [EMAIL PROTECTED]:/home# strace cat hello > /dev/my_tty1 execve("/bin/cat", ["cat", "hello"], [/* 12 vars */]) = 0 brk(0)

Re: how to limit flip buffer size in tty driver?

2007-02-21 Thread Alan
On Tue, 20 Feb 2007 15:50:27 +0300 (MSK) "Mockern" <[EMAIL PROTECTED]> wrote: > Thank you Alan for your respond, > > Could you help me with a problem which I have with my tty driver, please? > > It does not work with Linux cat operation (but there are no problems to > write, read with select

Re: PCI riser cards and PCI irq routing, etc

2007-02-21 Thread Udo van den Heuvel
Krzysztof Halasa wrote: > Udo van den Heuvel <[EMAIL PROTECTED]> writes: > >> So if my non-VIA riser card can use DN 19 and also INT_A things should work? > > That INT_A may be INT_A from their (motherboard) point of view, but > the riser card doesn't know about that, it only knows INTs as seen

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-02-21 Thread Jean Delvare
Hi Luca, On Tue, 20 Feb 2007 16:33:56 +0100, Luca Tettamanti wrote: > Motherboard vendors usually provide tools for $(TheOtherOS) that can > read from all thermal / fan / voltage / whatever sensors, so I guess > it's possible to make the ACPI driver and the "raw" one play nice with > each

Re: 2.6.21-rc1 build error on ARM with modular IPV6

2007-02-21 Thread Michael-Luke Jones
Apologies for brain failure, below should read 2.6.21-rc1. Everything else should be correct. Michael-Luke Jones On 21 Feb 2007, at 10:50, M.L. Jones wrote: NB: I'm not subscribed so please CC me in any reply! Thanks... Hi there, Just attempted a build of vanilla 2.6.20-rc1 and got a

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-02-21 Thread Jean Delvare
Hi Chuck, On Tue, 20 Feb 2007 10:08:26 -0500, Chuck Ebbert wrote: > I blacklisted the k8temp driver (and the out-of-tree k8_edac driver > in Fedora) and the temps were still volatile, so that's not causing > it. Since then I've upgraded the system BIOS from F.06 to F.27 and > the problems _may_

Re: Serial related oops

2007-02-21 Thread Jose Goncalves
Jose Goncalves wrote: > New devolpments. > I have upgraded to 2.6.16.41, applied a patch sent by Frederik that > removed the changed made in http://lkml.org/lkml/2005/6/23/266 and > activated some more kernel debug, i.e., CONFIG_KALLSYMS_ALL, > CONFIG_DEBUG_KERNEL, CONFIG_DETECT_SOFTLOCKUP,

Re: [PATCH] [MTD] CHIPS: oops in cfi_amdstd_sync

2007-02-21 Thread Jörn Engel
On Tue, 20 February 2007 17:46:13 -0800, Vijay Sampath wrote: > > The files cfi_cmdset_0002.c and cfi_cmdset_0020.c do not initialize > their wait queues like is done in cfi_cmdset_0001.c. This causes an > oops when the wait queue is accessed. I have copied the code from > cfi_cmdset_0001.c that

Re: [RFC PATCH(Experimental) 0/4] Freezer based Cpu-hotplug

2007-02-21 Thread Gautham R Shenoy
Rafael, On Sat, Feb 17, 2007 at 12:24:45PM +0100, Rafael J. Wysocki wrote: > > Pavel, do you think we can remove the PF_NOFREEZE from bluetooth, BTW? The create_workqueue by default marks the worker_threads to be non_freezable. For cpu hotplug, all workqueues can be frozen except the "kthread"

[PATCH 1/1] PXAFB: Support for backlight control

2007-02-21 Thread Rodolfo Giometti
Backlight control support for the PXA fram buffer. Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- Each platform should define the backlight properties in its own setup file in "linux/arch/arm/mach-pxa/" as follow: static int pxafb_bl_get_brightness(struct backlight_device *bl_dev)

[PATCH] siimage: DRAC4 note

2007-02-21 Thread Alan
Revised DRAC4 warning as Jeff suggested, this one includes more info about why the problem occurs Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ide/pci/siimage.c

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-21 Thread Gautham R Shenoy
On Wed, Feb 21, 2007 at 05:30:10PM +0300, Oleg Nesterov wrote: > On 02/21, Srivatsa Vaddagiri wrote: > > > > On Tue, Feb 20, 2007 at 11:09:36PM +0300, Oleg Nesterov wrote: > > > > Which caller are you referring to here? Maybe we can decide on the > > > > option after we see the users of

Re: [BUG] PATA_PCMCIA does not work

2007-02-21 Thread Alan
Does this fix the oops ? Alan diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-mm2/drivers/ata/pata_pcmcia.c linux-2.6.20-mm2/drivers/ata/pata_pcmcia.c --- linux.vanilla-2.6.20-mm2/drivers/ata/pata_pcmcia.c 2007-02-20 13:37:58.0 + +++

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-21 Thread Oleg Nesterov
On 02/21, Srivatsa Vaddagiri wrote: > > On Tue, Feb 20, 2007 at 11:09:36PM +0300, Oleg Nesterov wrote: > > > Which caller are you referring to here? Maybe we can decide on the > > > option after we see the users of flush_workqueue() in DOWN_PREPARE. > > > > mm/slab.c:cpuup_callback() > > The

Re: [2.6 patch] drivers/infiniband/hw/cxgb3/: cleanups

2007-02-21 Thread Steve Wise
Thanks Adrian! Acked-by: Steve Wise <[EMAIL PROTECTED]> On Wed, 2007-02-21 at 11:52 +0100, Adrian Bunk wrote: > On Tue, Feb 20, 2007 at 08:43:06AM -0600, Steve Wise wrote: > > On Tue, 2007-02-20 at 01:02 +0100, Adrian Bunk wrote: > > > This patch contains the following possible cleanups: > > >

[PATCH]: Remove __exit from mon_bin_exit & mon_text_exit.

2007-02-21 Thread Prarit Bhargava
Remove __exit from mon_bin_exit & mon_text_exit. Both functions are used in error code paths in __init functions. Resolves MODPOST warnings similar to: `mon_bin_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

Re: [PATCH] net/bridge/br_if.c: fix possible use-after-free in port_carrier_check()

2007-02-21 Thread Oleg Nesterov
On 02/21, Jarek Poplawski wrote: > > > On Wed, 21 Feb 2007 01:19:41 +0300 > > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > > > + p = container_of(work, struct net_bridge_port, carrier_check.work); > > > > > > rtnl_lock(); > > > - p = dev->br_port; > > > - if (!p) > > > - goto done;

Re: [PATCH] EXPORT_SYMBOL() time functions

2007-02-21 Thread Rolf Eike Beer
Arjan van de Ven wrote: > On Wed, 2007-02-21 at 14:12 +0100, Rolf Eike Beer wrote: > > These functions were inlines before > > 8b9365d753d9870bb6451504c13570b81923228f. Now EXPORT_SYMBOL() them to > > allow them to be used in modules again. > > please do not add random exports without users;

Re: [PATCH] net/bridge/br_if.c: fix possible use-after-free in port_carrier_check()

2007-02-21 Thread Oleg Nesterov
On 02/20, Stephen Hemminger wrote: > > On Wed, 21 Feb 2007 01:19:41 +0300 > Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > static void release_nbp(struct kobject *kobj) > > { > > struct net_bridge_port *p > > = container_of(kobj, struct net_bridge_port, kobj); > > + > > +

Re: Serial related oops

2007-02-21 Thread Jose Goncalves
New devolpments. I have upgraded to 2.6.16.41, applied a patch sent by Frederik that removed the changed made in http://lkml.org/lkml/2005/6/23/266 and activated some more kernel debug, i.e., CONFIG_KALLSYMS_ALL, CONFIG_DEBUG_KERNEL, CONFIG_DETECT_SOFTLOCKUP, CONFIG_DEBUG_SLAB,

Re: [PATCH 2/2] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-21 Thread Suparna Bhattacharya
On Mon, Feb 19, 2007 at 01:38:35PM -0800, Zach Brown wrote: > aio: propogate post-EIOCBQUEUED errors to completion event > > This addresses an oops reported by Leonid Ananiev <[EMAIL PROTECTED]> > as archived at http://lkml.org/lkml/2007/2/8/337. > > O_DIRECT kicks off bios and returns

Re: libata FUA revisited

2007-02-21 Thread Robert Hancock
Tejun Heo wrote: Aside from the issue above, as I mentioned elsewhere, lots of NCQ drives don't support non-NCQ FUA writes.. To me, using the NCQ FUA bit on such drives doesn't seem to be a good idea. Maybe I'm just too chicken but it's not like we can gain a lot from doing FUA at this point.

2.6.20-git and 2.6.21-rc1, failed to boot on sata_via

2007-02-21 Thread Jean-Luc Coulon (f5ibh)
Hi, I've an ASUS A8V motherboard with a via chipset: [EMAIL PROTECTED] % lspci 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge 00:00.3 Host

Re: [Ecryptfs-devel] [PATCH] ecryptfs lower_file largefile issue

2007-02-21 Thread Dmitriy Monakhov
Michael Halcrow <[EMAIL PROTECTED]> writes: > On Wed, Feb 21, 2007 at 01:07:22PM +0300, Dmitriy Monakhov wrote: >> Where is largefile issue in ecryptfs. > > Thanks for your thorough work on resolving such issues. We will > integrate your patches and testcases into the next release as soon as > we

[RFC] [PATCH 2/2] s390: SCSI dump kernel and userspace application

2007-02-21 Thread Michael Holzheu
Userspace part of the s390 SCSI dumper. Acked-by: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]> --- arch/s390/Makefile|4 arch/s390/zfcpdump/Makefile |5 arch/s390/zfcpdump/defconfig.zfcpdump | 467

[RFC] [PATCH 1/2] s390: SCSI dump kernel and userspace application

2007-02-21 Thread Michael Holzheu
Kernel part of the s390 SCSI dumper: zcore character device driver. Acked-by: Martin Schwidefsky <[EMAIL PROTECTED]> Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]> --- Documentation/s390/zfcpdump.txt | 41 + arch/s390/Kconfig |7 arch/s390/kernel/early.c|3

[RFC] [PATCH 0/2] s390: SCSI dump kernel and userspace application

2007-02-21 Thread Michael Holzheu
s390 machines (z900 or higher) provide hardware support for creating Linux dumps on SCSI disks. Our current implementation consists of a userspace application running on an special Linux dump kernel, which exploits the s390 hardware support. Since both parts (kernel and userspace) belong together,

Re: [patch 00/21] 2.6.19-stable review

2007-02-21 Thread Stefan Richter
I wrote: > I hope you can extract the patch from this MIME attachment. Probably not unless I attach it for real. -- Stefan Richter -=-=-=== --=- =-=-= http://arcgraph.de/sr/ Subject: [PATCH] Missing critical phys_to_virt in lib/swiotlb.c From: David Moore <[EMAIL PROTECTED]> Date: Sun, 04

Re: [patch 00/21] 2.6.19-stable review

2007-02-21 Thread Stefan Richter
Greg KH wrote: > This is the start of the stable review cycle for the 2.6.19.5 release. > > This will probably be the last release of the 2.6.19-stable series, so > if there are patches that you feel should be applied to that tree, > please let me know. There is one here: "Missing critical

Re: [2.6 patch] drivers/hid/hid-debug.c should #include

2007-02-21 Thread Jiri Kosina
On Wed, 21 Feb 2007, Adrian Bunk wrote: > Every file should include the headers containing the prototypes for > it's global functions. Applied, thanks. -- Jiri Kosina - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[PATCH] allow oom_adj of saintly processes

2007-02-21 Thread Joshua N Pritikin
If the badness of a process is zero then oom_adj>0 has no effect. This patch makes sure that the oom_adj shift actually increases badness points appropriately. I am not subscribed. Please CC me with any comments. Thanks. Signed-off-by: Joshua N. Pritikin <[EMAIL PROTECTED]> ---

Re: [PATCH] EXPORT_SYMBOL() time functions

2007-02-21 Thread Arjan van de Ven
On Wed, 2007-02-21 at 14:12 +0100, Rolf Eike Beer wrote: > These functions were inlines before 8b9365d753d9870bb6451504c13570b81923228f. > Now EXPORT_SYMBOL() them to allow them to be used in modules again. please do not add random exports without users; exports eat up kernel size and memory. At

Re: utrace regressions (was: -mm merge plans for 2.6.21)

2007-02-21 Thread Alexey Dobriyan
On Sat, Feb 17, 2007 at 06:35:31PM -0800, Roland McGrath wrote: > > Looking at mainline x86_64 ptrace code I think hole for u_debugreg[4] > > and [5] is also needed. > > It's not. The utrace_regset for the debugregs already has that behavior > for those two words, so mapping all 8 uarea words to

Re: Linux 2.6.21-rc1

2007-02-21 Thread Thomas Gleixner
On Tue, 2007-02-20 at 20:53 -0800, Linus Torvalds wrote: > But there's a ton of architecture updates (arm, mips, powerpc, x86, you > name it), ACPI updates, and lots of driver work. And just a lot of > cleanups. > > Have fun, Yup. Fun starts in drivers/net/e1000 e1000 is not working anymore.

Re: Linux 2.6.21-rc1

2007-02-21 Thread Faik Uygur
Hi, 21 Şub 2007 Çar 06:53 tarihinde, Linus Torvalds şunları yazmıştı: > Ok, the merge window for 2.6.21 has closed, and -rc1 is out there. CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h CC [M] drivers/char/ip2/ip2main.o In file

Re: [Ecryptfs-devel] [PATCH] ecryptfs lower_file largefile issue

2007-02-21 Thread Michael Halcrow
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Wed, Feb 21, 2007 at 01:07:22PM +0300, Dmitriy Monakhov wrote: > Where is largefile issue in ecryptfs. Thanks for your thorough work on resolving such issues. We will integrate your patches and testcases into the next release as soon as we

[PATCH] EXPORT_SYMBOL() time functions

2007-02-21 Thread Rolf Eike Beer
These functions were inlines before 8b9365d753d9870bb6451504c13570b81923228f. Now EXPORT_SYMBOL() them to allow them to be used in modules again. Signed-off-by: Rolf Eike Beer <[EMAIL PROTECTED]> --- Sent once again, this time without PGP signature so importing into git is easier. commit

[PATCH] EXPORT_SYMBOL() time functions

2007-02-21 Thread Rolf Eike Beer
These functions were inlines before 8b9365d753d9870bb6451504c13570b81923228f. Now EXPORT_SYMBOL() them to allow them to be used in modules again. Signed-off-by: Rolf Eike Beer <[EMAIL PROTECTED]> --- commit 0a543599f4a9ea02b587bda26e0e11ae94774f61 tree aa815eab413d2575925b0964a1fa01d41439b26b

[PATCH 4/4] NOMMU: Make it possible for RomFS to use MTD devices directly

2007-02-21 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Change RomFS so that it can use MTD devices directly - without the intercession of the block layer - as well as using block devices. This permits RomFS: (1) to use the MTD direct mapping facility available under NOMMU conditions if the underlying

[PATCH 3/4] NOMMU: Generalise the handling of MTD-specific superblocks

2007-02-21 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Generalise the handling of MTD-specific superblocks so that JFFS2 and ROMFS can both share it. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- drivers/mtd/Makefile |2 drivers/mtd/mtdsuper.c| 231

[PATCH 1/4] NOMMU: Present backing device capabilities for MTD chardevs

2007-02-21 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Present backing device capabilities for MTD character device files to allow NOMMU mmap to do direct mapping where possible. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- drivers/mtd/Makefile |2 + drivers/mtd/chips/map_ram.c | 17

[PATCH 2/4] NOMMU: Add support for direct mapping through mtdconcat if possible

2007-02-21 Thread David Howells
From: David Howells <[EMAIL PROTECTED]> Add support for direct mapping through mtdconcat, if possible, by attaching the samebacking_dev_info structure to the master. It has some restrictions: (1) It won't permit direct mapping of concatenated devices that have differing BDIs. (2) It

Re: GPL vs non-GPL device drivers

2007-02-21 Thread Helge Hafting
Jan-Benedict Glaw wrote: On Tue, 2007-02-20 15:36:56 +0100, Helge Hafting <[EMAIL PROTECTED]> wrote: If you have a need for "secret" source code, stuff most of it in userspace. Make the drivers truly minimal; perhaps their open/closed status won't matter that much when the bulk of the code

Re: patch x86_64-fix-2.6.18-regression-ptrace_oldsetoptions-should-be-accepted.patch queued to -stable tree

2007-02-21 Thread Blaisorblade
On Wednesday 21 February 2007 00:41, [EMAIL PROTECTED] wrote: > This is a note to let you know that we have just queued up the patch titled > > Subject: x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should > be accepted > > to the 2.6.18-stable tree. Its filename is Since you are

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-21 Thread Jörn Engel
On Wed, 21 February 2007 05:36:22 +0100, Juan Piernas Canovas wrote: > > > >I don't see how you can guarantee 50% free segments. Can you explain > >that bit? > It is quite simple. If 50% of your segments are busy, and the other 50% > are free, and the file system needs a new segment, the cleaner

Re: PCI riser cards and PCI irq routing, etc

2007-02-21 Thread Krzysztof Halasa
Udo van den Heuvel <[EMAIL PROTECTED]> writes: > So if my non-VIA riser card can use DN 19 and also INT_A things should work? That INT_A may be INT_A from their (motherboard) point of view, but the riser card doesn't know about that, it only knows INTs as seen at its PCI edge connector (so this

[PATCH] unionfs: fix memory leak when calling krealloc

2007-02-21 Thread Pekka J Enberg
From: Pekka Enberg <[EMAIL PROTECTED]> We must not overwrite the same pointer that is passed to krealloc() because it can return NULL without freeing the buffer. Fixes a memory leak introduced by me. Cc: Josef Sipek <[EMAIL PROTECTED]> Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> ---

Re: 2.6.20-git13 kernel BUG at /mnt/md0/devel/linux-git/kernel/time/tick-sched.c:168

2007-02-21 Thread Michal Piotrowski
Michal Piotrowski napisał(a): > On 17/02/07, Alex Riesen <[EMAIL PROTECTED]> wrote: >> Thomas Gleixner, Sat, Feb 17, 2007 16:14:17 +0100: >> > On Sat, 2007-02-17 at 15:47 +0100, Alex Riesen wrote: >> > > > > 164 if (need_resched()) >> > > > > 165 goto end; >> > > >

Re: [PATCH 2/3] Don't change transfer speed while requests are in flight

2007-02-21 Thread Alan
> + * If we are in an interrupt, it should be safe to issue > + * SETFEATURES manually, since there shouldn't be any requests in > + * flight. There may be error recovery going on from a timeout on another processor. I don't see how your code protects against that (and the old code

x86_64: PTRACE_[GS]ET_THREAD_AREA should be accepted

2007-02-21 Thread Paolo 'Blaisorblade' Giarrusso
This patch backports from 2.6.19 a fix to a 2.6.18 regression. Like for PTRACE_OLDSETOPTIONS, we should fix PTRACE_[GS]ET_THREAD_AREA. This had been done already for 2.6.19, so this is for 2.6.18-stable only. This was tested with UML/32bit as API consumer, both before and after this patch. Cc:

Re: [PATCH 1/1] LinuxPPS: Pulse per Second support for Linux

2007-02-21 Thread Rodolfo Giometti
On Mon, Feb 19, 2007 at 06:56:20PM -0800, H. Peter Anvin wrote: > It's not a precondition for a file descriptor, either. There are plenty > of ioctl-only device drivers in existence. > > Furthermore, a file descriptor doesn't imply a device entry. Consider > pipe(2), for example. > > As far

Re: [PATCH] videobuf_qbuf: fix? possible videobuf_queue->stream corruption and lockup

2007-02-21 Thread Adrian Bunk
On Tue, Jan 23, 2007 at 09:10:08PM -0200, Mauro Carvalho Chehab wrote: > Em Ter, 2007-01-23 às 20:57 +0300, Oleg Nesterov escreveu: > > I am pretty sure the bug is real, but the patch may be wrong, please review. > > > > We are doing ->buf_prepare(buf) before adding buf to q->stream list. This >

[-mm patch] i386 mpparse.c: remove an unused variable

2007-02-21 Thread Adrian Bunk
On Sat, Feb 17, 2007 at 09:51:46PM -0800, Andrew Morton wrote: >... > Changes since 2.6.20-mm1: >... > +i386-irq-kill-irq-compression.patch >... > x86 updates >... This patch removes a no longer used variable. Spotted by the GNU C compiler. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> ---

[2.6 patch] drivers/hid/hid-debug.c should #include

2007-02-21 Thread Adrian Bunk
Every file should include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.20-mm2/drivers/hid/hid-debug.c.old2007-02-20 23:07:32.0 +0100 +++ linux-2.6.20-mm2/drivers/hid/hid-debug.c2007-02-21

<    1   2   3   4   5   6   7   8   9   10   >