Re: [PATCH debugfs: implement symbolic links

2007-02-14 Thread Peter 1 Oberparleiter
Greg KH [EMAIL PROTECTED] wrote on 14.02.2007 02:27:32: On Tue, Feb 13, 2007 at 12:13:54PM +0100, Peter Oberparleiter wrote: This function can be useful for people moving functionality from /proc to debugfs (e.g. the gcov-kernel patch). You aren't really creating debugfs symlinks from

Re: CPU load

2007-02-14 Thread Con Kolivas
On Wednesday 14 February 2007 18:28, malc wrote: On Wed, 14 Feb 2007, Con Kolivas wrote: On Wednesday 14 February 2007 09:01, malc wrote: On Mon, 12 Feb 2007, Pavel Machek wrote: Hi! [..snip..] I have (had?) code that 'exploits' this. I believe I could eat 90% of cpu without being

A problem with the load_elf_interp() in fs/binfmt_elf

2007-02-14 Thread shic
Hi ,All When I did some NFS mount operations, I found a problem with the load_elf_interp() in the fs/binfmt_elf. I mounted a number of NFS, after lots of continuous mount operations, the fatal error Segmentation fault happened with the mount.nfs4, as the count of the mount operations

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Ingo Molnar
* Davide Libenzi davidel@xmailserver.org wrote: There's another problem AFAICS: - We woke up one of the cachemiss_loop threads in pick_new_async_thread - The threads wakes up, mark itself as busy, and look at the -work pointer hoping to find something to work on But we

Re: kbuild, localversion (Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files)

2007-02-14 Thread Sam Ravnborg
What i currently have is: -- top file 'Linux.version', with first line: 3.0.0-rcX which can be parsed to fill variables, used in build process (how many `.' and/or `-' in it -- doesn't really matter), second line is the name; -- 'MM.version' for MM tree; -- '[a-z]*\.version' for

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-14 Thread Andrew Morton
On Wed, 14 Feb 2007 11:37:52 +0300 Vitaly Wool [EMAIL PROTECTED] wrote: On 2/14/07, Andrew Morton [EMAIL PROTECTED] wrote: I think this should be a module option/boot parameter, not a config-time option. Hmm, why? I can't think of a platform where one 8250-compatible UART is

Re: Pull UBI tree

2007-02-14 Thread Artem Bityutskiy
On Tue, 2007-02-13 at 16:08 +, Christoph Hellwig wrote: Please send out a current version for review instead. Last time I looked at it lots of things looked quite over-engineered, and I'd like to check if this has been improved since. The patch is big and LKML does filtered the mail.

Re: undefined symbol 'PS3_PS3AV'

2007-02-14 Thread Geert Uytterhoeven
On Wed, 14 Feb 2007, Thomas Meyer wrote: with 93bbad8fe13a25dcf7f3bc628a71d1a7642ae61b: drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV' It's defined in arch/powerpc/platforms/ps3/Kconfig, which is sourced by

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Evgeniy Polyakov
On Tue, Feb 13, 2007 at 11:18:10PM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: * Evgeniy Polyakov [EMAIL PROTECTED] wrote: [...] it still has a problem - syscall blocks and the same thread thus is not allowed to continue execution and fill the pipe - so what if system issues

Re: undefined symbol 'PS3_PS3AV'

2007-02-14 Thread Paul Mundt
On Wed, Feb 14, 2007 at 09:57:46AM +0100, Geert Uytterhoeven wrote: On Wed, 14 Feb 2007, Thomas Meyer wrote: with 93bbad8fe13a25dcf7f3bc628a71d1a7642ae61b: drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV' It's defined in

SATA-performance part 2

2007-02-14 Thread Martin A. Fink
Dear all, now I installed oprofile as suggested, and very interesting things happend: System: OpenSuSE 10.2 with AHCI on, disk: Solid State Disk (Flash Disk) Test: Write blocks of 1MB. Do fsync() every 1GB. Measure time for each GB. before installation of oprofile: test

Re: kbuild feature/question: default ARCH

2007-02-14 Thread Sam Ravnborg
On Tue, Feb 13, 2007 at 10:06:19PM -0800, Randy Dunlap wrote: Hi, I'd like for kbuild to default ARCH to the already-symlinked arch in include/asm-$(ARCH) if ARCH is not specified on the command line or in the environment. Another approach I have been toying with previously was to include

Re: [patch] build error: allnoconfig fails on mincore/swapper_space

2007-02-14 Thread Nick Piggin
Hugh Dickins wrote: On Wed, 14 Feb 2007, Nick Piggin wrote: Can't you have migration without swap? Yes: but then the only swap entry it can find (short of page table corruption, which isn't really the focus of mincore) is a migration entry, isn't it? Just doesn't seem logical to have

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

