Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Tejun Heo
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 device objects are managed by device core and driver-specific

Re: [PATCHv2] [KERNEL-DOC] kill warnings when building mandocs

2007-04-20 Thread Borislav Petkov
On Thu, Apr 19, 2007 at 09:21:22AM -0700, Randy Dunlap wrote: On Thu, 19 Apr 2007 09:19:32 +0200 Borislav Petkov wrote: A fixed version of the patch shutting up missing version warnings when building mandocs. http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt :: Please include a

Re: [PATCH] [KERNEL-DOC] kill warnings when building mandocs

2007-04-20 Thread Borislav Petkov
On Thu, Apr 19, 2007 at 08:53:36AM -0700, Randy Dunlap wrote: On Thu, 19 Apr 2007 08:20:59 +0200 Borislav Petkov wrote: snip I'm pretty sure the reason you cannot reproduce this warning is the line xsl:param name=refentry.version.suppress1/xsl:param which can be

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Willy Tarreau wrote: On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still

Re: [RFC 2/2] Input: phantom, add a new driver

2007-04-20 Thread Andrew Morton
On Tue, 17 Apr 2007 22:02:10 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: phantom, add a new driver Sensable Phantom is a up to 7DOF force feedback (up to 6DOF FF) device. It's atypical, so it's based on the new added FF_RAW effect. diff --git a/drivers/input/misc/phantom.c

[PREEMPT_RT] [PATCH] scheduling with irqs disabled: strace/0x00000000/2011

2007-04-20 Thread Sripathi Kodi
Hi, While running strace on some testcase running on -rt kernel (2.6.20-rt8 and 2.6.21-rc6-rt0), I have seen the following BUG: BUG: scheduling with irqs disabled: strace/0x/2011 caller is rt_spin_lock_slowlock+0x102/0x1af Call Trace: [8026d828] dump_trace+0xbd/0x3d8

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

2007-04-20 Thread Peter Williams
William Lee Irwin III wrote: William Lee Irwin III wrote: I'd further recommend making priority levels accessible to kernel threads that are not otherwise accessible to processes, both above and below user-available priority levels. Basically, if you can get SCHED_RR and SCHED_FIFO to coexist

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Peter Williams wrote: Willy Tarreau wrote: On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE:

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

2007-04-20 Thread William Lee Irwin III
On Thu, 19 Apr 2007, William Lee Irwin III wrote: Oh dear. Per-file pagesizes are foul. Better to fix up the pagecache's radix tree than to restrict it like this. There are other attacks on the multiple horizontal internal tree node allocation problem beyond outright B+ trees that allow radix

Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

2007-04-20 Thread Jes Sorensen
Andrew Morton wrote: Another driver which should be fully converted to the kthread API: kthread_stop() and kthread_should_stop(). And according to my logs, this driver was added to the tree more than a year _after_ the kthread interface was made available. This isn't good. Andrew, Per my

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

