question regarding the Linux block device cache

2007-03-09 Thread Xin Zhao
Hi, I am working on a file system that allow multiple files to share data blocks. That is, a data block can be shared by two or more files. Now my question is: suppose file A and B share the same data block D. Now a process open file A and read block D, then this process closes file A. If

Re: [PATCH/RFC] Delete JFFS (version 1)

2007-03-09 Thread Stefan Monnier
> I argue that you can count the users (who aren't on 2.4) on one hand, and > developers don't seem to have cared for it in ages. Rather than ask on mailing-lists, it's probably easier to just make the jffs compilation fail (with a #error). This way, if someone uses it, he'll bump into it, no

Re: [patch 2/3] fs: introduce perform_write aop

2007-03-09 Thread Mark Fasheh
On Fri, Mar 09, 2007 at 10:39:13AM +, Christoph Hellwig wrote: > > One problem with this interface is that it cannot be used to write into the > > filesystem by any means other than already-initialised buffers via iovecs. > > So > > prepare/commit have to stay around for non-user data... >

Re: question regarding the Linux block device cache

2007-03-09 Thread Xin Zhao
I read the code and found that a block buffer is not necessarily freed even if the corresponding inode is released. Looks like block buffer can stay around as long as the system still has free memory. Is my understanding correct? -x On 3/9/07, Xin Zhao <[EMAIL PROTECTED]> wrote: Hi, I am

kernel OOPSes when changing DVB-T adapter in 2.6.21-rc3

2007-03-09 Thread CIJOML
Hi, I am trying change Freecom DVB-T dongle with Leadtek DVB-T dongle and I got this OOPS: -- usb 2-3: new high speed USB device using ehci_hcd and address 2 usb 2-3: configuration #1 chosen from 1 choice dvb-usb: found a 'WideView WT-220U PenType Receiver

Re: [PATCH] dvb-core: Fix several locking related problems.

2007-03-09 Thread Johannes Stezenbach
On Sun, Mar 04, 2007 at 05:45:54PM +, Simon Arlott wrote: > Fix several instances of dvb-core functions using mutex_lock_interruptible > and returning -ERESTARTSYS where the calling function will either never > retry or never check the return value. > > These cause a race condition with

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-09 Thread Paul Menage
On 3/9/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: 1. What is the fundamental unit over which resource-management is applied? Individual tasks or individual containers? /me thinks latter. Yes In which case, it makes sense to stick resource control information in the

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Herbert Poetzl
On Fri, Mar 09, 2007 at 11:44:22PM +0530, Srivatsa Vaddagiri wrote: > On Fri, Mar 09, 2007 at 01:48:16AM +0100, Herbert Poetzl wrote: > > > There have been various projects attempting to provide resource > > > management support in Linux, including CKRM/Resource Groups and UBC. > > let me note

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Herbert Poetzl
On Fri, Mar 09, 2007 at 11:25:47AM -0800, Paul Jackson wrote: > > Ease of use maybe. Scripts can be more readily used with a fs-based > > interface. > > And, as I might have already stated, file system API's are a natural > fit for hierarchically shaped data, especially if the nodes in the >

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Herbert Poetzl
On Fri, Mar 09, 2007 at 11:27:07PM +0530, Srivatsa Vaddagiri wrote: > On Fri, Mar 09, 2007 at 01:38:19AM +0100, Herbert Poetzl wrote: > > > 2) you allow a task to selectively reshare namespaces/subsystems with > > >another task, i.e. you can update current->task_proxy to point to > > >a

Re: [PATCH 1/2] rcfs core patch

2007-03-09 Thread Paul Jackson
Herbert wrote: > personally, I'd prefer to avoid hierarchical > structures wherever possible, Sure - avoid them if you like. But sometimes they work out rather well. And file system API's are sometimes the best fit for them. I'm all for choosing the simplest API topology that makes sense. But

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-09 Thread Srivatsa Vaddagiri
I think maybe I didnt communicate what I mean by a container here (although I thought I did). I am referring to a container in a vserver context (set of tasks which share the same namespace). On Fri, Mar 09, 2007 at 02:09:35PM -0800, Paul Menage wrote: > >2. Regarding space savings, if 100 tasks

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-09 Thread Herbert Poetzl
On Sat, Mar 10, 2007 at 12:11:05AM +0530, Srivatsa Vaddagiri wrote: > On Fri, Mar 09, 2007 at 02:16:08AM +0100, Herbert Poetzl wrote: > > On Thu, Mar 08, 2007 at 05:00:54PM +0530, Srivatsa Vaddagiri wrote: > > > On Thu, Mar 08, 2007 at 01:50:01PM +1300, Sam Vilain wrote: > > > > 7. resource

