Re: [PATCH 3/3] [CRYPTO] Add optimized SHA-1 implementation for x86_64

2007-06-11 Thread Andi Kleen
Benjamin Gilbert [EMAIL PROTECTED] writes: +/* push/pop wrappers that update the DWARF unwind table */ +#define PUSH(regname)\ + push%regname; \ + CFI_ADJUST_CFA_OFFSET 8;

Re: [PATCH 2/3] [CRYPTO] Add optimized SHA-1 implementation for i486+

2007-06-11 Thread Andi Kleen
Matt Mackall [EMAIL PROTECTED] writes: Have you benchmarked this against lib/sha1.c? Please post the results. Until then, I'm frankly skeptical that your unrolled version is faster because when I introduced lib/sha1.c the rolled version therein won by a significant margin and had 1/10th the

Re: ext2 on flash memory

2007-06-11 Thread Eduard-Gabriel Munteanu
*This message was transferred with a trial version of CommuniGate(r) Pro* DervishD wrote: *This message was transferred with a trial version of CommuniGate(r) Pro* *This message was transferred with a trial version of CommuniGate(r) Pro* Hi all :) I was wondering: is there any reason

Re: ide0=noprobe, hda=noprobe, hda=none ignored?

2007-06-11 Thread Alexander E. Patrakov
Carlo Wood wrote: I've been trying for months to get my box to boot faster by ignoring the not connected hda/hdb (ide0). ansset:~dmesg | egrep '(noprobe|ide0|hda|hdb)' Kernel command line: root=/dev/hde3 ro ide0=noprobe ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:pio, hdb:pio Probing

Re: How to get an IDE Hard Reset, not a Soft Reset?

2007-06-11 Thread Ralph Corderoy
Hi Ondrej, Ondrej Zary wrote: Ralph Corderoy wrote: As I understand it, an IDE hard drive can be reset in three ways. A power-on reset, a hard reset caused by pin 1 (RESET-) on the IDE connector, and a soft reset (bit SRST in the device control register). RESET- is held low on a power

Re: ext3fs: umount+sync not enough to guarantee metadata-on-disk

2007-06-11 Thread Jan Kara
Andrew Morton wrote: On Thu, 07 Jun 2007 12:11:58 -0400 Chuck Ebbert [EMAIL PROTECTED] wrote: On 06/07/2007 11:41 AM, Andrew Morton wrote: mount /var/lib/mythtv -oremount,ro sync umount /var/lib/mythtv Did this succeed? If the application is still truncating that file, the

Re: [PATCH]: complete cleanup of check_region

2007-06-11 Thread Jesper Juhl
On 08/06/07, Surya [EMAIL PROTECTED] wrote: snip msg(DBG_INI,check_drives done.\n); + if(request_region_flag==0) + release_region(addr[1],4); I know the driver in its current version just tests if the region is available and doesn't

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Rene Herman
On 06/11/2007 12:46 PM, KAMEZAWA Hiroyuki wrote: Qi Yong [EMAIL PROTECTED] wrote: On 11/06/07, KAMEZAWA Hiroyuki [EMAIL PROTECTED] wrote: Hi, thank you for your work. I was impressed. BTW, how about adding following lines (both in Japanese and English) ? == This is translated HOWTO

Re: [RFC] [Patch 4/4] lock contention tracking slimmed down

2007-06-11 Thread Martin Peschke
Bill Huey (hui) wrote: However, I don't understand why all of this is so heavy weight when the current measurements that Peter makes is completely sufficient for any reasonable purpose I can think of at the moment. It wasn't meant to be or to stay heavy weight. To make the best of my recent

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-11 Thread Tarkan Erimer
Ingo Molnar wrote: * Tarkan Erimer [EMAIL PROTECTED] wrote: (*) And I've been pushing for that since before they even released it - I walked out on Bill Joy at a private event where they discussed their horrible previous Java license. Thanks for making things more clear :-) Some

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread KAMEZAWA Hiroyuki
On Mon, 11 Jun 2007 13:16:56 +0200 Rene Herman [EMAIL PROTECTED] wrote: Oh, sorry. I know I have language problem for years. My doc itself is of-no-use, I know. They will write their own by themselves. Please don't say that -- I perfectly understood what you were saying and as such it

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-11 Thread Sean
On Mon, 11 Jun 2007 02:33:30 -0700 (PDT) [EMAIL PROTECTED] wrote: Ok, you are proposing throwing out all the label handling that SELinux does, including any caching. forgive me if I agree with the SELinux people that this is a very bad idea. Well presumably AA would be doing caching etc..

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Rene Herman
On 06/11/2007 01:28 PM, KAMEZAWA Hiroyuki wrote: Rene Herman [EMAIL PROTECTED] wrote: Please don't say that -- I perfectly understood what you were saying and as such it was of perfect use. There's a large number of non-native English speakers around the Linux kernel and noone is expected

