Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)

2007-04-24 Thread Andrew Morton
On Tue, 24 Apr 2007 22:49:48 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > On 4/24/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Tue, 24 Apr 2007 22:27:44 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > > > > > [ 1251.506964] PM: Preparing system for mem sleep > > > [ 1251.514790]

Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)

2007-04-24 Thread Miles Lane
On 4/24/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Tue, 24 Apr 2007 22:27:44 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > [ 1251.506964] PM: Preparing system for mem sleep > [ 1251.514790] Stopping tasks ... > [ 1271.456065] Stopping user space processes timed out after 20 > seconds (1

Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)

2007-04-24 Thread Andrew Morton
On Tue, 24 Apr 2007 22:27:44 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > [ 1251.506964] PM: Preparing system for mem sleep > [ 1251.514790] Stopping tasks ... > [ 1271.456065] Stopping user space processes timed out after 20 > seconds (1 tasks refusing to freeze): > [ 1271.456243]

[PATCH] drivers/net: move the nvidia forcedeth driver from 100M group to 1000M group

2007-04-24 Thread Peer Chen
nForce ehternet is a Gigabit NIC not 100M, move it to 1000M group to avoid the confusion. Signed-off-by: Peer Chen <[EMAIL PROTECTED]> --- linux-2.6.21-rc7/drivers/net/Kconfig.orig +++ linux-2.6.21-rc7/drivers/net/Kconfig @@ -1399,35 +1399,6 @@ config B44 . The

2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)

2007-04-24 Thread Miles Lane
[ 1251.506964] PM: Preparing system for mem sleep [ 1251.514790] Stopping tasks ... [ 1271.456065] Stopping user space processes timed out after 20 seconds (1 tasks refusing to freeze): [ 1271.456243] multiload-apple [ 1271.456291] Restarting tasks ... done. This isn't happening under earlier

Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- INFO: possible recursive locking detected

