Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Andreas Gruenbacher
On Friday 20 April 2007 17:24, Ulrich Drepper wrote: > On 4/20/07, Andreas Gruenbacher <[EMAIL PROTECTED]> wrote: > > Yes, that one, sorry. The values it obtains that way are not reliable. > > Why should the mount point info together with the filesystem type not > be reliable? Ah ... I overlooked

[PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-20 Thread Balbir Singh
We broke the the alignment of members of taskstats to the 8 byte boundary with the CSA patches. In the current kernel, the taskstats structure is not suitable for use by 32 bit applications in a 64 bit kernel. On x86_64 Offsets of taskstats' members (64 bit kernel, 64 bit application)

Re: [RFC 3/8] Flushing and zeroing higher order page cache pages

2007-04-20 Thread William Lee Irwin III
On Fri, 20 Apr 2007, Mel Gorman wrote: >> While this looks fine, it seems that clear_huge_page() and >> clear_mapping_page() could share a common helper. I also note that >> clear_huge_page() calls cond_reched() and this doesn't which may be the >> type of different behavior we want to avoid. On

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Tejun Heo
Hello, Dmitry. Dmitry Torokhov wrote: >> Many drivers (at least all the SCSI/IDE ones) consider struct device as >> the base class of the devices those drivers implement. I don't think we >> can just consider those drivers to be wrong. > > I am not saying they are wrong I am just saying that

Re: AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Dave Jones wrote: > try adding some instrumentation to __pci_register_driver and the functions > it calls. > > oh, one thought.. do you have CONFIG_PCI_MULTITHREAD_PROBE set? > I'm wondering if the probing is racing with another driver which is claiming > the same PCI ID. (Edac, or watchdog for

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

2007-04-20 Thread Jens Axboe
On Fri, Apr 20 2007, Christoph Lameter wrote: > On Fri, 20 Apr 2007, Jens Axboe wrote: > > > This works fine as long as you are in the submitter context, but once > > you pass the into the block layer, we don't have any way to find the > > address space (at least we don't want to). Would

