[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

[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

[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

[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 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

[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 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 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 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 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

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

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

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

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: 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 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" :-) >

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

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,

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

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: 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: 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

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

[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 -

[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

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:

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

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

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

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()

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: 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

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

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,

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

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. >

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] 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,

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: 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

[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

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.

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. > >

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

[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: 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

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: 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

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

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: [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: > >

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

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

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

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

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: 2.6.21-rc6-mm1 ima "BUG: held lock freed!"

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 09:55:18 -0400 Joseph Fannin <[EMAIL PROTECTED]> wrote: > On Tue, 2007-04-10 at 15:00 -0400, Reiner Sailer wrote: > > Joseph, > > > > we cannot reproduce the BUG you report. We have identified a potential > > source (spinlock around mutex_init). I have attached a small patch

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

Re: tmpfs and the OOM killer

2007-04-11 Thread Willy Tarreau
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 > space. Will not work, because tmpfs does not use any

Re: [PATCH] console UTF-8 fixes

2007-04-11 Thread Pavel Machek
Hi! > I hope you like it. :) Well, more or less... but you need signed-off-by line, and > @@ -70,6 +70,16 @@ > * malformed UTF sequences represented as sequences of replacement glyphs, > * original codes or '?' as a last resort if replacement glyph is undefined > * by Adam Tla/lka <[EMAIL

Re: 2.6.21-rc6-mm1 USB related boot hang

2007-04-11 Thread Helge Hafting
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 normally get are: usbcore: registered new interface driver usbhid

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

2007-04-11 Thread Oleg Nesterov
On 04/11, Eric W. Biederman wrote: > > Oleg Nesterov <[EMAIL PROTECTED]> writes: > > > On 04/11, Eric W. Biederman wrote: > >> > >> @@ -435,8 +436,12 @@ static void __init setup_command_line(char > >> *command_line) > >> static void noinline rest_init(void) > >>__releases(kernel_lock) > >>

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:28:26PM -0700, Ken Chen wrote: > >I have mixed feelings. I think the userspace getevents support was > >poorly designed and the simple fact that we've gone this long without it > >says just how desperately the feature isn't needed. > > I kept on getting requests from

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

2007-04-11 Thread Zach Brown
> >I have mixed feelings. I think the userspace getevents support was > >poorly designed and the simple fact that we've gone this long without it > >says just how desperately the feature isn't needed. > > I kept on getting requests from application developers who want that > feature. My initial

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

2007-04-11 Thread Danny Kukawka
On Mittwoch, 11. April 2007, Jiri Slaby wrote: > Danny Kukawka napsal(a): > > Btw. looks as if a new version of the driver (v0.41) is already in the > > mm-tree. > > Good to hear, I've got a look only to .21-rc6-mm1, where are no changes like > this (there is 0.30). found in the latest mm

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

2007-04-11 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > On 04/11, Eric W. Biederman wrote: >> >> @@ -435,8 +436,12 @@ static void __init setup_command_line(char >> *command_line) >> static void noinline rest_init(void) >> __releases(kernel_lock) >> { >> +int pid; >> kernel_thread(init,

Re: I give up

2007-04-11 Thread Gene Heskett
On Wednesday 11 April 2007, Jan Engelhardt wrote: >On Apr 10 2007 23:54, Gene Heskett wrote: >So fix tar to not do silly things. >Kernel major:minor numbers are not stable. YOU Tell that to the tar/star people, they are flabbergasted that its not stable. It apparently is for

Re: I give up

2007-04-11 Thread Gene Heskett
On Wednesday 11 April 2007, John Stoffel wrote: >> "Jan" == Jan Engelhardt <[EMAIL PROTECTED]> writes: > >Jan> On Apr 10 2007 23:54, Gene Heskett wrote: >> So fix tar to not do silly things. >> Kernel major:minor numbers are not stable. > > YOU Tell that to the tar/star people,

tmpfs and the OOM killer

2007-04-11 Thread Pedro
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 space. I'm using kernel 2.6.20.4. If someone ask I'll send a test application. - To unsubscribe from this list: send the

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

2007-04-11 Thread J. Bruce Fields
On Wed, Apr 11, 2007 at 08:10:37PM +0100, David Howells wrote: > Add security support to the AFS filesystem. Kerberos IV tickets are > added as RxRPC keys are added to the session keyring with the klog > program. open() and other VFS operations then find this ticket with > request_key() and

Re: [PATCH] kthread: Don't depend on work queues

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 16:36, Oleg Nesterov wrote: > On 04/11, Gautham R Shenoy wrote: > > On Wed, Apr 11, 2007 at 03:48:05PM +0400, Oleg Nesterov wrote: > > > On 04/11, Gautham R Shenoy wrote: > > > > > > > > On Wed, Apr 11, 2007 at 12:13:34PM +0200, Rafael J. Wysocki wrote: > > > > > > > >

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

2007-04-11 Thread Zach Brown
> Ken uses the other (superior!) way of implementing ringbuffers: the head > and tail pointers (the naming of which AIO appears to have reversed) are > not constrained to the ringsize - they are simply allowed to wrap through > 0xfff. A-ha! That sure sounds great. I'd be happy to see the

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

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

2007-04-11 Thread Oleg Nesterov
On 04/11, Eric W. Biederman wrote: > > @@ -435,8 +436,12 @@ static void __init setup_command_line(char *command_line) > static void noinline rest_init(void) > __releases(kernel_lock) > { > + int pid; > kernel_thread(init, NULL, CLONE_FS | CLONE_SIGHAND); >

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

2007-04-11 Thread Ken Chen
On 4/11/07, Zach Brown <[EMAIL PROTECTED]> wrote: First, I'll NAK this and all AIO patches until the patch description says that it's been run through the regression tests that we've started collecting in autotest. They're trivial to run, never fear: OK. I will run those regression tests.

Re: Performance Stats: Kernel patch

2007-04-11 Thread Eric Dumazet
Maxim Uvarov a écrit : Eric Dumazet wrote: >Please check kernel/sys.c:k_getrusage() to see how getrusage() has to sum *lot* of individual fields to get precise process numbers (even counting stats for dead threads) Thanks for helping me and for this link. But it is not enough clear for

Re: 2.6.21-rc6-mm1

2007-04-11 Thread Rafael J. Wysocki
On Wednesday, 11 April 2007 00:20, Venki Pallipadi wrote: > On Mon, Apr 09, 2007 at 07:40:52PM +0200, Rafael J. Wysocki wrote: > > On Monday, 9 April 2007 18:14, Pallipadi, Venkatesh wrote: > > > > > > >-Original Message- > > > >From: Rafael J. Wysocki [mailto:[EMAIL PROTECTED] > > >

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

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 12:27:59 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > + strcpy(tsk->comm, "kthreadd"); We have this dopey set_task_comm() thing which is there to avoid races when userspace is looking at this task's name via /proc. It obviously doesn't matter in this case, but I

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

2007-04-11 Thread Jiri Slaby
Danny Kukawka napsal(a): > On Mittwoch, 11. April 2007, Danny Kukawka wrote: >> Jiri Slaby wrote: >>> Corentin CHARY napsal(a): Le Wednesday 11 April 2007 11:33:48 Jiri Slaby, vous avez écrit : > asus_acpi, support F2JE model Just use the new asus-laptop driver =) (see

[PATCH 4/8] AFS: Correctly alter relocation state after update and show state in /proc

2007-04-11 Thread David Howells
Correctly alter the relocation state after update is complete by switching it from "Updating" to "Valid". Also display the record state in the vlocation database proc file. Signed-Off-By: David Howells <[EMAIL PROTECTED]> --- fs/afs/proc.c | 15 +-- fs/afs/vlocation.c |4

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

2007-04-11 Thread Andrew Morton
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 > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-11-02-24.tar.gz > >

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

2007-04-11 Thread Andrew Morton
On Wed, 11 Apr 2007 11:00:38 -0700 Zach Brown <[EMAIL PROTECTED]> wrote: > > - /* Compensate for the ring buffer's head/tail overlap entry */ > > - nr_events += 2; /* 1 is required, 2 for good luck */ > > + /* round nr_event to next power of 2 */ > > + nr_events =

[PATCH 5/8] AFS: Handle multiple mounts of an AFS superblock correctly

2007-04-11 Thread David Howells
Handle multiple mounts of an AFS superblock correctly, checking to see whether the superblock is already initialised after calling sget() rather than just unconditionally stamping all over it. Also delete the "silent" parameter to afs_fill_super() as it's not used and can, in any case, be

[PATCH 7/8] AFS: Permit key to be cached in nameidata

2007-04-11 Thread David Howells
Permit a key to be cached in the nameidata struct so that it only needs to be looked up once when doing the sequence of d_revalidate(), permission(), follow_link() and lookup() calls involved in a pathwalk. This is used by the AFS filesystem to avoid repeatedly having to call request_key(). Once

[PATCH 6/8] AFS: AF_RXRPC key changes

2007-04-11 Thread David Howells
Make two changes to the AF_RXRPC key handling to make it easier for AFS to use: (1) Export key_type_rxrpc so that AFS can request keys of this type. (2) Make it possible to have keys that represent "no security". These are created by instantiating the keys with no data. Signed-Off-By:

[PATCH 1/8] AF_RXRPC: Use own workqueues

2007-04-11 Thread David Howells
Make the AF_RXRPC module use its own workqueues with their own per-CPU threads. Currently it uses keventd to do the following tasks, amongst others: (*) Security negotiation (*) Packet encryption and decryption (*) Packet resending (*) ACK, abort and busy packet generation (*) Timeout

[PATCH 0/8] AFS: Add security support and fix bugs

2007-04-11 Thread David Howells
These patches build on the patchset labelled "AF_RXRPC socket family and AFS rewrite". The patches are also available for http download. Firstly, the patches fix a number of bugs in AF_RXRPC: http://people.redhat.com/~dhowells/rxrpc/09-af_rxrpc-own-workqueues.diff

[PATCH 3/8] AFS: Fix callback aggregator work item deadlock

2007-04-11 Thread David Howells
Fix a deadlock in the give-up-callback aggregator dispatcher work item whereby the aggregator runs on keventd as does timed autounmount, thus leading to the unmount blocking keventd whilst waiting for keventd to run the aggregator when the give-up-callback buffer is full. Signed-Off-By: David

[PATCH 2/8] AF_RXRPC: Lower dead call timeout and fix available call counting on connections

2007-04-11 Thread David Howells
Make a couple of fixes to AF_RXRPC: (1) The dead call timeout is shortened to 2 seconds. Without this, each completed call sits around eating up resources for 10 seconds. The calls need to hang around for a little while in case duplicate packets appear, but 10 seconds is

Re: [PATCH] console UTF-8 fixes

2007-04-11 Thread Jan Engelhardt
On Apr 11 2007 20:28, Egmont Koblinger wrote: >I send a reworked version of the patch. > >Removed from the first version: > - any sign of '.' as substitute glyph > - don't ignore zero-width characters (except for a few zero-width spaces >that are ignored in the current kernel too).

[PATCH] Linux Kernel Markers documentation fix typo and use ARRAY_SIZE

2007-04-11 Thread Mathieu Desnoyers
Linux Kernel Markers documentation fix typo and use ARRAY_SIZE Following comments from Randy Dunlap. Applies on top of the linux-kernel-markers-documentation-markers-update-documentation patch. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> --- a/Documentation/marker.txt +++

<    1   2   3   4   5   6   7   8   9   >