2007-02-14 Thread Evgeniy Polyakov
On Tue, Feb 13, 2007 at 11:41:31PM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: Then limit it to a single page and use gup 1024 (512 on 64-bit) is alot but not ALOT. It is also certainly not ALT :-) Really, people will want to have more than 512 disks/spindles in the same box. I have

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Andreas Gruenbacher
On Monday 05 February 2007 00:32, Andreas Gruenbacher wrote: Here is an updated patch that also catches this special case. [...] The d_path change was to not start unreachable paths with slashes. In the extreme case, this leads to an empty string. As it turns out, we are reporting meaningless

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Olaf Hering
On Wed, Feb 14, Andreas Gruenbacher wrote: What's the point in reporting the rootfs at all -- it's never reachable to an ordinary process? /init and its childs has it as root, until it passes control over to /sbin/init - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Andreas Gruenbacher
On Wednesday 14 February 2007 00:29, Olaf Hering wrote: On Wed, Feb 14, Andreas Gruenbacher wrote: What's the point in reporting the rootfs at all -- it's never reachable to an ordinary process? /init and its childs has it as root, until it passes control over to /sbin/init Yes, that's

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Andy Parkins
On Wednesday 2007 February 14 03:14, Junio C Hamano wrote: - There is a configuration variable core.legacyheaders that The above two are not enabled by default and you explicitly have to ask for them, because these two features make repositories It isn't really the case that you have to

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Junio C Hamano
Andy Parkins [EMAIL PROTECTED] writes: On Wednesday 2007 February 14 03:14, Junio C Hamano wrote: - There is a configuration variable core.legacyheaders that The above two are not enabled by default and you explicitly have to ask for them, because these two features make repositories It

Re: Bug in current -git tree causing dbus and gnome to chew up cpu time

2007-02-14 Thread Alessandro Suardi
On 2/13/07, Greg KH [EMAIL PROTECTED] wrote: Hi, I've used 'git bisect' to track down a change in the latest git tree that is causing dbus-daemon to sit and spin at the time GNOME launches, preventing nautlius from ever running. The bad commit is: commit

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

2007-02-14 Thread Ingo Molnar
* Evgeniy Polyakov [EMAIL PROTECTED] wrote: This will end up badly - I used the same approach in the early kevent days and was proven to have swapable memory for the ring. I think it would be much better to have userspace allocated ring and use copy_to_user() there. it is a userspace

Re: Bug in current -git tree causing dbus and gnome to chew up cpu time

2007-02-14 Thread Andreas Gruenbacher
Hi, I've described the problem and possible fixes in the Re: [PATCH] Fix d_path for lazy unmounts thread, Message-Id: [EMAIL PROTECTED] Thanks, Andreas - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: undefined symbol 'PS3_PS3AV'

2007-02-14 Thread Geert Uytterhoeven
On Wed, 14 Feb 2007, Paul Mundt wrote: On Wed, Feb 14, 2007 at 09:57:46AM +0100, Geert Uytterhoeven wrote: On Wed, 14 Feb 2007, Thomas Meyer wrote: with 93bbad8fe13a25dcf7f3bc628a71d1a7642ae61b: drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer

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

2007-02-14 Thread Evgeniy Polyakov
On Wed, Feb 14, 2007 at 10:46:29AM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: * Evgeniy Polyakov [EMAIL PROTECTED] wrote: This will end up badly - I used the same approach in the early kevent days and was proven to have swapable memory for the ring. I think it would be much better

Re: undefined symbol 'PS3_PS3AV'

2007-02-14 Thread Paul Mundt
On Wed, Feb 14, 2007 at 11:02:06AM +0100, Geert Uytterhoeven wrote: On Wed, 14 Feb 2007, Paul Mundt wrote: This would seem like a reasonable candidate for a 'depends on' instead of a select.. That's what we originally had. But for the user it's simler if he can just enable ps3fb and/or

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

2007-02-14 Thread Arjan van de Ven
(at least on Debian and Mandrake there is no locked memory limit by default). that sounds like 2 very large bugtraq-worthy bugs in these distros.. so bad a bug that I almost find it hard to believe... -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the

xfs internal error on a new filesystem

2007-02-14 Thread Ramy M. Hassan
Hello, We got the following xfs internal error on one of our production servers: Feb 14 08:28:52 info6 kernel: [238186.676483] Filesystem sdd8: XFS internal error xfs_trans_cancel at line 1138 of file fs/xfs/xfs_trans.c. Caller 0xf8b906e7 Feb 14 08:28:52 info6 kernel: [238186.869089]