2007-04-20 Thread Jens Axboe
On Fri, Apr 20 2007, David Chinner wrote: - Higher order pages in the block layer etc. It's more drivers that we have to worry about, I think. We don't need to modify bios to explicitly support compound pages. From bio.h: /* * was unsigned short, but we might as well be ready for 64kB

Re: [PATCH] dvb_en_50221: Convert to kthread API

2007-04-20 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 03:34:13PM -0700, Andrew Morton wrote: On Thu, 19 Apr 2007 01:59:04 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: This patch is a minimal transformation to use the kthread API doing it's best to preserve the existing logic. Instead of starting kdvb-ca by

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Ingo Molnar
* Peter Williams [EMAIL PROTECTED] wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll address the many nice level related

Re: [PATCH] dvb_en_50221: Convert to kthread API

2007-04-20 Thread Andrew Morton
On Fri, 20 Apr 2007 07:37:14 +0100 Christoph Hellwig [EMAIL PROTECTED] wrote: urgh, yes, this is just sad. We should convert this driver fully to the kthread API - it will end up much better. I'll queue this up as a -mm-only thing as a gentle reminder that we should do it properly.

Re: [RFC][PATCH -mm take4 6/6] add ioctls for adding/removing target

2007-04-20 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Thu, 19 Apr 2007 22:39:09 -0700 Should't this just be a network ioctl against an UDP (AF_INET, SOCK_DGRAM) socket? Also consider netconsole over IPV6 for future enhancement. If it's on a socket use a socket option :-) - To unsubscribe from this

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Jiri Kosina
On Fri, 20 Apr 2007, Giuseppe Bilotta wrote: The first problem is that the usbmouse and usbhid drivers take control of the device, so that when I plug it in the tablet appears as a mouse, with extremely funny effects (cursor jumping around, buttons clicking out of nowhere, and other

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

2007-04-20 Thread Jarek Poplawski
On Thu, Apr 19, 2007 at 01:07:11PM -0400, Chuck Ebbert wrote: Jarek Poplawski wrote: Hi, IMHO cancel_rearming_delayed_work is dangerous place: - it assumes a work function always rearms (with no exception), which probably isn't explained enough now (but anyway should be checked in

Re: Renice X for cpu schedulers

2007-04-20 Thread Michael K. Edwards
On 4/19/07, hui Bill Huey [EMAIL PROTECTED] wrote: DSP operations like, particularly with digital synthesis, tend to max the CPU doing vector operations on as many processors as it can get a hold of. In a live performance critical application, it's important to be able to deliver a protected

RE: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread albcamus
Hi roland, It's really an interesting feature, IMHO, maybe the UML would be no more needed. thanks very much;-) Regards, 2007/4/20, roland [EMAIL PROTECTED]: Hi ! I think this one is damn interestig for linux kernel development: link: http://stackframe.blogspot.com/ contents: see below

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Willy Tarreau
On Fri, Apr 20, 2007 at 04:02:41PM +1000, Peter Williams wrote: Willy Tarreau wrote: On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Ingo Molnar wrote: * Peter Williams [EMAIL PROTECTED] wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll address the many nice level

AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Hi, I have a Tyan Thunder K7x Pro (S2469) and the amd-k7-agp module does not seem to be probing my AGP device. I have even tried putting debugging code into the amd-k7-agp module, and sure enough I can see it being loaded, but the probe function is never called. This is with kernel 2.6.19.

Re: CPU time limit patch / setrlimit(RLIMIT_CPU, 0) cheat fix

2007-04-20 Thread Andrew Morton
On Tue, 17 Apr 2007 16:57:55 +0300 Tom Alsberg [EMAIL PROTECTED] wrote: Hi there. As discovered here today, the change in Kernel 2.6.17 intended to inhibit users from setting RLIMIT_CPU to 0 (as that is equivalent to unlimited) by cheating and setting it to 1 in such a case, does not make

Re: [PATCH] net/rxrpc: Convert to kthread API.

2007-04-20 Thread David Howells
Andrew Morton [EMAIL PROTECTED] wrote: Do those patches convert all this code over to full use of the kthread API? Because it seems that a conversion would be straightforward, and is needed. No. They delete all that code entirely and use workqueues instead. So, I suppose merging Eric's

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

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 08:32:57AM +0200, Jens Axboe wrote: On Fri, Apr 20 2007, David Chinner wrote: The ramfs driver can be used to test higher order page cache functionality (and may help troubleshoot the VM support until we get some real filesystem and real devices supporting

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Aubrey Li [EMAIL PROTECTED] wrote: The patch works properly on my side. But 1) I'm not sure why you re-wrote alloc/free_pg_vec function, doesn't the current implement work for NOMMU? I know you want to allocate the entire data buffer as one contiguous lump, but is it really necessary? Yes.

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Howells
David Miller [EMAIL PROTECTED] wrote: I applied already the patches I thought were appropriate, you had some crypto layer changes that you need to work out with Herbert Xu before the rest can be applied. Should the rest of it go via Andrew's tree then? David - To unsubscribe from this list:

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

2007-04-20 Thread Jarek Poplawski
On Fri, Apr 20, 2007 at 12:46:18AM +1000, David Chinner wrote: On Thu, Apr 19, 2007 at 08:54:04AM +0200, Jarek Poplawski wrote: Hi, IMHO cancel_rearming_delayed_work is dangerous place: Agreed - I spent a couple of hours today learning why it can only be used on work functions that

[PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Pierre Peiffer
Hi, This is a fix against the patch do-not-group-pages-by-mobility-type-on-low-memory-systems.patch (include in -mm tree): The error page_group_by_mobility_disabled undefinied occured if CONFIG_PAGE_GROUP_BY_MOBILITY is not set. Signed-off-by: Pierre Peiffer [EMAIL PROTECTED] ---

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Brad Campbell
Alex Dubov wrote: Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between boots to S3 and disk, I've suspended with cards in the socket

Re: Renice X for cpu schedulers

2007-04-20 Thread hui
On Fri, Apr 20, 2007 at 12:12:29AM -0700, Michael K. Edwards wrote: Actual fractional CPU reservation is a bit different, and is probably best handled with container-type infrastructure (not quite virtualization, but not quite scheduling classes either). SGI pioneered this (in open systems

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

2007-04-20 Thread Jens Axboe
On Thu, Apr 19 2007, Christoph Lameter wrote: +static inline int page_cache_shift(struct address_space *a) +{ + return a-order + PAGE_CACHE_SHIFT; +} + +static inline unsigned long page_cache_size(struct address_space *a) +{ + return PAGE_CACHE_SIZE a-order; +} This works fine

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Giuseppe Bilotta
On 4/20/07, Jiri Kosina [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Giuseppe Bilotta wrote: The first problem is that the usbmouse and usbhid drivers take control of the device, so that when I plug it in the tablet appears as a mouse, with extremely funny effects (cursor jumping around,

Re: [PATCH 7/7] [RFC] APM emulation driver for class batteries

2007-04-20 Thread Pavel Machek
Hi! +static void (*old_apm_get_power_status)(struct apm_power_info*); + +static int __init apm_battery_init(void) +{ + printk(KERN_INFO APM Battery Driver\n); + + old_apm_get_power_status = apm_get_power_status; + apm_get_power_status = apm_battery_apm_get_power_status;

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

2007-04-20 Thread Jiri Slaby
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 = phantom_pci_tbl, +.probe = phantom_probe, +.remove =

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Fabio Comolli
+1 On 4/20/07, Brad Campbell [EMAIL PROTECTED] wrote: Alex Dubov wrote: Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between boots

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread Aubrey Li
On 4/20/07, David Howells [EMAIL PROTECTED] wrote: Aubrey Li [EMAIL PROTECTED] wrote: The patch works properly on my side. But 1) I'm not sure why you re-wrote alloc/free_pg_vec function, doesn't the current implement work for NOMMU? I know you want to allocate the entire data buffer as one

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Xavier Bestel
On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux kernel development. You can now debug kernel of Linux VM with gdb running on the Host without changing anything in the Guest VM.

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

2007-04-20 Thread David Chinner
On Thu, Apr 19, 2007 at 09:47:18PM -0700, William Lee Irwin III wrote: On Thu, Apr 19, 2007 at 09:35:04AM -0700, Christoph Lameter wrote: This patchset modifies the core VM so that higher order page cache pages become possible. The higher order page cache pages are compound pages and can be

Re: [PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Mel Gorman
On Fri, 20 Apr 2007, Pierre Peiffer wrote: Hi, This is a fix against the patch do-not-group-pages-by-mobility-type-on-low-memory-systems.patch (include in -mm tree): The error page_group_by_mobility_disabled undefinied occured if CONFIG_PAGE_GROUP_BY_MOBILITY is not set. Signed-off-by: Pierre

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
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 sections. afaik this is only ever reported on SuSE; I've not heard it on any other distro... Even

Re: [PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Pierre Peiffer
Hi, Your fix looks correct but the compile-time option CONFIG_PAGE_GROUP_BY_MOBILITY was removed in a patch I sent to Andrew two days ago. It went into mm-commits last night so this problem should no longer exist. Ah ok, fine. Just forget it in this case :) Thanks, -- Pierre - To

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

2007-04-20 Thread Rafael J. Wysocki
On Thursday, 19 April 2007 23:31, Andrew Morton wrote: On Thu, 19 Apr 2007 17:34:19 +0530 Gautham R Shenoy [EMAIL PROTECTED] wrote: Threads which wait for completion on a frozen thread might result in causing the freezer to fail, if the waiting thread is freezeable. There are some

Re: [PATCH] macintosh/mediabay: Convert to kthread API.

2007-04-20 Thread Benjamin Herrenschmidt
Looks OK - there's no way of stopping the kernel thread anyway. It appears that nobody has tried to use this driver at the same time as software-suspend. At least, not successfully. A strategic try_to_freeze() should fix it. This will become (a little) more serious when cpu hotplug is

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

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 10:13:26AM +0200, Jarek Poplawski wrote: On Fri, Apr 20, 2007 at 12:46:18AM +1000, David Chinner wrote: On Thu, Apr 19, 2007 at 08:54:04AM +0200, Jarek Poplawski wrote: Hi, IMHO cancel_rearming_delayed_work is dangerous place: Agreed - I spent a couple of

Re: [PATCH] macintosh/therm_windtunnel.c: Convert to kthread API.

2007-04-20 Thread Benjamin Herrenschmidt
On Thu, 2007-04-19 at 16:37 -0700, Andrew Morton wrote: On Thu, 19 Apr 2007 01:58:48 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: Start the g4fand using kthread_run not a combination of kernel_thread and deamonize. This makes the code a little simpler and more maintainable. I had

Re: [PATCH][RFC][POWERPC] i2c: adds support for i2c bus on 8xx

2007-04-20 Thread Segher Boessenkool
+ compatible = fsl-i2c-cpm; fsl,i2c-cpm instead. Segher - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Miller
From: David Howells [EMAIL PROTECTED] Date: Fri, 20 Apr 2007 09:02:07 +0100 David Miller [EMAIL PROTECTED] wrote: I applied already the patches I thought were appropriate, you had some crypto layer changes that you need to work out with Herbert Xu before the rest can be applied.

regression with gammu on 2.6.21-rc7

2007-04-20 Thread Wolfgang Erig
Hello, I have a regression with 2.6.21-rc7-g80d74d51. The utility gammu to talk to my mobile does not work anymore. With 2.6.20 gammu runs fine. Distribution is the latest Debian/testing Wolfgang $ gammu --backup backup Press Ctrl+C to break... I/O possible $ uname -a Linux max

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Aubrey Li [EMAIL PROTECTED] wrote: as checked in packet_set_ring, buffer size must be a multiple of PAGE_SIZE, packet_set_ring if (unlikely(req-tp_block_size (PAGE_SIZE - 1))) So why not use __get_free_pages rather than kmalloc, Because

Re: [RFC 2/2] Input: phantom, add a new driver

2007-04-20 Thread Jiri Slaby
Andrew Morton napsal(a): On Tue, 17 Apr 2007 22:02:10 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: phantom, add a new driver [...] +#define PHANTOM_VERSION n0.9.4 That's an impressive version number ;) fork of 0.8 or so 2.4 linux driver - the n in the meaning of new :)

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Cornelia Huck
On Thu, 19 Apr 2007 16:49:11 +0200, Cornelia Huck [EMAIL PROTECTED] wrote: On Thu, 19 Apr 2007 10:20:51 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: The patch below, applied on top of Cornelia's changes plus the kobject_init() patch I posted earlier, actually seems to work. And it

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-20 Thread Alan Hourihane
I've updated the Vermilion Range (LE80578) patch against linus' tree. Hopefully this rectifies all of the issues noted previously. Let me know again if there's more updates needed. Thanks to all who responded with the feedback, it was appreciated. Alan. diff --git a/drivers/video/Kconfig

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Cornelia Huck
On Fri, 20 Apr 2007 14:27:06 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Hello, Alan. Alan Stern wrote: This doesn't solve a related problem: a subsystem wants to register devices and to provide a set of mutually-exclusive services to the devices' drivers. The mutual exclusion has to be

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

2007-04-20 Thread Jarek Poplawski
On Thu, Apr 19, 2007 at 02:21:22PM +0400, Oleg Nesterov wrote: On 04/19, Andrew Morton wrote: Begin forwarded message: Date: Thu, 19 Apr 2007 08:54:04 +0200 From: Jarek Poplawski [EMAIL PROTECTED] To: linux-kernel@vger.kernel.org Cc: Ingo Molnar [EMAIL PROTECTED] Subject: [PATCH

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread Eric Dumazet
On Fri, 20 Apr 2007 09:58:52 +0100 David Howells [EMAIL PROTECTED] wrote: Because kmalloc() may be able to get us a smaller chunk of memory. Actually, calling __get_free_pages() might be a better, and then release the excess pages. Interesting, that rings a bell here. I wonder why we dont

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Sergey Yanovich
Hi, Arnd Bergmann wrote: As very general comments, you should have the maintainer of the subsystem (Pierre in this case) on Cc when posting a driver, and you should include the patch inline in your mail, see Documentation/SubmittingPatches. I have cc'ed both Pierre and Alex, but my first

Re: PCI bridge range sizing bug

2007-04-20 Thread Ivan Kokshaysky
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 assignment wasn't working before. But I'm not 100% sure

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

2007-04-20 Thread Alan Cox
As far as I can see, glibc internally looks at /proc/mounts (or else mtab) to find out where tmpfs is mounted for opening files there, and to look up filesystem information for statfs(), while accessing that path, too. Fstatfs() also looks into the same files, but it only matches by filesystem

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Andi Kleen
Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux kernel development. You can now debug kernel of Linux VM with gdb running on the Host

Re: [d_path 1/7] Fix __d_path() for lazy unmounts and make it unambiguous

2007-04-20 Thread Alan Cox
On Fri, 20 Apr 2007 01:23:04 +0200 Andreas Gruenbacher [EMAIL PROTECTED] wrote: First, when __d_path() hits a lazily unmounted mount point, it tries to prepend the name of the lazily unmounted dentry to the path name. It gets this wrong, and also overwrites the slash that separates the name

Re: [d_path 6/7] Filter out disconnected paths from /proc/mounts

2007-04-20 Thread Alan Cox
There is some disagreement what /proc/mounts should include. Currently it reports all mounts from the current namespace and doesn't include lazy unmounts. This leads to ambiguities with the rootfs (which is an internal mount irrelevant to user-space except in the initrd), and in chroots.

InitIO SCSI: Volunteers required

2007-04-20 Thread Alan Cox
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 I can do the pci_find_device to pci_get_device

Re: [PATCH] dvb_en_50221: Convert to kthread API

2007-04-20 Thread Cedric Le Goater
Andrew Morton wrote: On Fri, 20 Apr 2007 07:37:14 +0100 Christoph Hellwig [EMAIL PROTECTED] wrote: urgh, yes, this is just sad. We should convert this driver fully to the kthread API - it will end up much better. I'll queue this up as a -mm-only thing as a gentle reminder that we should

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

2007-04-20 Thread Andi Kleen
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 sections. afaik this is only ever

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

2007-04-20 Thread Keiichi KII
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 patches on the LKML and the netdev ML in a few days. Thank you for your comments

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

2007-04-20 Thread Keiichi KII
Please include an update to Documentation/networking/netconsole.txt OK, I update the documnet for the added functions in next patches. Thank you for your comments. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: [PATCH 16/16] alsa sound support for mips

2007-04-20 Thread Atsushi Nemoto
On Wed, 18 Apr 2007 22:13:02 +0800, Fuxin Zhang [EMAIL PROTECTED] wrote: +#if defined(__mips__) defined(CONFIG_DMA_NONCOHERENT) + /* all mmap using uncached mode */ + area-vm_page_prot = pgprot_noncached(area-vm_page_prot); + area-vm_flags |= ( VM_RESERVED | VM_IO);

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Sergey Yanovich
Hi, Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between boots to S3 and disk, I've suspended with cards in the socket and I've

