Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Jens Axboe
On Fri, Jan 11 2008, Mikulas Patocka wrote: > > So I looked at the code - it seems you build a full extent of the blocks > > in the file, filling holes as you go along. I initally did that as well, > > but that is to slow to be usable in real life. > > > > You also don't support sparse files, fall

[PATCH] x86-64: disable the GART early v2

2008-01-10 Thread Yinghai Lu
please check the one that can be applied to x86.git -mm YH [PATCH] x86-64: disable the GART early v2 For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when try to use kexec second kernel, and the first doesn't include gart_shutdown. the second kernel coul

Re: [x86/mm] vsyscall_fn fault in early startup

2008-01-10 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> wrote: > I bisected my startup problem down to: i fixed this in my tree yesterday but was held up by another problem from uploading it. The patch below should apply to the tree you have. Ingo --> Subject: x86: fix sched_clock() From: In

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Ingo Molnar
* Roland McGrath <[EMAIL PROTECTED]> wrote: > It's not too pretty, but I found this made the "PANIC: early > exception" messages become much more reliably useful: 1. print the > vector number, 2. print the %cs value, 3. handle error-code-pushing vs > non-pushing vectors. thanks, applied. sin

Re: [patch 05/19] split LRU lists into anon & file sets

2008-01-10 Thread KOSAKI Motohiro
Hi Rik > @@ -1128,64 +1026,65 @@ static void shrink_active_list(unsigned (snip) > + /* > + * For sorting active vs inactive pages, we'll use the 'anon' > + * elements of the local list[] array and sort out the file vs > + * anon pages below. > + */ > while (!list_

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > I think you have it fundamentally backwards: the best for > > > performance is WB + cflush. What would WC offer for performance > > > that cflush cannot do? > > > > Cached requires the cache line to be read first before you can write > > it. > >

[x86/mm] vsyscall_fn fault in early startup

2008-01-10 Thread Roland McGrath
I bisected my startup problem down to: 197e4989b0404996dfe3ab091c1398e4c2813d44 is first bad commit commit 197e4989b0404996dfe3ab091c1398e4c2813d44 Author: Ingo Molnar <[EMAIL PROTECTED]> Date: Wed Jan 9 13:31:06 2008 +0100 x86: mark native_read_tsc()

Re: CPA patchset

2008-01-10 Thread Ingo Molnar
* Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > but that's not too smart: why dont they use WB plus cflush > > > > instead? > > > > > > Because they need to access it WC for performance. > > > > I think you have it fundamentally backwards: the best for > > performance is WB + cflush. What wou

[GIT PULL] XFS update for 2.6.24-rc8

2008-01-10 Thread Lachlan McIlroy
Please pull from the for-linus branch: git pull git://oss.sgi.com:8090/xfs/xfs-2.6.git for-linus This will update the following files: fs/xfs/linux-2.6/xfs_file.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) through these commits: commit aea6ad0ce5e215ce99fe9e

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Roland McGrath
Probably true that it's not worth the space. I couldn't figure a way to do it that doesn't use at least 8 bytes per vector. Of course, the vectors >= 32 are never interesting, so 256 bytes of dispatch table could cover it. Anyway, I think it's fine just to have the patch on hand to enable for a

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-10 Thread Pierre Ossman
On Fri, 11 Jan 2008 02:19:07 +0100 Rene Herman <[EMAIL PROTECTED]> wrote: > > I see a PnP resume _consists_ of setting the resources so I can see the test > implementation wise, but yes, conceptually it seems this test shouldn't be > present. So just like the attached then? > > Pierre, what wa

Re: 2.6.24-rc7, intel audio: alsa doesn't say a beep

2008-01-10 Thread Takashi Iwai
At Thu, 10 Jan 2008 23:02:53 +0100, Harald Dunkel wrote: > > Takashi Iwai wrote: > > > > Hm... Just to be sure, try the patch below. It's a clean up patch > > that I'd like to apply later. > > > > Sorry, no sound. OK, but I'd like to know whether this makes no regression to rc6. Could you ch

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Joerg Platte
Am Freitag, 11. Januar 2008 schrieb Joerg Platte: > konqueror 987jplatte mem REG8,6 2590525 > 1336104 /var/tmp/kdecache-jplatte/ksycoca > konqueror 987jplatte 12r REG8,6 2590525 > 1336104 /var/tmp/kdecache-jplatte/ksycoca > konqueror 987jplatte 1

Re: [PATCH 001/001] ipv4: enable use of 240/4 address space

2008-01-10 Thread David Miller
From: Vince Fuller <[EMAIL PROTECTED]> Date: Mon, 7 Jan 2008 17:10:57 -0800 > from Vince Fuller <[EMAIL PROTECTED]> > > This set of diffs modify the 2.6.20 kernel to enable use of the 240/4 > (aka "class-E") address space as consistent with the Internet Draft > draft-fuller-240space-00.txt. > >

Re: [PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Andi Kleen
Roland McGrath <[EMAIL PROTECTED]> writes: > It's not too pretty, but I found this made the "PANIC: early exception" > messages become much more reliably useful: 1. print the vector number, > 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. For what do you need cs? It

[PATCH] constify the name passed to platform_device_register_simple

2008-01-10 Thread Stephen Rothwell
This name is just passed to platform_device_alloc which has its parameter declared const. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- drivers/base/platform.c |2 +- include/linux/platform_device.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

Re: [patch 05/19] split LRU lists into anon & file sets

2008-01-10 Thread KOSAKI Motohiro
Hi Rik > +static inline int is_file_lru(enum lru_list l) > +{ > + BUILD_BUG_ON(LRU_INACTIVE_FILE != 2 || LRU_ACTIVE_FILE != 3); > + return (l/2 == 1); > +} below patch is a bit cleanup proposal. i think LRU_FILE is more clarify than "/2". What do you think it? Index: linux-2.6.24-rc6-

Re: [PATCH][FIX] Bluetooth: always send explicit hci_ll wake-up acks

2008-01-10 Thread David Miller
From: Ohad Ben-Cohen <[EMAIL PROTECTED]> Date: Mon, 7 Jan 2008 18:22:48 +0200 (IST) > In the (rare) event of simultaneous mutual wake up requests, > do send the chip an explicit wake-up ack. This is required > for Texas Instruments's BRF6350 chip. > > Signed-off-by: Ohad Ben-Cohen <[EMAIL PROTECT

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-10 Thread Mike Frysinger
On Jan 11, 2008 1:17 AM, Bryan Wu <[EMAIL PROTECTED]> wrote: > On Jan 10, 2008 7:57 PM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > > On Thu, 10 Jan 2008 17:22:55 +0800 > > "Bryan Wu" <[EMAIL PROTECTED]> wrote: > > > > > > > > At page 4-3 of ADSP-BF54x Blackfin(R) Processor Peripheral Hardware > >

Re: [PATCH] bluetooth : rfcomm tty BUG_ON() code fix

2008-01-10 Thread David Miller
From: Dave Young <[EMAIL PROTECTED]> Date: Mon, 7 Jan 2008 13:41:22 +0800 > 1) In tty.c the BUG_ON at line 115 will never be called, because the the > before list_del_init in this same function. > 115 BUG_ON(!list_empty(&dev->list)); > So move the list_del_init to rfcomm_dev_del > > 2

Re: [patch] split MMC_CAP_4_BIT_DATA

2008-01-10 Thread Bryan Wu
On Jan 10, 2008 7:57 PM, Pierre Ossman <[EMAIL PROTECTED]> wrote: > On Thu, 10 Jan 2008 17:22:55 +0800 > "Bryan Wu" <[EMAIL PROTECTED]> wrote: > > > > > At page 4-3 of ADSP-BF54x Blackfin(R) Processor Peripheral Hardware > > Reference, there is a table which guide us the SDH controller does not >

[PATCH] x86_64 early_idt_handler improvements

2008-01-10 Thread Roland McGrath
It's not too pretty, but I found this made the "PANIC: early exception" messages become much more reliably useful: 1. print the vector number, 2. print the %cs value, 3. handle error-code-pushing vs non-pushing vectors. Signed-off-by: Roland McGrath <[EMAIL PROTECTED]> --- arch/x86/kernel/head64.

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Joerg Platte
Am Freitag, 11. Januar 2008 schrieb Fengguang Wu: > Joerg, what's the output of `dumpe2fs /dev/sda7` and `lsof|grep /tmp`? Fengang, here is the output (kernel 2.6.24-rc7 without your patches): Filesystem volume name: TMP Last mounted on: Filesystem UUID: e23ae961-bbdc-44bc-b

Re: PROBLEM REMAINS: [sata_nv ADMA breaks ATAPI] Crash on accessing DVD-RAM

2008-01-10 Thread Robert Hancock
Alexander wrote: Hello! The problem described at https://bugzilla.redhat.com/show_bug.cgi?id=351451 and at http://ubuntuforums.org/showthread.php?t=655772 and supposedly fixed by the patch http://kerneltrap.org/mailarchive/linux-kernel/2007/11/25/445094 is still there. I have compiled 2.6.24-rc7

Re: [PATCH] bsg : Add support for io vectors in bsg

2008-01-10 Thread FUJITA Tomonori
On Thu, 10 Jan 2008 16:46:05 -0500 Pete Wyckoff <[EMAIL PROTECTED]> wrote: > Is there another async I/O mechanism? Userspace builds the CDBs, > just needs some way to drop them in SCSI ML. BSG is almost perfect > for this, but doesn't do iovec, leading to lots of memcpy. syslets? -- To unsubscr

Re: regression: 100% io-wait with 2.6.24-rcX

2008-01-10 Thread Fengguang Wu
On Thu, Jan 10, 2008 at 11:03:05AM +0100, Joerg Platte wrote: > Am Donnerstag, 10. Januar 2008 schrieb Fengguang Wu: > > > problem, because the iowait problem disappeared today after the regular > > > Debian update. I'll try to install the old package versions to make it > > > show up again. Maybe

Re: More breakage in native_rdtsc out of line in git-x86

2008-01-10 Thread Cyrill Gorcunov
On Jan 10, 2008 2:37 AM, Paolo Ciarrocchi <[EMAIL PROTECTED]> wrote: > On 1/10/08, Andi Kleen <[EMAIL PROTECTED]> wrote: > > > I'm already cloning the branches; the problem is not getting conflicts etc. > > when updating. > > Isn't git pull --force what you are looking for? > > Ciao, > -- > Paolo >

Re: Is it possible to change IRQ for certain device?

2008-01-10 Thread Robert Hancock
Jan Marek wrote: Hello lkml, I have problem with my computer: I have motherboard with AMD690G chipset and nVidia VGA card. But I cannot set BIOS, to assign for VGA unique IRQ. VGA card is sharing IRQ with two ohci_hcd (USB 1.1 controllers). But when I want use for X proprietary nvidia driver, X

Re: INITIO scsi driver fails to work properly

2008-01-10 Thread James Bottomley
On Fri, 2008-01-04 at 02:18 +0200, Filippos Papadopoulos wrote: > First of all let me wish a happy new year. > I come back from the vacations and i compiled the initio driver with > > #define DEBUG_INTERRUPT 1 > #define DEBUG_QUEUE 1 > #define DEBUG_STATE 1 > #define INT_DISC1 >

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-10 Thread Aggrwal Poonam
Hello All I am waiting for more feedback on the patches. If there are no objections please consider them for 2.6.25. With Regards Poonam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aggrwal Poonam Sent: Monday, December 10, 2007 5:23 PM To: [

Re: r8169 and out of space

2008-01-10 Thread Nathan Grennan
Francois Romieu wrote: Alistair John Strachan <[EMAIL PROTECTED]> : [..] No, we have not diagnosed the cause of the problem, beyond the swiotlb usage. I'm adding the r8169 maintainer, linux-net and linux-kernel to CC, to pass on your information, I hope you don't mind. swiotlb fragmen

RE: [PATCH 0/3] UCC TDM driver for MPC83xx platforms

2008-01-10 Thread Aggrwal Poonam
Hello All I am waiting for more feedback on the patches. If there are no objections please consider them for 2.6.25. With Regards Poonam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aggrwal Poonam Sent: Monday, December 10, 2007 5:23 PM To: [EM

Re: [patch 10/19] No Reclaim LRU Infrastructure

2008-01-10 Thread KOSAKI Motohiro
Hi Rik > +config NORECLAIM > + bool "Track non-reclaimable pages (EXPERIMENTAL; 64BIT only)" > + depends on EXPERIMENTAL && 64BIT > + help > + Supports tracking of non-reclaimable pages off the [in]active lists > + to avoid excessive reclaim overhead on large memory systems

Re: Make the 32 bit Frame Pointer backtracer fall back to traditional

2008-01-10 Thread Arjan van de Ven
On Thu, 10 Jan 2008 08:36:57 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Wed, 9 Jan 2008, Arjan van de Ven wrote: > > > > + if (valid_stack_ptr(tinfo, frame, sizeof(*frame))) > > + while (valid_stack_ptr(tinfo, frame, > > sizeof(*frame))) { > > Why? > > Why not j

[GIT PULL] sh updates for 2.6.24-rc7

2008-01-10 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.24.git Which contains: Carmelo Amoroso (1): sh: Fix argument page dcache flushing regression. Paul Mundt (1): sh: Force __access_ok() to obey address space limit. include/asm-sh/cacheflush.h |6

[PATCH] checkpatch.pl: allow piping

2008-01-10 Thread Daniel Walker
A little feature addition to allow checkpatch.pl to check patches piped into it, in addition to specific file arguments. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- scripts/checkpatch.pl | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) Index: linux-2.6.23/scripts/

Re: STT_FUNC for assembler checksum and semaphore ops" in git-x86

2008-01-10 Thread John Reiser
Andi Kleen wrote: > On Thu, Jan 10, 2008 at 04:59:52PM -0800, John Reiser wrote: > >>Andi Kleen wrote: >> >>>But actually checking the default implementation in linkage.h already >>>implements size: [snip] >> >>>Are you sure it doesn't work? Your patch should be not needed. If it's >>>still wrong

Re: Serverworks Oops with the very latest git kernel...

2008-01-10 Thread Trond Myklebust
On Thu, 2008-01-10 at 21:24 -0500, Jeff Garzik wrote: > Trond Myklebust wrote: > > Hi, > > > > I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. > > > > Starting udev: BUG: unable to handle kernel paging request at virtual > > address 2d6d3a65 > > printing eip: c04e1af1 *

Re: [patch 05/19] split LRU lists into anon & file sets

2008-01-10 Thread KOSAKI Motohiro
Hi Rik > -static inline long mem_cgroup_calc_reclaim_inactive(struct mem_cgroup *mem, > - struct zone *zone, int priority) > +static inline long mem_cgroup_calc_reclaim(struct mem_cgroup *mem, > + struct zone *zone, int priori

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-10 Thread Peter Stuge
On Fri, Jan 11, 2008 at 12:42:40PM +0900, Paul Mundt wrote: > How about throwing out hand-rolled debug printk wrappers for the > brain-damage they are and using the ones the kernel provides > instead? Sounds great! //Peter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-10 Thread Paul Mundt
On Fri, Jan 11, 2008 at 04:09:45AM +0100, Peter Stuge wrote: > On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: > > -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args) > > +#define DEBUG(x, args...) printk("%s: ", __func__, x, ##args) > > Can this really be expected to work

[PATCH 1/1] PCI: change procfs interface to use unlocked_ioctl instead of ioctl

2008-01-10 Thread Sergio Luis
Change drivers/pci/proc.c to use the unlocked_ioctl handler instead of the ioctl one. Signed-off-by: Sergio Luis <[EMAIL PROTECTED]> proc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/pci/proc.c b/drivers/pci/proc.c index 716439e..8ac5880 100644 --- a

[PATCH 11/11 ] Change drm_ioctl as an unlocked_ioctl function : via

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/via_drv.c b/drivers/char/drm/via_drv.c index 2d4957a..a8041c5 100644 --- a/drivers/char/drm/via_drv.c +++ b/drivers/char/drm/via_drv.c @@ -62,7 +62,7 @@ stat

[PATCH 8/11 ] Change drm_ioctl as an unlocked_ioctl function : savage

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/savage_drv.c b/drivers/char/drm/savage_drv.c index eee52aa..021de44 100644 --- a/drivers/char/drm/savage_drv.c +++ b/drivers/char/drm/savage_drv.c @@ -50,7 +

[PATCH 9/11 ] Change drm_ioctl as an unlocked_ioctl function : sis

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/sis_drv.c b/drivers/char/drm/sis_drv.c index 7dacc64..1bbde29 100644 --- a/drivers/char/drm/sis_drv.c +++ b/drivers/char/drm/sis_drv.c @@ -80,7 +80,7 @@ stat

[PATCH 10/11 ] Change drm_ioctl as an unlocked_ioctl function : tdfx

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/tdfx_drv.c b/drivers/char/drm/tdfx_drv.c index 012ff2e..ec5a43e 100644 --- a/drivers/char/drm/tdfx_drv.c +++ b/drivers/char/drm/tdfx_drv.c @@ -48,7 +48,7 @@

[PATCH 7/11 ] Change drm_ioctl as an unlocked_ioctl function : Radeon

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/radeon_drv.c b/drivers/char/drm/radeon_drv.c index 349ac3d..6d7588c 100644 --- a/drivers/char/drm/radeon_drv.c +++ b/drivers/char/drm/radeon_drv.c @@ -85,7 +

[PATCH 5/11 ] Change drm_ioctl as an unlocked_ioctl function : mga

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/mga_drv.c b/drivers/char/drm/mga_drv.c index 5572939..be31707 100644 --- a/drivers/char/drm/mga_drv.c +++ b/drivers/char/drm/mga_drv.c @@ -67,7 +67,7 @@ stat

[PATCH 6/11 ] Change drm_ioctl as an unlocked_ioctl function : r128

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/r128_drv.c b/drivers/char/drm/r128_drv.c index 6108e75..b2a16a7 100644 --- a/drivers/char/drm/r128_drv.c +++ b/drivers/char/drm/r128_drv.c @@ -62,7 +62,7 @@

[PATCH 3/11 ] Change drm_ioctl as an unlocked_ioctl function : i830

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/i830_dma.c b/drivers/char/drm/i830_dma.c index 69a363e..2f82480 100644 --- a/drivers/char/drm/i830_dma.c +++ b/drivers/char/drm/i830_dma.c @@ -117,7 +117,7 @

[PATCH 4/11 ] Change drm_ioctl as an unlocked_ioctl function : i915

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/i915_drv.c b/drivers/char/drm/i915_drv.c index 85bcc27..70a882e 100644 --- a/drivers/char/drm/i915_drv.c +++ b/drivers/char/drm/i915_drv.c @@ -64,7 +64,7 @@

[PATCH 2/11 ] Change drm_ioctl as an unlocked_ioctl function : i810

2008-01-10 Thread Nikanth Karthikesan
Register drm_ioctl as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PROTECTED]> --- diff --git a/drivers/char/drm/i810_dma.c b/drivers/char/drm/i810_dma.c index eb381a7..e3adbf3 100644 --- a/drivers/char/drm/i810_dma.c +++ b/drivers/char/drm/i810_dma.c @@ -115,7 +115,7 @

Splice(): exports for module programmers

2008-01-10 Thread Chris Smowton
Just a couple of quick questions if anyone can shed light regarding functions exported for modules relating to splice(): * Is there a particular reason why the useful helper __splice_from_pipe is exported, but not the locking equivalent splice_from_pipe or its equally useful helper splice_to_p

[PATCH 1/11 ] Change drm_ioctl as an unlocked_ioctl function

2008-01-10 Thread Nikanth Karthikesan
The ioctl handlers are called with the BKL held, where as unlocked_ioctl handlers are not. The drm_ioctl function is registered as an ioctl handler. But it does not need the BKL to be held. Changing drm_ioctl to register as an unlocked_ioctl function. Signed-off-by: Nikanth Karthikesan <[EMAIL PRO

Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

2008-01-10 Thread Peter Stuge
On Thu, Jan 10, 2008 at 10:03:58PM +0100, Roel Kluin wrote: > -#define DEBUG(x,args...) printk(__FUNCTION__ ": " x,##args) > +#define DEBUG(x, args...)printk("%s: ", __func__, x, ##args) Can this really be expected to work when x contains conversions? How about: #define DEBUG(x, args...)

Re: kexec fail

2008-01-10 Thread Yinghai Lu
On Jan 8, 2008 2:36 PM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > > On Jan 8, 2008 12:15 AM, Yinghai Lu <[EMAIL PROTECTED]> wrote: > > > > On Jan 7, 2008 9:50 PM, Christoph Lameter <[EMAIL PROTECTED]> wrote: > > > On Mon, 7 Jan 2008, Yinghai Lu wrote: > > > > > > > try to kexec 2.6.23 from RHEL 5.1,

[PATCH] x86-64: disable the GART early

2008-01-10 Thread Yinghai Lu
this one is against to linus tree. in case some one need to use kexec to new kernel from old kernel with gart_shutdown. YH [PATCH] x86-64: disable the GART early For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when try to use kexec second kernel, and th

Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-10 Thread Rene Herman
On 11-01-08 02:36, Zachary Amsden wrote: FWIW, I fixed the problem locally by recompiling, changing port 80 to port 84 in io.h; works great, and doesn't conflict with any occupied ports. Might not give you a "proper" delay though. 0xed should be a better choice... Rene. -- To unsubscribe fro

Re: CONFIG_NO_HZ breaks blktrace timestamps

2008-01-10 Thread David Dillow
On Thu, 2008-01-10 at 23:44 +0100, Guillaume Chazarain wrote: > David Dillow <[EMAIL PROTECTED]> wrote: > > > At the moment, I'm not sure how to track this farther, or how to fix it > > properly. Any advice would be appreciated. > > Just out of curiosity, could you try the appended cumulative pa

Re: hwclock failure in x86.git

2008-01-10 Thread Zach Brown
I'm no expert, but I happened to notice this go by. > The first thing I notice about the path is that ioport_32.c and the unified > ioport.c use __clear_bit, > while ioport_64.c uses clear_bit. That doesn't seem too critical. > +#ifdef CONFIG_X86_32 > +asmlinkage long sys_iopl(unsigned long reg

Re: STT_FUNC for assembler checksum and semaphore ops" in git-x86

2008-01-10 Thread Andi Kleen
On Thu, Jan 10, 2008 at 04:59:52PM -0800, John Reiser wrote: > Andi Kleen wrote: > > But actually checking the default implementation in linkage.h already > > implements size: [snip] > > > Are you sure it doesn't work? Your patch should be not needed. If it's > > still wrong then just ENDPROCs()

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-10 Thread Dave Young
On Jan 11, 2008 2:39 AM, Greg KH <[EMAIL PROTECTED]> wrote: > On Thu, Jan 10, 2008 at 05:48:43PM +0800, Dave Young wrote: > > The patches are done on my side, please help to check. > > Along with all of the other comments from people, I have a few. > > > This is the first one of the series about dr

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-10 Thread Dave Young
On Jan 10, 2008 11:41 PM, Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 10 Jan 2008, Dave Young wrote: > > > Hi, > > The patches are done on my side, please help to check. > > > > This is the first one of the series about driver core changes. > > If this one is accepted and there's no other probl

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-10 Thread Dave Young
On Jan 10, 2008 9:23 PM, Cornelia Huck <[EMAIL PROTECTED]> wrote: > On Thu, 10 Jan 2008 17:48:43 +0800, > Dave Young <[EMAIL PROTECTED]> wrote: > > Please add a kerneldoc comment for each of the new interfaces. Will do. > > > +int class_for_each_device(struct class *class, void *data, > > +

Re: hwclock failure in x86.git

2008-01-10 Thread Kevin Winchester
On Thu, 10 Jan 2008 17:13:51 -0800 "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > Kevin Winchester wrote: > > H. Peter Anvin wrote: > >> Kevin Winchester wrote: > >>> My first time building and booting the mm branch of x86.git was pretty > >>> successful. The only error I noticed was the following

Re: Serverworks Oops with the very latest git kernel...

2008-01-10 Thread Jeff Garzik
Trond Myklebust wrote: Hi, I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. Starting udev: BUG: unable to handle kernel paging request at virtual address 2d6d3a65 printing eip: c04e1af1 *pde = Oops: [#1] PREEMPT SMP Modules linked in: evdev evbug rtc_cmo

Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Joonwoo Park
2008/1/11, Zhu Yi <[EMAIL PROTECTED]>: > > The version doesn't work on a .24-rc kernel. Can you compile it > with .23? > Thank you for your help, I built it. Thanks, Joonwoo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: [PATCH] AMD Thermal Interrupt Support

2008-01-10 Thread Russell Leidich
All, Here's the hopefully-final version of the patch, which I have just tested on Intel and AMD. In my AMD test, I happened to discover that although MCEs were being logged, the MCE counter at /sys/devices/system/cpu/cpu(whatever)/thermal_throttle/count was not being updated. I fixed this by (1)

Re: [PATCH 0/7] convert semaphore to mutex in struct class

2008-01-10 Thread Dave Young
On Jan 10, 2008 8:34 PM, Stefan Richter <[EMAIL PROTECTED]> wrote: > Dave Young wrote: > > This is the first one of the series about driver core changes. > > Please always provide kerneldoc comments when you add new API elements; > here: exported functions. > > It's unfortunate that the driver core

Re: Fwd: Fwd: laptop / computer hardlocks during execution of 32bit applications(binaries) on 64bit system (Gentoo)

2008-01-10 Thread Ed Tomlinson
>> - if yes, does booting with "nmi_watchdog=2 idle=poll" give you a >> working NMI watchdog? (working NMI watchdog means the NMI counts >> increase for all cores in /proc/interrupts). > booting with the above gives me an incrementing NMI counter in > /proc/interrupts Ingo, Is there anyth

Serverworks Oops with the very latest git kernel...

2008-01-10 Thread Trond Myklebust
Hi, I'm getting the following Oops on boot with kernel 2.6.24-rc7-g88fb61e4. Starting udev: BUG: unable to handle kernel paging request at virtual address 2d6d3a65 printing eip: c04e1af1 *pde = Oops: [#1] PREEMPT SMP Modules linked in: evdev evbug rtc_cmos pcspkr floppy rtc_core

Re: hwclock failure in x86.git

2008-01-10 Thread Kevin Winchester
On Thu, 10 Jan 2008 17:13:51 -0800 "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > Kevin Winchester wrote: > > H. Peter Anvin wrote: > >> Kevin Winchester wrote: > >>> My first time building and booting the mm branch of x86.git was pretty > >>> successful. The only error I noticed was the following

Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Zhu Yi
On Fri, 2008-01-11 at 10:38 +0900, Joonwoo Park wrote: > I should have checked code base, it's my fault. > it's seems very similar, but I could not made build unfortunately. > Can you introduce to me how to build it please? > > my build error is here: > [EMAIL PROTECTED] ~/SRC/DRIVERS/iwlwifi $ >

Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Joonwoo Park
2008/1/11, Zhu Yi <[EMAIL PROTECTED]>: > Hi Joonwoo, > > We already did something similiar in our code base. Could you please > take a look at this patch? > > http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commitdiff;h=57aa02255e9d7be5e2494683fc2793bd1d0707e2 > > Thanks, > -yi Ooops :-) I sh

Re: [PATCH 0/5] Intro: convert lockd to kthread and fix use-after-free (try #7)

2008-01-10 Thread Neil Brown
On Thursday January 10, [EMAIL PROTECTED] wrote: > This is the seventh patchset to fix the use-after-free problem in lockd This patch set looks good now. I'm happy to give it a Reviewed-by: NeilBrown <[EMAIL PROTECTED]> Two remaining issues that I would like to see address, but don't n

Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.

2008-01-10 Thread Zachary Amsden
On Wed, 2008-01-09 at 17:22 -0500, David P. Reed wrote: > Zachary Amsden wrote: > > > > According to Phoenix Technologies book "System BIOS for IBM PCs, > > Compatibles and EISA Computers, 2nd Edition", the I/O port list gives > > > > port 0080h R/W Extra page register (temporary storage) > > >

Re: [RFC][PATCH] per-task I/O throttling

2008-01-10 Thread Bill Davidsen
Andrea Righi wrote: Allow to limit the bandwidth of I/O-intensive processes, like backup tools running in background, large files copy, checksums on huge files, etc. This kind of processes can noticeably impact the system responsiveness for some time and playing with tasks' priority is not alway

Re: [ipw3945-devel] [PATCH 2/5] iwlwifi: iwl3945 synchronize interruptand tasklet for down iwlwifi

2008-01-10 Thread Joonwoo Park
Hello Reinette, 2008/1/11, Chatre, Reinette <[EMAIL PROTECTED]>: > > Could synchronize_irq() be moved into iwl_disable_interrupts() ? I am At this time, iwl_disable_interrupts() can be called with irq disabled, so for do that I think additional modification would be needed. > also wondering if w

Re: [alsa-devel] PNP_DRIVER_RES_DISABLE breaks swsusp at least with snd_cs4236

2008-01-10 Thread Rene Herman
On 10-01-08 08:58, Jaroslav Kysela wrote: On Thu, 10 Jan 2008, Rene Herman wrote: On 09-01-08 23:43, Ondrej Zary wrote: Jaroslav -- in your role as ISA-PnP maintainer and Bjorn, in yours as having been foollish enough to touch PnP recently: as hibernation (swsusp) started to work with my C

Re: questions on NAPI processing latency and dropped network packets

2008-01-10 Thread David Miller
From: "Chris Friesen" <[EMAIL PROTECTED]> Date: Thu, 10 Jan 2008 11:24:19 -0600 > I've got an issue that's popped up with a deployed system running > 2.6.10. ... > So...anyone have any ideas/suggestions? You have to be kidding, coming here for help with a nearly 4 year old kernel. The networki

[PATCH] PM: Acquire device locks on suspend (rev. 3)

2008-01-10 Thread Rafael J. Wysocki
Hi, The patch below is intended as a replacement for gregkh-driver-pm-acquire-device-locks-prior-to-suspending.patch that deadlocked suspend and hibernation on some systems.  The present patch contains some safeguards against deadlocks in the relevant cases and a mechanism to print warnings if a d

Re: hwclock failure in x86.git

2008-01-10 Thread H. Peter Anvin
Kevin Winchester wrote: H. Peter Anvin wrote: Kevin Winchester wrote: My first time building and booting the mm branch of x86.git was pretty successful. The only error I noticed was the following in my dmesg: hwclock[622] general protection ip:804b226 sp:bff43e30 error:0 I'm not sure exactl

Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Zhu Yi
Hi Joonwoo, We already did something similiar in our code base. Could you please take a look at this patch? http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commitdiff;h=57aa02255e9d7be5e2494683fc2793bd1d0707e2 Thanks, -yi On Wed, 2008-01-09 at 20:02 +0900, Joonwoo Park wrote: > Eleminiate t

Re: [PATCH][RFC] fast file mapping for loop

2008-01-10 Thread Bill Davidsen
Jens Axboe wrote: Hi, loop.c currently uses the page cache interface to do IO to file backed devices. This works reasonably well for simple things, like mapping an iso9660 file for direct mount and other read-only workloads. Writing is somewhat problematic, as anyone who has really used this fea

Re: STT_FUNC for assembler checksum and semaphore ops" in git-x86

2008-01-10 Thread John Reiser
Andi Kleen wrote: > But actually checking the default implementation in linkage.h already > implements size: [snip] > Are you sure it doesn't work? Your patch should be not needed. If it's > still wrong then just ENDPROCs() need to be added. The ENDPROCs() were not used everywhere. Some code us

[PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime and mtime; 3) updating ti

Re: [PATCH]quirks: set 'En' bit of MSI Mapping for devices on HT-based nvidia platform

2008-01-10 Thread Andrew Morton
On Thu, 10 Jan 2008 22:41:58 +0800 "peerchen" <[EMAIL PROTECTED]> wrote: > Subject: [PATCH]quirks: set 'En' bit of MSI Mapping for devices on HT-based > nvidia platform > > Signed-off-by: Andy Currid <[EMAIL PROTECTED]> > Signed-off-by: Peer Chen <[EMAIL PROTECTED]> You didn't provide a reason

[PATCH 2/2][RFC][BUG] msync: updating ctime and mtime at syncing

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains changes for updating the ctime and mtime fields for memory mapped files: 1) adding a new flag triggering update of the inode data; 2) implementing a helper function for checking that flag and updating ctime and mtime; 3) updating ti

[PATCH 0/2][RFC][BUG] msync: another attempt to fix the ctime/mtime issue

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> I would like to propose my second solution for the bug #2645 from the kernel bug tracker: http://bugzilla.kernel.org/show_bug.cgi?id=2645 You may find the relevant background information as well as an extensive discussion of my previous solution using

[PATCH 1/2][RFC][BUG] msync: massive code cleanup of sys_msync()

2008-01-10 Thread Anton Salikhmetov
From: Anton Salikhmetov <[EMAIL PROTECTED]> The patch contains substantial code cleanup of the sys_msync() function: 1) consolidated error check for function parameters; 2) using the PAGE_ALIGN() macro instead of "manual" alignment; 3) improved readability of the loop traversing the process memor