Re: [patch 06/11] syslets: core, documentation

2007-02-14 Thread Russell King
On Tue, Feb 13, 2007 at 03:20:42PM +0100, Ingo Molnar wrote: +Arguments to the system call are implemented via pointers to arguments. +This not only increases the flexibility of syslet atoms (multiple syslets +can share the same variable for example), but is also an optimization: +copy_uatom()

Re: xfs internal error on a new filesystem

2007-02-14 Thread Jan-Benedict Glaw
On Wed, 2007-02-14 10:24:27 +, Ramy M. Hassan [EMAIL PROTECTED] wrote: Feb 14 08:28:52 info6 kernel: [238186.945610] Filesystem sdd8: Corruption of in-memory data detected. Shutting down filesystem: sdd8 [...] We are wondering here if this problem is an indicator to data corruption on

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Ingo Molnar
* Evgeniy Polyakov [EMAIL PROTECTED] wrote: Let me clarify what I meant. There is only limited number of threads, which are supposed to execute blocking context, so when all they are used, main one will block too - I asked about possibility to reuse the same thread to execute queue of

Re: [PATCH]microcode update driver rewrite - takes 2

2007-02-14 Thread Alex Riesen
On 6/27/06, Shaohua Li [EMAIL PROTECTED] wrote: With the changes, we should put all intel-ucode/xx-xx-xx microcode files into the firmware dir (I had a tool to split previous big data file into small one and later we will release new style data file). BTW, where this tool can be found? At the

Will smp alternative try to patch init text also?

2007-02-14 Thread Vivek Goyal
Hi, I just built a 2.6.20 kernel with CONFIG_RELOCATABLE=y. While going through relocation entries for .smp_locks section, I see some relocation entries present w.r.t to init section also. Below I am pasting just few of them. Relocation section '.rel.smp_locks' at offset 0x6079c8 contains 4662

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

2007-02-14 Thread Evgeniy Polyakov
On Wed, Feb 14, 2007 at 11:30:55AM +0100, Arjan van de Ven ([EMAIL PROTECTED]) wrote: (at least on Debian and Mandrake there is no locked memory limit by default). that sounds like 2 very large bugtraq-worthy bugs in these distros.. so bad a bug that I almost find it hard to believe...

Re: xfs internal error on a new filesystem

2007-02-14 Thread Patrick Ale
On 2/14/07, Ramy M. Hassan [EMAIL PROTECTED] wrote: Hello, We got the following xfs internal error on one of our production servers: Hi, I want firstly to make a disclaimer that I am not an XFS or kernel guru, what I am writing now is purely my experience, since I use XFS on all my machines,

Re: Linux 2.6.19.2: maybe a bug inside the r8169 network driver (was Re: Linux 2.6.19.2: Freeze with CIFS mount)

2007-02-14 Thread Eric Lacombe
On Tuesday 13 February 2007 21:30:47 Francois Romieu wrote: Eric Lacombe [EMAIL PROTECTED] : [...] That problem also remind me that when I compiled this driver without the CONFIG_NET_ETHERNET (in the section Ethernet (10 or 100Mbit)), I have really poor performance with the net device.

Re: Will smp alternative try to patch init text also?

2007-02-14 Thread Gerd Hoffmann
Vivek Goyal wrote: So what happens if somebody builds a SMP kernel and runs on a UP machine. Later it hotplus one CPU. Then kernel will switch to SMP mode. Looking at the code it looks like it will also try to patch init text which is no more there and will corrupt something else? There are

Re: [PATCH] FAT: DIO-write fallback to normal buffered

2007-02-14 Thread Jan Kara
On Sat 10-02-07 23:44:01, OGAWA Hirofumi wrote: [RESEND: forget to add [EMAIL PROTECTED] If the DIO write on FAT is expanding the size, it will be fail by -EINVAL, because FAT can't handle it now. This patch fallback it to the normal buffered-write and would return success.

Re: [patch 06/11] syslets: core, documentation

2007-02-14 Thread Ingo Molnar
* Russell King [EMAIL PROTECTED] wrote: On Tue, Feb 13, 2007 at 03:20:42PM +0100, Ingo Molnar wrote: +Arguments to the system call are implemented via pointers to arguments. +This not only increases the flexibility of syslet atoms (multiple syslets +can share the same variable for

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Alan
Ohh. OpenVMS lives forever ;) Me likeee ;) hm, i dont know OpenVMS - but googled around a bit for 'VMS asynchronous' and it gave me this: VMS had SYS$QIO which is asynchronous I/O queueing with completions of sorts. You had to specifically remember if you wanted to a synchronous I/O.