Re: Oops on 2.6.21 with dvb-usb-dib0700?

2007-04-20 Thread Markus Rechberger
Hi, this will be fixed in upcoming kernel releases, there's already a patch for that in the video4linux/dvb repository on linuxtv.org. So if you update your v4l-dvb drivers that problem shouldn't occure anymore. http://linuxtv.org/repo/ -Markus On 4/19/07, Chris Murton [EMAIL PROTECTED]

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

2007-04-20 Thread Jarek Poplawski
On Fri, Apr 20, 2007 at 06:53:54PM +1000, David Chinner wrote: ... Yes, after spending another two hours working out why my fix was then hanging in cancel_rearming_delayed_work() I was a little bit annoyed at the now obviously misleading comment. Five minutes later I agree with your feelings,

Re: [Devel] Re: [PATCH] bluetooth bnep: Convert to kthread API.

2007-04-20 Thread Cedric Le Goater
Andrew Morton wrote: On Thu, 19 Apr 2007 01:58:51 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch starts kbenpd using kthread_run replacing a combination of kernel_thread and daemonize. Making the code a little simpler and more

[patch 2/8] allow unprivileged umount

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] The owner doesn't need sysadmin capabilities to call umount(). Similar behavior as umount(8) on mounts having user=UID option in /etc/mtab. The difference is that umount also checks /etc/fstab, presumably to exclude another mount on the same mountpoint.