Re: [PATCH] Fix private_list handling

2008-01-10 Thread Andrew Morton
On Thu, 10 Jan 2008 16:55:13 +0100 Jan Kara <[EMAIL PROTECTED]> wrote: > Hi, > > sorry for the previous empty email... > > Supriya noted in his testing that sometimes buffers removed by > __remove_assoc_queue() don't have b_assoc_mapping set (and thus IO error > won't be properly propagate

[RFC][PATCH] per-task I/O throttling

2008-01-10 Thread Andrea Righi
Allow to limit the bandwidth of I/O-intensive processes, like backup tools running in background, large files copy, checksums on huge files, etc. This kind of processes can noticeably impact the system responsiveness for some time and playing with tasks' priority is not always an acceptable soluti

Re: soft lockup - CPU#1 stuck for 15s! [swapper:0]

2008-01-10 Thread Parag Warudkar
On Jan 9, 2008 6:56 AM, Thomas Gleixner <[EMAIL PROTECTED]> wrote: > Can you apply the patch below + the debug patch which prints the timer > stats on softlockup and provide the output of this. Applied to today's git and running for 21 hours - no recurrence yet even with 1.2 wakeups per second.

Re: [RFC PATCH 01/22 -v2] Add basic support for gcc profiler instrumentation

2008-01-10 Thread Jan Kiszka
Steven Rostedt wrote: > Index: linux-compile-i386.git/Makefile > === > --- linux-compile-i386.git.orig/Makefile 2008-01-09 14:09:36.0 > -0500 > +++ linux-compile-i386.git/Makefile 2008-01-09 14:10:07.0 -0500 > @