Re: [patch 06/11] syslets: core, documentation

2007-02-14 Thread Russell King
On Wed, Feb 14, 2007 at 11:50:39AM +0100, Ingo Molnar wrote: * Russell King [EMAIL PROTECTED] wrote: On Tue, Feb 13, 2007 at 03:20:42PM +0100, Ingo Molnar wrote: +Arguments to the system call are implemented via pointers to arguments. +This not only increases the flexibility of syslet

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-14 Thread Pavel Machek
Hi! This adds the ability for the file system to remounted as read only during a system suspend. Log the mount points so when the resume occurs, they can be remounted back to their original states. This is so in an advent of a power failure, we try our best to keep data from being

Re: Will smp alternative try to patch init text also?

2007-02-14 Thread Vivek Goyal
On Wed, Feb 14, 2007 at 11:51:31AM +0100, Gerd Hoffmann wrote: Vivek Goyal wrote: So what happens if somebody builds a SMP kernel and runs on a UP machine. Later it hotplus one CPU. Then kernel will switch to SMP mode. Looking at the code it looks like it will also try to patch init text

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Evgeniy Polyakov
On Wed, Feb 14, 2007 at 11:37:31AM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: Let me clarify what I meant. There is only limited number of threads, which are supposed to execute blocking context, so when all they are used, main one will block too - I asked about possibility to reuse the

Re: Bug in current -git tree causing dbus and gnome to chew up cpu time

2007-02-14 Thread Alessandro Suardi
On 2/14/07, Andreas Gruenbacher [EMAIL PROTECTED] wrote: Hi, I've described the problem and possible fixes in the Re: [PATCH] Fix d_path for lazy unmounts thread, Message-Id: [EMAIL PROTECTED] Yes, I saw that. But there isn't any patch for me to test, and my userspace remains broken. Please

[pp] kbuild: ARCH-setup (Re: kbuild feature/question: default ARCH)

2007-02-14 Thread Oleg Verych
Hallo. On Wed, Feb 14, 2007 at 10:11:44AM +0100, Sam Ravnborg wrote: On Tue, Feb 13, 2007 at 10:06:19PM -0800, Randy Dunlap wrote: Hi, I'd like for kbuild to default ARCH to the already-symlinked arch in include/asm-$(ARCH) if ARCH is not specified on the command line or in the

Re: [PATCH 2.6.20 13/14] nfnetlink_log: fix reference counting

2007-02-14 Thread Michał Mirosław
On Tue, Feb 13, 2007 at 01:58:34PM +0100, Patrick McHardy wrote: Micha³ Miros³aw wrote: Fix reference counting (memory leak) problem in __nfulnl_send() and callers related to packet queueing. Signed-off-by: Michał Mirosław [EMAIL PROTECTED] ---

Re: [PATCH 2.6.20 14/14] nfnetlink_log: micro-optimization: inst-skb != NULL in __nfulnl_send()

2007-02-14 Thread Michał Mirosław
Patch updated to apply after a new version of 13/14: No other function calls __nfulnl_send() with inst-skb == NULL than nfulnl_timer(). Signed-off-by: Michał Mirosław [EMAIL PROTECTED] --- linux-2.6.20/net/netfilter/nfnetlink_log.c.12 2007-02-14 12:27:09.0 +0100 +++

Re: [ANN] Userspace M-on-N threading model implementation. Alpha release.

2007-02-14 Thread Pavel Machek
Hi! How does that work? Switching between kernel threads requires going into the kernel, user level thread switches are all done in user mode. Do you have some way to change o/s threads w/o going into the kernel? But going into kernel is not very expensive on Linux. On the other

Re: [PATCH] asus_acpi: Add support for Asus Z81SP

2007-02-14 Thread Oleg Verych
From: mitxael [EMAIL PROTECTED] Newsgroups: gmane.linux.kernel Subject: Re: [PATCH] asus_acpi: Add support for Asus Z81SP Date: Tue, 13 Feb 2007 22:30:29 + (UTC) Hi, And how do I can apply this patch?? I tried but i couldn't, patch is word-wrapped, try to mime-decode it first. this

Re: [PATCH 9/11] Panic delay fix

2007-02-14 Thread Pavel Machek
On Thu 2007-02-08 07:36:12, Rusty Russell wrote: On Wed, 2007-02-07 at 12:35 +, Pavel Machek wrote: Ugh, it sounds like paravirt is more b0rken then I thought. It should always to the proper delay, then replace those udelays that are not needed on virtualized hardware with something

Re: Free Linux Driver Development!