[patch 1/8] add user mounts to the kernel

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Add ownership information to mounts. A new mount flag, MS_SETUSER is used to make a mount owned by a user. If this flag is specified, then the owner will be set to the current real user id and the mount will be marked with the MNT_USER flag. On remount

[patch 4/8] propagate error values from clone_mnt

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Allow clone_mnt() to return errors other than ENOMEM. This will be used for returning a different error value when the number of user mounts goes over the limit. Fix copy_tree() to return EPERM for unbindable mounts. Don't propagate further from

[patch 6/8] put declaration of put_filesystem() in fs.h

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Declarations go into headers. Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] --- Index: linux/fs/super.c === --- linux.orig/fs/super.c 2007-04-20 11:55:02.0 +0200 +++

[patch 5/8] allow unprivileged bind mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Allow bind mounts to unprivileged users if the following conditions are met: - mountpoint is not a symlink or special file - parent mount is owned by the user - the number of user mounts is below the maximum Unprivileged mounts imply MS_SETUSER, and

[patch 8/8] allow unprivileged fuse mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Use FS_SAFE for fuse fs type, but not for fuseblk. FUSE was designed from the beginning to be safe for unprivileged users. This has also been verified in practice over many years. In addition unprivileged mounts require the parent mount to be owned by the

[patch 3/8] account user mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Add sysctl variables for accounting and limiting the number of user mounts. The maximum number of user mounts is set to 1024 by default. This won't in itself enable user mounts, setting a mount to be owned by a user is first needed Signed-off-by: Miklos

