Re: [RFC] killing the NR_IRQS arrays.

2007-02-16 Thread Benjamin Herrenschmidt
On Sat, 2007-02-17 at 02:37 +0100, Arnd Bergmann wrote: On Friday 16 February 2007 23:37, Benjamin Herrenschmidt wrote: You might want to have a look at the powerpc API with it's remaping capabilities. It's very nice for handling multiple domain spaces. It might be of some use for you. I

Re: [Xen-devel] Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Rusty Russell
On Fri, 2007-02-16 at 02:19 -0800, Zachary Amsden wrote: Doesn't stop_machine_run already take care of getting you out of all kernel threads? So you can only be sleeping, not preempted, in which case, this might not be an issue? No, stop_machine only protects against preempt-disabled

Re: [PATCH 1/1] - acpi_boot_init() making bad check on return code

2007-02-16 Thread Len Brown
Applied. thanks, -Len On Friday 16 February 2007 16:07, John Keller wrote: acpi_boot_init() is making a bad check on the return status from acpi_table_parse(). acpi_table_parse() now returns zero on success, one on failure. Signed-off-by: Aaron Young [EMAIL PROTECTED] --- Index:

[GIT PATCH] ACPI patches for 2.6.21 - part II (resend)

2007-02-16 Thread Len Brown
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release This... Fixes some battery, thermal, and fan related bugs. Adds the sony-laptop driver, which controls brightness on akpm's vaio... Removes the experimental hotkey driver, per schedule.

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-16 Thread Blaisorblade
On Friday 16 February 2007 20:02, Jeff Dike wrote: On Thu, Feb 15, 2007 at 08:05:56PM +0100, Blaisorblade wrote: Jeff, I verified my patch is _almost_ enough for 2.6.18 for fully booting a 32bit UML; on 2.6.18 I had to also add PTRACE_GET/SET_THREAD_AREA (this fix was merged in 2.6.19) to

Re: [uml-devel] x86_64: fix 2.6.18 regression - PTRACE_OLDSETOPTIONS should be accepted

2007-02-16 Thread Jeff Dike
On Sat, Feb 17, 2007 at 01:04:35AM +0100, Blaisorblade wrote: Which kernel? I've not yet tested 2.6.20. I'll try debugging this subsequently. 2.6.20-rc6-mm3 on 2.6.20 + patches works for me. Jeff -- Work email - jdike at linux dot intel dot com - To

Re: [patch 05/11] syslets: core code

2007-02-16 Thread Ray Lee
Evgeniy Polyakov wrote: On Fri, Feb 16, 2007 at 08:53:30AM -0800, Ray Lee ([EMAIL PROTECTED]) wrote: On 2/16/07, Evgeniy Polyakov [EMAIL PROTECTED] wrote: if its design is good, then interface can be changed in a moment without any problem This isn't always the case. Sometimes the interface

Re: [pp] kbuild: asm-offsets generalized