Re: [x86] list of style offenders

2008-01-10 Thread Daniel Walker
On Fri, 2008-01-11 at 00:40 +0100, Paolo Ciarrocchi wrote: > On Jan 11, 2008 12:08 AM, Daniel Walker <[EMAIL PROTECTED]> wrote: > > > The git logs also show that arch/x86/math-emu/fpu_trig.c hasn't been > > modified since it was pull in on Oct. 11 .. > > Daniel, > are we looking at the same tree

Re: LRW/XTS + Via Padlock Bug in 2.6.24-rc7?

2008-01-10 Thread Herbert Xu
On Fri, Jan 11, 2008 at 12:21:50AM +0100, Torben Viets wrote: > > Why I can't see both in /proc/crypto and of course not use in int > cryptsetup, till I make a /etc/init.d/udev restart ist ths a kernel bug, > or a ubuntu bug? The algorithm xts(aes) is an instantiation of the xts template. As s

Re: hwclock failure in x86.git

2008-01-10 Thread Kevin Winchester
H. Peter Anvin wrote: > Kevin Winchester wrote: >> My first time building and booting the mm branch of x86.git was pretty >> successful. The only error I noticed was the following in my dmesg: >> >> hwclock[622] general protection ip:804b226 sp:bff43e30 error:0 >> >> I'm not sure exactly how to d