2007-02-14 Thread Pavel Machek
Hi! This kind of offer has _always_ been there for out-of-tree GPL drivers. I have contacted many different groups and driver authors over the years to offer my help in trying to get their code into the mainline kernel. Some take me up on the offer, others ignore it, and still others

Re: [PATCH 9/11] Panic delay fix

2007-02-14 Thread Alan
No, not that. But the virtual keyboard I/O gets processed and converted to physical keyboard I/O when a keyboard is attached to a VM. The result is that the virtual keyboard spinning out of control causes the physical keyboard to receive the same commands, far too rapidly. So the

Re: [PATCH 9/11] Panic delay fix

2007-02-14 Thread Alan
We'd have to audit and figure out what udelays are for hardware and which are not, but the evidence is that the vast majority of them are for hardware and not needed for virtualization. Which is irrelevant since the hardware drivers won't be used in a virtualised environment with any kind of

Re: [patch 00/11] ANNOUNCE: Syslets, generic asynchronous system call support

2007-02-14 Thread Pavel Machek
Hi! The boring details: Syslets consist of 'syslet atoms', where each atom represents a single system-call. These atoms can be chained to each other: serially, in branches or in loops. The return value of an executed atom is checked against the condition flags. So an atom can specify

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

2007-02-14 Thread Guillaume Chazarain
Ingo Molnar a écrit : + if (unlikely(signal_pending(t) || need_resched())) + goto stop; So, this is how you'll prevent me from running an infinite loop ;-) The attached patch adds a cond_resched() instead, to allow infinite loops without DoS. I dropped the unlikely() as

[RFC] drivers/scsi/advansys.c: Unused variable?

2007-02-14 Thread Richard Knutsson
Hi all This may be a petite question but does anyone know what the variable false_overrun (in drivers/scsi/advansys.c) is meant for? While converting the file to generic booleans I saw it is defined without value, can get the value of 'false' and then is used in an if-statement. So even if it

Re: somebody dropped a (warning) bomb

2007-02-14 Thread Sergei Organov
Olivier Galibert [EMAIL PROTECTED] writes: On Tue, Feb 13, 2007 at 09:06:24PM +0300, Sergei Organov wrote: [...] May I suggest another definition for a warning being entirely sucks? The warning is entirely sucks if and only if it never has true positives. In all other cases it's only more or

Re: [NFS] [PATCH 001 of 9] knfsd: nfsd4: fix non-terminated string

2007-02-14 Thread Ming Zhang
On Tue, 2007-02-13 at 10:44 +1100, NeilBrown wrote: From: J. Bruce Fields [EMAIL PROTECTED] The server name is expected to be a null-terminated string, so we can't pass in the raw client identifier. What's more, the client identifier is just a binary, not necessarily printable, blob. Let's

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Junio C Hamano
Junio C Hamano [EMAIL PROTECTED] writes: Andy Parkins [EMAIL PROTECTED] writes: On Wednesday 2007 February 14 03:14, Junio C Hamano wrote: - There is a configuration variable core.legacyheaders that The above two are not enabled by default and you explicitly have to ask for them, because

[patch 0/2] natsemi: Support Aculab E1/T1 cPCI carrier cards

2007-02-14 Thread Mark Brown
These patches add support for the Aculab E1/T1 cPCI carrier card to the natsemi driver. The first patch provides support for using the MII port with no PHY and the second adds the quirk required to configure the card. -- You grabbed my hand and we fell into it, like a daydream - or a fever. - To

[patch 2/2] natsemi: Support Aculab E1/T1 PMXc cPCI carrier cards

2007-02-14 Thread Mark Brown
Aculab E1/T1 PMXc cPCI carrier card cards present a natsemi on the cPCI bus with an oversized EEPROM using a direct MII-MII connection with no PHY. This patch adds a new device table entry supporting these cards. Signed-Off-By: Mark Brown [EMAIL PROTECTED] Index: linux/drivers/net/natsemi.c

[patch 1/2] natsemi: Add support for using MII port with no PHY

2007-02-14 Thread Mark Brown
This patch provides code paths which allow the natsemi driver to use the external MII port on the chip but ignore any PHYs that may be attached to it. The link state will be left as it was when the driver started and can be configured via ethtool. Any PHYs that are present can be accessed via the

[Xen-devel] Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-14 Thread Jan Beulich
Jeremy Fitzhardinge [EMAIL PROTECTED] 14.02.07 02:36 Dan Hecht wrote: Why doesn't Xen allocate the shared_info page from the pseudo-physical space? Doesn't it already have to steal pages from the pseudo-physical space for e.g. initial page tables, console, etc? Why not do the same for

Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-14 Thread Gerd Hoffmann
Dan Hecht wrote: Right. But that is only because Xen decides to allocate the page from the (machine) physical space, rather than from the pseudo-physical space. My question is: why doesn't Xen allocate shared_info from the pseudo-physical space? Historical reasons ... If it had, then