Re: Kernel BUG when using corrupted ext3 fs

2007-06-11 Thread Jan Kara
Hello, I had to hard shutdown a fc6 machine due to vmware and nvidia doing ridiculous things to my screen resolution and locking up. ugh. Anyway, upon reboot it recovers the journal and mounts / rw fine. Then rc.sysinit tries to delete various things from /tmp (.ICE-unix, .font stuff,

Re: ext2 on flash memory

2007-06-11 Thread Tomasz Chmielewski
Eduard-Gabriel Munteanu wrote: (...) Your USB pendrive will wear faster if you use an inappropriate filesystem. Such filesystems require frequent writes and change their internal state often. This could be alleviated by COWing the filesystem somehow and flushing writes when you're

USB remote control missing keycodes

2007-06-11 Thread Islam Amer
Hello all. I have a remote control device, with an IR transciever that plugs into a USB port and registers as an input device. All the buttons on the remote work fine except for the back , text , and three grey buttons at the top. Here is the relevant /proc/bus/input/devices entry : I:

fix oops on cat /dev/snapshot

2007-06-11 Thread Pavel Machek
What /dev/snapshot is simply cat-ed -- without ioctls used in normal operation -- it oopses. This one should fix it. Signed-off-by: Pavel Machek [EMAIL PROTECTED] --- clean-mm/kernel/power/user.c2007-06-09 16:18:12.0 +0200 +++ linux-mm/kernel/power/user.c2007-06-11

Re: [RFC] [Patch 4/4] lock contention tracking slimmed down

2007-06-11 Thread Martin Peschke
Peter Zijlstra wrote: On Wed, 2007-06-06 at 23:34 +0200, Martin Peschke wrote: +#ifdef CONFIG_LOCK_STAT +enum lock_stat_enum { + LOCK_STAT_CONT, + LOCK_STAT_WAIT_READ, + LOCK_STAT_WAIT_WRITE, + LOCK_STAT_HOLD_READ, + LOCK_STAT_HOLD_WRITE, + _LOCK_STAT_NUMBER

Re: [KJ] Re: [PATCH] drivers/isdn/hisax: ARRAY_SIZE instead of sizeof

2007-06-11 Thread Darren Jenkins
G'day Andi, On 6/11/07, Andi Drebes [EMAIL PROTECTED] wrote: I'd suggest to not use another define, but use ARRAY_SIZE(foo) _instead of_ eg. FNCOUNT. I thought of this, too, but I tried to keep things consistent. Let me explain that a little bit more in detail. If you have a look at the

Re: 2.6.22-rc regression: s2ram fails to suspend + fails to resume w/ Xorg

2007-06-11 Thread Stefan Seyfried
On Sun, Jun 10, 2007 at 06:44:07PM +0200, Soeren Sonnenburg wrote: Dear all, I noticed 2 regressions to 2.6.21.X on my macbook pro: 1. on git-current something broke s2ram completely, i.e. s2ram does not even suspend anymore but hangs (blinking cursor on console) I have had a report,

Re: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Oleg Verych
* Date: Thu, 10 May 2007 10:09:39 +1000 On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: From: Rusty Russell [EMAIL PROTECTED] This is the structure offsets required by lg.ko's switcher.S. Unfortunately we

[GIT PULL] Blackfin patches for 2.6.22-rc4

2007-06-11 Thread Bryan Wu
Blackfin architecture update patches, fixed some bugs and added support for latest BF54x. Blackfin serial, SPI, SMC91x watchdog drivers update. Please pull from 'master' branch of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git master Thanks a lot -Bryan Wu Aubrey Li (2):

[Documentation] laptop-mode

2007-06-11 Thread Renato S. Yamane
Hi for all! in linux-2.6.21.1/Documentation/laptop-mode.txt we see this link: http://www.xs4all.nl/~bsamwel/laptop_mode/tools/ But it not exist. And this too: ...which is located in /etc/default/laptop-mode on Debian-based systems... But in Debian Etch correct is:

Re: [patch 4/9] lguest: the asm offsets

2007-06-11 Thread Sam Ravnborg
On Mon, Jun 11, 2007 at 02:49:32PM +0200, Oleg Verych wrote: * Date: Thu, 10 May 2007 10:09:39 +1000 On Wed, 2007-05-09 at 22:46 +0200, Sam Ravnborg wrote: On Wed, May 09, 2007 at 02:51:36AM -0700, [EMAIL PROTECTED] wrote: From: Rusty Russell [EMAIL PROTECTED] This is the

Re: [RESENT][TRIVIAL][PATCH] SELinux: Use %lu for inode-i_no when printing avcs

2007-06-11 Thread James Morris
On Mon, 11 Jun 2007, Tobias Oed wrote: Resending this to a wider audience since the first attempt was mangled and I haven't heard anything in a week. Inode numbers are unsigned long and so need to %lu as format string of printf. I have no idea why the __attribute__((format,..)) of

IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Vegard Nossum
Hello, I receive this on a fresh install of Fedora 7 (x86_64) running 2.6.21-1.3194.fc7, and wonder if it's something to worry about: IRQ handler type mismatch for IRQ 7 current handler: parport0 Call Trace: [802add90] setup_irq+0x1ba/0x1d5 [8039a759]

Re: IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Ingo Molnar
* Vegard Nossum [EMAIL PROTECTED] wrote: I receive this on a fresh install of Fedora 7 (x86_64) running 2.6.21-1.3194.fc7, and wonder if it's something to worry about: IRQ handler type mismatch for IRQ 7 current handler: parport0 [802adf6d] request_irq+0xd7/0xfd

API changes / 2.6.21 sysctl changes

2007-06-11 Thread Bernd Schubert
Hi, in 2.6.21 register_sysctl_table(), struct ctl_table and probably something else did change. Unfortunately so far I didn't figure out the something else. Please, if generic interface modifications render all available documentation in the web invalid, is it so hard to also write kernel

Re: IRQ handler type mismatch for IRQ 7

2007-06-11 Thread Vegard Nossum
On 6/11/07, Ingo Molnar [EMAIL PROTECTED] wrote: so both parport and serial is on the same IRQ: #7, but the parport one does not support shared interrupt lines (IRQF_SHARED). You can probably change the mapping in the BIOS (change the serial one to say IRQ#3 or IRQ#4). I suspect you dont have

Re: Add INPUT support to toshiba_acpi

2007-06-11 Thread Renato S. Yamane
Richard Hughes wrote: What's the status of this patch? Good for merging? Do you want me to redo the current patch using input-polldev and the new setkeycode stuff? A detail: I receive error message (no such device) when I try load toshiba_acpi on my Toshiba M45-S355 (BIOS is Toshiba and NOT

Re: [RFD] Documentation/HOWTO translated into Japanese

2007-06-11 Thread Matt Mackall
On Sun, Jun 10, 2007 at 11:07:59PM -0700, Greg KH wrote: So, Tsugikazu, care to resend this file as a patch that I can apply to the Documentation directory of the kernel tree? I think it would be good to have there. I'd rather have a single file, marked Japanese (in Japanese), that had

Re: 2.6.21-rt9 - IRQ23 consuming a steady 2.7% of CPU

2007-06-11 Thread Mark Knecht
On 6/11/07, Ingo Molnar [EMAIL PROTECTED] wrote: * Mark Knecht [EMAIL PROTECTED] wrote: Hi Ingo, Yep, that solved it on my machine. I did have to patch using 'patch -p1 -R' I think that's because the paths in your patch file are maybe based on your work setup? I don't know. I'm amazed

Re: [PATCH] fuse: -fs_flags fixlet

2007-06-11 Thread Miklos Szeredi
fs/fuse/inode.c:658:3: error: Initializer entry defined twice fs/fuse/inode.c:661:3: also defined here Duh, that's a stupid conflict. I wonder why I don't get this compile error... Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] Acked-by: Miklos Szeredi [EMAIL PROTECTED] Andrew, please

