Re: [patch] convert aio event reap to use atomic-op instead of spin_lock

2007-04-11 Thread Zach Brown
I kept on getting requests from application developers who want that feature. My initial patch was dated back May 2004. The right way to do it involves synchronization between the kernel side io_getevents() and the userspace code pulling events out of the ring. Alan Cox suggested

Re: init's children list is long and slows reaping children.

2007-04-11 Thread Bill Davidsen
Oleg Nesterov wrote: On 04/10, Eric W. Biederman wrote: I'm trying to remember what the story is now. There is a nasty race somewhere with reparenting, a threaded parent setting SIGCHLD to SIGIGN, and non-default signals that results in an zombie that no one can wait for and reap. It

Re: [PATCH] kthread: Don't depend on work queues (take 2)

2007-04-11 Thread Eric W. Biederman
Oleg Nesterov [EMAIL PROTECTED] writes: Ah yes, we still need to export kthreadd_task... I just worried about subtle dependency this patch adds... This kthreadd_task = find_task_by_pid assumes that init/main.c:init() takes lock_kernel() before the first kthread_create(). There is a small

Re: [patch] convert aio event reap to use atomic-op instead of spin_lock

2007-04-11 Thread Benjamin LaHaise
On Wed, Apr 11, 2007 at 12:52:56PM -0700, Zach Brown wrote: I'm worried that virtual aliasing spells doom for the current home-brewed serialization that fs/aio.c is doing with the shared ring head/tail accesses. Am I worrying about nothing here? Adding a flush_dcache_page() should fix that,

Re: [PATCH 8/8] AFS: Add security support

2007-04-11 Thread David Howells
J. Bruce Fields [EMAIL PROTECTED] wrote: Just curious--when is the actual crypto done? There doesn't seem to be any in this patch. See AF_RXRPC patch: http://people.redhat.com/~dhowells/rxrpc/04-af_rxrpc.diff You turn on CONFIG_RXKAD and load the rxkad module thus built (assuming

Re: [PATCH 8/8] AFS: Add security support

2007-04-11 Thread J. Bruce Fields
On Wed, Apr 11, 2007 at 09:10:32PM +0100, David Howells wrote: J. Bruce Fields [EMAIL PROTECTED] wrote: Just curious--when is the actual crypto done? There doesn't seem to be any in this patch. See AF_RXRPC patch: http://people.redhat.com/~dhowells/rxrpc/04-af_rxrpc.diff You

Re: init's children list is long and slows reaping children.

2007-04-11 Thread Eric W. Biederman
Bill Davidsen [EMAIL PROTECTED] writes: As long as the original parent is preserved for getppid(). There are programs out there which communicate between the parent and child with signals, and if the original parent dies, it undesirable to have the child getppid() and start sending signals to

Re: init's children list is long and slows reaping children.