Re: [ckrm-tech] [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-09 Thread Srivatsa Vaddagiri
On Sat, Mar 10, 2007 at 07:32:20AM +0530, Srivatsa Vaddagiri wrote: > Ok, let me see if I can convey what I had in mind better: > > uts_ns pid_ns ipc_ns > \|/ > --- > | nsproxy| > >

[patch] futex: restartable futex_wait

2007-03-09 Thread Nick Piggin
LTP test sigaction_16_24 fails, because it expects sem_wait to be restarted if SA_RESTART is set. sem_wait is implemented with futex_wait, that currently doesn't support being restarted. Ulrich confirms that the call should be restartable. Implement a restart_block method to handle the relative

Re: SATA resume slowness, e1000 MSI warning

2007-03-09 Thread Eric W. Biederman
"Kok, Auke" <[EMAIL PROTECTED]> writes: > Eric W. Biederman wrote: > > [CHOP] > >> Below is an additional set of warnings that should help debug this. >> The old code just got lucky that it triggered a warning when this happens. > > > I'm trying this patch together with the other 2 that you sent

Re: 2.6.21-rc3-mm2: BUG: at drivers/pci/pci.c:679 pci_restore_state during suspend testing

2007-03-09 Thread Eric W. Biederman
Andrew Morton <[EMAIL PROTECTED]> writes: >> On Fri, 9 Mar 2007 01:13:14 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> >> wrote: >> I get the following traces from 2.6.21-rc3-mm2 during the "resume" phase >> of testing with 'echo test > /sys/power/disk && echo disk > >> /sys/power/state': >>

[GIT PATCH] PCI fixes for 2.6.21-rc3

2007-03-09 Thread Greg KH
Here are some PCI fixes against 2.6.21-rc3 They fix a problem that shows up with the libata drivers and fix a number of section mismatches. All of these have been in the -mm tree. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/ The full patches will be

[GIT PATCH] Driver core fixes for 2.6.21-rc3

2007-03-09 Thread Greg KH
Here are some driver core fixes for 2.6.21-rc3. They fix the following thing: - fix reference counting bug when removing any driver module from the system by reverting a previous "fix". - allow older versions of HAL to find network devices even if CONFIG_SYSFS_DEPRECATED is disabled.

[PATCH 1/5] Revert "driver core: refcounting fix"

2007-03-09 Thread Greg Kroah-Hartman
This reverts commit 63ce18cfe685115ff8d341bae4c9204a79043cf0. It was the incorrect fix and causes a reference counting bug whenever any driver module is removed from the system. Mike Galbraith <[EMAIL PROTECTED]> is looking for the real fix for his problem. Signed-off-by: Greg Kroah-Hartman

[PATCH 2/5] Driver core: add device symlink back to sysfs

2007-03-09 Thread Greg Kroah-Hartman
This moves the device symlink back to sysfs even if CONFIG_SYSFS_DEPRECATED is enabled as too many userspace programs (well, HAL), still rely on this link to be present. I will rework the ability for sysfs to change layouts like this in the future, but for now, this patch should fix people's

[PATCH 5/5] kobject: new_device->kref wasn't putted after error in kobject_move()

2007-03-09 Thread Greg Kroah-Hartman
From: Dmitriy Monakhov <[EMAIL PROTECTED]> If error happen we jump to "out" label, in this case new_device not yet became the parent but it wasn't putted. Signed-off-by: Monakhov Dmitriy <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- lib/kobject.c |2 ++ 1

[PATCH 3/5] Remove devfs from MAINTAINERS

2007-03-09 Thread Greg Kroah-Hartman
From: Jörn Engel <[EMAIL PROTECTED]> Remove last remaining trace of devfs. Signed-off-by: Jörn Engel <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- MAINTAINERS |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH 4/5] driver core: export device_rename

2007-03-09 Thread Greg Kroah-Hartman
From: Johannes Berg <[EMAIL PROTECTED]> In wireless we'd like to allow renaming of the phy devices we surface in sysfs. The base wireless code, however, can be built modular and thus we need device_rename exported. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> Signed-off-by: Greg

[PATCH 2/4] pcie: fix section mismatch warning