[Xen-devel] Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-14 Thread Jan Beulich
@@ -528,7 +532,7 @@ ENTRY(_stext) /* * BSS section */ -.section .bss.page_aligned,w +.section .bss.page_aligned Why? I got complaints about section attribute mismatches without it. Then perhaps ... aw is meant? +fastcall unsigned long long xen_pgd_val(pgd_t pgd) +{ +

Re: [Xen-devel] Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-14 Thread Andi Kleen
On Wed, Feb 14, 2007 at 08:37:26AM +, Jan Beulich wrote: Jeremy Fitzhardinge [EMAIL PROTECTED] 14.02.07 02:36 Dan Hecht wrote: Why doesn't Xen allocate the shared_info page from the pseudo-physical space? Doesn't it already have to steal pages from the pseudo-physical space for e.g.

Re: [patch 02/21] Xen-paravirt: Handle a zero-sized VT console

2007-02-14 Thread Gerd Hoffmann
Jeremy Fitzhardinge wrote: If we're running under Xen, then there's no VT console. This results in vc-vc_screenbuf_size == 0, which causes alloc_bootmem to panic. Don't bother allocating a vc_screenbuf if its going to be 0 sized. NAK. The *real* problem is that the real-mode boot code never

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-14 Thread Balbir Singh
[EMAIL PROTECTED] wrote: This patch removes all cpuset-specific knowlege from the container system, replacing it with a generic API that can be used by multiple subsystems. Cpusets is adapted to be a container subsystem. Signed-off-by: Paul Menage [EMAIL PROTECTED] Hi, Paul, This patch

Re: [GIT PATCH] ACPI patches for 2.6.21

2007-02-14 Thread Pavel Machek
Hi! Not including another /proc/acpi/ibm -like nightmare, is it? Don't worry, I am already on my way to kill /proc/acpi/ibm... :-) Great, thanks! Pavel None of the platform/hwmon/led driver model code landed there

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

2007-02-14 Thread Stephen Rothwell
Hi Ingo, On Tue, 13 Feb 2007 15:20:35 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: From: Ingo Molnar [EMAIL PROTECTED] the core syslet / async system calls infrastructure code. It occurred to me that the 32 compat code for 64 bit architectures for all this could be very hairy ... -- Cheers,

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

2007-02-14 Thread Kawai, Hidehiro
Hi, I'm sorry that I couldn't reply you sooner. Pavel Machek wrote: Okay, I'll adopt your idea in the next version. I'm going to provide the proc entry as follows: (1) /proc/pid/core_flags/flags (2) /proc/pid/core_flags/omit_anon_shared (1) is the same as current core_flags. It is for

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

2007-02-14 Thread Pavel Machek
Hi! Can we simply add ulimit with boolean value, that says dump anon_shared... or not? It will be simpler and faster, because you'll not need locking. Yes, using ulimit will be simpler and faster, but less flexible. It is prefered in this case. The core dump flags can be changed only

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-14 Thread Vitaly Wool
On 2/14/07, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 14 Feb 2007 11:37:52 +0300 Vitaly Wool [EMAIL PROTECTED] wrote: Hmm, why? I can't think of a platform where one 8250-compatible UART is problematic and another isn't :) Is it not possible that the same kernel package can be installed

Re: [RFC][PATCH 6/6] automatic tuning applied to some kernel components

2007-02-14 Thread Al Boldi
ebiederm wrote: At a quick glance max_threads and max_files appear even more to be DOS limits and not tunables and even less applicable to needing any tuning at all. My gut feel is at worst these values may need a little better boot time defaults but otherwise they the should be good.

[ANNOUNCE] TOMOYO Linux 1.3.2 released

2007-02-14 Thread Tetsuo Handa
Hello! TOMOYO Linux is an access control enhancement patch utilizing struct task_struct. http://tomoyo.sourceforge.jp/ It supports 2.4.30 and later/2.6.11 and later vanilla kernels and some of distributor's kernels. Kickstarting page for CentOS 4.4, Fedora Core 6, Debian Sarge, and Ubuntu 6.10

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

2007-02-14 Thread Jan Kara
On Sun 11-02-07 14:59:53, Frank Hartmann wrote: Jan Kara [EMAIL PROTECTED] writes: OK, thanks for the news. Please, write me when you try out 2.6.20. Just if it rings bell to someone on this list: It looks like the page had no buffers but PagePrivate was set. Strange. Hi Jan, below

Re: [KJ] Basics of linux kernel development.