2007-04-11 Thread Oleg Nesterov
On 04/11, Bill Davidsen wrote: Oleg Nesterov wrote: On 04/10, Eric W. Biederman wrote: I'm trying to remember what the story is now. There is a nasty race somewhere with reparenting, a threaded parent setting SIGCHLD to SIGIGN, and non-default signals that results in an zombie that no one

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 15:04:35 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: @@ -706,6 +718,8 @@ static int get_lcd_state(void) { int lcd = 0; + BUG_ON(!hotk-methods-lcd_status); mutter. We could just warn-and-bale here. Hopefully this is just an is-jiri-sane assertion and

Re: [PATCH 7/7] ALPHA: support graphics on non-zero PCI domains

2007-04-11 Thread Ivan Kokshaysky
On Wed, Apr 11, 2007 at 01:32:19PM -0400, Jay Estabrook wrote: Yes, it does leak, and yes, it should be kmalloced. Something like this? struct resource *new_vga; new_vga = kmalloc(sizeof(struct resource), GFP_ATOMIC); if (new_vga) { *new_vga =

Re: Add a norecovery option to ext3/4?

2007-04-11 Thread Bill Davidsen
Eric Sandeen wrote: Phillip Susi wrote: Eric Sandeen wrote: In that case you are mounting the same filesystem uner 2 different operating systems simultaneously, which is, and always has been, a recipe for disaster. Flagging the fs as mounted already would probably be a better solution,

Re: I give up

2007-04-11 Thread John Stoffel
Gene == Gene Heskett [EMAIL PROTECTED] writes: Gene Does Bacula not use tar for its dirty work? Nope, it uses it's own filesystem walking code. John - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] sched: consolidate sched_clock drift adjustments

2007-04-11 Thread Daniel Walker
No functional changes .. I created sched_clock_drift_adjust() which holds similar code from different places in the scheduler which all appear to do the same thing. I also added an explicit ifdef on CONFIG_SMP, the comments seemed to suggest it wasn't needed, but it can't hurt to make it

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 09:29:04 -0700 Daniel Walker [EMAIL PROTECTED] wrote: The locking of the xtime_lock around the cpu notifier is unessesary now. At one time the tsc was used after a frequency change for timekeeping, but the re-write of timekeeping no longer uses the TSC unless the

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
Andrew Morton napsal(a): On Wed, 11 Apr 2007 15:04:35 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: @@ -706,6 +718,8 @@ static int get_lcd_state(void) { int lcd = 0; +BUG_ON(!hotk-methods-lcd_status); mutter. We could just warn-and-bale here. Hopefully this is just

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
Jiri Slaby napsal(a): Side note, as Danny wrote, there is an asus-laptop driver sitting in -mm, which supersedes this one -- if you plan to push it upstream in the near future, don't bother with this patch. Hmm, there is a 0.40 version in -rc6 yet. There is something weird with me today.

[KJ][RFC][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/arm

2007-04-11 Thread Milind Arun Choudhary
for arch/arm/kernel/smp.c static DEFINE_PER_CPU(struct ipi_data, ipi_data) = { will give a struct with name per_cpu__ipi_data so I did - .lock = SPIN_LOCK_UNLOCKED, + .lock = __SPIN_LOCK_UNLOCKED(per_cpu__ipi_data.lock), but this dosen't seem to be the right thing to do..

Re: [PATCH] markers-linker-generic

2007-04-11 Thread Mathieu Desnoyers
* Andrew Morton ([EMAIL PROTECTED]) wrote: On Wed, 11 Apr 2007 13:51:11 -0400 Mathieu Desnoyers [EMAIL PROTECTED] wrote: What's this marker stuff about? Hi Russel, Here is an overview : I am told that the systemtap developers plan to (or are) using this infrastructure.

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 21:42:27 +0200 Helge Hafting [EMAIL PROTECTED] wrote: 2.6.21-rc6-mm1 locks up during boot. The last message is: usbcore: registered new interface driver hiddev Then it hangs so hard that not even sysrq+B have any effect. With 2.6.18-rc5-mm1, the next messages I

Re: [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in

2007-04-11 Thread Stefan Richter
Milind Arun Choudhary wrote: SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead Committed to linux1394-2.6.git. Thanks, -- Stefan Richter -=-=-=== -=-- -=-== http://arcgraph.de/sr/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-11 Thread Daniel Walker
On Wed, 2007-04-11 at 13:31 -0700, Andrew Morton wrote: On Wed, 11 Apr 2007 09:29:04 -0700 Daniel Walker [EMAIL PROTECTED] wrote: The locking of the xtime_lock around the cpu notifier is unessesary now. At one time the tsc was used after a frequency change for timekeeping, but the

RE: tmpfs and the OOM killer

2007-04-11 Thread Mouawad, Tony
Can someone describe the process of finding the best value to tune the overcommit_ratio to? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Willy Tarreau Sent: Wednesday, April 11, 2007 3:48 PM To: Pedro Cc: linux-kernel@vger.kernel.org Subject: Re: tmpfs

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 22:37:03 +0200 Jiri Slaby [EMAIL PROTECTED] wrote: Jiri Slaby napsal(a): Side note, as Danny wrote, there is an asus-laptop driver sitting in -mm, which supersedes this one -- if you plan to push it upstream in the near future, don't bother with this patch. Hmm,

Loud pop coming from hard drive on reboot

2007-04-11 Thread Chuck Ebbert
When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no shutdown: hda on the console when I reboot. Whne I do a normal poweroff the message is displayed and there is no noise. Should the IDE

Re: [PATCH 1/1] ACPI: asus_acpi, support F2JE model

2007-04-11 Thread Jiri Slaby
Andrew Morton napsal(a): On Wed, 11 Apr 2007 22:37:03 +0200 Jiri Slaby [EMAIL PROTECTED] wrote: Jiri Slaby napsal(a): Side note, as Danny wrote, there is an asus-laptop driver sitting in -mm, which supersedes this one -- if you plan to push it upstream in the near future, don't bother with

Re: Loud pop coming from hard drive on reboot

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 17:07, Chuck Ebbert wrote: When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no shutdown: hda on the console when I reboot. Whne I do a normal poweroff the message is

Re: I give up

2007-04-11 Thread Gene Heskett
On Wednesday 11 April 2007, John Stoffel wrote: Gene == Gene Heskett [EMAIL PROTECTED] writes: Gene Does Bacula not use tar for its dirty work? Nope, it uses it's own filesystem walking code. John Humm, interesting John. Neither yumex, or smart, is offering it to me as an installable rpm

Re: I give up

2007-04-11 Thread John Stoffel
Gene Humm, interesting John. Neither yumex, or smart, is offering it Gene to me as an installable rpm for FC6. Go and grab it from http://www.bacula.org, I'm pretty sure there are RPMs available on there. You might also need to install seperate RPMs for the follwoing packages:

Re: init's children list is long and slows reaping children.

2007-04-11 Thread Bill Davidsen
Eric W. Biederman wrote: Bill Davidsen [EMAIL PROTECTED] writes: As long as the original parent is preserved for getppid(). There are programs out there which communicate between the parent and child with signals, and if the original parent dies, it undesirable to have the child getppid() and

Re: [PATCH] i386 tsc: remove xtime_lock'ing around cpufreq notifier

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 13:54:41 -0700 Daniel Walker [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 13:31 -0700, Andrew Morton wrote: On Wed, 11 Apr 2007 09:29:04 -0700 Daniel Walker [EMAIL PROTECTED] wrote: The locking of the xtime_lock around the cpu notifier is unessesary now. At

Re: Loud pop coming from hard drive on reboot

2007-04-11 Thread Chuck Ebbert
Jan Engelhardt wrote: On Apr 11 2007 17:07, Chuck Ebbert wrote: When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no shutdown: hda on the console when I reboot. Whne I do a normal

Re: Loud pop coming from hard drive on reboot

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 17:35, Chuck Ebbert wrote: Jan Engelhardt wrote: On Apr 11 2007 17:07, Chuck Ebbert wrote: When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no shutdown: hda on the

Re: Fix sudden warps in mousedev

2007-04-11 Thread Peter Osterlund
On Mon, 26 Mar 2007, Dmitry Torokhov wrote: On Monday 26 March 2007 17:42, Pete Zaitcev wrote: I don't think that you need to concern yourself with this too much at present. If X11 people (e.g. Kristian) present evidence that kernel fails to deliver an event, then we'll look at it. However it

[PATCH] make iunique use a do/while loop rather than its obscure goto loop

2007-04-11 Thread Jeffrey Layton
A while back, Christoph mentioned that he thought that iunique ought to be cleaned up to use a more conventional loop construct. This patch does that, turning the strange goto loop into a do/while. Signed-off-by: Jeff Layton [EMAIL PROTECTED] diff --git a/fs/inode.c b/fs/inode.c index

[PATCH] kernel-doc: html mode struct highlights

2007-04-11 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED] Johannes Berg reported that struct names are not highlighted (bold, italic, etc.) in html kernel-doc output. (Also not in text-mode output, but I don't see that changing.) This patch adds the following: - highlight struct names in html output mode -

Re: [patch] uninline remove/add_parent() APIs

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 01:00:17 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: Should we copy Andrew or is someone else going to collect up all of these patches? Andrew is cowering in terror, because utrace goes tromping through this code. It would be rather good to get utrace moving along

Re: Loud pop coming from hard drive on reboot

2007-04-11 Thread Chuck Ebbert
Jan Engelhardt wrote: On Apr 11 2007 17:35, Chuck Ebbert wrote: Jan Engelhardt wrote: On Apr 11 2007 17:07, Chuck Ebbert wrote: When I reboot my notebook, it powers off and powers back on. On poweroff a loud snapping noise seems to be coming from the hard drive. Today I noticed there is no

Re: mm snapshot broken-out-2007-04-11-02-24.tar.gz uploaded

2007-04-11 Thread Michal Piotrowski
Andrew Morton napisał(a): On Wed, 11 Apr 2007 20:03:17 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] napisa__(a): The mm snapshot broken-out-2007-04-11-02-24.tar.gz has been uploaded to

Re: [ofa-general] Re: [PATCH 00 of 33] Set of ipath patches for 2.6.22

2007-04-11 Thread Robert Walsh
Roland Dreier wrote: I just queued all of this for 2.6.22. Is there any chance of getting a fix for the use-after-free that can be caused by allocating something from userspace, failing to mmap the buffer and then exiting? To see what happens, look at how ipath_create_cq sticks a struct

Re: tmpfs and the OOM killer

2007-04-11 Thread Pedro
On Wednesday 11 April 2007 16:48, Willy Tarreau wrote: On Wed, Apr 11, 2007 at 02:23:31AM -0300, Pedro wrote: After suffering some days from a not|mis configured tmpfs, As the OOM killer is not Posix, Better than to kill processes would be to resize tmpfs, to use tmpfs empty

Re: Why kmem_cache_free occupy CPU for more than 10 seconds?

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 14:17:04 +0800 Zhao Forrest [EMAIL PROTECTED] wrote: We're using RHEL5 with kernel version 2.6.18-8.el5. When doing a stress test on raw device for about 3-4 hours, we found the soft lockup message in dmesg. I know we're not reporting the bug on the latest kernel, but does

Re: If not readdir() then what?

2007-04-11 Thread Neil Brown
On Wednesday April 11, [EMAIL PROTECTED] wrote: On Wed, Apr 11, 2007 at 07:15:57AM +1000, Neil Brown wrote: Neil, is this correct? It's just NFS. nfsd does open/getdents/close on every readdir request. That's... unfortunate. I like to think of it as challenging :-) So the

Re: [ofa-general] Re: [PATCH 00 of 33] Set of ipath patches for 2.6.22

2007-04-11 Thread Roland Dreier
BTW: any idea how this ever got triggered? The only way I can see is if you're either not using libipathverbs and libibverbs and you just create the CQ some other way, which seems unlikely. Do you know how Jason triggered this bug? Yes, it was because he was using 32-bit userspace and

Re: tmpfs and the OOM killer

2007-04-11 Thread Alan Cox
2) How should an application be written to not be killed by OOM? OOM isn't an application matter. The kernel has to choose between allowing overcommit on the basis it might run out of memory and have to kill stuff, or that it won't in which case an applicatio which correctly handles malloc()

Re: If not readdir() then what?

2007-04-11 Thread David Lang
On Thu, 12 Apr 2007, Neil Brown wrote: For the second. You say that you would need at least 96 bits in order to make that guarantee; 64 bits of hash, plus a 32-bit count value in the hash collision chain. I think 96 is a bit greedy. Surely 48 bits of hash and 16 bits of

Re: [PATCH] make MADV_FREE lazily free memory

2007-04-11 Thread Eric Dumazet
Rik van Riel a écrit : Make it possible for applications to have the kernel free memory lazily. This reduces a repeated free/malloc cycle from freeing pages and allocating them, to just marking them freeable. If the application wants to reuse them before the kernel needs the memory, not even a

Re: mm snapshot broken-out-2007-04-11-02-24.tar.gz uploaded

2007-04-11 Thread Andrew Morton
On Thu, 12 Apr 2007 00:14:59 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: Andrew Morton napisa__(a): On Wed, 11 Apr 2007 20:03:17 +0200 Michal Piotrowski [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] napisa__(a): The mm snapshot broken-out-2007-04-11-02-24.tar.gz has been uploaded to

Re: [PATCH] markers-linker-generic

2007-04-11 Thread Jim Keniston
On Wed, 2007-04-11 at 15:21 -0400, Mathieu Desnoyers wrote: * Andrew Morton ([EMAIL PROTECTED]) wrote: On Wed, 11 Apr 2007 13:51:11 -0400 Mathieu Desnoyers [EMAIL PROTECTED] wrote: What's this marker stuff about? Hi Russel, Here is an overview : I am told that

Re: [ofa-general] Re: [PATCH 00 of 33] Set of ipath patches for 2.6.22

2007-04-11 Thread Robert Walsh
Roland Dreier wrote: BTW: any idea how this ever got triggered? The only way I can see is if you're either not using libipathverbs and libibverbs and you just create the CQ some other way, which seems unlikely. Do you know how Jason triggered this bug? Yes, it was because he was using

[patch 00/31] [00/@[EMAIL PROTECTED] -stable review

2007-04-11 Thread Greg KH
This is the start of the stable review cycle for the 2.6.20.7 release. There are 31 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 01/31] kbuild: fix dependency generation

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Jan Beulich [EMAIL PROTECTED] Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way the split config tree is built, but failed to also adjust fixdep accordingly - if changing a config

[patch 08/31] DVB: tda10086: fix DiSEqC message length

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andreas Oberritter [EMAIL PROTECTED] DVB: tda10086: fix DiSEqC message length Setting the message length to zero means to send one byte, so you need a subtraction instead of an addition. (cherry

[patch 02/31] i386: fix file_read_actor() and pipe_read() for original i386 systems

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Thomas Gleixner [EMAIL PROTECTED] The __copy_to_user_inatomic() calls in file_read_actor() and pipe_read() are broken on original i386 machines, where WP-works-ok == false, as

[patch 04/31] skge: turn carrier off when down

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Stephen Hemminger [EMAIL PROTECTED] Driver needs to turn off carrier when down, otherwise it can confuse bonding and bridging and looks like carrier is on immediately when it is brought back up.

[patch 13/31] NETFILTER: ipt_CLUSTERIP: fix oops in checkentry function

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy [EMAIL PROTECTED] [NETFILTER]: ipt_CLUSTERIP: fix oops in checkentry function The clusterip_config_find_get() already increases entries reference counter, so there is no reason to

[patch 03/31] sky2: reliable recovery

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Stephen Hemminger [EMAIL PROTECTED] This adds working recovery from transmit timeouts. Previous code didn't do enough to truly reset chip. It is a backport of the 2.6.21 code. Signed-off-by:

[patch 15/31] Fix length validation in rawv6_sendmsg()

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: YOSHIFUJI Hideaki [EMAIL PROTECTED] [IPv6]: Fix incorrect length check in rawv6_sendmsg() In article [EMAIL PROTECTED] (at Thu, 29 Mar 2007 14:26:44 -0700 (PDT)), David Miller [EMAIL PROTECTED]

[patch 24/31] libata bugfix: preserve LBA bit for HDIO_DRIVE_TASK

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Mark Lord [EMAIL PROTECTED] libata bugfix: preserve LBA bit for HDIO_DRIVE_TASK Preserve the LBA bit in the DevSel/Head register for HDIO_DRIVE_TASK. Signed-off-by: Mark Lord [EMAIL PROTECTED]

[patch 16/31] Fix scsi sense handling

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller [EMAIL PROTECTED] [SCSI]: Fix scsi_send_eh_cmnd scatterlist handling This fixes a regression caused by commit: 2dc611de5a3fd955cd0298c50691d4c05046db97 The sense buffer code in

[patch 23/31] softmac: avoid assert in ieee80211softmac_wx_get_rate

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: John W. Linville [EMAIL PROTECTED] [PATCH] softmac: avoid assert in ieee80211softmac_wx_get_rate Unconfigured bcm43xx device can hit an assert() during wx_get_rate queries. This is because bcm43xx

[patch 25/31] ahci.c: walkaround for SB600 SATA internal error issue

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Conke Hu [EMAIL PROTECTED] ahci.c: walkaround for SB600 SATA internal error issue There is a HW issue in ATI SB600 SATA that PxSERR.E should not be set on some conditions, for example, when

[patch 31/31] Update libata drive blacklist to the latest from 2.6.21

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Update libata drive blacklist to the latest from 2.6.21 Removes one duplicate entry from blacklist table, adds several entries for drives with broken NCQ. [diff between 2.6.20 and 2.6.21-rc6, with one

[patch 26/31] fix lba48 bug in libata fill_result_tf()

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Mark Lord [EMAIL PROTECTED] 2.6.21 fix lba48 bug in libata fill_result_tf() Current 2.6.21 libata does the following: void ata_tf_read(struct ata_port *ap, struct ata_taskfile *tf) {

[patch 27/31] libata: Clear tf before doing request sense (take 3)

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Albert Lee [EMAIL PROTECTED] libata: Clear tf before doing request sense (take 3) patch 2/4: Clear tf before doing request sense. This fixes the AOpen 56X/AKH timeout problem.

[patch 28/31] revert retries in ext3_prepare_write() violate ordering requirements

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andrew Morton [EMAIL PROTECTED] Revert e92a4d595b464c4aae64be39ca61a9ffe9c8b278. Dmitry points out When we block_prepare_write() failed while ext3_prepare_write() we jump to failure label and

[patch 29/31] revert retries in ext4_prepare_write() violate ordering requirements

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andrew Morton [EMAIL PROTECTED] Revert b46be05004abb419e303e66e143eed9f8a6e9f3f. Same reasoning as for ext3. Cc: Kirill Korotaev [EMAIL PROTECTED] Cc: Ingo Molnar [EMAIL PROTECTED] Cc: Ken Chen

[patch 30/31] fix page leak during core dump

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Brian Pomerantz [EMAIL PROTECTED] When the dump cannot occur most likely because of a full file system and the page to be written is the zero page, the call to page_cache_release() is missed.

Re: [PATCH] make MADV_FREE lazily free memory

2007-04-11 Thread Rik van Riel
Eric Dumazet wrote: Rik van Riel a écrit : Make it possible for applications to have the kernel free memory lazily. This reduces a repeated free/malloc cycle from freeing pages and allocating them, to just marking them freeable. If the application wants to reuse them before the kernel needs

Re: mconf not removed by make mrproper

2007-04-11 Thread Nigel Cunningham
Hi. On Sun, 2007-04-01 at 23:17 +0200, Sam Ravnborg wrote: On Thu, Feb 01, 2007 at 02:05:49PM +1100, Nigel Cunningham wrote: Hi. The scripts/kconfig/mconf target isn't removed by the make mrproper target. I can see a couple of possibilities, but wasn't sure which you'd prefer, so

Re: [PATCH] markers-linker-generic

2007-04-11 Thread Frank Ch. Eigler
Andrew Morton [EMAIL PROTECTED] writes: [...] I am told that the systemtap developers plan to (or are) using this infrastructure. Indeed. If correct: what is their reason for preferring it over kprobes? [...] It's not a preference - it's more of a supplement. It's helpful when some

[patch 17/31] Fix TCP receiver side SWS handling.

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: John Heffner [EMAIL PROTECTED] [TCP]: Do receiver-side SWS avoidance for rcvbuf MSS. Signed-off-by: John Heffner [EMAIL PROTECTED] Signed-off-by: David S. Miller [EMAIL PROTECTED] Signed-off-by:

[patch 20/31] Fix TCP slow_start_after_idle sysctl

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: David Miller [EMAIL PROTECTED] [TCP]: slow_start_after_idle should influence cwnd validation too For the cases that slow_start_after_idle are meant to deal with, it is almost a certainty that the

[patch 22/31] knfsd: allow nfsd READDIR to return 64bit cookies

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Neil Brown [EMAIL PROTECTED] [PATCH] knfsd: allow nfsd READDIR to return 64bit cookies -readdir passes lofft_t offsets (used as nfs cookies) to nfs3svc_encode_entry{,_plus}, but when they pass it

[patch 18/31] Fix IPSEC replay window handling

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Herbert Xu [EMAIL PROTECTED] [IPSEC]: Reject packets within replay window but outside the bit mask Up until this point we've accepted replay window settings greater than 32 but our bit mask can

[patch 21/31] ide: use correct IDE error recovery

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Suleiman Souhlal [EMAIL PROTECTED] ide: use correct IDE error recovery IDE error recovery is using IDLE IMMEDIATE if the drive is busy or has DRQ set. This violates the ATA spec (can only send

[patch 19/31] Fix tcindex classifier ABI borkage...

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy [EMAIL PROTECTED] [NET_SCHED]: cls_tcindex: fix compatibility breakage Userspace uses an integer for TCA_TCINDEX_SHIFT, the kernel was changed to expect and use a u16 value in

[patch 05/31] sky2: turn carrier off when down

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Stephen Hemminger [EMAIL PROTECTED] Driver needs to turn off carrier when down. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[patch 14/31] Fix IFB net driver input device crashes

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Patrick McHardy [EMAIL PROTECTED] [IFB]: Fix crash on input device removal The input_device pointer is not refcounted, which means the device may disappear while packets are queued, causing a crash

[patch 12/31] 8139too: RTNL and flush_scheduled_work deadlock

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Francois Romieu [EMAIL PROTECTED] Your usual dont-flush_scheduled_work-with-RTNL-held stuff. It is a bit different here since the thread runs permanently or is only occasionally kicked for recovery

[patch 06/31] sky2: turn on clocks when doing resume

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Stephen Hemminger [EMAIL PROTECTED] Some of these chips are disabled until clock is enabled. This fixes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404107 Signed-off-by: Stephen

[patch 07/31] sky2: phy workarounds for Yukon EC-U A1

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Stephen Hemminger [EMAIL PROTECTED] The workaround Yukon EC-U wasn't comparing with correct version and wasn't doing correct setup. Without it, 88e8056 throws all sorts of errors. Signed-off-by:

[patch 11/31] Fix calculation for size of filemap_attr array in md/bitmap.

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Neil Brown [EMAIL PROTECTED] If 'num_pages' were ever 1 more than a multiple of 8 (32bit platforms) for of 16 (64 bit platforms). filemap_attr would be allocated one 'unsigned long' shorter than

[patch 09/31] DVB: pluto2: fix incorrect TSCR register setting

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Andreas Oberritter [EMAIL PROTECTED] DVB: pluto2: fix incorrect TSCR register setting The ADEF bits in the TSCR register have different meanings in read and write mode. For this reason ADEF has to

[patch 10/31] HID: Do not discard truncated input reports

2007-04-11 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Adam Kropelin [EMAIL PROTECTED] HID: Do not discard truncated input reports Truncated reports should not be discarded since it prevents buggy devices from communicating with userspace. Prior to

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-11 Thread Helge Hafting
On Wed, Apr 11, 2007 at 01:43:46PM -0700, Andrew Morton wrote: OK. If you add initcall_debug to the kernel boot command line, what's the last thing we call? The last messages (handwritten, somewhat shortened) calling hid_init+0x0/0x10() returned 0 ran for 0 msec calling hid_init+0x0/0x50()

Re: If not readdir() then what?

2007-04-11 Thread Theodore Tso
On Thu, Apr 12, 2007 at 08:32:05AM +1000, Neil Brown wrote: For the first: You are storing an internal tree representation of part of the directory attached to the 'struct file'. Would it be possible to store this attached to the page via the -private pointer? What would avoid the

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-11 Thread Andrew Morton
On Thu, 12 Apr 2007 01:07:00 +0200 Helge Hafting [EMAIL PROTECTED] wrote: On Wed, Apr 11, 2007 at 01:43:46PM -0700, Andrew Morton wrote: OK. If you add initcall_debug to the kernel boot command line, what's the last thing we call? The last messages (handwritten, somewhat shortened)

Re: If not readdir() then what?

2007-04-11 Thread H. Peter Anvin
David Lang wrote: On Thu, 12 Apr 2007, Neil Brown wrote: For the second. You say that you would need at least 96 bits in order to make that guarantee; 64 bits of hash, plus a 32-bit count value in the hash collision chain. I think 96 is a bit greedy. Surely 48 bits of hash and 16 bits

[PATCH 1/7] [RFC] External power framework

2007-04-11 Thread Anton Vorontsov
External power framework - power supplies and power supplicants. Supplicants (batteries so far) may ask to notify they when power supply arrive/gone. This framework used by battery class (next patches). It's permitted for supply to be bound to several supplicants (think main and backup

[PATCH 2/7] [RFC] Common power driver for Linux gadgets

2007-04-11 Thread Anton Vorontsov
This driver used to stop code/logic duplication through different machines we porting at handhelds.org. pda_power register machs' power supplies, and will take care about notifying batteries about power changes through external power interface. This driver should be suitable for almost every

[PATCH 4/7] [RFC] remove #if 0 around find_bus function, export it.

2007-04-11 Thread Anton Vorontsov
This function were placed in #if 0 because nobody was using it. We do use. See http://lwn.net/Articles/210610/ --- drivers/base/bus.c |5 ++--- include/linux/device.h |2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index

[PATCH 3/7] [RFC] Battery monitoring class

2007-04-11 Thread Anton Vorontsov
Here is battery monitor class. According to first copyright string, we're maintaining it since 2003. I've took few days and cleaned it up to be more suitable for mainline inclusion. It differs from battery class at git://git.infradead.org/battery-2.6.git: * It's using external power kernel

[PATCH 5/7] [RFC] ds2760 W1 slave

2007-04-11 Thread Anton Vorontsov
This is W1 slave for ds2760 chip, found inside almost every HP iPaq and HTC PDAs/phones. --- drivers/w1/slaves/Kconfig | 13 +++ drivers/w1/slaves/Makefile|1 + drivers/w1/slaves/w1_ds2760.c | 162 + drivers/w1/slaves/w1_ds2760.h | 52

[patch] x86_64: more fixes to node_possible_map runtime setup

2007-04-11 Thread Siddha, Suresh B
On Mon, Apr 09, 2007 at 04:13:28PM -0700, Siddha, Suresh B wrote: On Mon, Apr 09, 2007 at 03:05:01PM -0700, [EMAIL PROTECTED] wrote: Subject: x86_64-set-node_possible_map-at-runtime fix From: David Rientjes [EMAIL PROTECTED] Clear node_possible_map if numa_emulation() fails for some

Re: If not readdir() then what?

2007-04-11 Thread Jörn Engel
On Wed, 11 April 2007 16:23:21 -0700, H. Peter Anvin wrote: David Lang wrote: On Thu, 12 Apr 2007, Neil Brown wrote: For the second. You say that you would need at least 96 bits in order to make that guarantee; 64 bits of hash, plus a 32-bit count value in the hash collision chain. I

[PATCH] [Trivial] [Doc] Add webpages' URL and summarize 3 lines.

2007-04-11 Thread Miguel Ojeda
Trivial patch, against -rc6. Please apply, thanks. --- CREDITS: - Summarize 3 lines into one. - Add webpage. MAINTAINERS: - Add auxdisplay drivers/tree webpages. CREDITS |7 +++ MAINTAINERS |4 2 files changed, 7 insertions(+), 4 deletions(-) Signed-off-by: Miguel Ojeda

[PATCH 6/7] [RFC] ds2760 battery driver

2007-04-11 Thread Anton Vorontsov
This is driver for batteries with ds2760 chip inside. Such batteries used in almost every HP iPaq and HTC PDAs/phones. --- drivers/battery/Kconfig |7 + drivers/battery/Makefile |1 + drivers/battery/ds2760_battery.c | 466 ++

[PATCH 7/7] [RFC] APM emulation driver for class batteries

2007-04-11 Thread Anton Vorontsov
It finds battery with main_battery flag set (or with max_capacity if no batteries marked as main), and converts battery values to APM form. --- drivers/battery/Kconfig |7 +++ drivers/battery/Makefile|1 + drivers/battery/apm_power.c | 121

Re: If not readdir() then what?

2007-04-11 Thread Neil Brown
On Wednesday April 11, [EMAIL PROTECTED] wrote: On Thu, 12 Apr 2007, Neil Brown wrote: For the second. You say that you would need at least 96 bits in order to make that guarantee; 64 bits of hash, plus a 32-bit count value in the hash collision chain. I think 96 is a bit greedy.

One odd thing about Synaptics

2007-04-11 Thread Pete Zaitcev
Hi, Peter: There's one thing I wanted to report, just in case... It does not affect anything, but it's odd. Every time I lift a finger from the pad, the driver sends an event with odd values (X is 1 and Y is 5855): Event: time 1174695694.561806, type 1 (Key), code 330 (Touch), value 0 Event:

<    3   4   5   6   7   8   9   >