RE: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Hua Zhong
> Any strong reason why not? x has some value that does not > make sense and can create only problems. By the same logic, you should memset the buffer to zero before freeing it too. > And as I explained, it can result in longer code too. So, why > keep this value around. Why not re-initialize i

Re: VM: Fix nasty and subtle race in shared mmap'ed page writeback

2007-01-07 Thread dean gaudet
On Wed, 3 Jan 2007, Andrew Morton wrote: > On Wed, 03 Jan 2007 22:56:07 -0800 (PST) > David Miller <[EMAIL PROTECTED]> wrote: > > > Note that the original rtorrent debian bug report was against 2.6.18 > > I think that was 2.6.18+debian-added-dirty-page-tracking-patches. i've seen it on a 2.6.18

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Amit Choudhary
--- Vadim Lobanov <[EMAIL PROTECTED]> wrote: > On Sun, 2007-01-07 at 20:09 -0800, Amit Choudhary wrote: > > I have already explained it earlier. I will try again. You will not need > > free_2: and free_1: > with > > KFREE(). You will only need one free: with KFREE. > I do not want to write thi

Re: [PATCH] Common compat_sys_sysinfo (v2)

2007-01-07 Thread Stephen Rothwell
On Mon, 8 Jan 2007 06:54:26 +0100 Arnd Bergmann <[EMAIL PROTECTED]> wrote: > > > People have complined before that this adds a whole stack frame to the > > "normal" syscall path.  Personally I don't care, but it has been > > mentioned. > > It might be a concern for something like 'read' which is ca

RE: [PATCH 2.6.20-rc3] UCC Ether driver: kmalloc casting cleanups

