[PATCH 05/10] mm: bdi init hooks

2007-04-20 Thread Peter Zijlstra
provide BDI constructor/destructor hooks Signed-off-by: Peter Zijlstra [EMAIL PROTECTED] --- block/ll_rw_blk.c |2 ++ drivers/block/rd.c |6 ++ drivers/char/mem.c |2 ++ drivers/mtd/mtdcore.c |5 + fs/char_dev.c

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

2007-04-20 Thread Dave Jones
On Fri, Apr 20, 2007 at 08:28:10AM -0700, Jeremy Fitzhardinge wrote: Dave Jones wrote: -BUG: at arch/i386/kernel/sched-clock.c:170 init_sched_clock() - [c01091b5] show_trace_log_lvl+0x1a/0x30 - [c010980c] show_trace+0x12/0x14 - [c01098cb] dump_stack+0x16/0x18 - [c0468dbd]

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Giuseppe Bilotta
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 bootup) I get the following: Well, the question is - why do you have usbmouse module

Re: MMCv4 support (8-bit support missing)

2007-04-20 Thread Philip Langdale
Madhusudhan c wrote: Suppose a host controller is capable of suporting 8-bit and it tells the core that it can support 8-bit. Now the card that is plugged in might or might not support 8-bit based on the type of the card. There is no field in the ext_csd which will tell you what bus width

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

2007-04-20 Thread Christoph Lameter
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. I am

Re: [PATCH] Make new setting of panic_on_oom

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, Benjamin LaHaise wrote: On Fri, Apr 20, 2007 at 08:43:56PM +0900, Yasunori Goto wrote: The current panic_on_oom may not work if there is a process using cpusets/mempolicy, because other nodes' memory may still free. But some people want failover by panic ASAP even

Re: Permanent Kgdb integration into the kernel - lets get with it.

2007-04-20 Thread Robin Holt
On Tue, Apr 17, 2007 at 08:45:03PM +0200, Andi Kleen wrote: Is there any movement on this? I'm open to reasonable patches for the hooks at least. If that is done then the actual kgdb code can be reviewed and considered eventually too. Would you be open to adding to that set of hooks the

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

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, Mel Gorman wrote: So the difference here appears to be that specifying an order means you can't mmap(). right? That's fair enough for the moment but relaxing would make ramfs potentially usable as a replacement for hugetlbfs so there would be just one ram-based

Re: [RFC 0/8] Variable Order Page Cache

2007-04-20 Thread Christoph Lameter
On Fri, 20 Apr 2007, Mel Gorman wrote: I believe there is an assumption in parts of reclaim that LRU pages are order-0. An interesting bug or two is likely to rear its head there. Correct. We need to deal with reclaim etc. Note that this is proof-of-concept. Lots of functionality is missing

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 02:42:27PM +0100, Mel Gorman wrote: That's fair enough for the moment but relaxing would make ramfs potentially usable as a replacement for hugetlbfs so there would be just one ram-based filesystem instead of two.

Re: PCI bridge range sizing bug

2007-04-20 Thread Jesse Barnes
On Friday, April 20, 2007 2:23 am Ivan Kokshaysky wrote: On Thu, Apr 19, 2007 at 05:19:20PM -0700, Linus Torvalds wrote: I think we used to *never* assign PCI bus resources on x86, but that thing got fixed some time ago. Now I think we only re-assign them if they were unassigned *or* if the

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Dmitry Torokhov
On 4/19/07, Alan Stern [EMAIL PROTECTED] wrote: Among the worst offenders are character devices. None of the subsystem providers offering char device registration performs immediate detach -- they are a lot like sysfs used to be. (In fact, they probably _can't_ provide it since read() or

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

2007-04-20 Thread Eric W. Biederman
Serge E. Hallyn [EMAIL PROTECTED] writes: Quoting Miklos Szeredi ([EMAIL PROTECTED]): This patchset has now been bared to the lowest common denominator that everybody can agree on. Or at least there weren't any objections to this proposal. Andrew, please consider it for -mm. Thanks,

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Dmitry Torokhov
Hi Tejun, On 4/20/07, Tejun Heo [EMAIL PROTECTED] wrote: Hello, Dmitry. Dmitry Torokhov wrote: On 4/19/07, Cornelia Huck [EMAIL PROTECTED] wrote: On Thu, 19 Apr 2007 09:13:43 -0400, Dmitry Torokhov [EMAIL PROTECTED] wrote: Because they are managed by 2 different entities. the struct

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 that

[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 Fri, Apr

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 driver

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

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 something like

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 -worklist),

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. On Fri,

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

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 work?

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

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 2.6.21-rc7-/kernel/workqueue.c

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 CONFIG_FB_BACKLIGHT enabled,

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 will

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 = phantom, + .id_table =

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 Spinlock

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 readable and

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 semantics it

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 handle thousands of

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 not saying

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

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 send new

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

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

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 When intel8x0

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 separate u8

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 against this patch:

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 that I

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) { do all the assignments

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

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

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

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 it when it

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 cache

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

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. That's

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

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 linux-kernel

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 with a

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 processors?

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

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 structure? Are

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, 2007 at

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 no

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 12:44:55PM

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

[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 difference, but

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 latest

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 having

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 recent

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 calling

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

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

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

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 normal setup

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. Linville [EMAIL

<    1   2   3   4   5   6   7   8   >