Re: 2.6.22-rc1-mm1

2007-06-11 Thread Andy Whitcroft
Andy Whitcroft wrote: H. Peter Anvin wrote: Andy Whitcroft wrote: It definitely sounds like a memory clobber of some sort. Usual suspects, in addition to the input/output buffers you already looked at, would be the heap and the stack. Finding where the stack pointer lives would be my

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-11 Thread Andrey Borzenkov
On Monday 11 June 2007, Bjorn Helgaas wrote: {pts/1}% lspnp -vv 00:0a 00:0a SMCf010 SMC Fast Infrared Port state = active allocated resources: io 0x100-0x107 ... {pts/1}% cat /proc/ioports ... 0100-013f : pcmcia_socket0 ... {pts/1}% sudo cat

Re: Kernel BUG when using corrupted ext3 fs

2007-06-11 Thread Karl Pickett
On 6/11/07, Jan Kara [EMAIL PROTECTED] wrote: Hello, I had to hard shutdown a fc6 machine due to vmware and nvidia doing ridiculous things to my screen resolution and locking up. ugh. Anyway, upon reboot it recovers the journal and mounts / rw fine. Then rc.sysinit tries to delete

kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Haavard Skinnemoen
While trying to get SLUB debugging to not break DMA on AVR32, I ran into this: (...) adding slab: name=kmalloc-64 size=64 objsize=64 adding slab: name=kmalloc-32 size=32 objsize=32 adding slab: name=kmalloc-16 size=32 objsize=16 kobject_add failed for :032 with -EEXIST, don't try to register