2007-02-16 Thread Oleg Verych
On Sat, Feb 17, 2007 at 03:43:49PM +1100, Rusty Russell wrote: On Fri, 2007-02-16 at 22:56 +0100, Oleg Verych wrote: Hallo. lguest parts look good though! Thanks. Well, then what about my way of doing generalization? I.e. one-file shell script-let, rather many indistinguishable GNU make

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Gautham R Shenoy
On Fri, Feb 16, 2007 at 01:42:09PM +0530, Srivatsa Vaddagiri wrote: On Fri, Feb 16, 2007 at 12:46:17PM +0530, Srivatsa Vaddagiri wrote: frozen. The only exception is cleaning up of per-cpu threads (which is not possible with processes frozen - if we can find a way to make that possible,

Re: [PATCH] 9p: add write-cache support to loose cache mode (take 4)

2007-02-16 Thread Eric Van Hensbergen
On 2/16/07, Andrew Morton [EMAIL PROTECTED] wrote: On Fri, 16 Feb 2007 18:46:59 -0600 Eric Van Hensbergen [EMAIL PROTECTED] wrote: + if(!PageUptodate(page)) { + if (to - from != PAGE_CACHE_SIZE) { + void *kaddr = kmap_atomic(page, KM_USER0); +

Re: [PATCH] Block layer: separate out queue-oriented ioctls

2007-02-16 Thread Jens Axboe
On Fri, Feb 16 2007, Alan Stern wrote: From: James Bottomley [EMAIL PROTECTED] This patch (as854) separates out the two queue-oriented ioctls from the rest of the block-layer ioctls. The idea is that they should apply to any driver using a request_queue, even if the driver doesn't

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Alexandre Oliva
On Feb 17, 2007, David Schwartz [EMAIL PROTECTED] wrote: Linking with kernel exported symbols in a kernel module is by many people considered creating a work derived from the kernel. That's simply unreasonable. It is the most clear settled law that only a creative process can create a work

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Alexandre Oliva
On Feb 17, 2007, David Schwartz [EMAIL PROTECTED] wrote: Not so. See any of the numerous cases that explain that you cannot own a function using copyright. They are saying that because V J did X, he *MUST* be taking their code because there is no other practical way to *do* X. This is

usbnet/rndis (was: Is this bug too obvious?)

2007-02-16 Thread Pete Zaitcev
On Tue, 13 Feb 2007 20:13:06 -0500, Chuck Ebbert [EMAIL PROTECTED] wrote: OK I'll keep looking for the cause of the oops then: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228231 Feb 12 01:11:29 MyComputer kernel: ohci_hcd :00:02.1: auto-wakeup Feb 12 01:11:30 MyComputer

[GIT PATCH] more USB patches for 2.6.20

2007-02-16 Thread Greg KH
Here are some more USB patches against 2.6.20-git There's a tiny driver to charge blackberry devices, and lots of device ids and bugfixes. All of these have been in the -mm releases for a while. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/ The full

Re: [linux-usb-devel] usbnet/rndis (was: Is this bug too obvious?)

2007-02-16 Thread David Brownell
If you don't do it sooner, I'll look at the error paths in rndis and/or usbnet. Try that patch I sent by this morning. ISTR getting some positive reports from that... - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [Fwd: [PATCH] consolidate generic_writepages and mpage_writepages]

2007-02-16 Thread Steve French (smfltc)
From: Miklos Szeredi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] consolidate generic_writepages and mpage_writepages Date: Fri, 16 Feb 2007 17:23:25 +0100 From: Miklos Szeredi [EMAIL PROTECTED] Clean up massive

Re: [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-16 Thread Rusty Russell
On Fri, 2007-02-16 at 12:49 -0800, Christoph Lameter wrote: On Thu, 15 Feb 2007, Jeremy Fitzhardinge wrote: This patch series implements the Linux Xen guest in terms of the paravirt-ops interface. The features in implemented this patch series I am thoroughly confused. Maybe that is

Re: [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

2007-02-16 Thread Rusty Russell
On Fri, 2007-02-16 at 13:48 -0800, Zachary Amsden wrote: Christoph Lameter wrote: It still seems to be implemented for Xen and not to support a variety of page table methods in paravirt ops. Yes, but that is just because the Xen hooks happens to be near the last part of the merge. VMI

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Sat, 17 Feb 2007 04:44:36 -0200, Alexandre Oliva said: On Feb 17, 2007, David Schwartz [EMAIL PROTECTED] wrote: Not so. See any of the numerous cases that explain that you cannot own a function using copyright. They are saying that because V J did X, he *MUST* be taking their code

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Srivatsa Vaddagiri
On Fri, Feb 16, 2007 at 12:46:17PM +0530, Srivatsa Vaddagiri wrote: > frozen. The only exception is cleaning up of per-cpu threads (which is > not possible with processes frozen - if we can find a way to make that > possible, then everything can be done in CPU_DEAD). How abt a patch like below?

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 09:32:30 EST, "linux-os (Dick Johnson)" said: > There are a lot of device drivers that will never make it into the > mainline kernel because they are for one-of-a-kind devices or boards > that companies embed into their products. Nobody would even want a > copy of the software

Re: [patch 2.6.20-git] remove modpost false warnings on ARM

2007-02-16 Thread Sam Ravnborg
On Thu, Feb 15, 2007 at 07:10:45PM -0800, David Brownell wrote: > This patch stops "modpost" from issuing erroneous modpost warnings on ARM > builds, which it's been doing since since maybe last summer. A canonical > example would be driver method table entries: > > WARNING: - Section

Re: [2.6 patch] drivers/isdn/gigaset/: build asyncdata.o into the gigaset module

2007-02-16 Thread Adrian Bunk
On Fri, Feb 16, 2007 at 01:17:19AM +0100, Tilman Schmidt wrote: > Am 15.02.2007 22:56 schrieb Adrian Bunk: > > This patch fixes the following compile error: > > > > <-- snip --> > > > > ... > > LD drivers/isdn/gigaset/built-in.o > > drivers/isdn/gigaset/ser_gigaset.o: In function

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Martin Mares
Hello! > Assuming these need not be GPL, I have a problem with > EXPORT_SYMBOL_GPL and the general trend in the direction of making > proprietary drivers harder on companies. Most kernel developers did always say they don't agree with proprietary drivers, don't want to support them and that they

Re: Problem with 2.6.20 and highmem64

2007-02-16 Thread Nilshar
I can confirm that it works fine with 2.6.20-rc2. Do you need me to try any other ? do you need any more info ? 2007/2/14, Nilshar <[EMAIL PROTECTED]>: Hello, I have an issue with latest 2.6.20 kernel.. my last kernel was a 2.6.18 and I wanted to upgrade to a 2.6.20, I copied .config and did a

Re: kbuild question

2007-02-16 Thread Sam Ravnborg
> > Now is there some way to not have to duplicate the 'config choices > between if ONLY_HAVE_ONE and if !ONLY_HAVE_ONE > > To use your example I want to do: > > config ONLY_HAVE_ONE > prompt "only have one?" > boolean > > if ONLY_HAVE_ONE > config VAL_FIRST > bool "First

Re: [patch 05/11] syslets: core code

2007-02-16 Thread Evgeniy Polyakov
On Thu, Feb 15, 2007 at 11:28:57AM -0800, Linus Torvalds ([EMAIL PROTECTED]) wrote: > THAT was the point. Interfaces are really really subtle and important. > It's absolutely not a case of "we can just write wrappers to fix up any > library issues". Interfaces can be created and destroyed -

[PATCH] i386: adjustments to page table dump during oops (v4)

2007-02-16 Thread Jan Beulich
- make the page table contents printing PAE capable - make sure the address stored in current->thread.cr2 is unmodified from what was read from CR2 - don't call oops_may_print() multiple times, when one time suffices - print pte even in highpte case, as long as the pte page isn't in actually

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Xavier Bestel
On Thu, 2007-02-15 at 21:48 -0800, v j wrote: > We only get crap because no one here yet knows how to interpret > proprietary modules loaded into the kernel. The proprietary modules where only a tiny wrapper is linux-specific and the rest is cross-platform are in a grey area, yes. But your

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
> I'll say that again, for everyone else who is reading this: the GPL > makes it really clear that extensions to a GPL work are required to be > distributed under the terms of the GPL. All this junk about > "derivative works" is just the legal jargon used to implement the > intent of the GPL.

Re: PROBLEM: 2.6.19.1 Oops while doing Disk IO + playing sound, 2.6.20 too

2007-02-16 Thread Jan Kara
On Fri 16-02-07 00:01:32, Frank Hartmann wrote: > Jan Kara <[EMAIL PROTECTED]> writes: > > > On Thu 15-02-07 00:33:31, Frank Hartmann wrote: > >> Jan Kara <[EMAIL PROTECTED]> writes: > >> > >> > Yes I see some correlation. Again it seems there is a problem with > >> > buffers > >> > attached

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Bernd Petrovitsch
On Fri, 2007-02-16 at 03:19 -0500, [EMAIL PROTECTED] wrote: [...] > Actually, the *real* reason embedded systems end up using old versions is > much simpler. ACK. > They start developing their code on release 2.X.Y, and they keep their code > out-of-tree. Then, when they come up for air, and

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Rafael J. Wysocki
On Friday, 16 February 2007 09:12, Srivatsa Vaddagiri wrote: > On Fri, Feb 16, 2007 at 12:46:17PM +0530, Srivatsa Vaddagiri wrote: > > frozen. The only exception is cleaning up of per-cpu threads (which is > > not possible with processes frozen - if we can find a way to make that > > possible,

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Xavier Bestel
On Thu, 2007-02-15 at 18:36 -0600, Scott Preece wrote: > if the drivers are for devices > proprietary to their hardware, then they have no real value to anyone > else. And the drivers MIGHT contain information useful to their actual > competitors. Don't you feel like a contradiction in those two

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-16 Thread Jörn Engel
On Thu, 15 February 2007 23:59:14 +0100, Juan Piernas Canovas wrote: > > > Actually, the version of DualFS for Linux 2.4.19 implements a cleaner. In > our case, the cleaner is not really a problem because there is not too > much to clean (the meta-data device only contains meta-data blocks which

[PATCH] fb: SM501 framebuffer driver (#5)

2007-02-16 Thread Ben Dooks
Driver for the Silicon Motion SM501 multifunction device framebuffer subsystem. This driver supports both the CRT and LCD panel heads, with some simple acceleration for the cursor plotting and support for screen panning. There is no current support for bitblt/drawing engines, which should be

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 22:25:12 PST, v j said: > > It's written in black and white, in the license. > > Please point me to where it says I cannot load proprietary modules in > the Kernel. Nobody can point you there, because it doesn't say that anywhere. What you do to *your* kernel is *your*

2.6.20.git regression: 'PCI: add the sysfs driver name to all modules' causes hard hang on boot

2007-02-16 Thread Mike Galbraith
Greetings, Per $subject, git.yesterday hangs hard on boot here. A git bisect fingered the commit below, which I verified via git bisect reset; git revert -n 725522b5453dd680412f2b6463a988e4fd148757, after which box boots fine. (well, I hope I verified... i'm git-ignorant) commit

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Bernd Petrovitsch
On Thu, 2007-02-15 at 18:36 -0600, Scott Preece wrote: [...] > Note that it is possible that what vj said is strictly true. IF the > product they ship is non-modifiable, then it's hard to argue that > anyone else could maintain it. And if the drivers are for devices The GPL has no special

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Srivatsa Vaddagiri
On Fri, Feb 16, 2007 at 10:29:20AM +0100, Rafael J. Wysocki wrote: > Well, the suspend code has been developed with the assumption that frozen > threads stay frozen until _we_ let them thaw by calling thaw_processes(). I'm > a bit afraid of this change. Note that only kernel threads created thr'

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Joshua Simmons
> I quote from Stallman: "Nobody is trying to patent specific programs; that > isn't allowed, but nobody would bother even if it was allowed. A patent > covering one specific program would not really matter to anyone. The reason > why these patents create an issue is that they're not about

2.6.20-ck1

2007-02-16 Thread Con Kolivas
This patchset is designed to improve system responsiveness and interactivity. It is configurable to any workload but the default -ck patch is aimed at the desktop and -cks is available with more emphasis on serverspace. Apply to 2.6.20

Re: [Linux-fbdev-devel] [PATCH] fb: SM501 framebuffer driver (#5)

2007-02-16 Thread Ben Dooks
On Fri, Feb 16, 2007 at 09:50:45AM +, Ben Dooks wrote: > Driver for the Silicon Motion SM501 multifunction device > framebuffer subsystem. > > This driver supports both the CRT and LCD panel heads, > with some simple acceleration for the cursor plotting > and support for screen panning. There

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Jon K Hellan
Xavier Bestel wrote: On Thu, 2007-02-15 at 21:48 -0800, v j wrote: We only get crap because no one here yet knows how to interpret proprietary modules loaded into the kernel. The proprietary modules where only a tiny wrapper is linux-specific and the rest is cross-platform are in a grey area,

Re: kbuild question

2007-02-16 Thread Roman Zippel
Hi, On Thu, 15 Feb 2007, Kumar Gala wrote: > I was wondering if there was some way to make a Kconfig menu either be just a > menu or a choice depending on another bool being set or not. > > What I'm trying to accomplish is if CONFIG_ONLY_HAVE_ONE is set I want it so > you can only select on

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Valdis . Kletnieks
On Thu, 15 Feb 2007 22:25:12 PST, v j said: (Damn, hit send too soon) > No, just that the trend is disturbing. If enough Kernel Developers > choose to write their Software in a way that prevents others from > using it freely, then that is troubling. Especially when these Kernel > Developers are

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Richard Knutsson
David Schwartz wrote: Most certainly the spirit of the GPL is that it's fair use to tinker with a work to get it to work on your hardware. Is it not fair use to share that with other licensees of the original work? Should Microsoft be able to prevent me from distributing patches to Windows that

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Bernd Petrovitsch
On Thu, 2007-02-15 at 22:25 -0800, v j wrote: [...] > No, just that the trend is disturbing. If enough Kernel Developers > choose to write their Software in a way that prevents others from > using it freely, then that is troubling. Especially when these Kernel You can use it freely - your

[PATCH] lockdep: annotate BLKPG_DEL_PARTITION

2007-02-16 Thread Peter Zijlstra
>= >[ INFO: possible recursive locking detected ] >2.6.19-1.2909.fc7 #1 >- >anaconda/587 is trying to acquire lock: > (>bd_mutex){--..}, at: [] mutex_lock+0x21/0x24 > >but task is already holding lock: >

Re: [ANNOUNCE] DualFS: File System with Meta-data and Data Separation

2007-02-16 Thread Benny Amorsen
> "JE" == Jörn Engel <[EMAIL PROTECTED]> writes: JE> Being good where log-structured filesystems usually are horrible JE> is a challenge. And I'm sure many people are more interested in JE> those performance number than in the ones you shine at. :) Anything that helps performance when

Re: 2.6.20-rt5 Oops on boot [-rt8 OK]

2007-02-16 Thread Ingo Molnar
* Rui Nuno Capela <[EMAIL PROTECTED]> wrote: > Rui Nuno Capela (me) wrote: > > > > I have terrible news: 2.6.20-rt5 does not boot at all on a couple > > machines I was brave enough to try -- a [EMAIL PROTECTED] SMP/HT desktop, > > and a > > Core2 Duo [EMAIL PROTECTED] laptop. For the first

Re: [PATCH] Add Cobalt button interface driver support

2007-02-16 Thread Yoichi Yuasa
Hi, Thank you for your comments. On Thu, 15 Feb 2007 23:09:43 -0500 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Thursday 15 February 2007 22:36, Yoichi Yuasa wrote: > > Hi, > > > > This patch adds support for the back panel buttons on Cobalt server. > > It's tested on the Cobalt Qube2. > >

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Jeremy Fitzhardinge
Dan Hecht wrote: > On 02/15/2007 11:04 PM, Jeremy Fitzhardinge wrote: >> HZ - I'm assuming dynticks will appear in the short term, and this will >> become moot > > Doesn't Xen send any non-blocked domain a 100hz alarm implicitly, > without anyway for the guest to disable it? I guess you'll have

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Eric W. Biederman
Ian Campbell <[EMAIL PROTECTED]> writes: > On Fri, 2007-02-16 at 00:33 -0700, Eric W. Biederman wrote: >> I know there actually has been some work to get kexec actually working under >> Xen but I don't know where that has gone. > > kexec/kdump works with Xen 3.0.4 but it's a dom0 only thing so it

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Ian Campbell
On Fri, 2007-02-16 at 00:33 -0700, Eric W. Biederman wrote: > I know there actually has been some work to get kexec actually working under > Xen but I don't know where that has gone. kexec/kdump works with Xen 3.0.4 but it's a dom0 only thing so it doesn't appear in this patchset. Ian. - To

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Zachary Amsden
Eric W. Biederman wrote: Ian Campbell <[EMAIL PROTECTED]> writes: On Fri, 2007-02-16 at 00:33 -0700, Eric W. Biederman wrote: I know there actually has been some work to get kexec actually working under Xen but I don't know where that has gone. kexec/kdump works with Xen 3.0.4

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Dan Hecht
On 02/16/2007 12:05 AM, Jeremy Fitzhardinge wrote: Dan Hecht wrote: On 02/15/2007 11:04 PM, Jeremy Fitzhardinge wrote: HZ - I'm assuming dynticks will appear in the short term, and this will become moot Doesn't Xen send any non-blocked domain a 100hz alarm implicitly, without anyway for the

Re: [patch 07/21] Xen-paravirt: remove ctor for pgd cache

2007-02-16 Thread Pekka Enberg
On 2/16/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Remove the ctor for the pgd cache. There's no point in having the cache machinery do this via an indirect call when all pgd are freed in the one place anyway. The reason we have slab constructors and destructors is to _avoid_

Re: [patch 04/21] Xen-paravirt: ===================================================================

2007-02-16 Thread Andi Kleen
Subject? description? On Thu, Feb 15, 2007 at 06:24:53PM -0800, Jeremy Fitzhardinge wrote: > -static void vmi_set_pte_present(struct mm_struct *mm, unsigned long addr, > pte_t *ptep, pte_t pte) > +static void vmi_set_pte_present(struct mm_struct *mm, u32 addr, pte_t *ptep, > pte_t pte) And

Re: [patch 12/21] Xen-paravirt: Allocate and free vmalloc areas

2007-02-16 Thread Andi Kleen
> It's for populating the pagetable in a vmalloc area. There's magic in If the lazy setup doesn't work for you you can always call vmalloc_sync() early. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [patch 07/21] Xen-paravirt: remove ctor for pgd cache

2007-02-16 Thread Nick Piggin
Pekka Enberg wrote: On 2/16/07, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: Remove the ctor for the pgd cache. There's no point in having the cache machinery do this via an indirect call when all pgd are freed in the one place anyway. The reason we have slab constructors and destructors

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disableunsupported config options.

2007-02-16 Thread Andrew Morton
On Fri, 16 Feb 2007 02:00:39 -0800 "Christian Limpach" <[EMAIL PROTECTED]> wrote: > Jeremy Fitzhardinge wrote: > > Andrew Morton wrote: > > > On Thu, 15 Feb 2007 22:14:45 -0800 Dan Hecht > > <[EMAIL PROTECTED]> wrote: > > > > > > > > >>> config PREEMPT > > >>> bool "Preemptible

Re: [Xen-devel] Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-16 Thread Zachary Amsden
Keir Fraser wrote: On 16/2/07 07:25, "Jeremy Fitzhardinge" <[EMAIL PROTECTED]> wrote: Oh, so that's why it doesn't break when CONFIG_PREEMPT=y. In which case that preempt_disable() I spotted is wrong-and-unneeded. Why doesn't Xen work with preemption?? I've forgotten the details.

RE: kernel porting query

2007-02-16 Thread Bernd Petrovitsch
On Fri, 2007-02-16 at 07:46 +0530, Rick Brown wrote: Your quoting style sucks. I fixed it by hand. [...] > > 1) Can any one please shed some light on precisely and exactly what are > > differences in different boards for which we need to port linux? > On Fri, 2007-02-16 at 09:48 +0530, Ajay

Re: [RFC PATCH(Experimental) 1/4] freezer-cpu-hotplug core

2007-02-16 Thread Rafael J. Wysocki
On Friday, 16 February 2007 10:59, Srivatsa Vaddagiri wrote: > On Fri, Feb 16, 2007 at 10:29:20AM +0100, Rafael J. Wysocki wrote: > > Well, the suspend code has been developed with the assumption that frozen > > threads stay frozen until _we_ let them thaw by calling thaw_processes(). > > I'm >

Re: somebody dropped a (warning) bomb

2007-02-16 Thread Sergei Organov
Bodo Eggert <[EMAIL PROTECTED]> writes: > Sergei Organov <[EMAIL PROTECTED]> wrote: >> Linus Torvalds <[EMAIL PROTECTED]> writes: [...] > Using signed chars for strings is wrong in most countries on earth. It was > wrong when the first IBM PC came out in 1981, and creating a compiler in > 1987

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Jan Engelhardt
On Feb 16 2007 10:44, Jon K Hellan wrote: > Xavier Bestel wrote: >> On Thu, 2007-02-15 at 21:48 -0800, v j wrote: >> > We only get crap because no one here yet knows how to interpret >> > proprietary modules loaded into the kernel. >> >> The proprietary modules where only a tiny wrapper is

RE: GPL vs non-GPL device drivers

2007-02-16 Thread David Schwartz
> What are you talking about? This is not about software patents AT ALL. Yes, it is. The difference between a copyright and a patent is this simple -- a copyright protects the one particular way you chose to do something and a patent protects every possible way of doing the same thing (or

RE: GPL vs non-GPL device drivers

2007-02-16 Thread Bernd Petrovitsch
On Fri, 2007-02-16 at 03:42 -0800, David Schwartz wrote: [...] > Not quite. Copyright is: This particular implementation is mine, but you are > free to implement any idea any *other* way you want. You simply can't > implement an idea precisely the way I did it, but all ideas are open to you.

[PATCH] another id for cp2101 driver

2007-02-16 Thread Pozsar Balazs
This patch adds another usb id to the cp2101. It seems to work well. Please apply, thanks. Signed-off-by: Pozsar Balazs <[EMAIL PROTECTED]> diff -Naurd a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c --- a/drivers/usb/serial/cp2101.c 2006-07-15 21:00:43.0 +0200 +++

RE: [PATCH] aio: fix kernel bug when page is temporally busy

2007-02-16 Thread Ananiev, Leonid I
Zach Brown wrote: > It will not return until kiocbSetKicked() is called, > and that is only called from kick_iocb(). There is no test or wait of Kicked in considered for (;;) aio_write() loop. Zach Brown wrote: >> The proposed patch does not crate this bug if any. > Right, and I said that in

Re: [PATCH] MAINTAINERS: mark framebuffer as Orphan

2007-02-16 Thread Adrian Bunk
On Thu, Feb 15, 2007 at 03:05:26PM -0800, Randy Dunlap wrote: > On Thu, 15 Feb 2007 22:26:10 + (GMT) James Simmons wrote: > > > > > I wouldn't say it orphan. I just can't spend 8 hours a day on it. > > Alot of patches have been flowing into the layer. > > So would you like to leave it as

Re: [patch 05/11] syslets: core code

2007-02-16 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > On Thu, 15 Feb 2007, Linus Torvalds wrote: > > > > So I think that a good implementation just does everything up-front, > > and doesn't _need_ a user buffer that is live over longer periods, > > except for the actual results. Exactly because the

Re: somebody dropped a (warning) bomb

2007-02-16 Thread Sergei Organov
Bodo Eggert <[EMAIL PROTECTED]> writes: > Sergei Organov <[EMAIL PROTECTED]> wrote: >> Linus Torvalds <[EMAIL PROTECTED]> writes: > >>> Exactly because "char" *by*definition* is "indeterminate sign" as far as >>> something like "strlen()" is concerned. >> >> Thanks, I now understand that you

Re: bloc_til_ready in tty driver

2007-02-16 Thread Jiri Slaby
Mockern napsal(a): What for is "bloc_til_ready" function in tty drivers? Most drivers waits for hardware to detect carrier and for closed callout. regards, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com,

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Adrian Bunk
On Thu, Feb 15, 2007 at 04:38:41PM -0800, David Schwartz wrote: >... > Just to be perfectly clear, it is an outrageous claim that *every* > *possible* kernel module must be a derivative work of the kernel. Copyright > *cannot* protect every possible way to accomplish a particular function (and >

Re: [patch 3/4] ipmi: add pci remove handling

2007-02-16 Thread Rolf Eike Beer
Am Donnerstag, 15. Februar 2007 schrieb Corey Minyard: > On Thu, Feb 15, 2007 at 02:27:45AM -0800, Andrew Morton wrote: > > Judging from the patch headers you were working against 2.6.19, which is > > most optimistic. Please always prepare and test patches against the > > latest kernel. > > Well,

[PATCH] parport_pc: Fix parport_pc_probe_port section warning

2007-02-16 Thread Jean Delvare
WARNING: drivers/parport/parport_pc.o - Section mismatch: reference to .init.text: from .text between 'parport_pc_probe_port' (at offset 0x14f7) and 'parport_pc_unregister_port' parport_dma_probe() cannot be declared __devinit as it is called from parport_pc_probe_port() which isn't.

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Joshua Simmons
> > Not one person is claiming they have a patent on whatever it is that > > V J's company is putting out (especially since we have no idea what > > that might be). Patents != copyright. > > That's exactly what they're doing. Knowing only the *function* of his > program, they are claiming it

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Lennart Sorensen
On Thu, Feb 15, 2007 at 12:04:26AM -0800, v j wrote: > Ok so are thousands of others who are using Linux as their OS of > choice in embedded systems. They are not doing this because they are > eager to give back back. They are doing it because Linux provides > compelling reasons for them to choose

Re: [patch 05/11] syslets: core code

2007-02-16 Thread Evgeniy Polyakov
On Fri, Feb 16, 2007 at 01:28:06PM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: > OTOH, the syslet concept right now already looks very ubiquitous, and > the main problem with AIO use in applications wasnt just even its broken > API or its broken performance, but the fundamental lack of all

[PATCH 0/4] coredump: core dump masking support v3

2007-02-16 Thread Kawai, Hidehiro
Hi, This patch series is version 3 of the core dump masking feature, which provides a per-process flag not to dump anonymous shared memory segments. In this version, /proc//coredump_omit_anonymous_shared file is provided as an interface instead of the previous /proc//core_flags. If you have

Re: [patch] mm: NUMA replicated pagecache

2007-02-16 Thread Nick Piggin
On Thu, Feb 15, 2007 at 06:29:29PM -0500, Lee Schermerhorn wrote: > > I've attached another patch that closes one race and fixes a context > problem [irq/preemption state] in __unreplicate_page_range(). This > makes the locking even uglier :-(. > > I get further with this patch. Boot all the

[BUG?] register_blkdev: failed to get major for device mapper

2007-02-16 Thread Rolf Eike Beer
Hi, I can't bring up my machine with root LVM anymore using x86_64. The same machine from same kernel tree boots fine as x86. The error message is quoted in subject. The tree is at 86a71dbd3e81e8870d0f0e56b87875f57e58222b (for those not using git: somewhere after 2.6.20). Attached are my

[PATCH] i810fb: Fix i810_check_params section mismatch

2007-02-16 Thread Jean Delvare
WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_check_params' (at offset 0x1123) and 'encode_fix' yres cannot be declared __devinitdata as it is used in i810_check_params(), which isn't __devinit. Signed-off-by: Jean Delvare <[EMAIL

[patch] mm: NUMA replicated pagecache (rewrite) for 2.6.20

2007-02-16 Thread Nick Piggin
Page-based NUMA pagecache replication. This is a scheme for page replication replicates read-only pagecache pages opportunistically, at pagecache lookup time (at points where we know the page is being looked up for read only). The page will be replicated if it resides on a different node to

[patch] mm: per-CPU replicated pagecache (for testing)

2007-02-16 Thread Nick Piggin
Trial the replicated pagecache on non-NUMA machines by doing per-CPU replication. Actually there is a slight change in one algorithm because there is no such thing as page_to_cpuid. To minimise the code change, this just pretends smp_processor_id returns a node id. Technically this will blow up

[PATCH 1/4] coredump: add an interface to control the core dump routine

2007-02-16 Thread Kawai, Hidehiro
This patch adds an interface to set/reset a flag which determines anonymous shared memory segments should be dumped or not when a core file is generated. /proc//coredump_omit_anonymous_shared file is provided to access the flag. You can change the flag status for a particular process by writing

[PATCH 2/4] coredump: ELF: enable to omit anonymous shared memory

2007-02-16 Thread Kawai, Hidehiro
This patch enables to omit anonymous shared memory from an ELF formatted core file when it is generated. Signed-off-by: Hidehiro Kawai <[EMAIL PROTECTED]> --- fs/binfmt_elf.c | 20 ++-- 1 files changed, 14 insertions(+), 6 deletions(-) Index: linux-2.6.20-mm1/fs/binfmt_elf.c

[PATCH 3/4] coredump: ELF-FDPIC: enable to omit anonymous shared memory

2007-02-16 Thread Kawai, Hidehiro
This patch enables to omit anonymous shared memory from an ELF-FDPIC formatted core file when it is generated. The debug messages from maydump() in fs/binfmt_elf_fdpic.c are changed appropriately so that we can know what kind of memory segments are dumped or not. Signed-off-by: Hidehiro Kawai

[PATCH 4/4] coredump: documentation for proc entry

2007-02-16 Thread Kawai, Hidehiro
This patch adds the documentation for /proc//coredump_omit_anonymous_shared. Signed-off-by: Hidehiro Kawai <[EMAIL PROTECTED]> --- Documentation/filesystems/proc.txt | 38 +++ 1 files changed, 38 insertions(+) Index: linux-2.6.20-mm1/Documentation/filesystems/proc.txt

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Trent Waddington
On 2/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: As others have pointed out, NVidia and ATI think they're in an OK spot with the way *they* do *their* module, Man, your sentence is so vague here that I almost don't feel the need to correct you, almost. I don't think NVIDIA or ATI

Patch: move struct sysfs_dirent to private header

2007-02-16 Thread Adam J. Richter
Hi Greg, This is a resubmission of a patch that fell through the cracks long ago. I've posted it a couple of times, and don't recall anyone objecting to it. struct sysfs_dirent is private to the fs/sysfs/ subtree. It is not even referenced as an opaque structure outside of that

Re: bloc_til_ready in tty driver

2007-02-16 Thread Mockern
Thanx for your respond, I did not implement this function in my tty driver. Does it help to work my driver with cat Linux operation? (e.g. cat < ttyS10) >Mockern napsal(a): >> What for is "bloc_til_ready" function in tty drivers? > >Most drivers waits for hardware to detect carrier and for

Re: [PATCH 1/1] unify queue_delayed_work and queue_delayed_work_on fix

2007-02-16 Thread Oleg Nesterov
On 02/16, Jiri Slaby wrote: > > unify queue_delayed_work and queue_delayed_work_on fix > > Since cwq->wq is unset for other than singlethread_cpu when singlethread > workqueue was created, an oops occurs during bootup. And I thought I tested this... >

Re: cat, cp operations for tty driver (like for char one)

2007-02-16 Thread Mockern
Thanx for your respond. Does it mean I have to change nothing in my tty driver (based on serial_core.c) to use: cat and cp? No "nonstandard " special functions to implement? > >On Thu, 15 Feb 2007, Mockern wrote: > >> I have a question about linux tty driver >> >> how to support cp, cat

[RFC] New driver information

2007-02-16 Thread Heikki Orsila
I just read http://kerneltrap.org/node/7729 and it occured to me that it would be informative to have a new device driver macro. The motivation for the new macro would be 4 issues: * Is it possible to get specifications for the device? * If yes, under what terms? (nda,

Re: GPL vs non-GPL device drivers

2007-02-16 Thread Neil Horman
On Thu, Feb 15, 2007 at 10:25:12PM -0800, v j wrote: > >It's written in black and white, in the license. > > Please point me to where it says I cannot load proprietary modules in > the Kernel. > It doesn't, but EXPORT_SYMBOL_GPL makes it quite clear what you can not do if you are not a GPL

Re: [RFC] New driver information

2007-02-16 Thread Thiago Galesi
SInce this information does not, in any way, affect the functioning of the driver... It is not "executable code", I don't see the point of it. For "module_licence" we have the restriction of some functions being used only for GPL code, but for this?!? I really don't see it... Just think: what

<    1   2   3   4   5   6   7   8   9   >