Re: Fw: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread Oleg Nesterov
On 04/20, Jarek Poplawski wrote: > > On Thu, Apr 19, 2007 at 02:21:22PM +0400, Oleg Nesterov wrote: > ... > > Yes. It would be better to use cancel_work_sync() instead of > > flush_workqueue() > > to make this less possible (because cancel_work_sync() doesn't need to wait > > for > > the whole

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread William Lee Irwin III
On Fri, 20 Apr 2007, William Lee Irwin III wrote: >> Careful there. mmap() needs more than this. >> (1) mapping->order is variable within an fs, so the architectural code >> would need some vague awareness of the underlying page size >> being variable unless the fs restricts it properly.

[PATCH] fix ext2 allocator overflows above 31 bit blocks

2007-04-20 Thread Eric Sandeen
If ext3 can do 16T, ext2 probably should be able to as well. There are still "int" block containers in the block allocation path that need to be fixed up. Perhaps ext2 should get the ext2_fsblk_t/ext2_grpblk_t treatment as ext3 did, for clarity... Signed-off-by: Eric Sandeen <[EMAIL PROTECTED]>

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, William Lee Irwin III wrote: > > On Fri, Apr 20, 2007 at 09:30:30AM -0700, Christoph Lameter wrote: > > We can map arbitrary 4k chunks of larger pages. > > The core VM can do that but the hugetlb architectural code can't fall > back to smaller page sizes. It also should not

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Jeremy Fitzhardinge
Dave Jones wrote: > > Andi, I think. I've got his firstfloor.org patches applied to this kernel. > > Ah, I saw you patched in CFS too, and thought it may be related. > Well, I have CONFIG_FB_BACKLIGHT enabled, and it still works. Maybe there's something in Andi's queue which is making it

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread William Lee Irwin III
On Fri, 20 Apr 2007, William Lee Irwin III wrote: >> The core VM can do that but the hugetlb architectural code can't fall >> back to smaller page sizes. It also should not be put into a situation >> where it needs to do so given the semantics it must honor. On Fri, Apr 20, 2007 at 10:15:00AM

Re: [PATCH] workqueue: cancel_rearming_delayed_work/workqueue usage warning

2007-04-20 Thread Oleg Nesterov
On 04/20, Jarek Poplawski wrote: > > Here is my proposal to make things clearer: > (this time on 2.6.21-rc7) > > CC: David Chinner <[EMAIL PROTECTED]> > CC: Oleg Nesterov <[EMAIL PROTECTED]> > Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> > > --- > > diff -Nurp

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 10:16:54AM -0700, Jeremy Fitzhardinge wrote: > Dave Jones wrote: > > > Andi, I think. I've got his firstfloor.org patches applied to this > > kernel. > > > > Ah, I saw you patched in CFS too, and thought it may be related. > > > > Well, I have

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 17:56:09 +0530 Gautham R Shenoy <[EMAIL PROTECTED]> wrote: > > I mean, we already have four of them (PF_NOFREEZE, PF_FROZEN, > > PF_FREEZER_SKIP, TIF_FREEZE), and you will need to introduce two more for > > the freezer-based CPU hotplug, so if yet another one is needed, that

Re: const struct pci_driver [Was: [RFC 2/2] Input: phantom, add a new driver]

2007-04-20 Thread Greg KH
On Fri, Apr 20, 2007 at 10:28:46AM +0200, Jiri Slaby wrote: > Andrew Morton napsal(a): > > On Tue, 17 Apr 2007 22:02:10 +0200 (CEST) Jiri Slaby <[EMAIL PROTECTED]> > > wrote: > > > >> phantom, add a new driver > [...] > >> +static struct pci_driver phantom_pci_driver = { > >> + .name =

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 12:53:31PM -0400, Preston A. Elder wrote: > Linux agpgart interface v0.101 (c) Dave Jones > agpgart: DEBUG 0 > agpgart: DEBUG 1 > __pci_register_driver: In function > __pci_register_driver: driver = agpgart-amdk7, multithread = 0 > __pci_register_driver: Before

4K stack overflow with nfs3, reiserfs, dm and raid1

2007-04-20 Thread Chuck Ebbert
4K stacks still overflow: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237276 Just trying to dump the stack trace when that happens causes an oops, and there's no good way to prevent that. In fact it's probably the best thing to do anyway. You can tell something Really Bad has happened

Re: InitIO SCSI: Volunteers required

2007-04-20 Thread René Rebe
On Friday 20 April 2007 11:38:49 Alan Cox wrote: > I'm looking for some testers for a revamp of the initio driver. No real > code changes other than to hopefully stop it exploding on load on 64bit, > but a major reorganisation, commenting and "de-windowsification" so the > code is actually

Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API

2007-04-20 Thread Jean Delvare
Hi Lennart, On Thu, 19 Apr 2007 16:59:42 -0400, Lennart Sorensen wrote: > On Thu, Apr 19, 2007 at 08:54:13AM +0200, Jean Delvare wrote: > > The major difference is that the implementation in scx200_i2c is > > hardware-specific, while the i2c-gpio driver is a generic one, so it's > > a lot better.

Re: [PATCH 14/15] ide: rework the code for selecting the best DMA transfer mode

2007-04-20 Thread Sergei Shtylyov
Hello, I wrote: [PATCH] ide: rework the code for selecting the best DMA transfer mode Depends on the "ide: fix UDMA/MWDMA/SWDMA masks" patch. I'm now trying to rewrite hpt366.c to benefit more from these patches... and alas, this very patch seems to be breaking filtering (at least) in

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, William Lee Irwin III wrote: > On Fri, 20 Apr 2007, William Lee Irwin III wrote: > >> The core VM can do that but the hugetlb architectural code can't fall > >> back to smaller page sizes. It also should not be put into a situation > >> where it needs to do so given the

Re: [discuss] Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
Andi Kleen <[EMAIL PROTECTED]> writes: > On Friday 20 April 2007 10:35:10 Måns Rullgård wrote: >> Arjan van de Ven <[EMAIL PROTECTED]> writes: >> >> > Andi Kleen wrote: >> >> Rationale: >> >> - It cannot be enabled in normal builds because all current lds >> >> become very slow when they have to

Re: [PATCH 14/15] ide: rework the code for selecting the best DMA transfer mode

2007-04-20 Thread Sergei Shtylyov
Hello, I wrote: Index: b/drivers/ide/pci/hpt366.c === --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c @@ -513,43 +513,31 @@ static int check_in_drive_list(ide_drive return 0; } -static u8

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Dmitry Torokhov
On 4/20/07, Tejun Heo <[EMAIL PROTECTED]> wrote: Hello, Dmitry. Dmitry Torokhov wrote: >> Many drivers (at least all the SCSI/IDE ones) consider struct device as >> the base class of the devices those drivers implement. I don't think we >> can just consider those drivers to be wrong. > > I am

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Christoph Lameter
Variable Order Page Cache: Readahead fixups 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. [WARNING untested

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Christoph Lameter
Variable Order Page Cache: mmap_nopage and mmap_populate Fix up both functions to be able to operate on arbitrary order pages. However, both functions establish page table entries in PAGE_SIZE only and the offset and pgoffset when calling both functions is always in PAGE_SIZE units. Thus the

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread Christoph Lameter
Some ideas for memory.c pieces. Just junk like the earlier patches. --- mm/memory.c | 108 1 file changed, 66 insertions(+), 42 deletions(-) Index: linux-2.6.21-rc7/mm/memory.c

Re: [RFC PATCH 1/2] Fix PF_NOFREEZE and freezeable race

2007-04-20 Thread Oleg Nesterov
On 04/19, Rafael J. Wysocki wrote: > > On Thursday, 19 April 2007 14:02, Gautham R Shenoy wrote: > > This patch fixes the race pointed out by Oleg Nesterov. > > > > * Freezer marks a thread as freezeable. > > * The thread now marks itself PF_NOFREEZE causing it to > > freeze on calling

Re: AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Dave Jones wrote: > On Fri, Apr 20, 2007 at 12:53:31PM -0400, Preston A. Elder wrote: > > > Linux agpgart interface v0.101 (c) Dave Jones > > agpgart: DEBUG 0 > > agpgart: DEBUG 1 > > __pci_register_driver: In function > > __pci_register_driver: driver = agpgart-amdk7, multithread = 0 > >

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 18:51:13 +0900 Keiichi KII <[EMAIL PROTECTED]> wrote: > > I started to do some cleanups and fixups here, but abandoned it when it was > > all getting a bit large. > > > > Here are some fixes against this patch: > > I'm going to fix my patches by following your reviews and

Re: [1/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 12:34:18 +0200 Takashi Iwai <[EMAIL PROTECTED]> wrote: > Good to hear! I forgot the patch description and sign-off, so here it > is again: > > > [PATCH] ALSA: intel8x0 - Fix Oops in crash kernel > > When intel8x0 driver is loaded in the crash kernel, it gets Oops >

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 02:04:45PM -0400, Preston A. Elder wrote: > Dave Jones wrote: > > On Fri, Apr 20, 2007 at 12:53:31PM -0400, Preston A. Elder wrote: > > > > > Linux agpgart interface v0.101 (c) Dave Jones > > > agpgart: DEBUG 0 > > > agpgart: DEBUG 1 > > > __pci_register_driver:

Re: [1/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Takashi Iwai
At Fri, 20 Apr 2007 11:18:07 -0700, Andrew Morton wrote: > > On Fri, 20 Apr 2007 12:34:18 +0200 > Takashi Iwai <[EMAIL PROTECTED]> wrote: > > > Good to hear! I forgot the patch description and sign-off, so here it > > is again: > > > > > > [PATCH] ALSA: intel8x0 - Fix Oops in crash kernel > >

Re: PCI bridge range sizing bug

2007-04-20 Thread Linus Torvalds
On Fri, 20 Apr 2007, Jesse Barnes wrote: > > Sounds good, hopefully reassigning the bridge resources won't cause too > much trouble. Do you have time to hack this up? If not, I could give > it a try, as long as ajax is willing to test... Actually, I would suggest we not do it automatically

[RFC] Extend Linux to support proportional-share scheduling

2007-04-20 Thread Tong Li
This patch extends the existing Linux scheduler with support for proportional-share scheduling (as a new KConfig option). http://www.cs.duke.edu/~tongli/linux/linux-2.6.19.2-trio.patch It uses a scheduling algorithm, called Distributed Weighted Round-Robin (DWRR), which retains the existing

Re: AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Dave Jones wrote: > On Fri, Apr 20, 2007 at 02:04:45PM -0400, Preston A. Elder wrote: > > Dave Jones wrote: > > > On Fri, Apr 20, 2007 at 12:53:31PM -0400, Preston A. Elder wrote: > > > > > > > Linux agpgart interface v0.101 (c) Dave Jones > > > > agpgart: DEBUG 0 > > > > agpgart: DEBUG 1

Re: AGPGart / AMD K7

2007-04-20 Thread Greg KH
On Fri, Apr 20, 2007 at 02:20:29PM -0400, Dave Jones wrote: > > btw Greg, wtf does driver_register return a 0 as 'success' if it > completes the function, and 0 as 'failure' if !bus ? > That seems doomed to failure. I don't know why the code does that, we should always have a bus assigned to a

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > > > I mean, we already have four of them (PF_NOFREEZE, PF_FROZEN, > > > PF_FREEZER_SKIP, TIF_FREEZE), and you will need to introduce two > > > more for the freezer-based CPU hotplug, so if yet another one is > > > needed, that will make up almost a

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Matt Mackall
On Fri, Apr 20, 2007 at 11:15:26AM -0700, Andrew Morton wrote: > On Fri, 20 Apr 2007 18:51:13 +0900 > Keiichi KII <[EMAIL PROTECTED]> wrote: > > > > I started to do some cleanups and fixups here, but abandoned it when it > > > was > > > all getting a bit large. > > > > > > Here are some fixes

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 11:41:46 +0100 David Howells <[EMAIL PROTECTED]> wrote: > There are only two non-net patches that AF_RXRPC depends on: > > (1) The key facility changes. That's all my code anyway, and shouldn't be a > problem to merge unless someone else has put some changes in there

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 09:10:41 -0400 James Bottomley <[EMAIL PROTECTED]> wrote: > On Thu, 2007-04-19 at 22:20 -0700, Andrew Morton wrote: > > On Thu, 19 Apr 2007 16:27:26 - "Cameron, Steve" <[EMAIL PROTECTED]> > > wrote: > > > > > > Something like > > > > > > if (sizeof(blah) > 4) { > > >

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 02:31:01PM -0400, Preston A. Elder wrote: > Here is the code for __pci_register_driver: > ... > > So in the above case, we ARE saying if driver_register returns 0 then > pci_create_newid_file. > > Is it different to the code you have? As I said, this IS 2.6.19.

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread James Bottomley
On Fri, 2007-04-20 at 11:43 -0700, Andrew Morton wrote: > On Fri, 20 Apr 2007 09:10:41 -0400 > James Bottomley <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-04-19 at 22:20 -0700, Andrew Morton wrote: > > > On Thu, 19 Apr 2007 16:27:26 - "Cameron, Steve" <[EMAIL PROTECTED]> > > > wrote: > > >

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

2007-04-20 Thread Dave Kleikamp
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 interested in this changing of > page_cache_size() from the perspective of page cache tails. I've added > him to the cc so he can take a

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 11:29:52AM -0700, Greg Kroah-Hartman wrote: > On Fri, Apr 20, 2007 at 02:20:29PM -0400, Dave Jones wrote: > > > > btw Greg, wtf does driver_register return a 0 as 'success' if it > > completes the function, and 0 as 'failure' if !bus ? > > That seems doomed to

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Stephen Hemminger
On Fri, 20 Apr 2007 13:21:10 -0500 Matt Mackall <[EMAIL PROTECTED]> wrote: > On Fri, Apr 20, 2007 at 11:15:26AM -0700, Andrew Morton wrote: > > On Fri, 20 Apr 2007 18:51:13 +0900 > > Keiichi KII <[EMAIL PROTECTED]> wrote: > > > > > > I started to do some cleanups and fixups here, but abandoned

Re: how to tell linux (on x86) to ignore 1M or memory

2007-04-20 Thread Rene Herman
On 04/19/2007 04:18 PM, Bart Trojanowski wrote: I need to preserve some state from the bios before entering protected mode. For now I want to copy it into some ram accessible by real-mode, say the last megabyte visible in real-mode. What's the easiest way to have linux ignore the megabyte

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

2007-04-20 Thread Christoph Lameter
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 interested in this changing of > > page_cache_size() from the perspective of page

Re: [PATCH -mm] Taskstats fix the structure members alignment issue

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 22:13:41 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > > We broke the the alignment of members of taskstats to the 8 byte boundary > with the CSA patches. In the current kernel, the taskstats structure is > not suitable for use by 32 bit applications in a 64 bit kernel. >

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Ulrich Drepper
On 4/20/07, Andreas Gruenbacher <[EMAIL PROTECTED]> wrote: The code also seems to stop at the first matching mount point. You can have the same device mounted on the same mount point multiple times but with different mount options, e.g., [...] You can unfortunately do many stupid things.

Re: AppArmor FAQ

2007-04-20 Thread David Lang
On Thu, 19 Apr 2007, Stephen Smalley wrote: already happened to integrate such support into userland. To look at it in a slightly different way, the AA emphasis on not modifying applications could be viewed as a limitation. Ultimately, users have security goals that go beyond just what the OS

Re: [RFC 7/8] Enhance ramfs to support higher order pages

2007-04-20 Thread William Lee Irwin III
On Fri, 20 Apr 2007, William Lee Irwin III wrote: >> Probably just terminological disagreement here. I was referring to >> allocating the higher-order page from the fault path here, not mapping >> it or a piece of it with a user pte. On Fri, Apr 20, 2007 at 10:57:25AM -0700, Christoph Lameter

Fault Injection issues: stacktrace x86_64 and failslab NUMA

2007-04-20 Thread Scott Porter
I'm attempting to use Fault Injection stacktrace filtering on an x86_64 platform (see config details below) and finding problems: (1) Apparently stacktrace on x86_64 isn't always reliable but the fault injection code path to save a stack trace looks *completely* unreliable (2) CONFIG_NUMA and

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Christoph Lameter
On Wed, 18 Apr 2007, William Lee Irwin III wrote: > > Mark the runqueues cacheline_aligned_in_smp to avoid false sharing. False sharing for a per cpu data structure? Are we updating that structure from other processors? - To unsubscribe from this list: send the line "unsubscribe

Re: AppArmor FAQ

2007-04-20 Thread Karl MacMillan
On Fri, 2007-04-20 at 11:45 -0700, David Lang wrote: > On Thu, 19 Apr 2007, Stephen Smalley wrote: > > > already happened to integrate such support into userland. > > > > To look at it in a slightly different way, the AA emphasis on not > > modifying applications could be viewed as a limitation.

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

2007-04-20 Thread Dave Kleikamp
On Fri, 2007-04-20 at 12:10 -0700, Christoph Lameter wrote: > On Fri, 20 Apr 2007, Dave Kleikamp wrote: > > Yeah. I'm working on patches for storing file tails in buffers > > allocated from the slab cache, and the tail will be represented by a > > fake struct page. (This is primarily for kernels

Re: [patch] CFS scheduler, v3

2007-04-20 Thread William Lee Irwin III
On Wed, 18 Apr 2007, William Lee Irwin III wrote: >> >> Mark the runqueues cacheline_aligned_in_smp to avoid false sharing. On Fri, Apr 20, 2007 at 12:24:17PM -0700, Christoph Lameter wrote: > False sharing for a per cpu data structure? Are we updating that > structure from other

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 14:50:06 -0400 James Bottomley <[EMAIL PROTECTED]> wrote: > > CONFIG_LBD=y gives us an additional 3kb of instructions on i386 > > allnoconfig. Other architectures might do less well. It's not a huge > > difference, but that's the way in which creeping bloatiness happens. >

Re: Kaffeine problem with CFS

2007-04-20 Thread Bill Davidsen
S.Çag(lar Onur wrote: 18 Nis 2007 Çar tarihinde, Ingo Molnar s,unlar? yazm?s,t?: * S.Çag(lar Onur <[EMAIL PROTECTED]> wrote: - schedule(); + msleep(1); which Ingo sends me to try also has the same effect on me. I cannot reproduce hangs anymore with that patch applied top of CFS

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, William Lee Irwin III wrote: > On Wed, 18 Apr 2007, William Lee Irwin III wrote: > >> > >> Mark the runqueues cacheline_aligned_in_smp to avoid false sharing. > > On Fri, Apr 20, 2007 at 12:24:17PM -0700, Christoph Lameter wrote: > > False sharing for a per cpu data

Re: [patch] CFS scheduler, v3

2007-04-20 Thread William Lee Irwin III
Fri, Apr 20, 2007 at 12:24:17PM -0700, Christoph Lameter wrote: >>> False sharing for a per cpu data structure? Are we updating that >>> structure from other processors? On Fri, 20 Apr 2007, William Lee Irwin III wrote: >> Primarily in the load balancer, but also in wakeups. On Fri, Apr 20,

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, William Lee Irwin III wrote: > I'm not really convinced it's all that worthwhile of an optimization, > essentially for the same reasons as you, but presumably there's a > benchmark result somewhere that says it matters. I've just not seen it. If it is true that we frequently

Re: Loud "pop" coming from hard drive on reboot

2007-04-20 Thread Fabio Comolli
Bingo! I switched from ata_piix.c to piix_ide.c and the "pop" disappeared. I must say that the "pop" also disappeared after suspending to disk using suspend2 (obviously without executing halt -n -h -p) . In both cases it was present with the previous setup. This is with a pure PATA setup with

Re: [patch] CFS scheduler, v3

2007-04-20 Thread William Lee Irwin III
On Fri, 20 Apr 2007, William Lee Irwin III wrote: >> I'm not really convinced it's all that worthwhile of an optimization, >> essentially for the same reasons as you, but presumably there's a >> benchmark result somewhere that says it matters. I've just not seen it. On Fri, Apr 20, 2007 at

Re: [PATCH pata-2.6 fix queue] hpt366: fix kernel oops with HPT302N

2007-04-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 18 April 2007, Sergei Shtylyov wrote: > The driver crashes the kernel on HPT302N chips due to the missing initializer > for 'hpt302n.settings' having been unfortunately overlooked so far. :-< > > Much thanks to Mike Mattie for pin-pointing the reason of crash. > > Signed-off-by:

[git patches] IDE fixes

2007-04-20 Thread Bartlomiej Zolnierkiewicz
Hopefully the last update for 2.6.21. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/ide/Kconfig |1 + drivers/ide/pci/delkin_cb.c |1 + drivers/ide/pci/hpt366.c|5 +++-- 3 files changed, 5

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread James Bottomley
On Fri, 2007-04-20 at 12:30 -0700, Andrew Morton wrote: > On Fri, 20 Apr 2007 14:50:06 -0400 > James Bottomley <[EMAIL PROTECTED]> wrote: > > > > CONFIG_LBD=y gives us an additional 3kb of instructions on i386 > > > allnoconfig. Other architectures might do less well. It's not a huge > > >

FYI: Xen or kernel bug?

2007-04-20 Thread Mark Stier
Hello, tcp_vegas produces division by zero kernel oopses in dom0 when running a Xen-patched 2.6.16.28 kernel. I have tracked down the problem to line #256 in tcp_vegas.c: presumably due to flaky Xen timing, the rtt seems to get zero from time to time (adding 1 to the rtt variable solves the

Re: AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Dave, Greg, Here is the trace with 2.6.20.6 I added back in my trace code, as you see. As you can also see, agp_amdk7_probe is still not called. Linux agpgart interface v0.101 (c) Dave Jones agp_amdk7_init: In function agp_amdk7_init: Before pci_register_driver __pci_register_driver: In

Re: qla2xxx hba crashes with older 2310 cards

2007-04-20 Thread David Miller
From: Robert Peterson <[EMAIL PROTECTED]> Date: Fri, 20 Apr 2007 10:40:30 -0500 > I've seen some chatter about the qla2xxx driver but not paid attention, so > I'm sorry if this is a known issue. I've got an older qlogic hba, and recent > drivers don't seem to play nice with it. I've got the

Re: PCI bridge range sizing bug

2007-04-20 Thread Ivan Kokshaysky
On Fri, Apr 20, 2007 at 11:28:42AM -0700, Linus Torvalds wrote: > Actually, I would suggest we not do it automatically (because the need for > it is just so low, and the downsides are potentially huge - there are just > too many resources that are "hidden" from us through ACPI tricks and >

Re: qla2xxx hba crashes with older 2310 cards

2007-04-20 Thread James Bottomley
On Fri, 2007-04-20 at 13:24 -0700, David Miller wrote: > From: Robert Peterson <[EMAIL PROTECTED]> > Date: Fri, 20 Apr 2007 10:40:30 -0500 > > > I've seen some chatter about the qla2xxx driver but not paid attention, so > > I'm sorry if this is a known issue. I've got an older qlogic hba, and >

Re: AGPGart / AMD K7

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 04:22:06PM -0400, Preston A. Elder wrote: > Dave, Greg, > > Here is the trace with 2.6.20.6 > > I added back in my trace code, as you see. As you can also see, > agp_amdk7_probe is still not called. Try looking down in __driver_attach() The fact that we're not

[PATCH 2/5] NFS: Don't clear PG_writeback until after we've processed unstable writes

2007-04-20 Thread Trond Myklebust
From: Trond Myklebust <[EMAIL PROTECTED]> Ensure that we don't release the PG_writeback lock until after the page has either been redirtied, or queued on the nfs_inode 'commit' list. Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]> --- fs/nfs/write.c |6 +++--- 1 files changed, 3

[PATCH 0/5] 2.6.21-rc7 NFS writes: fix a series of issues

2007-04-20 Thread Trond Myklebust
I've split the issues introduced by the 2.6.21-rcX write code up into 4 subproblems. The first patch is just a cleanup in order to ease review. Patch number 2 ensures that we never release the PG_writeback flag until _after_ we've either discarded the unstable request altogether, or put it on

[PATCH 5/5] RPC: Fix the TCP resend semantics for NFSv4

2007-04-20 Thread Trond Myklebust
From: Trond Myklebust <[EMAIL PROTECTED]> Fix a regression due to the patch "NFS: disconnect before retrying NFSv4 requests over TCP" The assumption made in xprt_transmit() that the condition "req->rq_bytes_sent == 0 and request is on the receive list" should imply that we're dealing

[PATCH 4/5] NFS: Fix race in nfs_set_page_dirty

2007-04-20 Thread Trond Myklebust
From: Trond Myklebust <[EMAIL PROTECTED]> Protect nfs_set_page_dirty() against races with nfs_inode_add_request. Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]> --- fs/nfs/write.c | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/fs/nfs/write.c

Re: PCI bridge range sizing bug

2007-04-20 Thread Jesse Barnes
On Friday, April 20, 2007 11:28 am Linus Torvalds wrote: > On Fri, 20 Apr 2007, Jesse Barnes wrote: > > Sounds good, hopefully reassigning the bridge resources won't cause > > too much trouble. Do you have time to hack this up? If not, I > > could give it a try, as long as ajax is willing to

[PATCH 1/5] NFS: clean up the unstable write code

2007-04-20 Thread Trond Myklebust
From: Trond Myklebust <[EMAIL PROTECTED]> Get rid of the inlined #ifdefs. Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]> --- fs/nfs/write.c | 117 -- include/linux/nfs_page.h | 30 2 files changed, 71 insertions(+), 76

[PATCH 3/5] NFS: Fix the 'desynchronized value of nfs_i.ncommit' error

2007-04-20 Thread Trond Myklebust
From: Trond Myklebust <[EMAIL PROTECTED]> Redirtying a request that is already marked for commit will screw up the accounting for NR_UNSTABLE_NFS as well as nfs_i.ncommit. Ensure that all requests on the commit queue are labelled with the PG_NEED_COMMIT flag, and avoid moving them onto the dirty

Re: [PATCH 12/15] ide: make ide_hwif_t.ide_dma_host_on void

2007-04-20 Thread Sergei Shtylyov
Hello, once I wrote: [PATCH] ide: make ide_hwif_t.ide_dma_host_on void * since ide_hwif_t.ide_dma_host_on is called either when drive->using_dma == 1 or when return value is discarded make it void, also drop "ide_" prefix * make __ide_dma_host_on() void and drop "__" prefix BTW, it

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-20 Thread Bill Davidsen
Mike Galbraith wrote: On Tue, 2007-04-17 at 05:40 +0200, Nick Piggin wrote: On Tue, Apr 17, 2007 at 04:29:01AM +0200, Mike Galbraith wrote: Yup, and progress _is_ happening now, quite rapidly. Progress as in progress on Ingo's scheduler. I still don't know how we'd decide when to replace

[PATCH 1/2]: PCI Error Recovery: Symbios SCSI base support

2007-04-20 Thread Linas Vepstas
Hi Matthew, After a long hiatus, I took another stab at pci error recovery for the symbios. This is very nearly the same patch as before, with only an update to enable MWI, and to support chip workarounds. I think I've addressed all the other issues that came up. Thus, again, I'll ask that

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Miklos Szeredi
> > I gave a chroot example that showed that in the current > > implementation, you can get pretty random clashes between mounts; there are > > other cases with lazy unmounts as well. > > Irrelevant as well. If you create chroot problems it's your problem. > > The fact is that if you have a

Re: [PATCH 7/8] Kconfig: silicon backplane dependency.

2007-04-20 Thread Michael Buesch
On Friday 20 April 2007 13:35, Martin Schwidefsky wrote: > From: Martin Schwidefsky <[EMAIL PROTECTED]> > > Make the "Sonics Silicon Backplane" menu dependent on the two buses > it can be found on. > Goes on top of git-wireless.patch. > > Cc: Michael Buesch <[EMAIL PROTECTED]> > Cc: John W.

[PATCH 2/2]: PCI Error Recovery: Symbios SCSI First Failure

2007-04-20 Thread Linas Vepstas
Implement the so-called "first failure data capture" (FFDC) for the symbios PCI error recovery. After a PCI error event is reported, the driver requests that MMIO be enabled. Once enabled, it then reads and dumps assorted status registers, and concludes by requesting the usual reset sequence.

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-20 Thread Bill Davidsen
Ingo Molnar wrote: ( Lets be cautious though: the jury is still out whether people actually like this more than the current approach. While CFS feedback looks promising after a whopping 3 days of it being released [ ;-) ], the test coverage of all 'fairness centric' schedulers, even

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Vojtech Pavlik
On Fri, Apr 20, 2007 at 06:09:55PM +0200, Giuseppe Bilotta wrote: > On 4/20/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > >On 4/20/07, Giuseppe Bilotta <[EMAIL PROTECTED]> wrote: > >> > >> Sorry, it seems I was wrong, it's not usbhid but usbmouse taking over. > >> After a fresh plug (e.g. at

Re: why UDF have so ugly filesize limit?

2007-04-20 Thread Jan Kara
> from fs/udf/super.c: > in function udf_fill_super > sb->s_maxbytes = 1<<30; (1 GB) > > Why sb->s_maxbytes is not equal to MAX_LFS_FILESIZE? Because UDF had some flaws and user could crash a kernel with larger filesize. In -mm kernel are patches fixing the flaw and also raising the limit back

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-20 Thread Andrew Morton
On Tue, 17 Apr 2007 03:15:51 -0400 Rik van Riel <[EMAIL PROTECTED]> wrote: > 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

[PATCH] dev_dbg: check dev_dbg() arguments

2007-04-20 Thread Dan Williams
Duplicate what Zach Brown did for pr_debug in commit 8b2a1fd1b394c60eaa2587716102dd5e9b4e5990 Signed-off-by: Dan Williams <[EMAIL PROTECTED]> --- include/linux/device.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/linux/device.h b/include/linux/device.h

Re: [PATCH] lazy freeing of memory through MADV_FREE 2/2

2007-04-20 Thread Andrew Morton
On Thu, 19 Apr 2007 17:15:28 -0400 Rik van Riel <[EMAIL PROTECTED]> wrote: > Restore MADV_DONTNEED to its original Linux behaviour. This is still > not the same behaviour as POSIX, but applications may be depending on > the Linux behaviour already. Besides, glibc catches POSIX_MADV_DONTNEED >

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Rafael J. Wysocki
On Friday, 20 April 2007 20:31, Ingo Molnar wrote: > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > I mean, we already have four of them (PF_NOFREEZE, PF_FROZEN, > > > > PF_FREEZER_SKIP, TIF_FREEZE), and you will need to introduce two > > > > more for the freezer-based CPU hotplug, so

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 16:20:59 -0400 James Bottomley <[EMAIL PROTECTED]> wrote: > On Fri, 2007-04-20 at 12:30 -0700, Andrew Morton wrote: > > On Fri, 20 Apr 2007 14:50:06 -0400 > > James Bottomley <[EMAIL PROTECTED]> wrote: > > > > > > CONFIG_LBD=y gives us an additional 3kb of instructions on

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Oleg Nesterov
On 04/19, Gautham R Shenoy wrote: > > @@ -63,12 +74,16 @@ void refrigerator(void) > recalc_sigpending(); /* We sent fake signal, clean it up */ > spin_unlock_irq(>sighand->siglock); > > + task_lock(current); > for (;;) { >

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Oleg Nesterov
On 04/20, Gautham R Shenoy wrote: > > On Fri, Apr 20, 2007 at 10:54:36AM +0200, Rafael J. Wysocki wrote: > > > > Hmm, can't we do something like this instead: > > > > --- > > kernel/kthread.c | 10 ++ > > 1 file changed, 10 insertions(+) > > > > Index:

[PATCH] ieee1394: update MAINTAINERS database

2007-04-20 Thread Stefan Richter
- update Ben's address - replace Ben's contact by mine as raw1394's 2nd contact - eth1394's and pcilynx's maintenance doesn't really differ from that of other parts of the stack like video1394 Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- Ben, is this correct? MAINTAINERS |

Re: [PATCH] lazy freeing of memory through MADV_FREE 2/2

2007-04-20 Thread Ulrich Drepper
On 4/20/07, Andrew Morton <[EMAIL PROTECTED]> wrote: OK, we need to flesh this out a lot please. People often get confused about what our MADV_DONTNEED behaviour is. Well, there's not really much to flesh out. The current MADV_DONTNEED is useful in some situations. The behavior cannot be

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread Oleg Nesterov
On 04/20, Andrew Morton wrote: > > On Fri, 20 Apr 2007 11:41:46 +0100 > David Howells <[EMAIL PROTECTED]> wrote: > > > There are only two non-net patches that AF_RXRPC depends on: > > > > (1) The key facility changes. That's all my code anyway, and shouldn't be > > a > > problem to merge

<    2   3   4   5   6   7   8   >