Re: How does dummy network driver get its mac addresses?

2007-06-11 Thread Mike Schmidt
Thanks a lot for the responses I've received. I really appreciate the help. Sorry about posting in the wrong mailing list. I'll pay more attention next time. Mike Stephen Hemminger wrote: On Fri, 08 Jun 2007 15:03:42 -0400 Mike Schmidt [EMAIL PROTECTED] wrote: please cc me directly

Re: fix oops on cat /dev/snapshot

2007-06-11 Thread Rafael J. Wysocki
On Monday, 11 June 2007 14:17, Pavel Machek wrote: What /dev/snapshot is simply cat-ed -- without ioctls used in normal operation -- it oopses. This one should fix it. Signed-off-by: Pavel Machek [EMAIL PROTECTED] --- clean-mm/kernel/power/user.c 2007-06-09 16:18:12.0 +0200

PATCH -mm] fix create_new_namespaces() return value

2007-06-11 Thread Cedric Le Goater
The following patch modifies create_new_namespaces() to also use the errors returned by the copy_*_ns routines and not to systematically return ENOMEM. Signed-off-by: Cedric Le Goater [EMAIL PROTECTED] Cc: Serge E. Hallyn [EMAIL PROTECTED] Cc: Badari Pulavarty [EMAIL PROTECTED] Cc: Pavel

Re: fix oops on cat /dev/snapshot

2007-06-11 Thread Pavel Machek
Hi! What /dev/snapshot is simply cat-ed -- without ioctls used in normal operation -- it oopses. This one should fix it. Signed-off-by: Pavel Machek [EMAIL PROTECTED] --- clean-mm/kernel/power/user.c2007-06-09 16:18:12.0 +0200 +++ linux-mm/kernel/power/user.c

Attachment Discarded!

2007-06-11 Thread postmaster
WARNING: Message attachments violating Corporate Express' security policy have been discarded! *** Source Mailbox: linux-kernel@vger.kernel.org Destination Mailbox: [EMAIL PROTECTED] Message Subject: Delivery reports about your e-mail

[mm patch] fuse: fix double fs_flags initializer

2007-06-11 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Thanks to Alexey Dobriyan for spotting the other one. Signed-off-by: Miklos Szeredi [EMAIL PROTECTED] --- Index: linux/fs/fuse/inode.c === --- linux.orig/fs/fuse/inode.c 2007-06-11

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-11 Thread Stephen Smalley
On Mon, 2007-06-11 at 01:10 +0200, Andreas Gruenbacher wrote: On Wednesday 06 June 2007 15:09, Stephen Smalley wrote: On Mon, 2007-06-04 at 16:30 +0200, Andreas Gruenbacher wrote: On Monday 04 June 2007 15:12, Pavel Machek wrote: How will kernel work with very long paths? I'd suspect

Re: 2.6.21.3 Oops (was Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd)

2007-06-11 Thread Marco Berizzi
Satyam Sharma wrote: Hi Marco, Ciao Satyam, thanks for the feedback. [ Re-adding David, XFS, Andrew and Christoph; this appears to be some SLAB / fs (?) issue, so I'm a little out of my depth here :-) ] On 6/8/07, Marco Berizzi [EMAIL PROTECTED] wrote: After few hours linux has

Re: 2.6.22-rc4-mm2: GPF during suspend to RAM on HPC nx6325

2007-06-11 Thread Rafael J. Wysocki
On Monday, 11 June 2007 09:17, Tejun Heo wrote: Hello, Rafael. Rafael J. Wysocki wrote: gregkh-driver-sysfs-use-singly-linked-list-for-sysfs_dirent-tree.patch breaks suspend to RAM on HPC nx6325 (x86_64). With this patch applied I get a general protection fault in mutex_lock+0x15

2.6.22-rc4-mm2: Resume from RAM on HPC nx6325 broken

2007-06-11 Thread Rafael J. Wysocki
Hi, Here's the result of the search for the second patch that breaks resuming from RAM on HPC nx6325 (x86_64): ide-ide-hpa-detect-from-resume.patch The symptom is that after the resume there's no backlight and the screen apparently doesn't work, 100% of the time, although apart from this the

Re: v2.6.21.4-rt11

2007-06-11 Thread Paul E. McKenney
On Mon, Jun 11, 2007 at 09:36:34AM +0200, Ingo Molnar wrote: * Paul E. McKenney [EMAIL PROTECTED] wrote: 2.6.21.4-rt12 boots on 4-CPU Opteron and passes several hours of rcutorture. However, if I simply do modprobe rcutorture, the kernel threads do not spread across the CPUs as I

[PATCH] swsusp: Fix userland interface

2007-06-11 Thread Rafael J. Wysocki
[2.6.22 candidate, IMHO] --- From: Rafael J. Wysocki [EMAIL PROTECTED] Fix oops caused by 'cat /dev/snapshot', reported by Arkadiusz Miskiewicz, and make it impossible to thaw tasks with the help of the swsusp userland interface while there is a snapshot image ready to save. Signed-off-by:

[RFC][PATCH -mm 0/7] PM: Remove unused and unnecessary features from suspend and resume core

2007-06-11 Thread Rafael J. Wysocki
Hi, The following series of patches removes some unused and unnecessary features from the suspend and resume core code. Comments welcome. Greetings, Rafael -- Premature optimization is the root of all evil. - Donald Knuth - To unsubscribe from this list: send the line unsubscribe

[RFC][PATCH -mm 2/7] PM: Remove saved_state from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The saved_state member of struct dev_pm_info, defined in include/linux/pm.h, is not used anywhere, so it can be removed. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] --- include/linux/pm.h |1 - 1 file changed, 1 deletion(-) Index:

[RFC][PATCH -mm 1/7] PM: Remove pm_parent from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The pm_parent member of struct dev_pm_info (defined in include/linux/pm.h) is only used to check if the device's parent is in the right state while the device is being suspended or resumed. However, this can be done just as well with the help of the

[RFC][PATCH -mm 4/7] PM: Remove suspend and resume support from struct device_type

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The suspend and resume support in struct device_type (include/linux/device.h) is not used anywhere. It is also undocumented, so it can be removed. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] --- drivers/base/power/resume.c |5 -

[RFC][PATCH -mm 5/7] PM: Remove prev_state from struct dev_pm_info

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The prev_state member of struct dev_pm_info (defined in include/linux/pm.h) is only used during a resume to check if the device's state before the suspend was 'off', in which case the device is not resumed. However, in such cases the decision whether or

[RFC][PATCH -mm 6/7] PM: Remove power_state.event checks from suspend core code

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The suspend routines should be called for every device during a system sleep transition, regardless of the device's state, so that drivers can regard these method calls as notifications that the system is about to go to sleep, rather than as directives to

[RFC][PATCH -mm 3/7] PM: Simplify suspend_device

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Reduce code duplication in drivers/base/suspend.c by introducing a separate function for printing diagnostic messages. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] --- drivers/base/power/suspend.c | 49 +++

[RFC][PATCH -mm 7/7] PM: Do not check parent state in suspend and resume core code

2007-06-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] The checks if the device's parent is in the right state done in drivers/base/power/suspend.c and drivers/base/power/resume.c serve no particular purpose, since if the parent is in a wrong power state, the device's suspend or resume callbacks are supposed

Re: A kexec approach to hibernation

2007-06-11 Thread Jeremy Maitin-Shepard
Nigel Cunningham [EMAIL PROTECTED] writes: [snip] Trying to image a system to a fuse filesystem is indeed fundamentally broken. The problem is really that we have to make choices about what we will and won't support. We can have suspending to fuse filesystems, but only if we have running

Re: USB remote control missing keycodes

2007-06-11 Thread Jiri Kosina
On Mon, 11 Jun 2007, Islam Amer wrote: I have a remote control device, with an IR transciever that plugs into a USB port and registers as an input device. All the buttons on the remote work fine except for the back , text , and three grey buttons at the top. Could you please recompile

[PATCH] Fix broken ifdefs in usbtouchscreen

2007-06-11 Thread Ondrej Zary
Hello, this patch fixes ifdefs in usbtouchscreen that got broken by Kconfig changes, resulting in non-working module with empty device table. Signed-off-by: Ondrej Zary [EMAIL PROTECTED] -- Ondrej Zary --- linux-2.6.22-rc4-orig/drivers/input/touchscreen/usbtouchscreen.c 2007-06-05

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-11 Thread Stephen Smalley
On Sat, 2007-06-09 at 00:03 +0200, Andreas Gruenbacher wrote: On Wednesday 06 June 2007 15:26, Stephen Smalley wrote: - under AA, each file may have an arbitrary set of labels or policies applied to it depending on what programs are accessing it and what names are being used to reference it

Re: A kexec approach to hibernation

2007-06-11 Thread Jeremy Maitin-Shepard
Pavel Machek [EMAIL PROTECTED] writes: [snip] If _I_ were willing to add some runtime overhead to make hibernation simpler, I'd just use some virtualization to do that... with added advantage of hibernate here, resume on different hw. I don't believe there is going to be any runtime

Re: [PATCH 2/2] [RFC] PCI: Change all drivers to use pci_device-revision

2007-06-11 Thread Dave Jones
On Fri, Jun 08, 2007 at 03:46:36PM -0700, Auke Kok wrote: Instead of all drivers reading pci config space to get the revision ID, they can now use the pci_device-revision member. This exposes some issues where drivers where reading a word or a dword for the revision number, and adding

Re: New hwmon maintainer