2007-04-24 Thread Tejun Heo
Miles Lane wrote: > [ 59.677312] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state > recovery directory > [ 59.688633] NFSD: starting 90-second grace period > [ 60.221454] > [ 60.221456] = > [ 60.221461] [ INFO: possible recursive locking

2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- INFO: possible recursive locking detected

2007-04-24 Thread Miles Lane
[ 59.677312] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory [ 59.688633] NFSD: starting 90-second grace period [ 60.221454] [ 60.221456] = [ 60.221461] [ INFO: possible recursive locking detected ] [ 60.221464]

SOME STUFF ABOUT REISER4 To Mr Hopper

2007-04-24 Thread lkml777
Seems I did not answer the correct thread. On Sun, 22 Apr 2007 19:00:46 -0700, "Eric Hopper" > <[EMAIL PROTECTED]> said: > I did. That whole thread is some guy spouting off a ludicrous Bonnie++ > benchmark showing that compressing long strings of 0s results in things > taking up very little

Re: [PATCH] use mutex instead of semaphore in RocketPort driver

2007-04-24 Thread Satyam Sharma
Hi Matthias, On 4/25/07, Robert Hancock <[EMAIL PROTECTED]> wrote: Matthias Kaehlcke wrote: > El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit: > >> Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke: >>> @@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty,

Re: [ckrm-tech] [PATCH 0/7] Containers (V8): Generic Process Containers

2007-04-24 Thread Paul Menage
On 4/23/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: Hi Paul, In [patch 3/7] Containers (V8): Add generic multi-subsystem API to containers, you have forcefully enabled interrupt in container_init_subsys() with spin_unlock_irq() which breaks on PPC64. > +static void

Re: [PATCH 2/7] Containers (V8): Cpusets hooked into containers

2007-04-24 Thread Paul Menage
On 4/23/07, Vaidyanathan Srinivasan <[EMAIL PROTECTED]> wrote: > > config CONTAINERS > - bool "Container support" > - help > - This option will let you create and manage process containers, > - which can be used to aggregate multiple processes, e.g. for > - the

Re: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-04-24 Thread Stephen Hemminger
Peter P Waskiewicz Jr wrote: From: Peter P Waskiewicz Jr <[EMAIL PROTECTED]> Modified tc so PRIO can now have a multiqueue parameter passed to it. This will turn on multiqueue behavior if a device has more than 1 queue. Also, running tc qdisc ls dev will display if multiqueue is on or off.

Ramdisk Vs NFS

2007-04-24 Thread Siva Prasad
Hi, What is the primary difference between Ramdisk and NFS with respect to the wait_queue's? If I use ramdisk, every thing works fine, but with NFS (or you may read as 'no ramdisk') kernel/sched.c:__wake_up_common() routines has a problem. Basically the value of ">task_list->next" is out of our

Re: regression with gammu on 2.6.21-rc7

2007-04-24 Thread Greg KH
On Tue, Apr 24, 2007 at 06:12:33PM -0700, Ray Lee wrote: > On 4/24/07, Greg KH <[EMAIL PROTECTED]> wrote: > > Also, if you know how to use git, doing a 'git bisect' to try to track > > down the problem commit would be very helpful. > > Has to do with SIGIO, see this blog post: > >

[PATCH] drivers/ata: remove the wildcard from sata_nv driver

2007-04-24 Thread Peer Chen
Because nvidia SATA controllers onward base on AHCI, so wildcard in sata_nv driver is unnecessary. Also the wildcard sometimes cause sata_nv driver to be loaded for AHCI controllers,which is not as expected. Signed-off-by: Peer Chen <[EMAIL PROTECTED]> = ---

[RFC][PATCH] syctl for selecting global zonelist[] order

2007-04-24 Thread KAMEZAWA Hiroyuki
Make zonelist policy selectable from sysctl. Assume 2 node NUMA, only node(0) has ZONE_DMA (ZONE_DMA32). In this case, default (node0's) zonelist order is Node(0)'s NORMAL -> Node(0)'s DMA -> Node(1)"s NORMAL. This means Node(0)'s DMA is used before Node(1)'s NORMAL. In some server, some

Re: [00/17] Large Blocksize Support V3

2007-04-24 Thread William Lee Irwin III
On Tue, Apr 24, 2007 at 03:21:05PM -0700, [EMAIL PROTECTED] wrote: > V2->V3 > - More restructuring > - It actually works! > - Add XFS support > - Fix up UP support > - Work out the direct I/O issues > - Add CONFIG_LARGE_BLOCKSIZE. Off by default which makes the inlines revert > back to

Re: [PATCH 06/25] xen: Core Xen implementation

2007-04-24 Thread Jeremy Fitzhardinge
Andi Kleen wrote: > On Monday 23 April 2007 23:56:44 Jeremy Fitzhardinge wrote: > >> Core Xen Implementation >> >> This patch is a rollup of all the core pieces of the Xen >> implementation, including booting, memory management, interrupts, time >> and so on. >> > > The patch is definitely

Re: [PATCH 2/2] Align ZONE_MOVABLE to a MAX_ORDER_NR_PAGES boundary

2007-04-24 Thread Yasunori Goto
Looks good. :-) Thanks. Acked-by: Yasunori Goto <[EMAIL PROTECTED]> > > The boot memory allocator makes assumptions on the alignment of zone > boundaries even though the buddy allocator has no requirements on the > alignment of zones. This may cause boot problems in situations where >

RE: [PATCH] x86_64/acpi: make kernel to be compiled when CONFIG_ACPI_NUMA is set and power management with acpi is not enabled

2007-04-24 Thread Yinghai Lu
-Original Message- From: Len Brown [mailto:[EMAIL PROTECTED] ] Sent: Tuesday, April 10, 2007 1:33 AM Let me know if you have one that doesn't. Please check this one. it will not compiled. grep ACPI .config CONFIG_X86_64_ACPI_NUMA=y CONFIG_ACPI=y

Reasons to merge suspend2.

2007-04-24 Thread Nigel Cunningham
Hi all. I've been working on this email on and off for a while, but since Pavel raised the issue again, I thought I should make a concerted effort to finish it... In this email, I'm going to outline the problems with the current design (uswsusp and swsusp) and the ways in which Suspend2

Re: Kernel traces coming back with trash/clutter

2007-04-24 Thread John Anthony Kazos Jr.
> > > I am getting this odd content in the trace log (dmesg), and I cannot > > > figure out what it is or why it is there. > > > > > > <7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7> > > > <7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7> > > >

RE: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread Li, Tong N
> Could you explain for the audience the technical definition of fairness > and what sorts of error metrics are commonly used? There seems to be > some disagreement, and you're neutral enough of an observer that your > statement would help. The definition for proportional fairness assumes that

[PATCH 2/2] NET: [UPDATED] Multiqueue network device support implementation.

2007-04-24 Thread Peter P Waskiewicz Jr
From: Peter P Waskiewicz Jr <[EMAIL PROTECTED]> Update: Fixed band2queue mapping logic - it was reveresed with prio2band. Added support in the PRIO qdisc to allow tc to turn on multiqueue behavior, while keeping original PRIO behavior by default. Fixed where skb->queue_mapping is being reset

[PATCH 0/2] Multiqueue network device support

2007-04-24 Thread Peter P Waskiewicz Jr
This is a redesign and repost of the multiqueue network device support patches. The new API for base drivers allows multiqueue-capable devices to manage their individual queues in the network stack. The stack now handles both non-multiqueue and multiqueue devices on the same codepath. Also,

[PATCH 1/2] Adding documentation for the new multiqueue API.

2007-04-24 Thread Peter P Waskiewicz Jr
From: Peter P Waskiewicz Jr <[EMAIL PROTECTED]> Signed-off-by: Peter P. Waskiewicz Jr <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- Documentation/networking/multiqueue.txt | 97 +++ 1 files changed, 97 insertions(+), 0 deletions(-) diff --git

[PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-04-24 Thread Peter P Waskiewicz Jr
From: Peter P Waskiewicz Jr <[EMAIL PROTECTED]> Modified tc so PRIO can now have a multiqueue parameter passed to it. This will turn on multiqueue behavior if a device has more than 1 queue. Also, running tc qdisc ls dev will display if multiqueue is on or off. Signed-off-by: Peter P.

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-24 Thread Adrian Bunk
On Tue, Apr 24, 2007 at 05:51:11PM -0700, Greg KH wrote: > On Wed, Apr 25, 2007 at 02:29:58AM +0200, Adrian Bunk wrote: > > On Tue, Apr 24, 2007 at 05:14:28PM -0700, Greg KH wrote: > > > On Tue, Apr 24, 2007 at 11:32:53AM +0200, Wolfgang Erig wrote: > > > > On Mon, Apr 23, 2007 at 03:18:19PM

Re: [Intel IOMMU][patch 3/8] Generic hardware support for Intel IOMMU.

2007-04-24 Thread Shaohua Li
On Tue, 2007-04-24 at 21:27 +0200, Andi Kleen wrote: > On Tuesday 24 April 2007 08:03:02 Ashok Raj wrote: > > > > +#ifdef CONFIG_DMAR > > +#ifdef CONFIG_SMP > > +static void dmar_msi_set_affinity(unsigned int irq, cpumask_t mask) > > > Why does it need an own interrupt type? > > > + > > +config

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread H. Peter Anvin
Andi Kleen wrote: On Tuesday 24 April 2007 23:50:26 David Miller wrote: From: Ashok Raj <[EMAIL PROTECTED]> Date: Tue, 24 Apr 2007 14:38:35 -0700 Its not clear if we have a very generic device breakage.. most devices on these platforms are going to be more recent, (except maybe some legacy

Re: regression with gammu on 2.6.21-rc7

2007-04-24 Thread Ray Lee
On 4/24/07, Greg KH <[EMAIL PROTECTED]> wrote: Also, if you know how to use git, doing a 'git bisect' to try to track down the problem commit would be very helpful. Has to do with SIGIO, see this blog post: http://blog.cihar.com/archives/2007/04/24/kernel_2_6_21_hits_gammu/ Ray - To

Re: [patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-24 Thread Eric W. Biederman
Karel Zak <[EMAIL PROTECTED]> writes: > On Fri, Apr 20, 2007 at 12:25:32PM +0200, Miklos Szeredi wrote: >> The following extra security measures are taken for unprivileged >> mounts: >> >> - usermounts are limited by a sysctl tunable >> - force "nosuid,nodev" mount options on the created mount

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-24 Thread Olivier Galibert
On Tue, Apr 24, 2007 at 04:41:58PM -0700, Linus Torvalds wrote: > How many different magic ioctl's does the thing introduce? Is it really > just *two* entry-points (and how simple are they, interface-wise), and > nothing else? Aren't you a little late to the party here? The userland version is

Re: AppArmor FAQ

2007-04-24 Thread Joshua Brindle
Crispin Cowan wrote: David Wagner wrote: James Morris wrote: [...] you can change the behavior of the application and then bypass policy entirely by utilizing any mechanism other than direct filesystem access: IPC, shared memory, Unix domain sockets, local IP networking, remote

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-24 Thread Greg KH
On Wed, Apr 25, 2007 at 02:29:58AM +0200, Adrian Bunk wrote: > On Tue, Apr 24, 2007 at 05:14:28PM -0700, Greg KH wrote: > > On Tue, Apr 24, 2007 at 11:32:53AM +0200, Wolfgang Erig wrote: > > > On Mon, Apr 23, 2007 at 03:18:19PM -0700, Greg KH wrote: > > > > On Mon, Apr 23, 2007 at 11:48:47PM

Re: [00/17] Large Blocksize Support V3

2007-04-24 Thread Jörn Engel
On Tue, 24 April 2007 15:21:05 -0700, [EMAIL PROTECTED] wrote: > > This patchset modifies the Linux kernel so that larger block sizes than > page size can be supported. Larger block sizes are handled by using > compound pages of an arbitrary order for the page cache instead of > single pages with

Re: [patch 1/7] libata: check for AN support

2007-04-24 Thread Olivier Galibert
On Tue, Apr 24, 2007 at 01:53:27PM -0700, Kristen Carlson Accardi wrote: > Check to see if an ATAPI device supports Asynchronous Notification. > If so, enable it. > > changes from last version: > * fix typo in ata_id_has_AN and make word 76 test more clear > * If we fail to set the AN feature,

Re: [00/17] Large Blocksize Support V3

2007-04-24 Thread H. Peter Anvin
FWIW, this would also let zisofs remove the ugly hacks we currently employ to deal with compression blocks. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread Gene Heskett
On Tuesday 24 April 2007, Willy Tarreau wrote: >On Tue, Apr 24, 2007 at 10:38:32AM -0400, Gene Heskett wrote: >> On Tuesday 24 April 2007, Ingo Molnar wrote: >> >* David Lang <[EMAIL PROTECTED]> wrote: >> >> > (Btw., to protect against such mishaps in the future i have changed >> >> > the SysRq-N

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread Gene Heskett
On Tuesday 24 April 2007, Willy Tarreau wrote: >On Tue, Apr 24, 2007 at 10:38:32AM -0400, Gene Heskett wrote: >> On Tuesday 24 April 2007, Ingo Molnar wrote: >> >* David Lang <[EMAIL PROTECTED]> wrote: >> >> > (Btw., to protect against such mishaps in the future i have changed >> >> > the SysRq-N

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-24 Thread Adrian Bunk
On Tue, Apr 24, 2007 at 05:14:28PM -0700, Greg KH wrote: > On Tue, Apr 24, 2007 at 11:32:53AM +0200, Wolfgang Erig wrote: > > On Mon, Apr 23, 2007 at 03:18:19PM -0700, Greg KH wrote: > > > On Mon, Apr 23, 2007 at 11:48:47PM +0200, Adrian Bunk wrote: > > > > This email lists some known regressions

ChunkFS - measuring cross-chunk references

2007-04-24 Thread Karuna sagar K
On 4/24/07, Theodore Tso <[EMAIL PROTECTED]> wrote: On Mon, Apr 23, 2007 at 02:53:33PM -0600, Andreas Dilger wrote: . It would also be good to distinguish between directories referencing files in another chunk, and directories referencing subdirectories in another chunk (which would be

Re: [1/3] 2.6.21-rc7: known regressions (v2)

2007-04-24 Thread Greg KH
On Tue, Apr 24, 2007 at 11:32:53AM +0200, Wolfgang Erig wrote: > On Mon, Apr 23, 2007 at 03:18:19PM -0700, Greg KH wrote: > > On Mon, Apr 23, 2007 at 11:48:47PM +0200, Adrian Bunk wrote: > > > This email lists some known regressions in Linus' tree compared to 2.6.20. > > > > > > If you find your

Re: regression with gammu on 2.6.21-rc7

2007-04-24 Thread Greg KH
On Mon, Apr 23, 2007 at 10:10:22AM +0200, Wolfgang Erig wrote: > Hello Greg, Please don't take me out of the cc:, otherwise I might mist this (as I did...) > On Sun, Apr 22, 2007 at 10:47:17PM -0700, Greg KH wrote: > > On Fri, Apr 20, 2007 at 10:58:53AM +0200, Wolfgang Erig wrote: > > > Hello, >

Re: Question about Reiser4

2007-04-24 Thread lkml777
On Sun, 22 Apr 2007 19:00:46 -0700, "Eric Hopper" > <[EMAIL PROTECTED]> said: > I did. That whole thread is some guy spouting off a ludicrous Bonnie++ > benchmark showing that compressing long strings of 0s results in things > taking up very little space and being very fast. I think you are

Re: [patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-24 Thread Karel Zak
On Fri, Apr 20, 2007 at 12:25:32PM +0200, Miklos Szeredi wrote: > The following extra security measures are taken for unprivileged > mounts: > > - usermounts are limited by a sysctl tunable > - force "nosuid,nodev" mount options on the created mount The original userspace "user=" solution

Re: [RFC] [PATCH] cpufreq: allow full selection of default governors

2007-04-24 Thread Dave Jones
On Tue, Apr 24, 2007 at 03:05:36PM -0700, Nish Aravamudan wrote: > On 4/24/07, Dave Jones <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 24, 2007 at 09:03:23PM +, William Heimbigner wrote: > > > The following patches should allow selection of conservative, > > powersave, and > > > ondemand

Re: Kernel traces coming back with trash/clutter

2007-04-24 Thread Mark Hull-Richter
On 4/24/07, John Anthony Kazos Jr. <[EMAIL PROTECTED]> wrote: > > I am getting this odd content in the trace log (dmesg), and I cannot > figure out what it is or why it is there. > > <7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7><7> >

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread Peter Williams
Rogan Dawes wrote: Chris Friesen wrote: Rogan Dawes wrote: I guess my point was if we somehow get to an odd number of nanoseconds, we'd end up with rounding errors. I'm not sure if your algorithm will ever allow that. And Ingo's point was that when it takes thousands of nanoseconds for a

Re: [PATCH] use mutex instead of semaphore in RocketPort driver

2007-04-24 Thread Robert Hancock
Matthias Kaehlcke wrote: El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit: Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke: @@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty, if (count <= 0 || rocket_paranoia_check(info, "rp_write"))

Re: Kernel traces coming back with trash/clutter

2007-04-24 Thread John Anthony Kazos Jr.
> I am experimenting with the kernel (CentOSv4.4 x86_64, 2.6.9-42.0.10) > and I have added a number of traces in some relatively sensitive code > in the page cache and some i/o functions. > > I am getting this odd content in the trace log (dmesg), and I cannot > figure out what it is or why it is

Re: old ISA DMA bug in 2.6.12?

2007-04-24 Thread Robert Hancock
Bob Tracy wrote: I was enjoying yet another session of beating my head against the wall trying to do useful things with old hardware :-), and managed to cause a kernel panic by simply trying to mount a cdrom in the context of a DSL-N installation. The SCSI host adapter is an Adaptec AHA-1542B,

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-24 Thread Linus Torvalds
On Tue, 24 Apr 2007, Pavel Machek wrote: > > > > If the code just moved somewhere else, it's not "less code". > > It is not "just moved". It is in userspace, where we can use liblzf / > gcrypt / ( and vbetool for s2ram/s2both) as libraries. We have about > 7000 LoC of userland code (that is

Kernel traces coming back with trash/clutter

2007-04-24 Thread Mark Hull-Richter
I am experimenting with the kernel (CentOSv4.4 x86_64, 2.6.9-42.0.10) and I have added a number of traces in some relatively sensitive code in the page cache and some i/o functions. I am getting this odd content in the trace log (dmesg), and I cannot figure out what it is or why it is there.

MontaVista spam

2007-04-24 Thread Pavel Roskin
Mr Ready, If you want to invite Linux kernel developers to your "webinar", please ask your secretary to send individual invitations. I'm sure you can do it as the CTO of MontaVista Software. Please don't pay spammers. Nobody likes them, especially those who are subjected to spam as a result of

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread Alan Cox
On Tue, 24 Apr 2007 14:50:26 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Ashok Raj <[EMAIL PROTECTED]> > Date: Tue, 24 Apr 2007 14:38:35 -0700 > > > Its not clear if we have a very generic device breakage.. most devices > > on these platforms are going to be more recent, (except

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-24 Thread Matt Mackall
On Fri, Apr 20, 2007 at 12:10:43PM -0700, Christoph Lameter wrote: > On Fri, 20 Apr 2007, Dave Kleikamp wrote: > > > On Fri, 2007-04-20 at 12:05 +0100, Mel Gorman wrote: > > > > > comments about missing page_cache_size() covered elsewhere. However, I > > > note that Dave Kleikamp might be

Re: [08/17] Define functions for page cache handling

2007-04-24 Thread Eric Dumazet
[EMAIL PROTECTED] a écrit : --- linux-2.6.21-rc7.orig/include/linux/fs.h2007-04-24 11:31:49.0 -0700 +++ linux-2.6.21-rc7/include/linux/fs.h 2007-04-24 11:37:21.0 -0700 @@ -435,6 +435,11 @@ struct address_space { struct inode*host; /* owner:

[PATCH] ohci1394: Fix mistake in printk message.

2007-04-24 Thread Simon Arlott
Fix the "attempting to setting" message in ohci1394. Signed-off-by: Simon Arlott <[EMAIL PROTECTED]> --- drivers/ieee1394/ohci1394.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index 628130a..107b272 100644

Re: SMP lockup in virtualized environment

2007-04-24 Thread Chris Snook
LAPLACE Cyprien wrote: An example: in kernel/pid.c:alloc_pid(), if one of the guest CPUs is descheduled when holding the pidmap_lock, what happens to the other guest CPUs who want to alloc/free pids ? Are they blocked too ? Yup. This is where it's really nice to have directed yields, where

Re: [RFC] [PATCH] cpufreq: allow full selection of default governors

2007-04-24 Thread William Heimbigner
On Tue, 24 Apr 2007, Dave Jones wrote: On Tue, Apr 24, 2007 at 09:03:23PM +, William Heimbigner wrote: > The following patches should allow selection of conservative, powersave, and > ondemand in the kernel configuration. This has been rejected several times already. Ondemand and

[15/17] ramfs: Variable order page cache support

2007-04-24 Thread clameter
The simplest file system to use is ramfs. Add a mount parameter that specifies the page order of the pages that ramfs should use. If the order is greater than zero then disable mmap functionality. This could be removed if the VM would be changes to support faulting higher order pages but for now

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread Ashok Raj
On Wed, Apr 25, 2007 at 12:03:57AM +0200, Andi Kleen wrote: > On Tuesday 24 April 2007 23:50:26 David Miller wrote: > > From: Ashok Raj <[EMAIL PROTECTED]> > > Date: Tue, 24 Apr 2007 14:38:35 -0700 > > > > > Its not clear if we have a very generic device breakage.. most devices > > > on these

[11/17] Readahead support for the variable order page cache

2007-04-24 Thread clameter
Readahead is now dependent on the page size. For larger page sizes we want less readahead. Add a parameter to max_sane_readahead specifying the page order and update the code in mm/readahead.c to be aware of variant page sizes. Mark the 2M readahead constant as a potential future problem.

[12/17] Variable Page Cache Size: Fix up reclaim counters

2007-04-24 Thread clameter
We can now reclaim larger pages. Adjust the VM counters to deal with it. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/vmscan.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) Index: linux-2.6.21-rc7/mm/vmscan.c

[13/17] set_blocksize: Allow to set a larger block size than PAGE_SIZE

2007-04-24 Thread clameter
set_blocksize is changed to allow to specify a blocksize larger than a page. If that occurs then we switch the device to use compound pages. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/block_dev.c | 22 +++--- fs/buffer.c|2 +- fs/inode.c |5

[14/17] Add VM_BUG_ONs to check for correct page order

2007-04-24 Thread clameter
Before we start changing the page order we better get some debugging in there that trips us up whenever a wrong order page shows up in a mapping. This will be helpful for converting new filesystems to utilize higher orders. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- mm/filemap.c |

[00/17] Large Blocksize Support V3

2007-04-24 Thread clameter
V2->V3 - More restructuring - It actually works! - Add XFS support - Fix up UP support - Work out the direct I/O issues - Add CONFIG_LARGE_BLOCKSIZE. Off by default which makes the inlines revert back to constants. Disabled for 32bit and HIGHMEM configurations. This also allows a gradual

[17/17] xfs: Variable order page cache support

2007-04-24 Thread clameter
From: David Chinner <[EMAIL PROTECTED]> Patch is attached that converts the XFS data path to use large order page cache pages. I haven't tested this on a real system yet but it works on UML. I've tested it with fsx and it seems to do everything it is supposed to. Data is actually written to the

[16/17] ext2: Variable order page cache support

2007-04-24 Thread clameter
This adds variable page size support. It is then possible to mount filesystems that have a larger blocksize than the page size. F.e. the following is possible on x86_64 and i386 that have only a 4k page size. mke2fs -b 16384 /dev/hdd2 mount /dev/hdd2 /media ls -l /media Do more

[04/17] Free up page->private for compound pages

2007-04-24 Thread clameter
If we add a new flag so that we can distinguish between the first page and the tail pages then we can avoid to use page->private in the first page. page->private == page for the first page, so there is no real information in there. Freeing up page->private makes the use of compound pages more

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-24 Thread Ray Lee
On 4/24/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > so, while it's probably apples to oranges, uswsusp seems to be larger, > while there's at least one feature that it is missing. (We are talking "save 100% memory" here). As I said, that one feature is doable in uswsusp, too. It is 200

[01/17] Remove open coded implementation of memclear_highpage flush

2007-04-24 Thread clameter
There are a series of open coded reimplementation of memclear_highpage_flush all over the page cache code. Call memclear_highpage_flush in those locations. Consolidates code and eases maintenance. [There seems to be a better patch in mm. This patch here is just to make things work against 2.6.21

[08/17] Define functions for page cache handling

2007-04-24 Thread clameter
We use the macros PAGE_CACHE_SIZE PAGE_CACHE_SHIFT PAGE_CACHE_MASK and PAGE_CACHE_ALIGN in various places in the kernel. These are useful if one only want to support one page size in the page cache. This patch provides a set of functions in order to provide the ability to define new page size in

[06/17] Fix up handling of Compound head pages

2007-04-24 Thread clameter
Compound pages can be on the LRU. This means that the page pointer to the head page is on a pagevec. In that case we need full LRU processing for the page in release_pages(). The check for compound pages in release_pages() was introduced by Nick Piggin to make sure that the page count in tail

[07/17] vmstat.c: Support accounting for compound pages

2007-04-24 Thread clameter
Compound pages must increment the counters in terms of base pages. If we detect a compound page then add the number of base pages that a compound page has to the counter. This will avoid numerous changes in the VM to fix up page accounting as we add more support for compound pages. Also fix up

[05/17] More compound page features

2007-04-24 Thread clameter
Add a couple of more compound functions to avoid having to duplicate code in various places. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- include/linux/mm.h | 15 +++ 1 file changed, 15 insertions(+) Index: linux-2.6.21-rc7/include/linux/mm.h

[10/17] Variable Order Page Cache: Add clearing and flushing function

2007-04-24 Thread clameter
Add a flushing and clearing function for higher order pages. These are provisional and will likely have to be optimized. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/libfs.c |4 ++-- include/linux/highmem.h | 12 include/linux/pagemap.h | 25

[09/17] Convert PAGE_CACHE_xxx -> page_cache_xxx function calls

2007-04-24 Thread clameter
This transforms the page cache code to use page_cache_xxx calls. Patch could be more complete. Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> --- fs/buffer.c | 99 +--- fs/libfs.c | 13 +++-- fs/mpage.c

[02/17] Fix page allocation flags in grow_dev_page()

2007-04-24 Thread clameter
Grow dev page simply passes GFP_NOFS to find_or_create_page. This means the allocation of radix tree nodes is done with GFP_NOFS and the allocation of a new page is done using GFP_NOFS. The mapping has a flags field that contains the necessary allocation flags for the page cache allocation. These

[03/17] Fix: find_or_create_page does not spread memory.

2007-04-24 Thread clameter
The find_or_create function calls alloc_page with the gfp_mask passed to it which is derived from the mappings gfp mask. So the allocation flags are right (assuming my bugfix to fs/buffer.c is applied). However, we call a alloc_page instead of page_cache_alloc in find_or_create_page. This means

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > Could you explain for the audience the technical definition of fairness > and what sorts of error metrics are commonly used? There seems to be > some disagreement, and you're neutral enough of an observer that your > statement would help. And while we

Re: [ANNOUNCE] UidBind LSM 0.2

2007-04-24 Thread Gerhard Mack
On Tue, 24 Apr 2007, Casey Schaufler wrote: > --- Gerhard Mack <[EMAIL PROTECTED]> wrote: > > > On Tue, 24 Apr 2007, Roberto De Ioris wrote: > > > > > Hi all, > > > > > > this is the second release for UidBind LSM: > > > > > > http://projects.unbit.it/uidbind/ > > > > > > UidBind allows call

Re: [RFC] [PATCH] cpufreq: allow full selection of default governors

2007-04-24 Thread Nish Aravamudan
On 4/24/07, Dave Jones <[EMAIL PROTECTED]> wrote: On Tue, Apr 24, 2007 at 09:03:23PM +, William Heimbigner wrote: > The following patches should allow selection of conservative, powersave, and > ondemand in the kernel configuration. This has been rejected several times already. Ondemand

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread Andi Kleen
On Tuesday 24 April 2007 23:50:26 David Miller wrote: > From: Ashok Raj <[EMAIL PROTECTED]> > Date: Tue, 24 Apr 2007 14:38:35 -0700 > > > Its not clear if we have a very generic device breakage.. most devices > > on these platforms are going to be more recent, (except maybe some > > legacy fd)...

old ISA DMA bug in 2.6.12?

2007-04-24 Thread Bob Tracy
I was enjoying yet another session of beating my head against the wall trying to do useful things with old hardware :-), and managed to cause a kernel panic by simply trying to mount a cdrom in the context of a DSL-N installation. The SCSI host adapter is an Adaptec AHA-1542B, and when I try to

Re: [RFC][PATCH] ChunkFS: fs fission for faster fsck

2007-04-24 Thread Amit Gud
Nikita Danilov wrote: Maybe I failed to describe the problem presicely. Suppose that all chunks have been checked. After that, for every inode I0 having continuations I1, I2, ... In, one has to check that every logical block is presented in at most one of these inodes. For this one has to read

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread David Miller
From: Ashok Raj <[EMAIL PROTECTED]> Date: Tue, 24 Apr 2007 14:38:35 -0700 > Its not clear if we have a very generic device breakage.. most devices > on these platforms are going to be more recent, (except maybe some > legacy fd)... I'm not so sure, there are some "modern" sound cards that have

[PATCH] cancel_delayed_work: use del_timer() instead of del_timer_sync()

2007-04-24 Thread Oleg Nesterov
del_timer_sync() buys nothing for cancel_delayed_work(), but it is less efficient since it locks the timer unconditionally, and may wait for the completion of the delayed_work_timer_fn(). cancel_delayed_work() == 0 means: before this patch: work->func may still be running

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Tue, 24 Apr 2007 14:32:42 -0700 > > My suggestion would be to allocate top-down in the 32-bit IOMMU space. > > I think that's good for normal things, but it's not unreasonable to > want to map > 4 GB of memory at once for an Infiniband device.

Re: [patch 7/7] libata: send event when AN received

2007-04-24 Thread Kristen Carlson Accardi
When we get an SDB FIS with the 'N' bit set, we should send an event to user space to indicate that there has been a media change. This will be done via the block device. changed from last version: * Make sure that port_addr is within ATA_MAX_DEVICES Signed-off-by: Kristen Carlson Accardi

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread Ashok Raj
On Tue, Apr 24, 2007 at 02:23:51PM -0700, David Miller wrote: > From: Andi Kleen <[EMAIL PROTECTED]> > Date: Tue, 24 Apr 2007 23:12:54 +0200 > > > We already have a couple of other IOMMU architectures who essentially have > > the same > > problem. Have you checked how they solve this? > >

Re: [patch 5/7] genhd: send async notification on media change

2007-04-24 Thread Kristen Carlson Accardi
Send an uevent to user space to indicate that a media change event has occurred. Changes from last version: * use get/put_device to increment reference count on the device struct Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Index: 2.6-git/block/genhd.c

Re: [Intel IOMMU][patch 8/8] Preserve some Virtual Address when devices cannot address entire range.

2007-04-24 Thread Roland Dreier
> My suggestion would be to allocate top-down in the 32-bit IOMMU space. I think that's good for normal things, but it's not unreasonable to want to map > 4 GB of memory at once for an Infiniband device. So maybe we would want some heuristics about the size of the mapping being requested or the

Re: [patch 1/4] Ignore stolen time in the softlockup watchdog

2007-04-24 Thread Daniel Walker
On Tue, 2007-04-24 at 23:20 +0200, Andi Kleen wrote: > On Tuesday 24 April 2007 22:52:27 Daniel Walker wrote: > > On Tue, 2007-04-24 at 13:24 -0700, Jeremy Fitzhardinge wrote: > > > > > And sched_clock's use of local_irq_save/restore appears to be absolutely > > > correct, so I think it must be

Re: [patch 2/7] genhd: expose AN to user space

2007-04-24 Thread Kristen Carlson Accardi
Allow user space to determine if a disk supports Asynchronous Notification of media changes. This is done by adding a new sysfs file "capability_flags", which is documented in (insert file name). This sysfs file will export all disk capabilities flags to user space. We also define a new flag to

Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic copy)

2007-04-24 Thread Pavel Machek
Hi! > > I have not a frigging clue whether that is the case in suspend2 vs > > uswsusp, but I object to this idiotic argument of counting "kernel > > code". That's simply not a valid argument. It never was. > > the raw linecount appears to be the following: > >

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-24 Thread William Lee Irwin III
On Mon, Apr 23, 2007 at 05:59:06PM -0700, Li, Tong N wrote: > I don't know if we've discussed this or not. Since both CFS and SD claim > to be fair, I'd like to hear more opinions on the fairness aspect of > these designs. In areas such as OS, networking, and real-time, fairness, > and its more

Re: [Intel IOMMU][patch 6/8] Doc updates for Intel Virtualization Technology for Directed I/O.

2007-04-24 Thread Ashok Raj
On Tue, Apr 24, 2007 at 11:17:55PM +0200, Markus Rechberger wrote: > >+We also allocate gaurd pages with each mapping, so we can attempt to catch > >+any overflow that might happen. > >+ > > guess you probably mean guard tables here... > So there is a good chance i can be "The Governor of

Re: Pagecache: find_or_create_page does not call a proper page allocator function

2007-04-24 Thread Christoph Lameter
On Tue, 24 Apr 2007, Andrew Morton wrote: > mapping_gfp_mask if a pretty foul thing. Adding > > struct page (*alloc_page)(struct address_space *mapping); > > to address_space_operations would be a quite nice cleanup. Ummm... If things would be that simple... I think we need struct page

  1   2   3   4   5   6   7   8   9   10   >