Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread Stefan Richter
James Bottomley wrote: > On Sun, 2007-09-09 at 23:22 +0200, Andi Kleen wrote: >> When it costs 1 people half an hour to learn and correct this it >> wasted 5000 hours of previous livetime. >> >> Besides there is no good reason to have ever learned this imho. > > The process of becoming an exp

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-09 Thread Greg KH
On Mon, Sep 10, 2007 at 01:28:47AM -0400, Dmitry Torokhov wrote: > On Sunday 09 September 2007 19:03, Kay Sievers wrote: > > On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > > > > > > However, the change that broke id_path of udev is that > > > /sys/class/input/event5/device is now a symlink t

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-09 Thread Dmitry Torokhov
On Sunday 09 September 2007 19:03, Kay Sievers wrote: > On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > > > > However, the change that broke id_path of udev is that > > /sys/class/input/event5/device is now a symlink to the inputX directory > > instead of being the same as the device symlink

Re: [RFC] Union Mount: Readdir approaches

2007-09-09 Thread Bharata B Rao
On Fri, Sep 07, 2007 at 01:54:18PM -0400, Erez Zadok wrote: > In message <[EMAIL PROTECTED]>, "Josef 'Jeff' Sipek" writes: > > On Fri, Sep 07, 2007 at 01:28:55PM +0530, Bharata B Rao wrote: > > > On Fri, Sep 07, 2007 at 04:31:26PM +0900, [EMAIL PROTECTED] wrote: > > > > > > > > When the first read

Re: In search of 10gbps cards/shootout in Linux?

2007-09-09 Thread Bill Fink
On Sat, 8 Sep 2007, Justin Piszcz wrote: > There are various agencies/educational institutions doing testing but was > curious if anyone has 'found' a 10 gigabit card shootout measuring the > performance between 10 gigabit cards on the 2.6 kernel? Most of the > benchmarks are from the vendors

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Dmitry Torokhov
Hi Adrian, On Sunday 09 September 2007 16:57, Adrian McMenamin wrote: > > Add maple bus keyboard support to the kernel. > > Signed-off by Adrian McMenamin <[EMAIL PROTECTED]> > Couple of more things: > + > +extern int maple_driver_register(struct device_driver *drv); > + No externs in *.c fi

Re: [RFC] Union Mount: Readdir approaches

2007-09-09 Thread Bharata B Rao
On Fri, Sep 07, 2007 at 01:39:41PM -0400, Josef 'Jeff' Sipek wrote: > On Fri, Sep 07, 2007 at 01:28:55PM +0530, Bharata B Rao wrote: > > On Fri, Sep 07, 2007 at 04:31:26PM +0900, [EMAIL PROTECTED] wrote: > > > > > > When the first readdir is issued: > > > - call vfs_readdir for every underlying op

Re: [PATCH] Revised timerfd() interface

2007-09-09 Thread Michael Kerrisk
Hi Davide, >> This function is *not at all* equivalent to the "get" >> functionality of the previous APIs. The "get" functionality >> of POSIX timers (for example) returns a structure that contains >> the timer interval and the *time until the next expiration of >> the timer* (not the initial tim

Re: [-mm patch] kernel/kexec.c: make code static

2007-09-09 Thread Ken'ichi Ohmichi
Hi Adrian, 2007/09/09 22:25:16 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: >On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >>... >> Changes since 2.6.23-rc3-mm1: >>... >> +add-vmcoreinfo.patch >>... >> misc >>... > >This patch makes the following needlessly global code static:

Re: [PATCH - RESUBMiT] Minor patch to pvr2 driver required for maple bus support on SEGA Dreamcast

2007-09-09 Thread Paul Mundt
On Wed, Sep 05, 2007 at 12:27:20AM +0100, Adrian McMenamin wrote: > diff --git a/drivers/video/pvr2fb.c b/drivers/video/pvr2fb.c > index 7d6c298..13de07f 100644 > --- a/drivers/video/pvr2fb.c > +++ b/drivers/video/pvr2fb.c > @@ -890,7 +890,7 @@ static int __init pvr2fb_dc_init(void) > pvr2_fi

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-09 Thread Andrey Borzenkov
Kay Sievers wrote: > On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: >> There seem to be changes in sysfs input structure between 2.6.22 and >> 2.6.23-rc5 which cause some breakage. >> >> With 2.6.22: >> >> > # LC_ALL=C ls -l /sys/class/input/input4 >> > total 0 >> > drwxr-xr-x 2 root root

dynamically use the irqbalance

2007-09-09 Thread Dong_Wei
Hi, all. I want to dynamically use irqbalance on X86 processor. My design is like the following: 1) if we boot kernel with "noirqbalance", then irqbalance is always disabled. 2) if we boot kernel without "noirqbalance", we can enable/disable irqbalance in runtime. I create a proc_fs ent