2007-02-14 Thread Jesper Juhl
On 14/02/07, RIz Khan [EMAIL PROTECTED] wrote: Dear Sir/Madam, I have an interview at symantec and i need to knw about Linux kernel development using C. I have done prgramming in C++ but in windows enviorment but i dont kknw nothing about linux and especially about kernel development. I would

[RFC PATCH(Experimental) 0/4] Freezer based Cpu-hotplug

2007-02-14 Thread Gautham R Shenoy
Hello Everybody, This is an experiment towards process_freezer based implementation of cpu-hotplug. This is mainly based on ideas of Andrew Morton, Ingo Molnar and Paul Mckenney featured in the discussion http://lkml.org/lkml/2007/1/31/323. This is an absolute bare-minimal implementation to

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

2007-02-14 Thread Gautham R Shenoy
This patch implements process_freezer based cpu-hotplug core. The sailent features are: o No more (un)lock_cpu_hotplug. o No more CPU_LOCK_ACQUIRE and CPU_LOCK_RELEASE. Hence no per-subsystem hotcpu mutexes. o Calls freeze_process/thaw_processes at the beginning/end of the hotplug operation.

[RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-14 Thread Gautham R Shenoy
This patch reverts all the recent workqueue hacks added to make it hotplug safe. Signed-off-by : Srivatsa Vaddagiri [EMAIL PROTECTED] Signed-off-by : Gautham R Shenoy [EMAIL PROTECTED] kernel/workqueue.c | 225 +++-- 1 files changed, 98

[RFC PATCH(Experimental) 3/4] Revert changes to sched.c and slab.c

2007-02-14 Thread Gautham R Shenoy
This patch removes the per-subsystem hotcpu mutexes from sched and slab subsystems. Signed-off-by : Gautham R Shenoy [EMAIL PROTECTED] -- kernel/sched.c | 16 mm/slab.c |6 -- 2 files changed, 22 deletions(-) Index: hotplug/kernel/sched.c

[RFC PATCH(Experimental) 4/4] Rip out lock_cpu_hotplug from linux.

2007-02-14 Thread Gautham R Shenoy
This patch rips out lock_cpu_hotplug from the kernel. Good Riddance!! (hopefully :) ) Signed-off-by : Gautham R Shenoy [EMAIL PROTECTED] -- arch/i386/kernel/cpu/mtrr/main.c |6 -- arch/i386/kernel/microcode.c |8 arch/mips/kernel/mips-mt.c

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-14 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 08:13:05PM +0530, Gautham R Shenoy wrote: This patch reverts all the recent workqueue hacks added to make it hotplug safe. Oleg, This patch probably needs review for any races we may have missed to account for. Also we have considered only workqueue.c present

[PATCH, RFC] adjust legacy IDE resource setting

2007-02-14 Thread Jan Beulich
The change to force legacy mode IDE channels' resources to fixed non-zero values confuses (at least some versions of) X, because the values reported by the kernel and those readable from PCI config space aren't consistent anymore. Therefore, this patch arranges for the respective BARs to also get

Problem with 2.6.20 and highmem64

2007-02-14 Thread Nilshar
Hello, I have an issue with latest 2.6.20 kernel.. my last kernel was a 2.6.18 and I wanted to upgrade to a 2.6.20, I copied .config and did a make menuconfig, then save/quit. I compiled new kernel, all went fine. I installed it and at boot time, I had a hang just after Freeing unused kernel

Re: [RFC PATCH(Experimental) 2/4] Revert changes to workqueue.c