2007-03-09 Thread Greg Kroah-Hartman
From: Sam Ravnborg <[EMAIL PROTECTED]> Fix following section mismatch warning (when compiled with CONFIG_HOTPLUG=n): WARNING: drivers/pci/built-in.o - Section mismatch: reference to .init.text:pcie_portdrv_probe from .data between 'pcie_portdrv' (at offset 0xe40) and 'pcie_portdrv_err_handler'

[PATCH 1/4] PCI: allow multiple calls to pcim_pin_device()

2007-03-09 Thread Greg Kroah-Hartman
From: Tejun Heo <[EMAIL PROTECTED]> Sanity check in pcim_pin_device() was too restrictive in that it didn't allow multiple calls to the function, which is against the devres philosohpy of fire-and-forget. Track pinned status separately and allow pinning multiple times. Signed-off-by: Tejun Heo

[PATCH 3/4] PCI: aer: fix section mismatch warning

2007-03-09 Thread Greg Kroah-Hartman
From: Sam Ravnborg <[EMAIL PROTECTED]> Fix following section mismatch warning (when compiled with CONFIG_HOTPLUG=n): WARNING: drivers/pci/built-in.o - Section mismatch: reference to .init.text:aer_probe from .data between 'aerdrv' (at offset 0x1608) and 'aer_error_handlers' Warning was fixed

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Valdis . Kletnieks
On Sat, 10 Mar 2007 09:57:32 +1100, Rusty Russell said: > +/* GCC is awesome. */ > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) > \ > + sizeof(typeof(int[1 - 2*!!__builtin_types_compatible_p(typeof(arr), \ >typeof([0]))]))*0) -/* GCC

[PATCH 4/4] pci: fix section mismatch warning

2007-03-09 Thread Greg Kroah-Hartman
From: Sam Ravnborg <[EMAIL PROTECTED]> drivers/pci/search.c caused following section mismatch warning (if compiled with CONFIG_HOTPLUG=n): WARNING: drivers/pci/built-in.o - Section mismatch: reference to .init.text: from .text.pci_find_bus after 'pci_find_bus' (at offset 0x24) This was due to

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Randy Dunlap
On Fri, 09 Mar 2007 23:03:05 -0500 [EMAIL PROTECTED] wrote: > On Sat, 10 Mar 2007 09:57:32 +1100, Rusty Russell said: > > > +/* GCC is awesome. */ > > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) > > \ > > + sizeof(typeof(int[1 -

[RFC PATCH 1/3] Add ability to keep track of callers of symbol_(get|put)

2007-03-09 Thread Mauro Carvalho Chehab
From: Trent Piepho <[EMAIL PROTECTED]> When a module uses symbol_get() to increase the ref count of another module, there is no record what module called symbol_get(). A module can show up as having other users, but there is no way to tell who those users are. This adds that ability to

[RFC PATCH 2/3] Update mtd use of symbol_(get|put)

2007-03-09 Thread Mauro Carvalho Chehab
From: Trent Piepho <[EMAIL PROTECTED]> Make the mtd sub-system work with changes to __symbol_get(). mtd calls __symbol_get() directly, rather than through the symbol_get() macro because it uses a string it created with sprintf to specify the symbol to attach to. It needs to be updated to supply

[RFC PATCH 3/3] Update dvb use of symbol_(get|put)

2007-03-09 Thread Mauro Carvalho Chehab
From: Trent Piepho <[EMAIL PROTECTED]> Make the dvb sub-system use the ability of symbol_(put|get) to keep track of what module did the putting or getting. In the dvb sub-system, symbol_put is called through the macro dvb_attach(). A driver for a bridge or card will attach frontends, tuners, or

Re: [PATCH] drivers/media/video/se401.c: check kmalloc() return value.

2007-03-09 Thread Mauro Carvalho Chehab
Hi Oliver, Em Sex, 2007-03-09 às 09:31 +0100, Oliver Neukum escreveu: > Am Freitag, 9. März 2007 08:30 schrieb Amit Choudhary: > > Description: Check the return value of kmalloc() in function > > se401_start_stream(), in file drivers/media/video/se401.c. > > Firstly, USB patches to the USB

Re: [PATCH] proc: maps protection

2007-03-09 Thread Arjan van de Ven
Andrew Morton wrote: On Thu, 8 Mar 2007 12:55:25 -0800 Kees Cook <[EMAIL PROTECTED]> wrote: On Tue, Mar 06, 2007 at 08:22:11PM -0800, Arjan van de Ven wrote: [Adding Cc:lkml] How about using a reduced check, as is done for fd and environ? This would allow root-running system monitors to still

ipv6 crash in latest git

2007-03-09 Thread Len Brown
# CONFIG_DEBUG_SHIRQ is not set Linux version 2.6.21-rc3-ga967e127 ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linu7 Command line: root=/dev/sda1 console=tty0 console=ttyS0,115200n8 debug ... Starting yum-updatesd: [ OK ] Starting Avahi

Re: [PATCH] Use more gcc extensions in the Linux headers

2007-03-09 Thread Nigel Cunningham
Hi. On Fri, 2007-03-09 at 23:03 -0500, [EMAIL PROTECTED] wrote: > On Sat, 10 Mar 2007 09:57:32 +1100, Rusty Russell said: > > > +/* GCC is awesome. */ > > #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) > > \ > > + sizeof(typeof(int[1 -

Re: Pluggable Schedulers (was: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler)

2007-03-09 Thread Al Boldi
William Lee Irwin III wrote: > William Lee Irwin III wrote: > >> This sort of concern is too subjective for me to have an opinion on it. > > On Fri, Mar 09, 2007 at 11:43:46PM +0300, Al Boldi wrote: > > How diplomatic. > > Impoliteness doesn't accomplish anything I want to do. Fair enough. But

2.6.21-rc3 snd-usb-audio lockdep report.

2007-03-09 Thread Dave Jones
= [ INFO: possible recursive locking detected ] 2.6.20-1.2962.fc7 #1 - rosegardenseque/5229 is trying to acquire lock: (>list_mutex){}, at: [] snd_seq_deliver_event+0x93/0x173 [snd_seq] but task is

Re: TCP MSG_PEEK assertion issue ...

2007-03-09 Thread davef1624
Apologies ... I definitely had no idea where to post this thanks! Dave -Original Message- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-kernel@vger.kernel.org Sent: Fri, 9 Mar 2007 4:10 PM Subject: Re: TCP MSG_PEEK assertion issue ... Keep trying, you might hit the proper

Re: [PATCH] CIFS: reset file mode when CIFS client notices that ATTR_READONLY is no longer set

2007-03-09 Thread Steve French
Jeff Layton wrote: This problem and patch were discovered and written by Alan Tyson of HP, who asked that I post this. The problem is this: When the CIFS client mounts a share that does not have Unix extensions, it will turn off the "w" bits in the file mode if it sees that ATTR_READONLY is

Re: [PATCH] drivers: PMC MSP71xx LED driver

2007-03-09 Thread Andrew Morton
> On Fri, 9 Mar 2007 14:20:56 -0800 Marc St-Jean <[EMAIL PROTECTED]> wrote: > > > > > +typedef enum { > > > + MSP_LED_INPUT = 0, > > > + MSP_LED_OUTPUT, > > > +} msp_led_direction_t; > > > > No typedefs, please. Convert this to > > > > enum msp_led_direction { > > ... >

[patch 00/20] 2.6.20-stable review

2007-03-09 Thread Greg KH
This is the start of the stable review cycle for the 2.6.20.3 release. There are 20 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a

[patch 02/20] nf_conntrack/nf_nat: fix incorrect config ifdefs

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs The nf_conntrack_netlink config option is named CONFIG_NF_CT_NETLINK, but multiple files use

[patch 05/20] nfnetlink_log: fix use after free

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix use after free Paranoia: instance_put() might have freed the inst pointer when we spin_unlock_bh(). Signed-off-by: Michal

[patch 03/20] tcp conntrack: accept SYN|URG as valid

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: tcp conntrack: accept SYN|URG as valid Some stacks apparently send packets with SYN|URG set. Linux accepts these packets, so TCP conntrack should

[patch 01/20] conntrack: fix {nf, ip}_ct_iterate_cleanup endless loops

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: conntrack: fix {nf,ip}_ct_iterate_cleanup endless loops Fix {nf,ip}_ct_iterate_cleanup unconfirmed list handling: - unconfirmed entries can not be

[patch 07/20] nfnetlink_log: fix possible NULL pointer dereference

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Michal Miroslaw <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix possible NULL pointer dereference Eliminate possible NULL pointer dereference in nfulnl_recv_config(). Signed-off-by: Michal

[patch 12/20] nfnetlink_log: fix reference counting

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Michal Miroslaw <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix reference counting Fix reference counting (memory leak) problem in __nfulnl_send() and callers related to packet queueing.

[patch 11/20] nfnetlink_log: fix crash on bridged packet

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix crash on bridged packet physoutdev is only set on purely bridged packet, when nfnetlink_log is used in the

[patch 16/20] fix for bugzilla #7544 (keyspan USB-to-serial converter)

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Rainer Weikusat <[EMAIL PROTECTED]> At least the Keyspan USA-19HS USB-to-serial converter supports two different configurations, one where the input endpoints have interrupt transfer type and one

[patch 13/20] Fix bug 7994 sleeping function called from invalid context

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Douglas Gilbert <[EMAIL PROTECTED]> - addresses the reported bug (with GFP_KERNEL -> GFP_ATOMIC) - improves error checking, and - is a subset of the changes to scsi_debug in lk 2.6.21-rc*

[patch 14/20] bcm43xx: Fix problem with >1 GB RAM

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Larry Finger <[EMAIL PROTECTED]> [PATCH] bcm43xx: Fix problem with >1 GB RAM Some versions of the bcm43xx chips only support 30-bit DMA, which means that the descriptors and buffers must be in the

[patch 15/20] Fix compat_getsockopt

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Johannes Berg <[EMAIL PROTECTED]> [NET]: Fix compat_sock_common_getsockopt typo. This patch fixes a typo in compat_sock_common_getsockopt. Signed-off-by: Johannes Berg <[EMAIL PROTECTED]>

[patch 17/20] Fix callback bug in connector

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Philipp Reisner <[EMAIL PROTECTED]> [CONNECTOR]: Bugfix for cn_call_callback() When system under heavy stress and must allocate new work instead of reusing old one, new work must use correct

[patch 18/20] Fix sparc64 device register probing

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller <[EMAIL PROTECTED]> [SPARC]: Fix bus handling in build_device_resources(). We mistakedly modify 'bus' in the innermost loop. What should happen is that at each register index

[patch 19/20] Fix timewait jiffies

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Eric Dumazet <[EMAIL PROTECTED]> [INET]: twcal_jiffie should be unsigned long, not int Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

[patch 20/20] Fix UDP header pointer after pskb_trim_rcsum()

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Herbert Xu <[EMAIL PROTECTED]> [UDP]: Reread uh pointer after pskb_trim The header may have moved when trimming. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Signed-off-by: David S. Miller

[patch 04/20] nfnetlink_log: fix reference leak

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix reference leak Stop reference leaking in nfulnl_log_packet(). If we start a timer we are already taking another reference.

[patch 08/20] ip6_route_me_harder should take into account mark

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Yasuyuki Kozakai <[EMAIL PROTECTED]> [NETFILTER]: ip6_route_me_harder should take into account mark Signed-off-by: Yasuyuki Kozakai <[EMAIL PROTECTED]> Signed-off-by: Patrick McHardy <[EMAIL

Re: Odd suspend regression in 2.6.21-rc[123]

2007-03-09 Thread Ray Lee
Ray Lee wrote: > In 2.6.21-rc1,2,3, my laptop will fully suspend to ram, but then > *immediately* resumes back from suspension. (It resumes just fine, as well.) [...] > HP/Compaq NX6125 system, AMD64, dmesg attached. hg bisect found the below patch as the culprit, and reverting it does fix the

[patch 09/20] nf_conntrack: fix incorrect classification of IPv6 fragments as ESTABLISHED

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nf_conntrack: fix incorrect classification of IPv6 fragments as ESTABLISHED The individual fragments of a packet reassembled by conntrack have the

[patch 10/20] nfnetlink_log: zero-terminate prefix

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: zero-terminate prefix Userspace expects a zero-terminated string, so include the trailing zero in the netlink message.

[patch 06/20] nfnetlink_log: fix NULL pointer dereference

2007-03-09 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Micha Mirosaw <[EMAIL PROTECTED]> [NETFILTER]: nfnetlink_log: fix NULL pointer dereference Fix the nasty NULL dereference on multiple packets per netlink message. BUG: unable to handle kernel NULL

Re: [patch 00/20] 2.6.20-stable review

2007-03-09 Thread Greg KH
On Fri, Mar 09, 2007 at 10:16:03PM -0800, Greg KH wrote: > This is the start of the stable review cycle for the 2.6.20.3 release. Oh, the rolled up patch is at: kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.20.3-rc1.gz thanks, greg k-h - To unsubscribe from this list: send the line

Re: [patch 2/9] signalfd/timerfd v1 - signalfd core ...

2007-03-09 Thread Davide Libenzi
On Fri, 9 Mar 2007, Davide Libenzi wrote: > This patch series implements the new signalfd() and signalfd_dequeue() -- Of course, wrong description. The signalfd_dequeue() call is gone, and signals are dequeued by read(2). -

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Nicholas Miell
On Fri, 2007-03-09 at 15:41 -0800, Davide Libenzi wrote: > This patch introduces a new system call for timers events delivered > though file descriptors. This allows timer event to be used with > standard POSIX poll(2), select(2) and read(2). As a consequence of > supporting the Linux f_op->poll

[PATCH] Use attribute groups in struct device_type

2007-03-09 Thread Dmitry Torokhov
Greg, Please consider applying the patch below. It switches struct device_type to using attribute groups which os more flexible. I am using it in my input class_device -> device conversion (which is 99% done btw). I looked through -mm and the latest git and there does not seem to be any users of

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Davide Libenzi
On Fri, 9 Mar 2007, Nicholas Miell wrote: > Why did you ignore the existing POSIX timer API? The existing POSIX API is a standard and a very good one. Too bad it does not deliver to files. The timerfd code is, as you can probably read from the code, a really thin wrapper around the existing

Re: sys_write() racy for multi-threaded append?

2007-03-09 Thread Michael K. Edwards
I apologize for throwing around words like "stupid". Whether or not the current semantics can be improved, that's not a constructive way to characterize them. I'm sorry. As three people have ably pointed out :-), the particular case of a pipe/FIFO isn't seekable and doesn't need the f_pos

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Nicholas Miell
On Fri, 2007-03-09 at 22:38 -0800, Davide Libenzi wrote: > On Fri, 9 Mar 2007, Nicholas Miell wrote: > > > Why did you ignore the existing POSIX timer API? > > The existing POSIX API is a standard and a very good one. Too bad it does > not deliver to files. The timerfd code is, as you can

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Davide Libenzi
On Fri, 9 Mar 2007, Nicholas Miell wrote: > On Fri, 2007-03-09 at 22:38 -0800, Davide Libenzi wrote: > > On Fri, 9 Mar 2007, Nicholas Miell wrote: > > > > > Why did you ignore the existing POSIX timer API? > > > > The existing POSIX API is a standard and a very good one. Too bad it does > >

Re: [PATCH] Use attribute groups in struct device_type

2007-03-09 Thread Greg KH
On Sat, Mar 10, 2007 at 01:37:34AM -0500, Dmitry Torokhov wrote: > Greg, > > Please consider applying the patch below. It switches struct device_type > to using attribute groups which os more flexible. I am using it in my > input class_device -> device conversion (which is 99% done btw). Argh, I

Re: [PATCH] Use attribute groups in struct device_type

2007-03-09 Thread Greg KH
On Fri, Mar 09, 2007 at 10:54:43PM -0800, Greg KH wrote: > On Sat, Mar 10, 2007 at 01:37:34AM -0500, Dmitry Torokhov wrote: > > Greg, > > > > Please consider applying the patch below. It switches struct device_type > > to using attribute groups which os more flexible. I am using it in my > >

Re: Pluggable Schedulers (was: [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler)

2007-03-09 Thread William Lee Irwin III
William Lee Irwin III wrote: This sort of concern is too subjective for me to have an opinion on it. On Fri, Mar 09, 2007 at 11:43:46PM +0300, Al Boldi wrote: >>> How diplomatic. William Lee Irwin III wrote: >> Impoliteness doesn't accomplish anything I want to do. On Sat, Mar 10, 2007 at

Re: [PATCH] Use attribute groups in struct device_type

2007-03-09 Thread Dmitry Torokhov
On Saturday 10 March 2007 01:55, Greg KH wrote: > On Fri, Mar 09, 2007 at 10:54:43PM -0800, Greg KH wrote: > > On Sat, Mar 10, 2007 at 01:37:34AM -0500, Dmitry Torokhov wrote: > > > Greg, > > > > > > Please consider applying the patch below. It switches struct device_type > > > to using attribute

Re: [patch 9/9] signalfd/timerfd v1 - timerfd compat code ...

2007-03-09 Thread Davide Libenzi
On Fri, 9 Mar 2007, Davide Libenzi wrote: > +asmlinkage long compat_sys_timerfd(int ufd, int tmrtype, > +const struct timespec __user *utmr) compat_timespec, that is. - Davide - To unsubscribe from this

Re: [PATCH][RFC] Make entire ACPI submenu dependent on PM.

2007-03-09 Thread Len Brown
This patch is right, and I applied it. On i386, it did what it should -- made the menus look better. Testing x86_64 exposed a latent bug, however. Since CONFIG_X86_64_ACPI_NUMA=y does a select on ACPI, it is possible to config a kernel with PM=n and ACPI=y, which violates ACPI's dependency on

[GIT PATCH] ACPI patches for 2.6.21-rc3

2007-03-09 Thread Len Brown
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release This should delete a good part of the 2.6.21-rc regression list. This will update the files shown below. thanks! -Len ps. individual patches are available on linux-acpi@vger.kernel.org

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Nicholas Miell
On Fri, 2007-03-09 at 22:53 -0800, Davide Libenzi wrote: > On Fri, 9 Mar 2007, Nicholas Miell wrote: > > > On Fri, 2007-03-09 at 22:38 -0800, Davide Libenzi wrote: > > > On Fri, 9 Mar 2007, Nicholas Miell wrote: > > > > > > > Why did you ignore the existing POSIX timer API? > > > > > > The

sparc atomicity patches reverted

2007-03-09 Thread David Miller
The sparc64 one doesn't even compile, please fix this up and resubmit, thank you. I'd like you to redo the 32-bit sparc patch too. Please, I recommend that you use {sec,clear,etc.}_ti_thread_flag() in this and the 32-bit sparc TI_USEDFPU patch, instead of the task versions which could add an

Re: [PATCH] Use attribute groups in struct device_type

2007-03-09 Thread Greg KH
On Sat, Mar 10, 2007 at 02:12:04AM -0500, Dmitry Torokhov wrote: > On Saturday 10 March 2007 01:55, Greg KH wrote: > > On Fri, Mar 09, 2007 at 10:54:43PM -0800, Greg KH wrote: > > > On Sat, Mar 10, 2007 at 01:37:34AM -0500, Dmitry Torokhov wrote: > > > > Greg, > > > > > > > > Please consider

[PATCH][RSDL-mm 0/6] Rotating Staircase DeadLine scheduler for -mm

2007-03-09 Thread Con Kolivas
What follows this email is a series of patches for the RSDL cpu scheduler as found in 2.6.21-rc3-mm1. This series is for 2.6.21-rc3-mm2 and has some bugfixes for the issues found so far. While it is not clear that I've attended to all the bugs, it is worth noting that a complete rewrite is a

[PATCH][RSDL-mm 1/6] lists: add list splice tail

2007-03-09 Thread Con Kolivas
From: Con Kolivas <[EMAIL PROTECTED]> Add a list_splice_tail variant of list_splice. Patch-by: Peter Zijlstra <[EMAIL PROTECTED]> Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Nick Piggin <[EMAIL PROTECTED]> Cc: "Siddha, Suresh B" <[EMAIL PROTECTED]>

[PATCH][RSDL-mm 2/6] sched: remove sleepavg from proc

2007-03-09 Thread Con Kolivas
From: Con Kolivas <[EMAIL PROTECTED]> Remove the sleep_avg field from proc output as it will be removed from the task_struct. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Nick Piggin <[EMAIL PROTECTED]> Cc: "Siddha, Suresh B" <[EMAIL PROTECTED]>

[PATCH][RSDL-mm 4/6] sched implement 180 bit sched bitmap

2007-03-09 Thread Con Kolivas
From: Con Kolivas <[EMAIL PROTECTED]> Modify the sched_find_first_bit function to work on a 180bit long bitmap. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Nick Piggin <[EMAIL PROTECTED]> Cc: "Siddha, Suresh B" <[EMAIL PROTECTED]> Signed-off-by: Andrew

[PATCH][RSDL-mm 3/6] sched: remove noninteractive flag

2007-03-09 Thread Con Kolivas
From: Con Kolivas <[EMAIL PROTECTED]> Remove the TASK_NONINTERACTIVE flag as it will no longer be used. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Nick Piggin <[EMAIL PROTECTED]> Cc: "Siddha, Suresh B" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton

[PATCH][RSDL-mm 6/6] sched: document rsdl cpu scheduler

2007-03-09 Thread Con Kolivas
From: Con Kolivas <[EMAIL PROTECTED]> Add comprehensive documentation of the RSDL cpu scheduler design. Signed-off-by: Con Kolivas <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Cc: Nick Piggin <[EMAIL PROTECTED]> Cc: "Siddha, Suresh B" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton

Re: [patch 6/9] signalfd/timerfd v1 - timerfd core ...

2007-03-09 Thread Davide Libenzi
On Fri, 9 Mar 2007, Nicholas Miell wrote: > On Fri, 2007-03-09 at 22:53 -0800, Davide Libenzi wrote: > > On Fri, 9 Mar 2007, Nicholas Miell wrote: > > > > > > So extend the existing POSIX timer API to deliver expiry events via a > > > fd. > > > > It'll be out of standard as timerfd is, w/out

RSDL v0.28 for 2.6.20

2007-03-09 Thread Con Kolivas
Here is an update for RSDL to version 0.28 Full patch: http://ck.kolivas.org/patches/staircase-deadline/2.6.20-sched-rsdl-0.28.patch Series: http://ck.kolivas.org/patches/staircase-deadline/2.6.20/ The patch to get you from 0.26 to 0.28:

How soon is soon? MCP55 NCQ support on Linux...

2007-03-09 Thread Zoltan Boszormenyi
Hi, I have seen your message in LKML archive: http://marc.theaimsgroup.com/?l=linux-kernel=116046278930988=2 It's dated 2006.10.10 and states that a patch to support NCQ on MCP55/MCP61 under Linux is coming "soon". Now it's five months later and I would like to ask when will it be supported?

Re: ALIGN

2007-03-09 Thread Oleg Verych
On Wed, Mar 07, 2007 at 08:38:27AM -0800, Linus Torvalds wrote: > > > On Wed, 7 Mar 2007, Oleg Verych wrote: > > > > Probably it can be used to get rid of gccisms and "type fluff" due to > > bitwise arithmetics in ALIGN? > > Hell no. > > The typeof is there to make sure we have the right type,

patch msi-safer-state-caching.patch added to gregkh-2.6 tree

2007-03-09 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: msi: Safer state caching. to my gregkh-2.6 tree. Its filename is msi-safer-state-caching.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

patch pci-repair-pci_save-restore_state-so-we-can-restore-one-save-many-times.patch added to gregkh-2.6 tree

2007-03-09 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: pci: Repair pci_save/restore_state so we can restore one save many times. to my gregkh-2.6 tree. Its filename is pci-repair-pci_save-restore_state-so-we-can-restore-one-save-many-times.patch This tree

Re: 2.6.21-rc3 - oops on remove of USB dongle

2007-03-09 Thread John Stoffel
Greg> On Fri, Mar 09, 2007 at 10:40:21AM -0500, John Stoffel wrote: >> >> Hi all, >> >> I've just compiled and installed 2.6.21-rc3 on my Dual CPU Dell >> Precision 610MT system. Dual 550mhz Xeon, 768mb of RAM. Mix of SCSI, >> ATA drives. I'm using the new ATA_ drivers for my PATA disks.

Re: 2.6.21-rc3 - oops on remove of USB dongle

2007-03-09 Thread John Stoffel
Duh... forgot the patches: 2.6.21-rc-usb-serial.patch Description: two patches for usbserial oops on 2.6.21-rc3

Re: [linux-usb-devel] Question re hiddev

2007-03-09 Thread Gene Heskett
On Friday 09 March 2007, Adam Kropelin wrote: >Gene Heskett wrote: >> On Thursday 08 March 2007, Gene Heskett wrote: >>> Greetings; >>> >>> Belkin is being non-responsive to requests for updated drivers for >>> their line of UPS's, all of which now have a USB port which is the >>> Belkin

[GIT PATCH] USB fixes for 2.6.21-rc3

2007-03-09 Thread Greg KH
Here are some USB fixes and new device ids against 2.6.21-rc3. These patches contain a number of fixes that lots of people have reported with regards to usb-serial devices oopsing and providing incorrect minor numbers. They also add a number of new device ids and some other minor fixes. All of

Re: OOPS with 2.6.21rc2-git (ata: conflict with ide0/1)

2007-03-09 Thread Tejun Heo
Jeff Garzik wrote: > Which patch? > > Since this affects libata directly, and since devres came in via libata, > I would rather that libata bugs not get /too/ blocked by patches in > other trees. This one. http://article.gmane.org/gmane.linux.kernel/495515 -- tejun - To unsubscribe from

[PATCH] devres: release resources on device_del()

2007-03-09 Thread Tejun Heo
Some platform devices are driven without driver attached, so managed resources can be acquired without driver attached. Make sure such resources are released by calling devres_release_all() in device_del(). Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- This one fixes oops on pata_platform and

<    5   6   7   8   9   10   11   >