Re: [RFC] Union Mount: Readdir approaches

2007-09-09 Thread hooanon05
Matt Keenan: > This sounds like a good approach. How does aufs handle low memory > situations? Union mounts seem to be quite common on low memory embedded > systems. Is there a way for the VM to signal to aufs/the union > filesystem to trim its cache? Also on the memory consumption front I I also

Re: [RFC] Union Mount: Readdir approaches

2007-09-09 Thread hooanon05
Hello Jeff, "Josef 'Jeff' Sipek": > Unless I missunderstood something, Unionfs uses the same approach. Even > Unionfs's ODF branch does the same thing. The major difference is that we > keep the cache in a file on a disk. The approach unionfs-2.1.2 took differs from mine. Major difference is, -

Re: unfamiliar notation

2007-09-09 Thread Sam Ravnborg
On Mon, Sep 10, 2007 at 03:20:15AM +0200, Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > > What's the deal with the underscore and the parentheses surrounding the > > call to menu_get_help? > > it is a macro from gettext, used to translate the string. Usually this > should on

Re: [RFC]selinux: Improving SELinux read/write performance

2007-09-09 Thread Yuichi Nakamura
On Thu, 06 Sep 2007 09:47:15 -0400 Stephen Smalley wrote: > > > > @@ -431,8 +432,10 @@ static int avc_latest_notif_update(int s > > ret = -EAGAIN; > > } > > } else { > > - if (seqno > avc_cache.latest_notif) > > + if (seqno > avc_cache.lat

Re: unfamiliar notation

2007-09-09 Thread Bernd Eckenfels
In article <[EMAIL PROTECTED]> you wrote: > What's the deal with the underscore and the parentheses surrounding the > call to menu_get_help? it is a macro from gettext, used to translate the string. Usually this should only be used on string constants. Gruss Bernd - To unsubscribe from this list:

Re: tbench regression - Why process scheduler has impact on tbench and why small per-cpu slab (SLUB) cache creates the scenario?

2007-09-09 Thread Zhang, Yanmin
On Sat, 2007-09-08 at 18:08 +1000, Nick Piggin wrote: > On Wednesday 05 September 2007 17:07, Christoph Lameter wrote: > > On Wed, 5 Sep 2007, Zhang, Yanmin wrote: > > > > slub_max_order=3 slub_min_objects=8 > > > > > > I tried this approach. The testing result showed 2.6.23-rc4 is about > > > 2.5%

[PATCH][RFC] Secure defaults (initial sysctl settings)

2007-09-09 Thread Alex Hunsaker
Allow for various sysctl settings to initially be set to more secure defaults. Why: While you can easily set these values at boot time with sysctl (and most distros do). -Its nice to be able to set their initial value. -It also allows someone who is unfamiliar with all the security knobs the kerne

Re: [-mm patch] unexport sys_{open,read}

2007-09-09 Thread Adrian Bunk
On Sun, Sep 09, 2007 at 11:41:18PM +0100, Arjan van de Ven wrote: > On Mon, 10 Sep 2007 00:22:03 +0200 > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > On Sun, Sep 09, 2007 at 02:59:40PM -0700, Andrew Morton wrote: > > > On Sun, 9 Sep 2007 21:39:20 +0100 Christoph Hellwig > > > <[EMAIL PROTECTED]> w

Re: sysfs change of input/event devices in 2.6.23rc breaks udev

2007-09-09 Thread Kay Sievers
On 9/8/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > There seem to be changes in sysfs input structure between 2.6.22 and > 2.6.23-rc5 which cause some breakage. > > With 2.6.22: > > > # LC_ALL=C ls -l /sys/class/input/input4 > > total 0 > > drwxr-xr-x 2 root root0 Sep 8 12:51 capabilities/ >

Re: [-mm patch] unexport sys_{open,read}

2007-09-09 Thread Arjan van de Ven
On Mon, 10 Sep 2007 00:22:03 +0200 Adrian Bunk <[EMAIL PROTECTED]> wrote: > On Sun, Sep 09, 2007 at 02:59:40PM -0700, Andrew Morton wrote: > > On Sun, 9 Sep 2007 21:39:20 +0100 Christoph Hellwig > > <[EMAIL PROTECTED]> wrote: > > Adrian knows this, yet he habitually sends zero-warning > > export-

Re: [-mm patch] unexport sys_{open,read}

2007-09-09 Thread Adrian Bunk
On Sun, Sep 09, 2007 at 02:59:40PM -0700, Andrew Morton wrote: > On Sun, 9 Sep 2007 21:39:20 +0100 Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > On Sun, Sep 09, 2007 at 10:25:28PM +0200, Adrian Bunk wrote: > > > sys_{open,read} can finally be unexported. > > > > Andrew, can you please put th

Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-09 Thread Dan Williams
On 9/9/07, Timur Tabi <[EMAIL PROTECTED]> wrote: > Dan Williams wrote: > > > This routine implies that there is a piece of code somewhere that > > wants to select which channels it can use. A similar effect can be > > achieved by registering a dma_client with the dmaengine interface > > ('dma_asyn

Re: [-mm patch] unexport sys_{open,read}

2007-09-09 Thread Andrew Morton
On Sun, 9 Sep 2007 21:39:20 +0100 Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Sun, Sep 09, 2007 at 10:25:28PM +0200, Adrian Bunk wrote: > > sys_{open,read} can finally be unexported. > > Andrew, can you please put this in? Having these exports for syscalls around > hsa been a long-time ann

Re: USB and MMC device problems on Kernel 2.6.22

2007-09-09 Thread Vladimir Shebordaev
Hi! [EMAIL PROTECTED] пишет: Sorry for not clear about the kernel version, let me try again: I have an ARM hardware board works fine with USB and MMC on kernel 2.6.11. Now, I've just upgraded it to kernel 2.6.22. The modules seem loaded fine, please see following list, but neither USB nor MMC

Re: regarding sysfs/kobject separation

2007-09-09 Thread Tejun Heo
Greg KH wrote: >> * much more compact and flexible interface based on sysfs_dirent instead >> of kobject. > > Why? What would use this kind of interface? Why would you want to > create things in sysfs without a kobject? Compulsory 1:1 mapping between kobject (thus driver model) and sysfs has be

Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-09 Thread Timur Tabi
Dan Williams wrote: This routine implies that there is a piece of code somewhere that wants to select which channels it can use. A similar effect can be achieved by registering a dma_client with the dmaengine interface ('dma_async_client_register'). Then when the client code makes a call to 'd

Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread James Bottomley
On Sun, 2007-09-09 at 23:22 +0200, Andi Kleen wrote: > > The current setup expresses the dependencies as they exist -- OPTIONAL > > extras, and that is a problem once a year or so, when someone builds > > Disk support over SCSI/SATA is hardly an "optional extra". It's more the 99+% > case. Usin

[PATCH resend] Fix a lock problem in generic phy code

2007-09-09 Thread Hans-Jürgen Koch
I already sent this patch on August, 31. I never got an answer, so here it is again. Lock debugging finds a problem in phy.c and phy_device.c: [    3.42] = [    3.42] [ INFO: inconsistent lock state ] [    3.42] 2.6.23-rc3-mm1 #21 [    3.42] --

patch usb-sisusbvga-fix-bug-and-build-warnings.patch added to gregkh-2.6 tree

2007-09-09 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: sisusbvga: Fix bug and build warnings to my gregkh-2.6 tree. Its filename is usb-sisusbvga-fix-bug-and-build-warnings.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people

Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread Andi Kleen
> The current setup expresses the dependencies as they exist -- OPTIONAL > extras, and that is a problem once a year or so, when someone builds Disk support over SCSI/SATA is hardly an "optional extra". It's more the 99+% case. > their own kernel but must learn this fact anew. When it costs 10

Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread Jeff Garzik
Andi Kleen wrote: I can see where you're coming from, but logically, this is wrong. There's a huge slew of enterprise machines that only have DVD on SATA. ... and enterprise systems don't really care about a few KB more of code. In fact you definitely want to have SATA compiled in in case you n

[PATCH -mm 4/5] Hibernation: Correct definitions of some ioctls (rev. 2)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Three ioctl numbers belonging to the hibernation userland interface, SNAPSHOT_ATOMIC_SNAPSHOT, SNAPSHOT_SET_IMAGE_SIZE, SNAPSHOT_AVAIL_SWAP, SNAPSHOT_GET_SWAP_PAGE, are defined in a wrong way (eg. not portable). Provide new ioctl numbers for these ioctl

Re: [PATCH] drivers/firmware: const-ify DMI API and internals

2007-09-09 Thread Greg KH
On Sun, Sep 09, 2007 at 10:24:42PM +0200, Sam Ravnborg wrote: > > > > > > I was just going to push it myself, but have no strong feelings on the > > > matter. > > > > Ok, you can push it, that's fine with me. Feel free to add my: > > Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> > >

[PATCH -mm 3/5] Hibernation: Mark SNAPSHOT_SET_SWAP_FILE ioctl as deprecated (rev. 2)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Mark the SNAPSHOT_SET_SWAP_FILE ioctl belonging to the hibernation userland interface as deprecated. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked-by: Pavel Machek <[EMAIL PROTECTED]> --- Documentation/power/userland-swsusp.txt | 14 ++--

[PATCH -mm 5/5] Hibernation: Introduce exportable suspend ioctls header (rev. 2)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Move the definitions of hibernation ioctls to a separate header file in include/linux, which can be exported to the user space. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- Documentation/power/userland-swsusp.txt | 10 +- include/

[PATCH -mm 2/5] Hibernation: Rework platform support ioctls (rev. 2)

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Modify the hibernation userland interface by adding two new ioctls to it, SNAPSHOT_PLATFORM_SUPPORT and SNAPSHOT_POWER_OFF, that can be used, respectively, to switch the hibernation platform support on/off and to make the kernel transition the system to

[PATCH -mm 0/5] Hibernation: Clean up userland interface (rev. 2)

2007-09-09 Thread Rafael J. Wysocki
Hi, This series of patches is intended to eliminate some design problems with the hibernation userland interface. It contains the following changes: * allow the user space utilities to get the size of the image via ioctl * introduce ioctls to be used instead of SNAPSHOT_PMOPS * mark the SNAPSHOT_

[PATCH -mm 1/5] Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctl

2007-09-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Add a new ioctl, SNAPSHOT_GET_IMAGE_SIZE, returning the size of the (just created) hibernation image, to the hibernation userland interface. This ioctl is necessary so that the userland utilities using the interface need not access the hibernation image

Re: [discuss] [patch 3/5] Use extended crashkernel command line on x86_64

2007-09-09 Thread Eric W. Biederman
Bernhard Walle <[EMAIL PROTECTED]> writes: > * Yinghai Lu <[EMAIL PROTECTED]> [2007-09-09 19:27]: >> > >> > +#ifdef CONFIG_KEXEC >> ... >> >> CONFIG_KEXEC or CONFIG_CRASH_DUMP? > > Good question. The crashkernel parameter was CONFIG_KEXEC before, and > I also wondered why, but I didn't change thi

[BUG]: circular locking depedency in videobuf code

2007-09-09 Thread Maxim Levitsky
Hi, I found a bug (circular lock dependency) in generic videobuf code: Suppose app has two threads, and one calls munmap() on a video buffer , and second calls VIDIOC_QBUF ioctl. (The actual app that does that is kdetv on exit) thread1: takes current->mm->mmap_sem, then takes q->lock thread

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 21:57:35 +0100 "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: ok looks good to me; thanks a lot for converting to mutexes ;) Acked-by: Arjan van de Ven <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMA

Re: [NFSv4] 2.6.23-rc4 oops in nfs4_cb_recall...

2007-09-09 Thread J. Bruce Fields
> When accessing a directory inode from a single other client, NFSv4 > callbacks catastrophically failed [1] on the NFS server with > 2.6.23-rc4 (unpatched); clients are both 2.6.22 (Ubuntu Gutsy build). > Seems not easy to reproduce, since this kernel was running smoothly > for 7 days on the serve

Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread Andi Kleen
> I can see where you're coming from, but logically, this is wrong. > There's a huge slew of enterprise machines that only have DVD on SATA. ... and enterprise systems don't really care about a few KB more of code. In fact you definitely want to have SATA compiled in in case you need to recover th

Re: sata & scsi suggestion for make menuconfig

2007-09-09 Thread James Bottomley
On Sat, 2007-09-08 at 18:07 +0200, Andi Kleen wrote: > Folkert van Heusden <[EMAIL PROTECTED]> writes: > > > Hi, > > > > Maybe it is a nice enhancement for make menuconfig to more explicitly > > give a pop-up or so when someone selects for example a sata controller > > while no 'scsi-disk' suppor

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Adrian McMenamin
On 09/09/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Sun, 9 Sep 2007 21:35:11 +0100 > "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > > I think this has a bug; mutex_trylock has the opposite return code as > down_trylock (mutex follows the same convention as the spinlock > trylock) so

Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash

2007-09-09 Thread Paul Mackerras
Keshavamurthy, Anil S writes: > Subject: [RFC][Intel-IOMMU] Fix for IOMMU early crash > > Populating pci_bus->sysdata way early in the pci discovery phase > sets NON-NULL value to pci_dev->sysdata which breaks the assumption > in the Intel IOMMU driver and crashes the system. > > > In the drive

Re: PPC64 AT_IGNOREPPC question

2007-09-09 Thread Paul Mackerras
Vitaly Mayatskikh writes: > include/asm-powerpc/elf.h:289 > > Why we need the second AT_IGNOREPPC entry here? > > There is a mm_struct->saved_auxv overflow on PPC64 with AT_VECTOR_SIZE > == 44 (may be on PPC32 too, not checked) when adding all entries to > it. I've removed the second AT_IGNOREPC

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 21:35:11 +0100 "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > On 09/09/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > > On Sun, 9 Sep 2007 18:01:26 +0100 > > "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > > > > > This patch adds support for the SEGA Dreamcast keyboard. > >

Re: [-mm patch] unexport raise_softirq_irqoff

2007-09-09 Thread Christoph Hellwig
On Sun, Sep 09, 2007 at 10:25:44PM +0200, Adrian Bunk wrote: > On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.23-rc3-mm1: > >... > > git-net.patch > >... > > git trees > >... > > raise_softirq_irqoff no longer has any modular user. > > Signed-off-by:

Re: [-mm patch] unexport sys_{open,read}

2007-09-09 Thread Christoph Hellwig
On Sun, Sep 09, 2007 at 10:25:28PM +0200, Adrian Bunk wrote: > sys_{open,read} can finally be unexported. Andrew, can you please put this in? Having these exports for syscalls around hsa been a long-time annoyance that can finally be fixed now. - To unsubscribe from this list: send the line "uns

Re: [2.6 patch] powerpc: proper defconfig for crosscompiles

2007-09-09 Thread Olof Johansson
On Sun, Sep 09, 2007 at 08:21:17PM +0200, Adrian Bunk wrote: > The trick for finding the right defconfig is neat, but you forgot to > provide an i686_defconfig. ;-) > > More seriously, cross compiling the defconfig is often useful, e.g. for > testing the compilation of patches that touch multip

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Adrian McMenamin
On 09/09/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Sun, 9 Sep 2007 18:01:26 +0100 > "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > > > This patch adds support for the SEGA Dreamcast keyboard. > > > > Following suggestions from the inout maintainer it has been somewhat > > rewritten sinc

[-mm patch] make do_try_to_free_pages() static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +memory-controller-add-per-container-lru-and-reclaim-v7.patch >... > memory containment >... do_try_to_free_pages() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 23

[2.6 patch] make sctp_addto_param() static

2007-09-09 Thread Adrian Bunk
sctp_addto_param() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/net/sctp/structs.h |1 net/sctp/sm_make_chunk.c | 39 ++--- 2 files changed, 20 insertions(+), 20 deletions(-) 38f8064114b9e89a6a911b2e3625a41cdb477bcd dif

[-mm patch] net/sctp/socket.c: make 3 variables static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-net.patch >... > git trees >... This patch makes the following needlessly globalvariables static: - sctp_memory_pressure - sctp_memory_allocated - sctp_sockets_allocated Signed-off-by:

[-mm patch] make tcp_splice_data_recv() static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-block.patch >... > git trees >... tcp_splice_data_recv() can become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- 233aefd2a215430c16bd02eca06fb8a4b6079f7a diff --git a/n

[-mm patch] unexport raise_softirq_irqoff

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-net.patch >... > git trees >... raise_softirq_irqoff no longer has any modular user. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- eff0407b63757cdd4164a0bdde0313e8f154b6dc diff

[-mm patch] mm/memcontrol.c: clenups

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch >... > memory containment >... This patch makes the following needlessly global functions static: - lock_page_co

[-mm patch] unexport snd_ctl_elem_{read,write}

2007-09-09 Thread Adrian Bunk
snd_ctl_elem_{read,write} no longer have any modular users. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 27 Aug 2007 sound/core/control.c |4 1 file changed, 4 deletions(-) 23e15051dde57c569e4c9aff1339aaf64185ea71 diff --git a/sound/core/control.

[-mm patch] unexport sys_{open,read}

2007-09-09 Thread Adrian Bunk
sys_{open,read} can finally be unexported. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 27 Aug 2007 fs/open.c |1 - fs/read_write.c |1 - 2 files changed, 2 deletions(-) 6f6884f9ee675f2e804c6c58ca46337f9765dd0d diff --git a/fs/open.c b/fs/op

[-mm patch] really unexport do_softirq

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-net.patch >... > git trees >... This hydra had more than one head... Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/i386/kernel/irq.c|2 -- arch/powerpc/kernel/irq.

[-mm patch] kernel/kexec.c: make code static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +add-vmcoreinfo.patch >... > misc >... This patch makes the following needlessly global code static: - vmcoreinfo_data[] - vmcoreinfo_size - vmcoreinfo_append_str() Signed-off-by: Adrian Bu

[-mm patch] unexport noautodma

2007-09-09 Thread Adrian Bunk
noautodma can now be unexported. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 27 Aug 2007 957dc7601c050cb14a7afc842db0c2d62aaf3509 diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index b3b5f00..5b09066 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide

[-mm patch] usb/serial/ch341.c: make 4 functions static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +gregkh-usb-usb-driver-for-ch341-usb-serial-adaptor.patch >... > USB tree updates >... This patch makes four needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED

[-mm patch] make nfs_wb_page_priority() static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-nfs.patch >... > git trees >... nfs_wb_page_priority() can now become static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- fs/nfs/write.c |3 ++- include/linux/nfs

[-mm patch] drivers/dma/ioat_dma.c: make 3 functions static

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +i-oat-add-support-for-msi-and-msi-x.patch >... > ioat tree >... This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/dma

[-mm patch] remove ide_get_error_location()

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > git-block.patch >... > git trees >... ide_get_error_location() is no longer used. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/ide/ide-io.c | 35

[-mm patch] alpha bitops.h must #include

2007-09-09 Thread Adrian Bunk
On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote: >... > Changes since 2.6.23-rc3-mm1: >... > +alpha-lock-bitops.patch >... > various stuff >... This patch fixes the following compile error: <-- snip --> ... CC arch/alpha/kernel/asm-offsets.s In file included from /home/b

Re: [PATCH] drivers/firmware: const-ify DMI API and internals

2007-09-09 Thread Sam Ravnborg
> > > > I was just going to push it myself, but have no strong feelings on the > > matter. > > Ok, you can push it, that's fine with me. Feel free to add my: > Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> > > if you want. That should be "Acked-by:" since the patch does not pass v

[PATCH] Patch Dreamcast AICA driver to handle Maple bus support

2007-09-09 Thread Adrian McMenamin
This patches the AICA sound driver for the Dreamcast to handle the well known flakiness of the Dreamcast's G2 bus. This is dependent on getting Maple bus support (see http://lkml.org/lkml/2007/9/9/70) into the kernel. Signed-off by: Adrian McMenamin <[EMAIL PROTECTED]> diff --git a/sound/sh/aica

Re: [PATCH] drivers/firmware: const-ify DMI API and internals

2007-09-09 Thread Greg KH
On Sat, Sep 01, 2007 at 12:01:20PM -0400, Jeff Garzik wrote: > Greg KH wrote: >> On Sat, Sep 01, 2007 at 10:27:19AM -0400, Jeff Garzik wrote: >>> commit 457b6eb3bf3341d2e143518a0bb99ffbb8d754c4 >>> Author: Jeff Garzik <[EMAIL PROTECTED]> >>> Date: Sat Sep 1 10:16:45 2007 -0400 >>> >>> drivers

Re: [RFC] disable PCIE 'Enable No Snoop' bit by default

2007-09-09 Thread Greg KH
On Thu, Sep 06, 2007 at 05:40:38AM -0700, David Miller wrote: > From: Matthew Wilcox <[EMAIL PROTECTED]> > Date: Thu, 6 Sep 2007 05:57:31 -0600 > > > I'm not sure your analysis is correct. Here's what my draft copy of > > the pcie 2.0 spec says: > > > > Enble No Snoop ? If this bit is Set, the

Re: [PATCH 2.6.23-rc4][reRESEND] irq: irq and pci_ids patch for Intel Tolapai

2007-09-09 Thread Greg KH
On Thu, Sep 06, 2007 at 10:24:54AM -0700, Gaston, Jason D wrote: > >-Original Message- > >From: Gaston, Jason D > >Sent: Thursday, August 30, 2007 8:34 PM > >To: [EMAIL PROTECTED]; linux-kernel@vger.kernel.org; linux- > >[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > >Gaston, Ja

Re: [2.6 patch] drivers/pci/: possible cleanups

2007-09-09 Thread Greg KH
On Mon, Aug 27, 2007 at 11:28:22PM +0200, Adrian Bunk wrote: > This patch contains the following possible cleanups: > - make the following needlessly global function static: > - pci.c: pci_restore_bars() > - #if 0 the following unused global functions: > - rom.c: pci_map_rom_copy() > - rom.c:

Re: [PATCH 2/2] ELAN U132 Host Controller Driver: convert scheduler_lock to mutex

2007-09-09 Thread Greg KH
On Fri, Sep 07, 2007 at 03:10:54PM +0200, Matthias Kaehlcke wrote: > A corrected version of the patch, the first one contained context > removed by the first patch of this serie This patch for some reason did not apply cleanly. Care to redo it after the next -mm releae that has your first patch i

Re: [PATCH] nozomi DTR/RTS

2007-09-09 Thread Greg KH
On Fri, Aug 24, 2007 at 12:02:40PM +0200, Eric Lammerts wrote: > Hi, > I noticed that DTR toggling doesn't work with the nozomi driver > (TIOCMBIS/TIOCMBIC ioctls have no effect). This is a nuisance because that > makes it hard to get the modem back in command mode. > > Attached patch adds a tty_

Re: regarding sysfs/kobject separation

2007-09-09 Thread Greg KH
On Sun, Sep 02, 2007 at 10:40:58PM +0900, Tejun Heo wrote: > Hello, just a note to tell you guys what's going on. > > It's taking more time than I expected but it's near completion. I'm > testing things now. After that, they need to be split and documented. > It'll be a BIG change and due to oth

Re: [patch 4/5] Use extended crashkernel command line on IA64

2007-09-09 Thread Bernhard Walle
* Matthew Wilcox <[EMAIL PROTECTED]> [2007-09-09 15:01]: > On Sun, Sep 09, 2007 at 10:39:18AM +0200, Bernhard Walle wrote: > > Because the total amount of System RAM must be known when calling this > > function, efi_memmap_init() is modified to return its comulated > > accumulated? Yes, sorry.

Re: [PATCH] [Bug 8998] Mutex documentation is unclear about software interrupts, tasklets and timers in Linux 2.6.23-rc

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 12:02:53 -0700 (PDT) Matti Linnanvuori <[EMAIL PROTECTED]> wrote: Hi, thank you for improving the documentation > diff -uprN linux-2.6.23/Documentation/mutex-design.txt > linux-2.6.23-patched/Documentation/mutex-design.txt --- > > > Signed-off-by: Matti Linnanvuori <[EMAIL

[PATCH] [Bug 8998] Mutex documentation is unclear about software interrupts, tasklets and timers in Linux 2.6.23-rc

2007-09-09 Thread Matti Linnanvuori
diff -uprN linux-2.6.23/Documentation/mutex-design.txt linux-2.6.23-patched/Documentation/mutex-design.txt --- linux-2.6.23/Documentation/mutex-design.txt2007-09-09 21:47:10.545275000 +0300 +++ linux-2.6.23-patched/Documentation/mutex-design.txt2007-09-09 21:48:17.935493000 +0300 @@ -90,

Re: [patch 1/3] Express relocatability of kernel on x86_64 in documentation

2007-09-09 Thread Randy Dunlap
On Sun, 09 Sep 2007 10:06:21 +0200 Bernhard Walle wrote: > This patch adapts the Documentation/kdump/kdump.txt file to express the fact > that the x86_64 kernel is now also relocatable. This makes i386 and x86_64 now > behave the same, simplifying the documentation. > > > Signed-off-by: Bernhard

Re: [discuss] [patch 3/5] Use extended crashkernel command line on x86_64

2007-09-09 Thread Bernhard Walle
* Yinghai Lu <[EMAIL PROTECTED]> [2007-09-09 19:27]: > > > > +#ifdef CONFIG_KEXEC > ... > > CONFIG_KEXEC or CONFIG_CRASH_DUMP? Good question. The crashkernel parameter was CONFIG_KEXEC before, and I also wondered why, but I didn't change this because maybe there's some reason I don't know. Vivek

Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 19:36:52 +0100 "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > Fair enough. > > > > + > > > +void maple_add_packet(struct mapleq *mq) > > > +{ > > > + list_add((struct list_head *) mq, &maple_waitq); > > > +} > > > > for example this list.. what makes sure that no 2 pieces

Re: [PATCH] checksyscalls.sh: ignore restart_syscall

2007-09-09 Thread Geert Uytterhoeven
On Sun, 9 Sep 2007, Sam Ravnborg wrote: > On Sun, Sep 09, 2007 at 11:34:11AM +0200, Geert Uytterhoeven wrote: > > checksyscalls.sh: ignore restart_syscall, which is not needed on m68k and > > blackfin. > > If only these archs does not care then just stick that > #define __IGNORE_... > in the arch

Re: [PATCH] KCONFIG: fix pseudo dependency between K8_NUMA and X86_64_ACPI_NUMA config options

2007-09-09 Thread James C. Georgas
On Sun, 2007-09-09 at 15:46 +0200, Andi Kleen wrote: > Thanks. How about a fix for the other problem (ACPI_NUMA- PM) too? > I don't want to just hard-select it until I understand what happened between 2.6.22.6 and current git to make ACPI selectable without PM. Personally, I think ACPI should b

Re: [2.6 patch] powerpc: proper defconfig for crosscompiles

2007-09-09 Thread Sam Ravnborg
On Sun, Sep 09, 2007 at 08:21:17PM +0200, Adrian Bunk wrote: > The trick for finding the right defconfig is neat, but you forgot to > provide an i686_defconfig. ;-) > > More seriously, cross compiling the defconfig is often useful, e.g. for > testing the compilation of patches that touch multip

Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast

2007-09-09 Thread Adrian McMenamin
On 09/09/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: > On Sun, 9 Sep 2007 17:46:54 +0100 > "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > > > This patch adds support for Sega's proprietary Maple bus - which is > > required to support the Dreamcast's peripherals. > > > First of all, I'm a litt

Re: tsc timer related problems/questions

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 20:17:28 +0200 (CEST) Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > On Sep 9 2007 17:49, Arjan van de Ven wrote: > >> > >> Question: Why are only Intel CPUs considered as stable? Could > >> there be implemented a more sophisticated heuristic, that actually > >> does some tests

Re: [PATCH 2/3] Maple bus support for the Sega Dreamcast - keyboard support

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 18:01:26 +0100 "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > This patch adds support for the SEGA Dreamcast keyboard. > > Following suggestions from the inout maintainer it has been somewhat > rewritten since the previous posting > (http://lkml.org/lkml/2007/9/4/168). Hi, t

Re: [PATCH 1/3] Maple bus support for the Sega Dreamcast

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 17:46:54 +0100 "Adrian McMenamin" <[EMAIL PROTECTED]> wrote: > This patch adds support for Sega's proprietary Maple bus - which is > required to support the Dreamcast's peripherals. Hi, in general the code looks clean; great job on that. A few suggestions and comments to hopef

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-09-09 Thread Arjan van de Ven
On Sun, 9 Sep 2007 19:02:54 +0100 Denys Vlasenko <[EMAIL PROTECTED]> wrote: > Why is all this fixation on "volatile"? I don't think > people want "volatile" keyword per se, they want atomic_read(&x) to > _always_ compile into an memory-accessing instruction, not register > access. and ... why is

[2.6 patch] powerpc: proper defconfig for crosscompiles

2007-09-09 Thread Adrian Bunk
The trick for finding the right defconfig is neat, but you forgot to provide an i686_defconfig. ;-) More seriously, cross compiling the defconfig is often useful, e.g. for testing the compilation of patches that touch multiple architectures, and this patch therefore chooses g5_defconfig if $(C

Re: tsc timer related problems/questions

2007-09-09 Thread Jan Engelhardt
On Sep 9 2007 17:49, Arjan van de Ven wrote: >> >> Question: Why are only Intel CPUs considered as stable? Could there be >> implemented a more sophisticated heuristic, that actually does some >> tests for tsc stability? > >on AMD multi-socket systems, afaik the tsc is not synchronized between >p

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-09-09 Thread Denys Vlasenko
On Friday 17 August 2007 17:48, Linus Torvalds wrote: > > On Fri, 17 Aug 2007, Nick Piggin wrote: > > > > That's not obviously just taste to me. Not when the primitive has many > > (perhaps, the majority) of uses that do not require said barriers. And > > this is not solely about the code generat

Re: [PATCH 5/5] Add DMA engine driver for Freescale MPC85xx processors.

2007-09-09 Thread Dan Williams
On 9/7/07, Zhang Wei <[EMAIL PROTECTED]> wrote: > The driver implements DMA engine API for Freescale MPC85xx DMA > controller, which could be used for MEM<-->MEM, IO_ADDR<-->MEM > and IO_ADDR<-->IO_ADDR data transfer. > The driver supports the Basic mode of Freescale MPC85xx DMA controller. > The M

Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash

2007-09-09 Thread Muli Ben-Yehuda
On Mon, Sep 10, 2007 at 08:43:59AM -0700, Keshavamurthy, Anil S wrote: > On Sun, Sep 09, 2007 at 02:16:19PM +0300, Muli Ben-Yehuda wrote: > > On Sat, Sep 08, 2007 at 01:05:24PM -0700, Keshavamurthy, Anil S wrote: > > > > > Subject: [RFC][Intel-IOMMU] Fix for IOMMU early crash > > > > This patch f

Re: [PATCH 16/22] advansys: Eliminate prototypes

2007-09-09 Thread Matthew Wilcox
On Sun, Sep 09, 2007 at 11:29:34AM -0400, Jeff Garzik wrote: > What thoughts, if any, have been given to post-patch code arrangement, > besides eliminating prototypes? > This always struck me as a counterproductive exercise when taken by > itself. Eliminating prototypes saves me from an extra go

Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from hibernation

2007-09-09 Thread Andrey Borzenkov
On Sunday 09 September 2007, Rafael J. Wysocki wrote: > On Sunday, 9 September 2007 16:00, Andrey Borzenkov wrote: > > On Sunday 01 July 2007, Rafael J. Wysocki wrote: > > > On Saturday, 30 June 2007 06:59, Andrey Borzenkov wrote: > > > > Since 2.6.18 I do not have suspend to RAM; now I am starting

  1   2   >