[patch 7/8] allow unprivileged mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Define a new fs flag FS_SAFE, which denotes, that unprivileged mounting of this filesystem may not constitute a security problem. Since most filesystems haven't been designed with unprivileged mounting in mind, a thorough audit is needed before setting this

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

2007-04-20 Thread Miklos Szeredi
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, Miklos v3 - v4: - simplify interface as much as possible, now only a single option

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

2007-04-20 Thread Takashi Iwai
At Thu, 19 Apr 2007 22:03:16 +0200, Michal Piotrowski wrote: Hi Takashi, Takashi Iwai napisał(a): At Mon, 16 Apr 2007 17:44:57 -0400, Chuck Ebbert wrote: Adrian Bunk wrote: This email lists some known regressions in Linus' tree compared to 2.6.20. Subject: snd_intel8x0:

[PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Jiri Slaby
Andrew, I think it would be good to have these 3 in 2.6.21. -- mxser_new, fix recursive locking Acquire a port lock only if not in_interrupt in some places, because ISR holds the lock yet (and ldisc calls some of driver's routines which tries to acquire it again due to tty-low_latency). Thanks

[PATCH 2/3] Char: mxser_new, fix TIOCMIWAIT

2007-04-20 Thread Jiri Slaby
mxser_new, fix TIOCMIWAIT There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving the code to the wait_event_interruptible. Cc: Jan Yenya Kasprzak [EMAIL PROTECTED] Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit bd99756ce7fb8f3e9105b076a71046b0d8ad1f8f tree

[PATCH 3/3] Char: mxser, fix TIOCMIWAIT

2007-04-20 Thread Jiri Slaby
mxser, fix TIOCMIWAIT There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving the code to the wait_event_interruptible. Signed-off-by: Jiri Slaby [EMAIL PROTECTED] --- commit 88c99e7bd7356c4b5a960f4a2b631d980bddc337 tree 4d713ce58282145839d6223a849c32a791e25a93 parent

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Howells
David Miller [EMAIL PROTECTED] wrote: Now that Herbert cleared up the crypto layer issues the only problem left is that there are generic changes in there which are not strictly networking but which your subsequent networking changes depend upon. This is a mess, and makes merging your work

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Eric Dumazet [EMAIL PROTECTED] wrote: Is it really possible to allocate an order-10 page, then release part of it (say an order-8 subpage) ? Yes. David - 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: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Gautham R Shenoy
On Thu, Apr 19, 2007 at 02:31:33PM -0700, Andrew Morton wrote: On Thu, 19 Apr 2007 17:34:19 +0530 Gautham R Shenoy [EMAIL PROTECTED] wrote: flush_workqueue() just needs to die. I think there are (almost) no legitimate users of it once cancel_work_sync() is merged. This patch attempts

Re: [RFC 2/8] Basic allocation for higher order page cache pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: Variable Order Page Cache: Add basic allocation functions Extend __page_cache_alloc to take an order parameter and modify caller sites. Modify mapping_set_gfp_mask to set __GFP_COMP if the mapping requires higher order allocations.

RE: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread devzero
It's really an interesting feature, IMHO, maybe the UML would be no more needed. if you speak of debugging , uml seems to have another competitor now. maybe somebody make some side by side comparison of vmware uml regarding kernel debugging. (and also compare that to traditional debugging

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

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 12:21:57PM +0200, Jarek Poplawski wrote: On Fri, Apr 20, 2007 at 06:53:54PM +1000, David Chinner wrote: ... Yes, after spending another two hours working out why my fix was then hanging in cancel_rearming_delayed_work() I was a little bit annoyed at the now

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

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: --- include/linux/pagemap.h | 27 +++ 1 file changed, 27 insertions(+) Index: linux-2.6.21-rc7/include/linux/pagemap.h === ---

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

2007-04-20 Thread Jarek Poplawski
(take 2) I'm not sure we've agreed enough, who'll resubmit, so here it is with WARN_ON. If it was submited already - forget it. Jarek P. --- IMHO cancel_rearming_delayed_work is dangerous place: - it assumes a work function always rearms (with no exception), which probably isn't explained

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

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: Variable Order Page Cache: Fixup fallback functions Fixup the fallback function in fs/libfs.c to be able to handle higher order page cache pages. Signed-off-by: Christoph Lameter [EMAIL PROTECTED] --- fs/libfs.c | 16

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

2007-04-20 Thread Gautham R Shenoy
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: linux-2.6.21-rc7/kernel/kthread.c

[S390] add arch_trampoline_kprobe.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Add the missing arch_trampoline_kprobe function for s390 required by kprobes-the-on-off-knob-thru-debugfs-updated.patch. Cc: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Cc: Srinivasa DS [EMAIL PROTECTED] Cc: Andrew Morton [EMAIL PROTECTED]

Re: sky2 X86-64 PCI synchronization problems

2007-04-20 Thread Daniel J Blueman
Stephen, From your description of the problem, it sounds just like writes to PCI memory-mapped address space are being delayed and/or reordered in the processor when in x86-64 mode. I'd suggest to add wmb()/rmb() or (overkill) mb() calls after MMIO stores to flush writes immediately and force

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Petr Vandrovec
Andi Kleen wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux kernel development. You can now debug kernel of Linux VM with gdb

[PATCH 0/7] Kconfig: cleanup s390.

2007-04-20 Thread Martin Schwidefsky
Greetings, my last try to straighten then Kconfig for s390 failed, probably due to the disable statement. I still want to get rid of the s390 specific Kconfig file in drivers/s390/Kconfig. Too much duplication, too often something that should have been added is forgotten.. So this is a new

[PATCH 1/8] Kconfig: refine depends statements.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Refine some depends statements to limit their visibility to the environments that are actually supported. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/auxdisplay/Kconfig |1 + drivers/char/Kconfig |1 +

  1   2   3   4   5   6   7   8   >