Re: [x86] list of style offenders

2008-01-10 Thread Daniel Walker
On Fri, 2008-01-11 at 00:40 +0100, Paolo Ciarrocchi wrote: > On Jan 11, 2008 12:08 AM, Daniel Walker <[EMAIL PROTECTED]> wrote: > > > The git logs also show that arch/x86/math-emu/fpu_trig.c hasn't been > > modified since it was pull in on Oct. 11 .. > > Daniel, > are we looking at the same tree

Re: Is it possible to change IRQ for certain device?

2008-01-10 Thread Len Brown
On Thursday 10 January 2008 09:01, linux-os (Dick Johnson) wrote: > > On Thu, 10 Jan 2008, Jan Marek wrote: > > > Hello lkml, > > > > I have problem with my computer: I have motherboard with AMD690G chipset > > and nVidia VGA card. But I cannot set BIOS, to assign for VGA unique > > IRQ. VGA card

Re: [x86] list of style offenders

2008-01-10 Thread Paolo Ciarrocchi
On Jan 11, 2008 12:08 AM, Daniel Walker <[EMAIL PROTECTED]> wrote: > The git logs also show that arch/x86/math-emu/fpu_trig.c hasn't been > modified since it was pull in on Oct. 11 .. Daniel, are we looking at the same tree? fpu_trig.c has been modified (and cleaned up) by Ingo 35 hours ago: http

  1   2   3   4   5   6   >