2007-06-11 Thread Jean Delvare
On Sat, 9 Jun 2007 12:00:31 -0400, Mark M. Hoffman wrote: I am maintaining a git tree for the hwmon subsystem now. You may pull from it here: git://lm-sensors.org/kernel/mhoffman/hwmon-2.6.git testing The current contents include the remainder of Jean Delvare's quilt patch series,

Re: ext2 on flash memory

2007-06-11 Thread alan
On Mon, 11 Jun 2007, DervishD wrote: Hi all :) I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality flash memory with wear

Re: RFC airo : wpa support

2007-06-11 Thread Dan Williams
On Sat, 2007-05-05 at 00:52 +0200, matthieu castet wrote: Hi, I attach a diff against 2.6.21 for adding wpa support for airo driver. In then end of 2005 I manage to make work wpa but the code was really ugly. I manage to find some time to clean it. To support wpa, a new interface of

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Randy Dunlap
On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: When building with memory hotplug enabled and cpu hotplug disabled, we end up with the

Re: v2.6.21.4-rt11

2007-06-11 Thread Ingo Molnar
* Paul E. McKenney [EMAIL PROTECTED] wrote: hm, what affinity do they start out with? Could they all be pinned to CPU#0 by default? They start off with affinity masks of 0xf on a 4-CPU system. I would expect them to load-balance across the four CPUs, but they stay all on the same

[RFC][PATCH 0/6] Add group fairness to CFS - v1

2007-06-11 Thread Srivatsa Vaddagiri
Ingo, Here's an update of the group fairness patch I have been working on. Its against CFS v16 (sched-cfs-v2.6.22-rc4-mm2-v16.patch). The core idea is to reuse much of CFS logic to apply fairness at higher hierarchical levels (user, container etc). In this regard CFS engine has been

Re: kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Paul Mundt
On Mon, Jun 11, 2007 at 04:19:26PM +0200, Haavard Skinnemoen wrote: I think the combination that triggered this bug was: * CONFIG_SLUB_DEBUG=y * ARCH_KMALLOC_MINALIGN=32 * slub_debug not set at the command line ARCH_KMALLOC_MINALIGN and ARCH_SLAB_MINALIGN are both in bytes

[RFC][PATCH 2/6] task's cpu information needs to be always correct

2007-06-11 Thread Srivatsa Vaddagiri
We rely very much on task_cpu(p) to be correct at all times, so that we can correctly find the runqueue from which the task has to be removed or added to. There is however one place in the scheduler where this assumption of task_cpu(p) being correct is broken. This patch fixes that piece of code.

Re: API changes / 2.6.21 sysctl changes

2007-06-11 Thread Alexey Dobriyan
On Mon, Jun 11, 2007 at 03:13:12PM +0200, Bernd Schubert wrote: in 2.6.21 register_sysctl_table(), struct ctl_table and probably something else did change. Unfortunately so far I didn't figure out the something else. Do you have a problem porting your sysctls to newer kernels? - To

[RFC][PATCH 1/6] Introduce struct sched_entity and struct lrq

2007-06-11 Thread Srivatsa Vaddagiri
This patch introduces two new structures: struct sched_entity stores essential attributes/execution-history used by CFS core to drive fairness between 'schedulable entities' (tasks, users etc) struct lrq runqueue used to hold ready-to-run entities These new structures

[RFC][PATCH 3/6] core changes in CFS

2007-06-11 Thread Srivatsa Vaddagiri
This patch introduces core changes in CFS work to operate on generic schedulable entities. The task specific operations (like enqueue, dequeue, task_tick etc) is then rewritten to work off this generic CFS library. Signed-off-by : Srivatsa Vaddagiri [EMAIL PROTECTED] --- kernel/sched_debug.c

Re: A kexec approach to hibernation

2007-06-11 Thread Xavier Bestel
On Mon, 2007-06-11 at 11:01 -0400, Jeremy Maitin-Shepard wrote: You might claim then that the solution is to simply keep the network driver quiesced or stopped. But then it is impossible to write the image over the network. The way to get around this problem is to write the image over

Re: mm: memory/cpu hotplug section mismatch.

2007-06-11 Thread Paul Mundt
On Mon, Jun 11, 2007 at 08:27:32AM -0700, Randy Dunlap wrote: On Mon, 11 Jun 2007 14:09:55 +0900 Paul Mundt wrote: On Mon, Jun 11, 2007 at 02:01:45PM +0900, KAMEZAWA Hiroyuki wrote: On Mon, 11 Jun 2007 13:35:43 +0900 Paul Mundt [EMAIL PROTECTED] wrote: This happens because

[RFC][PATCH 4/6] Fix (bad?) interactions between SCHED_RT and SCHED_NORMAL tasks