2007-02-14 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 08:13:05PM +0530, Gautham R Shenoy wrote: + switch (action) { + case CPU_UP_PREPARE: + /* Create a new workqueue thread for it. */ + list_for_each_entry(wq, workqueues, list) { Its probably safe to take the workqueue (spin) lock here

Measuring cpu time using getrusage

2007-02-14 Thread Johann Schuster
Hello, currently i'm trying to measure the cpu times for numerical algorithms written in C using two calls of getrusage() and then calculating the time difference. According to the man page of getrusage i looked at the user time of my process. Surprisingly the measured user times vary strongly

Re: [PATCH, RFC] adjust legacy IDE resource setting

2007-02-14 Thread Alan
On Wed, 14 Feb 2007 15:05:24 + Jan Beulich [EMAIL PROTECTED] wrote: The change to force legacy mode IDE channels' resources to fixed non-zero values confuses (at least some versions of) X, because the values reported by the kernel and those readable from PCI config space aren't consistent

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

2007-02-14 Thread Srivatsa Vaddagiri
On Wed, Feb 14, 2007 at 08:12:29PM +0530, Gautham R Shenoy wrote: o Can the SYSTEM_RUNNING hack in _cpu_up be avoided by some cleaner means. Basically freeze_processes doesnt seem to work at the early stages of bootup (during smp_init) and hence the hack. One option is to investigate why it

atmel-wlan-driver in 2.6.20-rt5

2007-02-14 Thread Dragan Noveski
hi to the list! i have problems getting the at76c503a-driver running on linux-2.6.20-rt5. since i did not subscribed to the list, please add my email address as CC for all postings which are related to this one, so that i receive it. the problem is this: i just build the 2.6.20 kernel and

Re: [PATCH, RFC] adjust legacy IDE resource setting

2007-02-14 Thread Jan Beulich
Alan [EMAIL PROTECTED] 14.02.07 16:40 On Wed, 14 Feb 2007 15:05:24 + Jan Beulich [EMAIL PROTECTED] wrote: The change to force legacy mode IDE channels' resources to fixed non-zero values confuses (at least some versions of) X, because the values reported by the kernel and those readable

Re: [PATCH, RFC] adjust legacy IDE resource setting

2007-02-14 Thread Alan
The masking is done primarily to (a) calculate the correct length (from a BAR's perspective), as I don't want to write the BAR if its length doesn't match the expectation, and (b) to properly report the new value in the printk. Ok I guess you have to do something like that since you can't

no swap!

2007-02-14 Thread Thibaud Hulin
Hi ! After compiling the kernel, I discover that my computer don't use the swap. So, I try a cat .config |grep SW, and I got : CONFIG_SWAP=y # CONFIG_X86_VISWS is not set CONFIG_X86_BSWAP=y CONFIG_SUSPEND2_SWAP=y CONFIG_SUSPEND2_REPLACE_SWSUSP=y # CONFIG_AGP_SWORKS is not set

Re: [linux-pm] [RFC][PATCH] PM: Document requirements for basic PM support in drivers

2007-02-14 Thread Igor Stoppa
On Tue, 2007-02-13 at 10:47 +1100, ext Nigel Cunningham wrote: Hi. On Tue, 2007-02-13 at 00:23 +0100, Rafael J. Wysocki wrote: Hi, Here's my attempt to document the requirements with respect to the basic PM support in drivers and the testing of that. Comments welcome. Greetings,

Re: no swap!

2007-02-14 Thread Benoit Boissinot
On 2/14/07, Thibaud Hulin [EMAIL PROTECTED] wrote: Hi ! distro related: check https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/66637 and all the duplicates After compiling the kernel, I discover that my computer don't use the swap. So, I try a cat .config |grep SW, and I got :

Re: Bug in current -git tree causing dbus and gnome to chew up cpu time

2007-02-14 Thread Greg KH
On Wed, Feb 14, 2007 at 12:13:52PM +0100, Alessandro Suardi wrote: On 2/14/07, Andreas Gruenbacher [EMAIL PROTECTED] wrote: Hi, I've described the problem and possible fixes in the Re: [PATCH] Fix d_path for lazy unmounts thread, Message-Id: [EMAIL PROTECTED] Yes, I saw that. But there

Re: [PATCH 5/8] lguest: trivial guest network driver

2007-02-14 Thread Herbert Xu
On Wed, Feb 14, 2007 at 03:47:55PM +1100, Rusty Russell wrote: It's also used to generate dma structs for outgoing packets. In that case, skb_headlen() == 0: I see, in that case you're guaranteed to have no fragments. Still it feels a bit weird to have a length field that only applies to the

Re: [ANNOUNCE] GIT 1.5.0

2007-02-14 Thread Bill Lear
On Tuesday, February 13, 2007 at 19:14:16 (-0800) Junio C Hamano writes: The latest feature release GIT 1.5.0 is available at the usual places: ... I do think worth pointing out that, quite significantly, you can now use git-daemon to push changes into a repo, something very handy for private

Re: [PATCH] Fix d_path for lazy unmounts

2007-02-14 Thread Linus Torvalds
On Wed, 14 Feb 2007, Andreas Gruenbacher wrote: Mountpoints are reported relative to the chroot if they are reachable from the chroot, and relative to the namespace they are defined in otherwise. This is big nonsense, but it's unclear to me how to best fix it: Well, it's also what a

Re: smp and irq conflict

2007-02-14 Thread Bill Davidsen
Benny Amorsen wrote: BD == Bill Davidsen [EMAIL PROTECTED] writes: BD You may be able to move one board to another slot, but looking at BD the bandwidth I suspect you may need a server motherboard with BD multiple busses, preferably running at 66MHz 64bit. I don't think BD this is

  1   2   3   4   5   6   7   8   >