Re: [patch] CFS scheduler, -v19

2007-07-16 Thread Ed Tomlinson
On Monday 16 July 2007 05:17, Ingo Molnar wrote: > > * Ed Tomlinson <[EMAIL PROTECTED]> wrote: > > > I run a java application at nice 15. Its been a background > > application here for as long as SD and CFS have been around. If I > > have a compile running at nice 0, with v19 java gets so lit

Re: [PATCH] splice: fix wrong __splice_from_pipe() usage

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, OGAWA Hirofumi wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > On Mon, Jul 16 2007, OGAWA Hirofumi wrote: > >> Hi, > >> > >> I've noticed the nfsd read corruption by recent change. And this patch > >> fixes the problem for me, is this right fix? > >> -- > >> OGAWA Hiro

Re: panics with 16port Promise Supertrack EX Controller

2007-07-16 Thread Jens Axboe
On Sun, Jul 15 2007, Flavio Curti wrote: > Hello > > On Mon, Jul 09, 2007 at 11:59:36AM +1000, Nick Piggin wrote: > > >Jul 8 00:19:13 dorade.cyberlink.ch EFLAGS: 00210046 > > >(2.6.22-rc7-dorade #1) > > >>The machine panics > > >>after some days of running fine, the machine inst heavy loaded.

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > > yes, the weight multiplier 1.25, but the actual difference in CPU > > utilization, when running two CPU intense tasks, is ~10%: > > > > PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND > > 8246 mingo 20 0 1576 244 196 R

Re: SMART problems in 2.6.22

2007-07-16 Thread Tejun Heo
Please try the patch in the following message. http://article.gmane.org/gmane.linux.ide/20799/raw -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Pl

Re: [x86 setup 27/33] Video mode probing support for the new x86 setup code

2007-07-16 Thread Martin Mares
> Video mode probing for the new x86 setup code. This code breaks down > different drivers into modules. This code deliberately drops support > for a lot of the vendor-specific mode probing present in the assembly > version, since a lot of those probes have been found to be stale in > current ver

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread David Miller
From: Ingo Molnar <[EMAIL PROTECTED]> Date: Mon, 16 Jul 2007 11:12:36 +0200 > Applying the revert patch below makes it work again. Well, let's figure out why before we revert because it is attempting to fix a legitimate bug. Olaf, any ideas? - To unsubscribe from this list: send the line "unsubs

Re: [PATCH 13/33] SPARC: sg chaining support

2007-07-16 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Mon, 16 Jul 2007 11:47:27 +0200 > This updates the sparc iommu/pci dma mappers to sg chaining. > > Cc: [EMAIL PROTECTED] > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> - To unsubscribe from this list: send

Re: [PATCH 14/33] SPARC64: sg chaining support

2007-07-16 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Mon, 16 Jul 2007 11:47:28 +0200 > This updates the sparc64 iommu/pci dma mappers to sg chaining. > > Cc: [EMAIL PROTECTED] > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> Acked-by: David S. Miller <[EMAIL PROTECTED]> - To unsubscribe from this list: sen

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Sun, 15 Jul 2007, Jonathan Corbet wrote: > Here's another approach: a reimplementation of msleep() and > msleep_interruptible() using hrtimers. On a system without real > hrtimers this code will at least drop down to single-jiffy delays much > of the time (though not deterministically so)

9P compile fix

2007-07-16 Thread Meelis Roos
With 9P but no 9P debug options, this error occurs: CC [M] fs/9p/v9fs.o fs/9p/v9fs.c: In function 'v9fs_parse_options': fs/9p/v9fs.c:134: error: 'p9_debug_level' undeclared (first use in this function) The following patch moves the definition of p9_debug_level out of #ifdef and seems to fix t

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Geert Uytterhoeven
On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > Ah, that explains it. flush_dcache_page() is used in some drivers. > I'll update my patches. Thanks for the comments! Does this look OK? - Replaced KM_USER0 by KM_IRQ0 (all routines are either called from an interrupt handler, from .request_fn

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > > Here's another approach: a reimplementation of msleep() and > > msleep_interruptible() using hrtimers. On a system without real > > hrtimers this code will at least drop down to single-jiffy delays > > much of the time (though not deterministicall

Re: [linux-usb-devel] [PATCH 01/02] USB: sierra: Add TRU-Install (c) Support [ATTEMPT 4]

2007-07-16 Thread Oliver Neukum
Am Freitag 13 Juli 2007 schrieb Kevin Lloyd: > +int sierra_probe(struct usb_interface *iface, const struct usb_device_id *id) > +{ > +   int result;  > +   struct usb_device *udev; > + > +   udev = usb_get_dev(interface_to_usbdev(iface)); > + > +   /* Check if in installer mode

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > i dont think there's any significant overhead. The OLPC folks are pretty > sensitive to performance, How is a sleep function relevant to performace? bye, Roman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Determine version of kernel that produced vmcore

2007-07-16 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-07-16 06:19]: > On Fri, Jul 13, 2007 at 03:15:50PM +0200, Bernhard Walle wrote: > > * Ken'ichi Ohmichi <[EMAIL PROTECTED]> [2007-07-13 13:05]: > > > > > > BTW, I'd like to remove PAGESIZE from a mkdfinfo file. > > > While 2nd-kernel is running, new makedumpf

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > > > One possible problem here is that setting up that timer can be > > > considerably more expensive, for a relative timer you have to read > > > the current time, which can be quite expensive (e.g. your machine > > > now uses the PIT timer, because

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > > As soon as you add another loop the difference changes again, while > > it's always correct to say it gets 25% more cpu time [...] > > yep, and i'll add the relative effect to the comment too. Why did you cut off the rest of the sentence? To illu

Re: SMART problems in 2.6.22

2007-07-16 Thread Kai Makisara
On Mon, 16 Jul 2007, Tejun Heo wrote: > Please try the patch in the following message. > > http://article.gmane.org/gmane.linux.ide/20799/raw > This solves the 'smartctl -H' problem both of my systems (one with Nvidia CK804 and one with MCP51). Tested-by: Kai Makisara <[EMAIL PROTECTED]> Than

Re: Hibernation considerations

2007-07-16 Thread Rafael J. Wysocki
On Monday, 16 July 2007 01:49, [EMAIL PROTECTED] wrote: > On Mon, 16 Jul 2007, Rafael J. Wysocki wrote: > > > On Monday, 16 July 2007 00:42, [EMAIL PROTECTED] wrote: > >> On Mon, 16 Jul 2007, Rafael J. Wysocki wrote: > >> > >>> On Sunday, 15 July 2007 22:13, [EMAIL PROTECTED] wrote: > On Sun,

how about bringing Documentation/feature-removal-schedule.txt up to date?

2007-07-16 Thread Robert P. J. Day
as time goes by, the informational value of the feature removal file is rapidly approaching zero, as alleged deadlines for removal are continually dismissed, while some removal dates as far back as 2005 are still in that file. if those features aren't going to be removed, then will someone at

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > i'm not sure how your question relates/connects to what i wrote above, > could you please re-phrase your question into a bit more verbose form so > that i can answer it? Thanks, Well, you cut out the major question from my initial mail: One questio

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Segher Boessenkool
I'm pretty sure that no ppc64 machine needs alias resolution in the kernel, although some are VIPT. Last time we discussed this, Segher explained it to me, but I don't remember which way Cell does it. IIRC, it automatically flushes cache lines that are accessed through aliases. Ah yes, I r

Re: [PATCH 0/2] Kexec jump: The first step to kexec base hibernation

2007-07-16 Thread Rafael J. Wysocki
On Monday, 16 July 2007 01:22, [EMAIL PROTECTED] wrote: > On Mon, 16 Jul 2007, Rafael J. Wysocki wrote: > > > On Sunday, 15 July 2007 21:23, [EMAIL PROTECTED] wrote: > >> On Sun, 15 Jul 2007, Rafael J. Wysocki wrote: > >> > >> I think this is far more complicated then it needs to be. > >>

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > On Mon, 16 Jul 2007, Ingo Molnar wrote: > > > > As soon as you add another loop the difference changes again, > > > while it's always correct to say it gets 25% more cpu time [...] > > > > yep, and i'll add the relative effect to the comment too. >

Re: [2.6 patch] more ACSI removal

2007-07-16 Thread Jens Axboe
On Fri, Jul 13 2007, Geert Uytterhoeven wrote: > On Fri, 13 Jul 2007, Adrian Bunk wrote: > > This patch removes some code that became dead code after the ATARI_ACSI > > removal. > > When was it removed? Nobody seems to have informed the m68k people... It hasn't even been compiling for 5 years, s

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > I'll update my patches. Thanks for the comments! > > Does this look OK? > - Replaced KM_USER0 by KM_IRQ0 (all routines are ei

Re: Oops while modprobing phy fixed module

2007-07-16 Thread Gabriel C
Gabriel C wrote: > Satyam Sharma wrote: > >> On 7/15/07, Gabriel C <[EMAIL PROTECTED]> wrote: >> >> > [...] > doing a modprobe fixed the driver segfaults and I get this Oops: > > Jul 14 13:43:30 lara [ 157.953261] BUG: unable to handle kernel paging > request at virt

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Olaf Kirch
On Monday 16 July 2007 13:26, David Miller wrote: > Well, let's figure out why before we revert because it > is attempting to fix a legitimate bug. > > Olaf, any ideas? It seems as if the card is stuck in NAPI mode without being serviced by net_rx_action. Ingo, is this a UP or SMP machine? Are y

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, 16 Jul 2007, Ingo Molnar wrote: > > > i'm not sure how your question relates/connects to what i wrote above, > > could you please re-phrase your question into a bit more verbose form so > > that i can answer it? Thanks, > > Well, yo

Re: Including STRTOK_R in a LSM

2007-07-16 Thread Z. Cliffe Schreuders
What I need is to ignore double delimiters such as (::). This can be done trivially with a string comparison to check for "\0". What I want to know is if it is ok to include the strtok_r code in my security module, or if strtok was removed for a very good reason. I am porting a lot of existing

[PATCH] Fix user struct leakage with locked IPC shem segment

2007-07-16 Thread Pavel Emelianov
When user locks an ipc shmem segmant with SHM_LOCK ctl and the segment is already locked the shmem_lock() function returns 0. After this the subsequent code leaks the existing user struct: == ipc/shm.c: sys_shmctl() == ... err = shmem_lock(shp->shm_file, 1, user); if (!err) {

Re: Determine version of kernel that produced vmcore

2007-07-16 Thread Vivek Goyal
On Mon, Jul 16, 2007 at 01:57:07PM +0200, Bernhard Walle wrote: > * Vivek Goyal <[EMAIL PROTECTED]> [2007-07-16 06:19]: > > On Fri, Jul 13, 2007 at 03:15:50PM +0200, Bernhard Walle wrote: > > > * Ken'ichi Ohmichi <[EMAIL PROTECTED]> [2007-07-13 13:05]: > > > > > > > > BTW, I'd like to remove PAGES

Re: Determine version of kernel that produced vmcore

2007-07-16 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-07-16 14:25]: > > Ok. Now there seems to be two ways for accessing such info. > - Through global variables > - Export through ELF notes. > > Personally, I like the approach taken by Dan Aloni of exporting required > info through ELF notes. That seems to be

Re: Determine version of kernel that produced vmcore

2007-07-16 Thread Bernhard Walle
* Vivek Goyal <[EMAIL PROTECTED]> [2007-07-16 14:25]: > > Ok. Now there seems to be two ways for accessing such info. > - Through global variables > - Export through ELF notes. > > Personally, I like the approach taken by Dan Aloni of exporting required > info through ELF notes. That seems to be

Re: [PATCH] splice: fix wrong __splice_from_pipe() usage

2007-07-16 Thread OGAWA Hirofumi
Jens Axboe <[EMAIL PROTECTED]> writes: >> nfsd_vfs_read() path. >> >> nfsd_vfs_read() >> splice_direct_to_actor() >> while(len) { >> do_splice_to() [update sd->pos] >> -> generic_file_splice_read() [read from sd->pos] >> nfs

Re: Determine version of kernel that produced vmcore

2007-07-16 Thread Vivek Goyal
On Mon, Jul 16, 2007 at 02:28:54PM +0200, Bernhard Walle wrote: > * Vivek Goyal <[EMAIL PROTECTED]> [2007-07-16 14:25]: > > > > Ok. Now there seems to be two ways for accessing such info. > > - Through global variables > > - Export through ELF notes. > > > > Personally, I like the approach taken

Re: [PATCH] splice: fix wrong __splice_from_pipe() usage

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, OGAWA Hirofumi wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > >> nfsd_vfs_read() path. > >> > >> nfsd_vfs_read() > >> splice_direct_to_actor() > >> while(len) { > >> do_splice_to() [update sd->pos] > >> -> gener

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > > > > As soon as you add another loop the difference changes again, > > > > while it's always correct to say it gets 25% more cpu time [...] > > > > > > yep, and i'll add the relative effect to the comment too. > > > > Why did you cut off the rest

[PATCH] sched_cacheflush is now unused

2007-07-16 Thread Ralf Baechle
Since Ingo's recent scheduler rewrite which was merged as commit 0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 188fb73..5914739 100644 --- a/arch/ia64/kern

Re: [PATCH] sched_cacheflush is now unused

2007-07-16 Thread Ingo Molnar
* Ralf Baechle <[EMAIL PROTECTED]> wrote: > Since Ingo's recent scheduler rewrite which was merged as commit > 0437e109e1841607f2988891eaa36c531c6aa6ac sched_cacheflush is unused. > > Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> yeah, indeed - i've added your patch to my queue of scheduler p

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Jens Axboe wrote: > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > > I'll update my patches. Thanks for the comments! > > > > Does this look OK? > >

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > > Well, you cut out the major question from my initial mail: > > One question here would be, is it really a problem to sleep a little more? > > oh, i did not want to embarrass you (and distract the discussion) with > answering a pretty stupid, irrel

Re: [2.6 patch] more ACSI removal

2007-07-16 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Jens Axboe wrote: > On Fri, Jul 13 2007, Geert Uytterhoeven wrote: > > On Fri, 13 Jul 2007, Adrian Bunk wrote: > > > This patch removes some code that became dead code after the ATARI_ACSI > > > removal. > > > > When was it removed? Nobody seems to have informed the m68k peop

Re: [2.6 patch] more ACSI removal

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > On Mon, 16 Jul 2007, Jens Axboe wrote: > > On Fri, Jul 13 2007, Geert Uytterhoeven wrote: > > > On Fri, 13 Jul 2007, Adrian Bunk wrote: > > > > This patch removes some code that became dead code after the ATARI_ACSI > > > > removal. > > > > > > Whe

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > On Mon, 16 Jul 2007, Jens Axboe wrote: > > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > > > I'll update my patches.

Re: Patches for REALLY TINY 386 kernels

2007-07-16 Thread Bodo Eggert
Satyam Sharma <[EMAIL PROTECTED]> wrote: [zillions of ways to do -X dontdiff] > Or just "cp -al" to create multiple trees at (almost) no disk cost > that won't interfere with each other in any way, and makes the > development process / generating patchsets trifle easier as well ... Beware, some

try_module_get question

2007-07-16 Thread Robert Beckett
Hi all, Im a newcomer to kernel development, and have my first question : I want to create a small module that simply powers on an FPGA, and powers it off when it is released. Two other modules will then depend on this module and control different devices programmed into the FPGA. So that the

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, FUJITA Tomonori wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Subject: [PATCH 00/33] SG table chaining support > Date: Mon, 16 Jul 2007 11:47:14 +0200 > > > Changes since last post: > > > > - Rebase to current -git. Lots of SCSI drivers have been converted > > to use the

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Geert Uytterhoeven
On Mon, 16 Jul 2007, Geert Uytterhoeven wrote: > On Mon, 16 Jul 2007, Jens Axboe wrote: > > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > > > I'll update my patches.

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, FUJITA Tomonori wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Subject: [PATCH 00/33] SG table chaining support > Date: Mon, 16 Jul 2007 11:47:14 +0200 > > > Changes since last post: > > > > - Rebase to current -git. Lots of SCSI drivers have been converted > > to use the

Re: [PATCH 31/33] Fusion: sg chaining support

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, FUJITA Tomonori wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Subject: [PATCH 31/33] Fusion: sg chaining support > Date: Mon, 16 Jul 2007 11:47:45 +0200 > > > Cc: [EMAIL PROTECTED] > > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> > > --- > > drivers/message/fusion/mptscsih

Re: [PATCH 29/33] infiniband: sg chaining support

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, FUJITA Tomonori wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Subject: [PATCH 29/33] infiniband: sg chaining support > Date: Mon, 16 Jul 2007 11:47:43 +0200 > > > @@ -226,7 +228,8 @@ static int iser_sg_to_page_vec(struct iser_data_buf > > *data, > >

[PATCH 1/2] Use list_head in binfmt handling

2007-07-16 Thread Alexey Dobriyan
Switch single-linked binfmt formats list to usual list_head's. This leads to one-liners in register_binfmt() and unregister_binfmt(). The downside is one pointer more in struct linux_binfmt. This is not a problem, since the set of registered binfmts on typical box is very small (ELF + something dis

[PATCH 2/2] Make unregister_binfmt() return void

2007-07-16 Thread Alexey Dobriyan
list_del() hardly can fail, so checking for return value is pointless (and current code always return 0). Nobody really cared that return value anyway. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- arch/ia64/ia32/binfmt_elf32.c |2 +- fs/exec.c |3 +-- inclu

Re: [patch] revert: [NET]: Fix races in net_rx_action vs netpoll

2007-07-16 Thread Ingo Molnar
* Olaf Kirch <[EMAIL PROTECTED]> wrote: > On Monday 16 July 2007 13:26, David Miller wrote: > > Well, let's figure out why before we revert because it > > is attempting to fix a legitimate bug. > > > > Olaf, any ideas? > > It seems as if the card is stuck in NAPI mode without being serviced >

Re: x86 setup code rewrite in C - revised

2007-07-16 Thread Etienne Lorrain
--- "H. Peter Anvin" <[EMAIL PROTECTED]> wrote: > >> - The VGA recalc has the same bug as the assembly version where a VGA > >> write protected register is written (Overflow register) without setting > >> the enable bit (see VGA docs). > > I dug into this, and it turns out you're incorrect. Both

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread FUJITA Tomonori
From: Jens Axboe <[EMAIL PROTECTED]> Subject: [PATCH 00/33] SG table chaining support Date: Mon, 16 Jul 2007 11:47:14 +0200 > Changes since last post: > > - Rebase to current -git. Lots of SCSI drivers have been converted > to use the sg accessor helpers, which nicely shrinks this patchset >

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread FUJITA Tomonori
From: Jens Axboe <[EMAIL PROTECTED]> Subject: [PATCH 00/33] SG table chaining support Date: Mon, 16 Jul 2007 11:47:14 +0200 > Changes since last post: > > - Rebase to current -git. Lots of SCSI drivers have been converted > to use the sg accessor helpers, which nicely shrinks this patchset >

Re: Hibernation considerations

2007-07-16 Thread Al Boldi
[EMAIL PROTECTED] wrote: > On Mon, 16 Jul 2007, Al Boldi wrote: > > [EMAIL PROTECTED] wrote: > >> suspend-to-RAM should not involve kexec, the only reason for doing the > >> kexec to to get a seperate userspace to use for suspend-to-disk > >> operations instead of trying to partially freeze the sus

Re: [PATCH 31/33] Fusion: sg chaining support

2007-07-16 Thread FUJITA Tomonori
From: Jens Axboe <[EMAIL PROTECTED]> Subject: [PATCH 31/33] Fusion: sg chaining support Date: Mon, 16 Jul 2007 11:47:45 +0200 > Cc: [EMAIL PROTECTED] > Signed-off-by: Jens Axboe <[EMAIL PROTECTED]> > --- > drivers/message/fusion/mptscsih.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deleti

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > On Mon, 16 Jul 2007, Geert Uytterhoeven wrote: > > On Mon, 16 Jul 2007, Jens Axboe wrote: > > > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > > > Ah, that explains it. flush_dcache_page()

Re: Including STRTOK_R in a LSM

2007-07-16 Thread Casey Schaufler
--- "Z. Cliffe Schreuders" <[EMAIL PROTECTED]> wrote: > What I need is to ignore double delimiters such as (::). This can be > done trivially with a string comparison to check for "\0". What I want > to know is if it is ok to include the strtok_r code in my security > module, or if strtok was

[9Pfs] Compilation error

2007-07-16 Thread Alejandro Riveira Fernández
I get this in today's head 8f41958bdd577731f7411c9605cfaa9db6766809 $ make O=../2.6.23 Using /home/alex/kernel/linux-2.6 as source for kernel GEN /home/alex/kernel/2.6.23/Makefile CHK include/linux/version.h CHK include/linux/utsrelease.h CALL/home/alex/kernel/linux-2.6

Re: [PATCH 29/33] infiniband: sg chaining support

2007-07-16 Thread FUJITA Tomonori
From: Jens Axboe <[EMAIL PROTECTED]> Subject: [PATCH 29/33] infiniband: sg chaining support Date: Mon, 16 Jul 2007 11:47:43 +0200 > @@ -226,7 +228,8 @@ static int iser_sg_to_page_vec(struct iser_data_buf *data, > struct iser_page_vec *page_vec, >

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > > It has been a common request for nice levels to be more logical > > (i.e. to make them universal and to detach them from HZ) and for > > them to be more effective as well. > > Huh? What has this to do with HZ? The scheduler used ticks internally,

Re: SMART problems in 2.6.22

2007-07-16 Thread Klaus Fuerstberger
Kai Makisara said the following on 16.07.2007 13:58: >> Please try the patch in the following message. >> http://article.gmane.org/gmane.linux.ide/20799/raw > This solves the 'smartctl -H' problem both of my systems (one with Nvidia > CK804 and one with MCP51). This patch also solved the proble

Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?

2007-07-16 Thread Bodo Eggert
On Sun, 15 Jul 2007, Rene Herman wrote: > On 07/15/2007 07:17 PM, Bodo Eggert wrote: > > Matt Mackall <[EMAIL PROTECTED]> wrote: > >> On Fri, Jul 13, 2007 at 03:20:54PM +0200, Rene Herman wrote: > >>> As far as I'm aware, the actual reason for 4K stacks is that after the > >>> system has been up a

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread James Bottomley
On Mon, 2007-07-16 at 14:16 +0200, Jens Axboe wrote: > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > > I'll update my patches. Thanks for the comments! > > > > Does this

[PATCH 0/10] CPU hotplug error handling fixes

2007-07-16 Thread Akinobu Mita
This series of patches fixes the error handling for cpu hotplug. The problem is revealed by CPU hotplug/unplug test with fault-injection. The patch 1-3 are sysfs or driver core related error handling fixes. These are not directly related to cpu hotplug. But these are needed to pass the stress test

[PATCH 1/10] sysfs: fix kmem_cache_free(NULL)

2007-07-16 Thread Akinobu Mita
This patch fixes out of memory error handling in sysfs_new_dirent(). kmem_cache_free() with NULL is not allowed. Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- fs/sysfs/dir.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) In

[patch 0/4] Cell SPE logos

2007-07-16 Thread Geert Uytterhoeven
The Cell Broadband Engine contains a 64-bit PowerPC core with 2 hardware threads (called PPEs) and 8 Synergistic Processing Engines (called SPEs). When booting Linux, 2 penguins logos are shown on the graphical console by the standard frame buffer console logo code. To emphasize the existence of t

[patch 1/4] fbdev: extract fb_show_logo_line()

2007-07-16 Thread Geert Uytterhoeven
Extract the code to draw one line of logos into fb_show_logo_line() Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Acked-By: James Simmons <[EMAIL PROTECTED]> --- drivers/video/fbmem.c | 39 +++ 1 files c

[patch 3/4] fbdev: SPE helper penguin logo

2007-07-16 Thread Geert Uytterhoeven
Add the SPE helper penguin logo Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Cc: Arnd Bergmann <[EMAIL PROTECTED]> Acked-By: James Simmons <[EMAIL PROTECTED]> --- drivers/video/logo/Makefile |2 drivers/video/logo/logo_spe_

[patch 2/4] fbdev: Add fb_append_extra_logo()

2007-07-16 Thread Geert Uytterhoeven
Add fb_append_extra_logo(), to append extra lines of logos below the standard Linux logo. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Acked-By: James Simmons <[EMAIL PROTECTED]> --- Changes since last version: - Introduce CONFIG_FB_LOGO_E

[patch 4/4] Cell: Draw SPE helper penguin logos

2007-07-16 Thread Geert Uytterhoeven
Let spu_management_ops.enumerate_spus() return the number of found SPEs and use that information to draw some little helper penguin logos. Signed-off-by: Geert Uytterhoeven <[EMAIL PROTECTED]> Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Acked-By: James Simmons <[EMAIL PROTECTED]> Acked-by: Arn

Re: [PATCH] CFS: Fix missing digit off in wmult table

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > to sum it up: a nice +19 task (the most commonly used nice level in > practice) gets 9.1%, 3.9%, 3.1% of CPU time on the old scheduler, > depending on the value of HZ. This is quite inconsistent and illogical. You're correct that you can find artif

[PATCH 2/10] sysdev: add error check in sysdev_register()

2007-07-16 Thread Akinobu Mita
This patch enables to catch the errors returned by add() procedure of sysdev driver in sysdev_register. Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- drivers/base/sys.c | 48 ++-- 1 file changed, 38 in

Re: Reading BIOS flash memory

2007-07-16 Thread Joachim Deguara
On Monday 16 July 2007 15:23:58 [EMAIL PROTECTED] wrote: > -- > Hey, > > Are there functions to read the BIOS given the address? Does ioremap() work > in this case too? I can't answer that but take a look how flashrom [1] does it. -Joachim [1] http://linuxbios.org/Flashrom - To unsubscribe fro

[PATCH 3/10] sysfs: fix error handling in create_files()

2007-07-16 Thread Akinobu Mita
Current error handling in create_files() attempts to remove all attributes passed by argument by remove_files(). But it should only remove the attributes that have been successfully added. Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- fs/sysfs/gro

[PATCH 4/10] cpu: deliver CPU_UP_CANCELED only to NOTIFY_OKed callbacks with CPU_UP_PREPARE

2007-07-16 Thread Akinobu Mita
The functions in a CPU notifier chain is called with CPU_UP_PREPARE event before making the CPU online. If one of the callback returns NOTIFY_BAD, it stops to deliver CPU_UP_PREPARE event, and CPU online operation is canceled. Then CPU_UP_CANCELED event is delivered to the functions in a CPU notifi

[PATCH 5/10] topology: remove topology_dev_map

2007-07-16 Thread Akinobu Mita
By previous cpu hotplug notifier change, we don't need to track topology_dev existence for each cpu by topology_dev_map. Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- drivers/base/topology.c | 11 +-- 1 file changed, 1 insertion(+), 10 d

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread John Stoffel
Jens> A repost of this patchset, which adds support forchaining of sg Jens> tables. This enables much larger IO commands, since we don't Jens> have to allocate large consecutive pieces of memory to represent Jens> the sgtable of a huge command. Right now Linux is limited to Jens> somewhere betwee

[PATCH 6/10] thermal_throttle: fix cpu hotplug error handling

2007-07-16 Thread Akinobu Mita
Make thermal_throttle_add_dev() CPU_UP_PREPARE event handler instead of CPU_ONLINE event handler. Cc: Dmitriy Zavin <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/mcheck/therm_throt.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-

[PATCH 7/10] msr: fix cpu hotplug error handling

2007-07-16 Thread Akinobu Mita
Make msr_device_create() CPU_UP_PREPARE event handler instead of CPU_ONLINE handler. Cc: "H. Peter Anvin" <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- arch/i386/kernel/msr.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) Ind

[PATCH 8/10] cpuid: fix cpu hotplug error handling

2007-07-16 Thread Akinobu Mita
Make cpuid_device_create() CPU_UP_PREPARE event handler instead of CPU_ONLINE event handler. Cc: "H. Peter Anvin" <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- arch/i386/kernel/cpuid.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletio

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Ingo Molnar
* Roman Zippel <[EMAIL PROTECTED]> wrote: > One question here would be, is it really a problem to sleep a little > more? Another possibility would be to add another sleep function, > which uses hrtimer and could also take ktime argument. i'm not sure how this helps your argument, could you ple

[PATCH 9/10] mce: fix cpu hotplug error handling

2007-07-16 Thread Akinobu Mita
- Fix error handling in mce_create_device() Error handling should not do sysdev_remove_file() with not yet added attributes. - Change mce_create_device() from CPU_ONLINE event handler to CPU_UP_PREPARE event handler. Cc: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PR

[PATCH 10/10] intel_cacheinfo: fix cpu hotplug error handling

2007-07-16 Thread Akinobu Mita
- Fix resource leakage in error case within detect_cache_attributes() - Introduce cache_dev_map cpumask to track whether cache interface for CPU is successfully added by cache_add_dev() or not. cache_add_dev() may fail with out of memory error. In order to avoid cache_remove_dev() with that

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Sun, 15 Jul 2007, Jonathan Corbet wrote: > The OLPC folks and I recently discovered something interesting: on a > HZ=100 system, a call to msleep(1) will delay for about 20ms. The > combination of jiffies timekeeping and rounding up means that the > minimum delay from msleep will be two j

Re: Hibernation considerations

2007-07-16 Thread Alan Stern
On Mon, 16 Jul 2007, Nigel Cunningham wrote: > > As I understand it, running a different OS between the hibernate and > > the resume would violate the ACPI spec. > > Well then, I know one or two people who would argue that the ACPI spec is > faulty. :\ It's hard to argue against that. In fact

Re: [9Pfs] Compilation error

2007-07-16 Thread Eric Van Hensbergen
On 7/16/07, Alejandro Riveira Fernández <[EMAIL PROTECTED]> wrote: I get this in today's head 8f41958bdd577731f7411c9605cfaa9db6766809 $ make O=../2.6.23 Using /home/alex/kernel/linux-2.6 as source for kernel GEN /home/alex/kernel/2.6.23/Makefile CHK include/linux/version.h CHK

[PATCH] - Increase PNP_MAX_PORT. ACPI devices can have a lot IO resource declarations

2007-07-16 Thread Thomas Renninger
PNP0C02 devices normally have a lot more IO port declarations than currently defined in PNP_MAX_PORT For checking, have a look at your disassembled DSDT, and look out for the _CRS function (and/or a ResourceTemplate often called CRS). Here an example: IO (Decode16,0x0010, // Range Mi

Re: Hibernation considerations

2007-07-16 Thread Alan Stern
On Sun, 15 Jul 2007 [EMAIL PROTECTED] wrote: > then we need a third mode of operation. > > mode 1: Suspend-to-ram > >the system is paused and put into a low-power mode but data remains in > memory and the system stays awake enough to keep the memory refreshed. > > mode 2: new > >the s

Re: [PATCH 00/33] SG table chaining support

2007-07-16 Thread Martin K. Petersen
> "John" == John Stoffel <[EMAIL PROTECTED]> writes: John> Will this help out tape drive performance at all? I looked John> through the patches quickly, esp the AIC7xxx stuff since that's John> what I use, but nothing jumped out at me... Yes. Most modern tape drives want a block size of 1MB

Hardlink Pitfalls (was: Patches for REALLY TINY 386 kernels)

2007-07-16 Thread Al Boldi
Satyam Sharma wrote: > Or just "cp -al" to create multiple trees at (almost) no disk cost > that won't interfere with each other in any way, and makes the > development process / generating patchsets trifle easier as well ... That would be correct if hardlinks would actually do a CoW on modify, in

CONFIG_PREEMPT_RT Patch and UDP/IP on Ethernet in real time.

2007-07-16 Thread M. Koehrer
Hi everybody, I have a question concerning Ingo Molnar's realtime preempt patch. This patch is great go get low latency on timer threads and a really good real time behaviour. I want to connect an external, embedded device via Ethernet (UDP/IP) to my Linux PC. This communication should be in real

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Roman Zippel
Hi, On Mon, 16 Jul 2007, Ingo Molnar wrote: > because when i assumed the obvious, you called it an > insult so please dont leave any room for assumptions and remove any > ambiguity - especially as our communication seems to be marred by what > appears to be frequent misunderstandings ;-) What

Re: [patch 5/6] ps3: BD/DVD/CD-ROM Storage Driver

2007-07-16 Thread Jens Axboe
On Mon, Jul 16 2007, James Bottomley wrote: > On Mon, 2007-07-16 at 14:16 +0200, Jens Axboe wrote: > > On Mon, Jul 16 2007, Geert Uytterhoeven wrote: > > > On Fri, 13 Jul 2007, Geert Uytterhoeven wrote: > > > > Ah, that explains it. flush_dcache_page() is used in some drivers. > > > > I'll update m

Re: [PATCH/RFC] msleep() with hrtimers

2007-07-16 Thread Jonathan Corbet
Hey, Roman, > One possible problem here is that setting up that timer can be > considerably more expensive, for a relative timer you have to read the > current time, which can be quite expensive (e.g. your machine now uses the > PIT timer, because TSC was deemed unstable). That's a possibility

<    1   2   3   4   5   6   >