2007-06-11 Thread Srivatsa Vaddagiri
Currently nr_running and raw_weighted_load fields in runqueue affect some CFS calculations (like distribute_fair_add, enqueue_sleeper etc). These fields however are shared between tasks of all classes, which can potentialy affect those calculations for SCHED_NORMAL tasks. However I do not know of

[RFC][PATCH 5/6] core changes for group fairness

2007-06-11 Thread Srivatsa Vaddagiri
This patch introduces the core changes in CFS required to accomplish group fairness at higher levels. It also modifies load balance interface between classes a bit, so that move_tasks (which is centric to load balance) can be reused to balance between runqueues of various types (struct rq in case

[RFC][PATCH 6/6] Hook up to container infrastructure

2007-06-11 Thread Srivatsa Vaddagiri
This patch hooks up cpu scheduler with Paul Menage's container infrastructure. The container patches allows administrator to create arbitrary groups of tasks and define resource allocation for each group. By registering with container infrastructure, cpu scheduler is made aware of group

Re: A kexec approach to hibernation

2007-06-11 Thread Jeremy Maitin-Shepard
Xavier Bestel [EMAIL PROTECTED] writes: On Mon, 2007-06-11 at 11:01 -0400, Jeremy Maitin-Shepard wrote: You might claim then that the solution is to simply keep the network driver quiesced or stopped. But then it is impossible to write the image over the network. The way to get around

Re: [RFC][PATCH 0/6] Add group fairness to CFS - v1

2007-06-11 Thread Srivatsa Vaddagiri
On Mon, Jun 11, 2007 at 09:17:24PM +0530, Srivatsa Vaddagiri wrote: TODO: - Weighted fair-share support Currently each group gets equal share. Support weighted fair-share so that some groups deemed important get more than this equal share. I

Re: v2.6.21.4-rt11

2007-06-11 Thread Paul E. McKenney
On Mon, Jun 11, 2007 at 05:38:55PM +0200, Ingo Molnar wrote: * Paul E. McKenney [EMAIL PROTECTED] wrote: hm, what affinity do they start out with? Could they all be pinned to CPU#0 by default? They start off with affinity masks of 0xf on a 4-CPU system. I would expect them to

Re: [AppArmor 38/45] AppArmor: Module and LSM hooks

2007-06-11 Thread Andreas Gruenbacher
On Monday 11 June 2007 16:33, Stephen Smalley wrote: On Mon, 2007-06-11 at 01:10 +0200, Andreas Gruenbacher wrote: On Wednesday 06 June 2007 15:09, Stephen Smalley wrote: On Mon, 2007-06-04 at 16:30 +0200, Andreas Gruenbacher wrote: On Monday 04 June 2007 15:12, Pavel Machek wrote:

Re: kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Håvard Skinnemoen
On 6/11/07, Paul Mundt [EMAIL PROTECTED] wrote: On Mon, Jun 11, 2007 at 04:19:26PM +0200, Haavard Skinnemoen wrote: I think the combination that triggered this bug was: * CONFIG_SLUB_DEBUG=y * ARCH_KMALLOC_MINALIGN=32 * slub_debug not set at the command line ARCH_KMALLOC_MINALIGN and

Re: API changes / 2.6.21 sysctl changes

2007-06-11 Thread Bernd Schubert
On Monday 11 June 2007 17:46:27 Alexey Dobriyan wrote: On Mon, Jun 11, 2007 at 03:13:12PM +0200, Bernd Schubert wrote: in 2.6.21 register_sysctl_table(), struct ctl_table and probably something else did change. Unfortunately so far I didn't figure out the something else. Do you have a

Re: [RFC][PATCH -mm 1/7] PM: Remove pm_parent from struct dev_pm_info

2007-06-11 Thread Alan Stern
On Mon, 11 Jun 2007, Rafael J. Wysocki wrote: From: Rafael J. Wysocki [EMAIL PROTECTED] The pm_parent member of struct dev_pm_info (defined in include/linux/pm.h) is only used to check if the device's parent is in the right state while the device is being suspended or resumed. However,

Re: A kexec approach to hibernation

2007-06-11 Thread Xavier Bestel
On Mon, 2007-06-11 at 11:51 -0400, Jeremy Maitin-Shepard wrote: Xavier Bestel [EMAIL PROTECTED] writes: On Mon, 2007-06-11 at 11:01 -0400, Jeremy Maitin-Shepard wrote: You might claim then that the solution is to simply keep the network driver quiesced or stopped. But then it is

Re: [Intel-IOMMU 02/10] Library routine for pre-allocat pool handling

2007-06-11 Thread Christoph Lameter
On Sun, 10 Jun 2007, Arjan van de Ven wrote: Christoph Lameter wrote: On Fri, 8 Jun 2007, Keshavamurthy, Anil S wrote: What functionality are you missing in the page allocator? It seems that is does what you want? Humm..I basically want to allocate memory during interrupt context

Re: [PATCH] move the kernel to 16MB for NUMA-Q

2007-06-11 Thread Andrew Morton
On Mon, 11 Jun 2007 15:32:10 +0100 Andy Whitcroft [EMAIL PROTECTED] wrote: We are seeing corruption of the decompressed kernel. It is suspected that this is platform specific as it has yet to be seen on any other x86. Move the kernel to the 16MB boundary. Signed-off-by: Andy Whitcroft

Re: kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Christoph Lameter
On Mon, 11 Jun 2007, Haavard Skinnemoen wrote: While trying to get SLUB debugging to not break DMA on AVR32, I ran into this: This is a known bug in 2.6.22-rc2/rc3. Which version are you running? - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: PATCH -mm] fix create_new_namespaces() return value