2007-01-07 Thread Li Yang-r58472
> -Original Message- > From: Ahmed S. Darwish [mailto:[EMAIL PROTECTED] > Sent: Monday, January 08, 2007 12:27 PM > To: Li Yang-r58472 > Cc: linux-kernel@vger.kernel.org; netdev@vger.kernel.org > Subject: Re: [PATCH 2.6.20-rc3] UCC Ether driver: kmalloc casting cleanups > > On Mon, Jan 08,

Re: [PATCH] Common compat_sys_sysinfo (v2)

2007-01-07 Thread Arnd Bergmann
On Monday 08 January 2007 00:43, Stephen Rothwell wrote: > > +asmlinkage long sys_sysinfo(struct sysinfo __user *info) > > +{ > > + struct sysinfo val; > > + > > + do_sysinfo(&val); > > > > - out: > >   if (copy_to_user(info, &val, sizeof(struct sysinfo))) > >   return -EFAU

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Vadim Lobanov
On Sun, 2007-01-07 at 20:09 -0800, Amit Choudhary wrote: > I have already explained it earlier. I will try again. You will not need > free_2: and free_1: with > KFREE(). You will only need one free: with KFREE. So, to rephrase, your stated goal is to get rid of any non-singular goto labels in fun

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 8 2007 02:03, Adrian Bunk wrote: > >The only major MUA not supporting UTF-8 is Eudora. > >And if you are talking about buggy old pine, in the latest development >version [1] it does not only become open source, it also got some >working Unicode support. Uhm, just for the record, I run pi

Re: [PATCH] Fix sparsemem on Cell (take 3)

2007-01-07 Thread Tim Pepper
On 1/7/07, Dave Hansen <[EMAIL PROTECTED]> wrote: On Fri, 2007-01-05 at 22:52 -0600, John Rose wrote: > Could this break ia64, given that it uses memmap_init_zone()? You are right, I think it does. Boot tested OK on ia64 with this latest version of the patch. (forgot to click plain text on gm

Re: Linux 2.6.20-rc4

2007-01-07 Thread Peter Osterlund
David Miller <[EMAIL PROTECTED]> writes: > From: Linus Torvalds <[EMAIL PROTECTED]> > Date: Sun, 7 Jan 2007 14:50:15 -0800 (PST) > > > David, there really *is* something screwy in netfilter. > > Sure, but from what I can see this bug appears unrelated to the one in > kernel bugzilla #7781 that

Re: Finding hardlinks

2007-01-07 Thread Mikulas Patocka
Currently, large file support is already necessary to handle dvd and video. It's also useful for images for virtualization. So the failing stat() calls should already be a thing of the past with modern distributions. As long as glibc compiles by default with 32-bit ino_t, the problem exists and

[PATCH] kernel-doc: allow more whitespace

2007-01-07 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Allow whitespace in pointer-to-function [accept "(* done)", not just "(*done)"]. Allow tabs (spaces are already allowed) between "#define" and a macro name. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- scripts/kernel-doc |4 ++-- 1 file

Re: Finding hardlinks

2007-01-07 Thread Mikulas Patocka
And does it matter? If you rename a file, tar might skip it no matter of hardlink detection (if readdir races with rename, you can read none of the names of file, one or both --- all these are possible). If you have "dir1/a" hardlinked to "dir1/b" and while tar runs you delete both "a" and "b" an

Re: Kwatch patch available for 2.6.20?

2007-01-07 Thread S. P. Prasanna
On Sun, Jan 07, 2007 at 01:00:08PM -0500, Alan Stern wrote: > Has the kwatch patch (hardware watchpooint debugging for x86) been updated > to the current kernel? Is it available anywhere? Hi Alan, On Sun, Jan 07, 200

Re: [PATCH 2.6.20-rc3] UCC Ether driver: kmalloc casting cleanups

2007-01-07 Thread Ahmed S. Darwish
On Mon, Jan 08, 2007 at 11:12:28AM +0800, Li Yang-r58472 wrote: > > NACK about the 2 clean-ups above. Cast from pointer to integer is > required here. > Hi, here's the modified patch. A patch to switch kmalloc to kzalloc and clean some redundant kmalloc casts. Signed-off-by: Ahmed S. Darwish <

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread David Woodhouse
On Sun, 2007-01-07 at 15:05 -0500, Dave Jones wrote: > This has been bugging me for a while. > Viewing the mail I applied in mutt shows his name correctly as Rafał > Applying it with git-applymbox and viewing the log on master.kernel.org > with git log shows Rafa And then later when put into emai

[GIT PULL] please pull infiniband.git

2007-01-07 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus A few small fixes here and there: Erez Zilber (1):

Re: [PATCH 2.6.20-rc3] UCC Ether driver: kmalloc casting cleanups

2007-01-07 Thread Ahmed S. Darwish
On Mon, Jan 08, 2007 at 11:12:28AM +0800, Li Yang-r58472 wrote: > > From: Ahmed S. Darwish [mailto:[EMAIL PROTECTED] > > > > Hi, > > A kmalloc casting cleanup patch. > > Signed-off-by: Ahmed Darwish <[EMAIL PROTECTED]> [..] > > - (u32) (kmalloc((u32) (length + align), >

[PATCH 23/24] Unionfs: Kconfig and Makefile

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains the changes to fs Kconfig file, Makefiles, and Maintainers file for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- M

[PATCH 24/24] Unionfs: Extended Attributes support

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Extended attribute support. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/Kconfig |9 fs/unionfs/Makefile |2 + fs/unio

[PATCH 07/24] Unionfs: File operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides the file operations for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/file.c | 257

[PATCH 18/24] Unionfs: Superblock operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains the superblock operations for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/super.c | 346 +

[PATCH 03/24] Unionfs: Branch management functionality

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains the ioctls to increase the union generation and to query which branch a file exists on. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECT

[PATCH 12/24] Unionfs: Main module functions

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Module init & cleanup code, as well as interposition functions. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/main.c | 687 +

[PATCH 04/24] Unionfs: Common file operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains helper functions used through the rest of the code which pertains to files. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs

[PATCH 00/24] Unionfs, try #4

2007-01-07 Thread Josef 'Jeff' Sipek
The have been no real significant changes since the previous submission (see end of this email for detailed changelog). We believe that the code is stable enough to warrant inclusion into -mm. As before, there is a git repo at: git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git (m

[PATCH 05/24] Unionfs: Copyup Functionality

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains the functions used to perform copyup operations in unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/copyup.

[PATCH 14/24] Unionfs: Rename

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides rename functionality for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/rename.c | 445 +

[PATCH 09/24] Unionfs: Directory manipulation helper functions

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains directory manipulation helper functions. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/dirhelper.c | 270 +++

[PATCH 02/24] lookup_one_len_nd - lookup_one_len with nameidata argument

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch renames lookup_one_len to lookup_one_len_nd, and adds a nameidata argument. An inline function, lookup_one_len (which calls lookup_one_len_nd with nd == NULL) preserves original behavior. The following Unionfs patches depend on this one. Si

[PATCH 08/24] Unionfs: Directory file operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides directory file operations. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/dirfops.c | 263 +++

[PATCH 06/24] Unionfs: Dentry operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains the dentry operations for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/dentry.c | 243

[PATCH 16/24] Unionfs: Handling of stale inodes

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Provides nicer handling of stale inodes. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/stale_inode.c | 112 +

[PATCH 19/24] Unionfs: Helper macros/inlines

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains many macros and inline functions used thoughout Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/fanout.h |

[PATCH 10/24] Unionfs: Inode operations

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides the inode operations for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/inode.c | 939 ++

[PATCH 22/24] Unionfs: Unlink

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides unlink functionality for Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/unlink.c | 162 +

[PATCH 13/24] Unionfs: Readdir state

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This file contains the routines for maintaining readdir state. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/rdstate.c | 288 +++

[PATCH 01/24] Unionfs: Documentation

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains documentation for Unionfs. You will find several files outlining basic unification concepts and rename semantics. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by:

[PATCH 20/24] Unionfs: Internal include file

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains an internal Unionfs include file. The include file is specific to kernel code only, and therefore is separate from include/linux/unionfs.h. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL P

[PATCH 15/24] Unionfs: Privileged operations workqueue

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Workqueue & helper functions used to perform privileged operations on behalf of the user process. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> ---

[PATCH 21/24] Unionfs: Include file

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Global include file - can be included from userspace by utilities. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- include/linux/magic.h|2

[PATCH 11/24] Unionfs: Lookup helper functions

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch provides helper functions for the lookup operations in Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/lookup.c |

[PATCH 17/24] Unionfs: Miscellaneous helper functions

2007-01-07 Thread Josef 'Jeff' Sipek
From: Josef "Jeff" Sipek <[EMAIL PROTECTED]> This patch contains miscellaneous helper functions used thoughout Unionfs. Signed-off-by: Josef "Jeff" Sipek <[EMAIL PROTECTED]> Signed-off-by: David Quigley <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/subr.c | 17

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Amit Choudhary
--- Vadim Lobanov <[EMAIL PROTECTED]> wrote: > > struct type1 { > /* something */ > }; > > struct type2 { > /* something */ > }; > > #define COUNT 10 > > void function1(struct type1 **a1, struct type2 **a2, unsigned int sz); > > void function2(void) > { > struct type1 *arr1

Re: [RFC,PATCHSET] Managed device resources

2007-01-07 Thread Tejun Heo
Greg KH wrote: > On Thu, Jan 04, 2007 at 05:26:43PM -0500, Jeff Garzik wrote: >> Greg KH wrote: >>> Hm, but I guess without the follow-up patches for libata, it will not >>> really get tested much. Jeff, if I accept this, what's your feelings of >>> letting libata be the "test bed" for it? >> >> I

Re: (Another?) Seagate / Sil3112a problem...

2007-01-07 Thread Tejun Heo
Hello, [cc'ing lkml and linux-ide] Philippe Grenard wrote: > To "close" this problem, here are the latest news : > I just bought some new power supply, and the problem has gone... > Maybe that was due to poor power flow or crappy connexion ?... > > now everything seems to work well, so as suspec

[ANNOUNCE] GIT 1.4.4.4

2007-01-07 Thread Junio C Hamano
The latest maintenance release GIT 1.4.4.4 is available at the usual places: http://www.kernel.org/pub/software/scm/git/ git-1.4.4.4.tar.{gz,bz2} (tarball) git-htmldocs-1.4.4.4.tar.{gz,bz2} (preformatted docs) git-manpages-1.4.4.4.tar.{gz,bz2}

Re: [PATCH] Fix sparsemem on Cell (take 3)

2007-01-07 Thread Arnd Bergmann
On Sunday 07 January 2007 09:58, Dave Hansen wrote: > The following patch fixes an oops experienced on the Cell architecture > when init-time functions, early_*(), are called at runtime.  It alters > the call paths to make sure that the callers explicitly say whether the > call is being made on beh

Re: How git affects kernel.org performance

2007-01-07 Thread Suparna Bhattacharya
On Sun, Jan 07, 2007 at 01:15:42AM -0800, Andrew Morton wrote: > On Sun, 7 Jan 2007 09:55:26 +0100 > Willy Tarreau <[EMAIL PROTECTED]> wrote: > > > On Sat, Jan 06, 2007 at 09:39:42PM -0800, Linus Torvalds wrote: > > > > > > > > > On Sat, 6 Jan 2007, H. Peter Anvin wrote: > > > > > > > > During ext

[PATCH] romsignature/checksum cleanup

2007-01-07 Thread Rene Herman
On 01/07/2007 07:07 PM, Jeremy Fitzhardinge wrote: Rene Herman wrote: Doing the set_fs() and pagefault_{disable,enable} calls for every single byte during the checksum seems rather silly. Why? Because it makes for dumb code. But oh well, given that it all compiles to basically nothing I

Re: SATA problems

2007-01-07 Thread Jeff Garzik
Tejun Heo wrote: Pablo Sebastian Greco wrote: After an uptime of 13:34 under heavy load and no errors, I'm pretty sure your patch is correct. Is there a way to backport this to 2.6.18.x? I forgot this (even though I implemented it) but you can turn off NCQ by doing the following. # echo 1 >

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Vadim Lobanov
On Sun, 2007-01-07 at 16:02 -0800, Amit Choudhary wrote: > That's where KFREE(ptr) comes in so that the code doesn't look ugly and still > the purpose is > achieved. Shoving it into a macro makes it no better. > > Reading code like that makes me say "wtf?", simply because 'ptr' is not > > used t

Re: RTC subsystem and fractions of seconds

2007-01-07 Thread David Brownell
On Sunday 07 January 2007 2:14 am, Philippe De Muyter wrote: > On Fri, Jan 05, 2007 at 07:49:00PM -0800, David Brownell wrote: > > > Those rtc's actually have a 1/100th of second > > > register. Should the generic rtc interface not support that? > > > > Are you implying a new userspace API, or

Re: [PATCH] Add pci class code for SATA

2007-01-07 Thread Jeff Garzik
Conke Hu wrote: or, pls see this one: diff -Nur linux-2.6.20-rc1.orig/drivers/ata/ahci.c linux-2.6.20-rc1/drivers/ata/ahci.c --- linux-2.6.20-rc1.orig/drivers/ata/ahci.c2006-12-20 10:25:00.0 +0800 +++ linux-2.6.20-rc1/drivers/ata/ahci.c2006-12-20 11:45:45

Re: SATA problems

2007-01-07 Thread Tejun Heo
Pablo Sebastian Greco wrote: > After an uptime of 13:34 under heavy load and no errors, I'm pretty > sure your patch is correct. Is there a way to backport this to 2.6.18.x? I forgot this (even though I implemented it) but you can turn off NCQ by doing the following. # echo 1 > /sys/block/sdX/de

Re: OT: character encodings

2007-01-07 Thread Adrian Bunk
On Mon, Jan 08, 2007 at 02:32:42AM +0100, Tilman Schmidt wrote: > Am 08.01.2007 01:38 schrieb Willy Tarreau: >... > > And I'm not even > > discussing the stupidity which requires that you read a whole text to get > > its number of characters ! > > Personally I find the requirement to know the numb

Re: How git affects kernel.org performance

2007-01-07 Thread Jakub Narebski
Robert Fitzsimons wrote: >> Some more data on how git affects kernel.org... > > I have a quick question about the gitweb configuration, does the > $projects_list config entry point to a directory or a file? It can point to both. Usually it is either unset, and then we do find over $projectroot,

Re: [PATCH 2.6.20-rc3] sata_promise: ATAPI support

2007-01-07 Thread Jeff Garzik
Mikael Pettersson wrote: This patch adds ATAPI support to the sata_promise driver. This has been tested on both first- and second-generation chips (20378 and 20575), and with both SATAPI and PATAPI devices. CD-writing works, and bulk data transfers use DMA. SATAPI works on second-generation chip

Re: [PATCH libata #promise-sata-pata] sata_promise: 2037x PATAPI support

2007-01-07 Thread Jeff Garzik
Mikael Pettersson wrote: @@ -789,8 +789,14 @@ static void pdc_exec_command_mmio(struct static int pdc_check_atapi_dma(struct ata_queued_cmd *qc) { u8 *scsicmd = qc->scsicmd->cmnd; + struct ata_port *ap = qc->ap; + struct pdc_host_priv *hp = ap->host->private_data; in

Re: [PATCH libata #promise-sata-pata] sata_promise: unbreak 20619

2007-01-07 Thread Jeff Garzik
Mikael Pettersson wrote: The PATA support patch for sata_promise appears, from code inspection, to break the PATA-only 20619 chip. The patch removes the SATA flag from the TX2plus SATA+PATA boards' common flags, with the intention of adding it back via the _port_flags[] entries for those boards'

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Adrian Bunk
On Mon, Jan 08, 2007 at 02:14:41AM +0100, Willy Tarreau wrote: > On Mon, Jan 08, 2007 at 02:03:37AM +0100, Adrian Bunk wrote: > > On Mon, Jan 08, 2007 at 01:38:57AM +0100, Willy Tarreau wrote: > > > On Mon, Jan 08, 2007 at 12:37:50AM +0100, Adrian Bunk wrote: > > > > On Sun, Jan 07, 2007 at 09:48:3

RE: System / libata IDE controller woes (long)

2007-01-07 Thread Erik Ohrnberger
Well, after more mucking about, and copying data off of the production LVM on to the backup LVM, I noticed that no matter where I put this one Seagate drive, it caused dma_timer_expiry errors. Once I replaced this drive, everything settled down again, and has been running normally. So it's not th

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Horst H. von Brand
Russell King <[EMAIL PROTECTED]> wrote: [...] > All that UTF-8 has done is added to the "which charset is this data" > problem rather than actually solving any proper real life problem. It solves real-world problems, the pain is that it is not (yet) universally used. The charset problems today a

Re: OT: character encodings

2007-01-07 Thread Tilman Schmidt
Am 08.01.2007 01:38 schrieb Willy Tarreau: > I'm not blaming UTF-8 per se, but people who still believe in encoding > *whole documents*. Copy-paste, text insertion, git output, etc... everything > has a good reason not to be in the same encoding as what your MUA believes. > If major MUAs still have

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Jan Engelhardt
On Jan 7 2007 22:30, Alan wrote: > >> >The kernel maintainers/help/config pretty consistently use UTF8 >> >> I've seen a lot of places that don't do so. Want a patch? > >I think that would be a good idea - and add it to the coding/docs specs >that documentation is UTF-8. Code should IMHO say 7bit

Re: 2.6.20-rc4: known unfixed regressions

2007-01-07 Thread Bernhard Schmidt
Adrian Bunk wrote: This email lists some known regressions in 2.6.20-rc4 compared to 2.6.19. Subject: netfilter conntrack Oopses References : http://lkml.org/lkml/2007/1/4/156 Netfilter bugzilla #528 https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=528 fixed, I think the patch i

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Willy Tarreau
On Mon, Jan 08, 2007 at 02:03:37AM +0100, Adrian Bunk wrote: > On Mon, Jan 08, 2007 at 01:38:57AM +0100, Willy Tarreau wrote: > > On Mon, Jan 08, 2007 at 12:37:50AM +0100, Adrian Bunk wrote: > > > On Sun, Jan 07, 2007 at 09:48:34PM +0100, Willy Tarreau wrote: > > > > On Sun, Jan 07, 2007 at 08:11:3

Re: 2.6.20-rc3: known unfixed regressions - x86_64 boot failure: "IO-APIC + timer doesn't work"

2007-01-07 Thread Linus Torvalds
On Mon, 8 Jan 2007, Tobias Diedrich wrote: > > Yinghai Lu wrote: > > Please check the latest version. ( 01/02/2007) > > Works for me, with both BIOS versions / routing variants. Yinghai, Eric, can you please send me the latest version with (a) explanations for the changelogs (b) sign-off's (

Re: [patch] paravirt: isolate module ops

2007-01-07 Thread Rusty Russell
On Sat, 2007-01-06 at 19:31 +, Christoph Hellwig wrote: > On Sun, Jan 07, 2007 at 03:18:45AM +1100, Rusty Russell wrote: > > PS. drm_memory.h has a "drm_follow_page": this forces us to uninline > > various page tables ops. Can this use follow_page() somehow, or do we > > need an "__follow_pag

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Adrian Bunk
On Mon, Jan 08, 2007 at 01:38:57AM +0100, Willy Tarreau wrote: > On Mon, Jan 08, 2007 at 12:37:50AM +0100, Adrian Bunk wrote: > > On Sun, Jan 07, 2007 at 09:48:34PM +0100, Willy Tarreau wrote: > > > On Sun, Jan 07, 2007 at 08:11:38PM +0100, Jan Engelhardt wrote: > > > > > > > > On Jan 7 2007 17:06

Re: Linux 2.6.20-rc4

2007-01-07 Thread David Miller
From: Linus Torvalds <[EMAIL PROTECTED]> Date: Sun, 7 Jan 2007 14:50:15 -0800 (PST) > David, there really *is* something screwy in netfilter. Sure, but from what I can see this bug appears unrelated to the one in kernel bugzilla #7781 that we've been discussing the past few days. First of all,

Re: 2.6.20-rc3: known unfixed regressions - x86_64 boot failure: "IO-APIC + timer doesn't work"

2007-01-07 Thread Tobias Diedrich
Yinghai Lu wrote: > Please check the latest version. ( 01/02/2007) Works for me, with both BIOS versions / routing variants. patches/series: patch-2.6.20-rc4 patch-2.6.19-rc3-nokmem myconfig ccache timer_01022007.diff hpet-quirk dmesg diff: --- dmesg-20070108-2.6.20-rc4-bios-0402 2007-01-08 01:5

Re: [patch] paravirt: isolate module ops

2007-01-07 Thread Dave Airlie
Even better we can actualy avid most of the page table walks completely. First there is a number of places that can never have the vmalloc case an may use ioremap/iounmap directly. Secondly drm_core_ioremap/ drm_core_ioremapfree already have the right drm_map to check wich kind of mapping we ha

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Willy Tarreau
On Mon, Jan 08, 2007 at 12:37:50AM +0100, Adrian Bunk wrote: > On Sun, Jan 07, 2007 at 09:48:34PM +0100, Willy Tarreau wrote: > > On Sun, Jan 07, 2007 at 08:11:38PM +0100, Jan Engelhardt wrote: > > > > > > On Jan 7 2007 17:06, Russell King wrote: > > > >On Mon, Jan 08, 2007 at 12:29:05AM +0800, Da

Re: 2.6.20-rc4: known regressions with patches available

2007-01-07 Thread Marcel Holtmann
Hi Adrian, > This email lists some known regressions in 2.6.20-rc4 compared to 2.6.19 > with patches available. > > If you find your name in the Cc header, you are either submitter of one > of the bugs, maintainer of an affectected subsystem or driver, a patch > of you caused a breakage or I'm co

2.6.20-rc4: known regressions with patches available

2007-01-07 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc4 compared to 2.6.19 with patches available. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any oth

2.6.20-rc4: known unfixed regressions

2007-01-07 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc4 compared to 2.6.19. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm considering you in any other way possibly involve

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Amit Choudhary
--- Vadim Lobanov <[EMAIL PROTECTED]> wrote: > On Sun, 2007-01-07 at 14:43 -0800, Amit Choudhary wrote: > > Any strong reason why not? x has some value that does not make sense and > > can create only > problems. > > And as I explained, it can result in longer code too. So, why keep this > > va

Re: [KORG] Re: kernel.org lies about latest -mm kernel

2007-01-07 Thread H. Peter Anvin
Randy Dunlap wrote: Hi, I'm sure that all of this ext3fs etc. discussion is good, but let me clarify: I would be much happier if the kernel.org main page and the finger_banner info were updated at the same time that new tarballs were put onto kernel.org. Tough sh*t. Now someone may say th

Re: PATA_SIS and SIS 5513

2007-01-07 Thread Ioan Ionita
On 12/27/06, Tejun Heo <[EMAIL PROTECTED]> wrote: Ioan Ionita wrote: > pata_sis will not work with my CD-ROM > > dmesg output when trying to mount a cd-rom: Please post full dmesg including all boot messages. Sorry for the delay. Here's the full dmesg as requested. Please don't take into accou

Re: 2.6.20-rc3: known unfixed regressions (v4)

2007-01-07 Thread Adrian Bunk
On Sat, Jan 06, 2007 at 11:06:46PM +0100, Brice Goglin wrote: > Adrian Bunk wrote: > > This email lists some known regressions in 2.6.20-rc3 compared to 2.6.19 > > that are not yet fixed in Linus' tree. > > > > I reported another one yesterday, about HT MSI capability lookup being > broken (can

[PATCH] Remove a couple final references to obsolete verify_area().

2007-01-07 Thread Robert P. J. Day
Remove a couple final references to the obsolete verify_area() call, which was long ago replaced by access_ok(). Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- it *appears* that these last two references can be removed, unless there's something really strange i'm not seeing here.

Re: 2.6.20-rc3 regression: suspend to RAM broken on Mac mini Core Duo

2007-01-07 Thread Adrian Bunk
On Sun, Jan 07, 2007 at 11:27:06PM +0100, Tino Keitel wrote: > On Sun, Jan 07, 2007 at 21:04:53 +0100, Tino Keitel wrote: > > On Sun, Jan 07, 2007 at 13:23:13 -0500, Lee Revell wrote: > > > On Sun, 2007-01-07 at 16:17 +0100, Tino Keitel wrote: > > > > No information about the device/driver that ref

Re: [PATCH] Common compat_sys_sysinfo (v2)

2007-01-07 Thread Stephen Rothwell
Hi Kyle, Looks good. Just one nit and one comment. On Sun, 7 Jan 2007 10:40:45 -0500 Kyle McMartin <[EMAIL PROTECTED]> wrote: > > diff --git a/kernel/compat.c b/kernel/compat.c > index 6952dd0..cebb4c2 100644 > --- a/kernel/compat.c > +++ b/kernel/compat.c . . . > + __put_user (s.upti

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Adrian Bunk
On Sun, Jan 07, 2007 at 09:48:34PM +0100, Willy Tarreau wrote: > On Sun, Jan 07, 2007 at 08:11:38PM +0100, Jan Engelhardt wrote: > > > > On Jan 7 2007 17:06, Russell King wrote: > > >On Mon, Jan 08, 2007 at 12:29:05AM +0800, David Woodhouse wrote: > > > > > >$ git log | head -n 1000 | tail -n 200

Re: [PATCH] increment pos before looking for the next cap in __pci_find_next_ht_cap

2007-01-07 Thread Michael Ellerman
On Fri, 2007-01-05 at 17:58 -0600, Robert Hancock wrote: > Brice Goglin wrote: > > Hi, > > > > While testing 2.6.20-rc3 on a machine with some CK804 chipsets, we > > noticed that quirk_nvidia_ck804_msi_ht_cap() was not detecting HT > > MSI capabilities anymore. It is actually caused by the MSI map

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Vadim Lobanov
On Sun, 2007-01-07 at 14:43 -0800, Amit Choudhary wrote: > Any strong reason why not? x has some value that does not make sense and can > create only problems. > And as I explained, it can result in longer code too. So, why keep this value > around. Why not > re-initialize it to NULL. Because it

Re: xfslogd-spinlock bug?

2007-01-07 Thread David Chinner
On Wed, Dec 27, 2006 at 01:58:06PM +0100, Haar János wrote: > Hello, > > - Original Message - > From: "David Chinner" <[EMAIL PROTECTED]> > To: "David Chinner" <[EMAIL PROTECTED]> > Cc: "Haar János" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; > > Sent: Tuesday, December 19, 2006 5:47 AM >

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sun, Jan 07, 2007 at 02:48:12PM -0800, Andrew Morton wrote: > On Mon, 8 Jan 2007 09:23:41 +1100 > David Chinner <[EMAIL PROTECTED]> wrote: > > > How are you supposed to invalidate a range of pages in a mapping for > > this case, then? invalidate_mapping_pages() would appear to be the > > candid

Re: How git affects kernel.org performance

2007-01-07 Thread Shawn O. Pearce
Krzysztof Halasa <[EMAIL PROTECTED]> wrote: > Hmm... Perhaps it should be possible to push git updates as a pack > file only? I mean, the pack file would stay packed = never individual > files and never 256 directories? Latest Git does this. If the server is later than 1.4.3.3 then the receive-pa

Re: Linux 2.6.20-rc4

2007-01-07 Thread Linus Torvalds
On Sun, 7 Jan 2007, Peter Osterlund wrote: > Linus Torvalds <[EMAIL PROTECTED]> writes: > > > Patrick McHardy (2): > > [NETFILTER]: New connection tracking is not EXPERIMENTAL anymore > > I get kernel panics when doing large ethernet transfers. A loop doing > continuous scp transfers of

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread Andrew Morton
On Mon, 8 Jan 2007 09:23:41 +1100 David Chinner <[EMAIL PROTECTED]> wrote: > How are you supposed to invalidate a range of pages in a mapping for > this case, then? invalidate_mapping_pages() would appear to be the > candidate (the generic code uses this), but it _skips_ pages that > are already m

Re: [PATCH] include/linux/slab.h: new KFREE() macro.

2007-01-07 Thread Amit Choudhary
--- Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Sun, Jan 07, 2007 at 12:46:50AM -0800, Amit Choudhary wrote: > > Well, I am not proposing this as a debugging aid. The idea is about correct > > programming, > atleast > > from my view. Ideally, if you kfree(x), then you should set x to NULL.

Re: [PATCH libata #promise-sata-pata] sata_promise: 2037x PATAPI support

2007-01-07 Thread Mikael Pettersson
On Sat, 6 Jan 2007 21:32:03 +0100 (MET), Mikael Pettersson wrote: >This patch adds ATAPI support for the PATA port on Promise 2037x chips. >It depends on the common sata_promise ATAPI support patch. > >First-generation chips don't support ATAPI on their SATA ports, so >the patch removes ATA_FLAG_NO

Re: 2.6.20-rc3-git4 oops on suspend: __drain_pages

2007-01-07 Thread Mauro Carvalho Chehab
Em Dom, 2007-01-07 às 18:33 +0200, Pekka Enberg escreveu: > On Thu, 4 Jan 2007, Robert Hancock wrote: > > > > Saw this oops on 2.6.20-rc3-git4 when attempting to suspend. This only > > > > happened in 1 of 3 attempts. > > On Friday, 5 January 2007 20:15, Christoph Lameter wrote: > > > See the fix

Re: RTC subsystem and fractions of seconds

2007-01-07 Thread Philippe De Muyter
On Sun, 7 Jan 2007, Hugh Dickins wrote: > Author: Matt Mackall <[EMAIL PROTECTED]> > > [PATCH] RTC: Remove RTC UIP synchronization on x86 > > Reading the CMOS clock on x86 and some other arches currently takes up to > one > second because it synchronizes with the CMOS second tic

Re: BUG: warning at mm/truncate.c:60/cancel_dirty_page()

2007-01-07 Thread David Chinner
On Sat, Jan 06, 2007 at 09:11:07PM +, Hugh Dickins wrote: > On Sat, 6 Jan 2007, Sami Farin wrote: > > > Linux 2.6.19.1 SMP [2] on Pentium D... > > I was running dt-15.14 [2] and I ran > > "cinfo datafile" (it does mincore()). > > Well it went OK but when I ran "strace cinfo datafile"...: > > 0

Re: 2.6.20-rc3 regression: suspend to RAM broken on Mac mini Core Duo

2007-01-07 Thread Tino Keitel
On Sun, Jan 07, 2007 at 21:04:53 +0100, Tino Keitel wrote: > On Sun, Jan 07, 2007 at 13:23:13 -0500, Lee Revell wrote: > > On Sun, 2007-01-07 at 16:17 +0100, Tino Keitel wrote: > > > No information about the device/driver that refuses to resume. > > > > You should be able to identify the problemat

Re: OT: character encodings (was: Linux 2.6.20-rc4)

2007-01-07 Thread Alan
> >The kernel maintainers/help/config pretty consistently use UTF8 > > I've seen a lot of places that don't do so. Want a patch? I think that would be a good idea - and add it to the coding/docs specs that documentation is UTF-8. Code should IMHO say 7bit though. Alan - To unsubscribe from this

Re: runaway loop modprobe binfmt-0000

2007-01-07 Thread Tom Lanyon
On 1/6/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sat, 6 Jan 2007 09:43:14 +1030 "Tom Lanyon" <[EMAIL PROTECTED]> wrote: > How can I discover > what is trying to load binfmt- and why is it looping? Start with this, I guess.. --- a/kernel/kmod.c~a +++ a/kernel/kmod.c @@ -98,10 +98,12 @

  1   2   3   >