2007-06-11 Thread Badari Pulavarty
Cedric Le Goater wrote: The following patch modifies create_new_namespaces() to also use the errors returned by the copy_*_ns routines and not to systematically return ENOMEM. In my initial version, I did same. It doesn't work :( copy_*_ns() routines doesn't return any errors. All they

Re: 2.6.21 numa policy and huge pages not working

2007-06-11 Thread Adam Litke
On Sat, 2007-06-09 at 21:10 -0700, dean gaudet wrote: On Tue, 15 May 2007, William Lee Irwin III wrote: On Tue, May 15, 2007 at 10:41:06PM -0700, dean gaudet wrote: prior to 2.6.21 i could numactl --interleave=all and use SHM_HUGETLB and the interleave policy would be respected.

[PATCH] make disable_console_suspend runtime configurable

2007-06-11 Thread Stefan Seyfried
I hate having to recompile the kernel, just to be able to debug suspend. Remove CONFIG_DISABLE_CONSOLE_SUSPEND, replace it by a sysctl in /proc/sys/kernel/disable_console_suspend. Signed-off-by: Stefan Seyfried [EMAIL PROTECTED] --- Patch is against 2.6.22-rc4

Re: Documentation - How to debug ACPI Problems

2007-06-11 Thread Thomas Renninger
Thanks a lot for all your input! Here is an updated version in patch format. Len, it would be great if you can also add this one to your test tree. On Wed, 2007-06-06 at 16:59 +0200, Jesper Juhl wrote: On 06/06/07, Thomas Renninger [EMAIL PROTECTED] wrote: Hi, (patches already exist in

Re: API changes / 2.6.21 sysctl changes

2007-06-11 Thread Alexey Dobriyan
On Mon, Jun 11, 2007 at 05:59:45PM +0200, Bernd Schubert wrote: On Monday 11 June 2007 17:46:27 Alexey Dobriyan wrote: On Mon, Jun 11, 2007 at 03:13:12PM +0200, Bernd Schubert wrote: in 2.6.21 register_sysctl_table(), struct ctl_table and probably something else did change. Unfortunately

Re: ext2 on flash memory

2007-06-11 Thread DervishD
Hi Eduard :) * Eduard-Gabriel Munteanu [EMAIL PROTECTED] dixit: I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a good quality

Fwd: [PATCH] Fix broken ifdefs in usbtouchscreen

2007-06-11 Thread Daniel Ritz
dmitry was a bad boy...:) Signed-off-by: Daniel Ritz [EMAIL PROTECTED] Original Message Subject: [PATCH] Fix broken ifdefs in usbtouchscreen Date: Mon, 11 Jun 2007 17:09:50 +0200 From: Ondrej Zary [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: linux-kernel@vger.kernel.org Hello,

Re: ext2 on flash memory

2007-06-11 Thread DervishD
Hi Alan :) * alan [EMAIL PROTECTED] dixit: On Mon, 11 Jun 2007, DervishD wrote: I was wondering: is there any reason not to use ext2 on an USB pendrive? Really my question is not only about USB pendrives, but any device whose storage is flash based. Let's assume that the device has a

Re: kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Håvard Skinnemoen
On 6/11/07, Christoph Lameter [EMAIL PROTECTED] wrote: On Mon, 11 Jun 2007, Haavard Skinnemoen wrote: While trying to get SLUB debugging to not break DMA on AVR32, I ran into this: This is a known bug in 2.6.22-rc2/rc3. Which version are you running? 2.6.22-rc4. I did a pull from Linus'

Re: kernel BUG at mm/slub.c:3689!

2007-06-11 Thread Christoph Lameter
On Mon, 11 Jun 2007, Håvard Skinnemoen wrote: On 6/11/07, Christoph Lameter [EMAIL PROTECTED] wrote: On Mon, 11 Jun 2007, Haavard Skinnemoen wrote: While trying to get SLUB debugging to not break DMA on AVR32, I ran into this: This is a known bug in 2.6.22-rc2/rc3. Which version

<    1   2   3   4   5   6   7   8   9   >