Re: [PATCH] create CONFIG_SUSPEND_UP_POSSIBLE

2007-07-31 Thread Rafael J. Wysocki
On Tuesday, 31 July 2007 08:38, Pavel Machek wrote: Hi! Without this change, it is possible to build CONFIG_HIBERNATE on all !SMP architectures, but not necessarily their SMP versions. Did you want to say CONFIG_SUSPEND? I don't know for sure if the architecture list under

Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support

2007-07-31 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: * Gregory Haskins [EMAIL PROTECTED] wrote: This code allows FUNCTION_CALL IPIs to become preemptible by executing them in kthread context instead of interrupt context. They are referred to as Virtual Function Call IPIs (VFCIPI) because we no

Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation

2007-07-31 Thread Huang, Ying
On Tue, 2007-07-31 at 11:10 +0200, Pavel Machek wrote: Index: kexec-tools-1.101/kexec/arch/i386/crashdump-x86.c === --- kexec-tools-1.101.orig/kexec/arch/i386/crashdump-x86.c 2007-07-08 23:00:25.0 +0800 +++

Whats the problem with my IDE...

2007-07-31 Thread Manuel Reimer
Hello, after my problems with my DVD drive, I've unplugged this device and jumpered my burning device as master, to start my linux setup from there. Now I don't longer get those silly DVD errors, but now I get something, which is much more worrying for me: http://pastebin.com/f6fc7552f

Re: [PATCH respin, was PATCH for review] During VM oom condition, kill all threads in process group

2007-07-31 Thread Pavel Machek
Hi! During VM oom condition, kill all threads in process group. We have had complaints where a threaded application is left in a bad state after one of it's threads is killed when we hit a VM: out_of_memory condition. Killing just one of the process threads can leave the application in a

Re: [PATCH] fs/gfs2: mark struct *_operations const

2007-07-31 Thread rae l
On 7/31/07, Steven Whitehouse [EMAIL PROTECTED] wrote: Hi, On Tue, 2007-07-31 at 13:46 +0800, Denis Cheng wrote: these struct *_operations are all method tables, thus should be const. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/eaops.c|8

[REGRESSION] tg3 dead after s2ram

2007-07-31 Thread Joachim Deguara
On my Acer Ferrari 1000 the tg3 ethernet no longer is available after a suspend to ram with the latet 2.6.23-rc1-git9. The tg3 works fine with s2ram in 2.6.22.1. The tell tail signs that is dead is this message from the kernel log: [6.754133] tg3: eth0: No firmware running. [

Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

2007-07-31 Thread Alan Cox
oh, wonderful! Alan, you are a true wizard :-) The tty layer is one of the very few pieces of kernel code that scares the hell out of me :-) I'm not too fond of the way it does some stuff either especially the open v close v hangup paths but that is partly the fault of POSIX 8) Maybe it

[PATCH] documentation fixes

2007-07-31 Thread Ph. Marek
Hello everybody, here are some small documentation fixes - mostly typing errors. Please take a look at the last chunk - I think that klibc.bkbits.net is no longer the current version, but I'm not sure whether the other link is better. Whom should I CC for other documentation updates? Is the

Re: Whats the problem with my IDE...

2007-07-31 Thread Alan Cox
After mounting my four LVs, formatted with XFS, here, I'm starting to delete all files on those LVs to be able to do a fresh linux install. While deleting, I get *many* DMA errors and BAD CRC messages. Bad CRC indicates a data transfer problem between the drive and the controller. The CRC is

Re: [ck] Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

2007-07-31 Thread Ingo Molnar
* Kenneth Prugh [EMAIL PROTECTED] wrote: Alright, Just got done with some testing of UT2004 between 2.6.23-rc1 CFS and 2.6.22-ck1 SD. This series of tests was run by spawning in a map while not moving at all and always facing the same direction, while slowing increasing the number of

Re: [PATH 1/1] Kexec jump - v2 - kexec jump

2007-07-31 Thread Pavel Machek
Hi! This patch implement the functionality of jumping from kexeced kernel to original kernel. A new reboot command named LINUX_REBOOT_CMD_KJUMP is defined to trigger the jumping to (executing) the new kernel or jumping back to the original kernel. Could we get two reboot commands? Exec

Re: [linux-pm] Re: [PATCH 2/2] Introduce CONFIG_SUSPEND (updated)

2007-07-31 Thread Rafael J. Wysocki
On Tuesday, 31 July 2007 11:16, Oliver Neukum wrote: Am Dienstag 31 Juli 2007 schrieb Rafael J. Wysocki: Well, the people on linux-pm seem to agree that the .suspend() and .resume() callbacks are not suitable for runtime power management, so having them built without SUSPEND or

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-31 Thread hui
On Tue, Jul 31, 2007 at 09:15:17AM +0800, Carlo Florendo wrote: And I think you are digressing from the main issue, which is the empirical comparison of SD vs. CFS and to determine which is best. The root of all the scheduler fuss was the emotional reaction of SD's author on why his

Re: Linus 2.6.23-rc1

2007-07-31 Thread hui
On Sun, Jul 29, 2007 at 04:18:18PM -0700, Linus Torvalds wrote: Ingo posted numbers. Look at those numbers, and then I would suggest some people could seriously consider just shutting up. I've seen too many idiotic people who claim that Con got treated unfairly, without those people

kexec/kdump: docs fix, stale urls?

2007-07-31 Thread Pavel Machek
Hi! This fixes few typos in kdump.txt. (Please check, I'm not native speaker). Also, the urls pointed out in kdump.txt seem a bit old, are there better pointers these days? Pavel --- This fixes few typos in kdump.txt.

[PATCH] Fix lguest driver config options

2007-07-31 Thread Rusty Russell
On Mon, 2007-07-30 at 12:09 +0200, Gabriel C wrote: BTW the wrong patch without the default y got merged. Thanks. Linus, please apply. Lguest drivers need to default to Y otherwise they're never selected for new builds. We don't bother prompting, because they're less than 4k combined.

[PATCH 3/7] sysfs: cosmetic changes in sysfs_lookup()

2007-07-31 Thread Tejun Heo
* remove space between * and symbol name in variable declaration. * kill unnecessary new line. * kill 'found' and test 'sd' instead. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- fs/sysfs/dir.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git

[PATCHSET 2.6.23-rc1] sysfs: locking fix and cleanups

2007-07-31 Thread Tejun Heo
Hello, all. This patchset contains a locking fix and cleanup patches for sysfs. #01 locking fix #02 shadow support removal from Eric adapted to apply after #01 #03-07 clean up patches #01 should go mainline as it fixes a locking regression introduced by -rc1 merge. The rest should

[PATCH 4/7] sysfs: simplify sysfs_remove_dir()

2007-07-31 Thread Tejun Heo
With the shadow directories gone, sysfs_remove_dir() can be simplified. * parent doesn't need to be grabbed separately. Just access old_dentry-d_parent. * parent sd can never change. Remove code to move under the new parent. * Massage comments a bit. Signed-off-by: Tejun Heo [EMAIL

[PATCH 1/7] sysfs: fix locking in sysfs_lookup() and sysfs_rename_dir()

2007-07-31 Thread Tejun Heo
sd children list walking in sysfs_lookup() and sd renaming in sysfs_rename_dir() were left out during i_mutex - sysfs_mutex conversion. Fix them. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- fs/sysfs/dir.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff

[PATCH 6/7] sysfs: make sysfs_add_one() automatically check for duplicate entry

2007-07-31 Thread Tejun Heo
Make sysfs_add_one() check for duplicate entry and return -EEXIST if such entry exists. This simplifies node addition code a bit. This patch doesn't introduce any noticeable behavior change. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- fs/sysfs/dir.c | 25 -

[PATCH 5/7] sysfs: make sysfs_add/remove_one() call link/unlink_sibling() implictly

2007-07-31 Thread Tejun Heo
When adding or removing a sysfs_dirent, the user used to be required to call link/unlink separately. It was for two reasons - code looked like that before sysfs_addrm_cxt conversion and to avoid looping through parent_sd-children list twice during removal. Performance optimization during removal

[PATCH 7/7] sysfs: make sysfs_addrm_finish() return void

2007-07-31 Thread Tejun Heo
With the previous sysfs_add_one() update, there is only one user of the return value of sysfs_addrm_finish() and the user can switch to testing @sd easily. Make sysfs_addrm_finish() return void for cleaner semantics as suggested by Satyam Sharma. This patch doesn't introduce any noticeable

Re: [PATCH] flush icache before set_pte take6. [4/4] optimization for cpus other than montecito

2007-07-31 Thread KAMEZAWA Hiroyuki
On Tue, 31 Jul 2007 10:38:48 +0200 Zoltan Menyhart [EMAIL PROTECTED] wrote: David Mosberger-Tang wrote: This seems crazy to me. Flushing should occur according to the *architecture*, not model-by-model. Even if we happen to get lucky on pre-Montecito CPUs, that doesn't justify such ugly

Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

2007-07-31 Thread Gabriel C
Jarek Poplawski wrote: On 28-07-2007 20:42, Gabriel C wrote: Andrew Morton wrote: On Sat, 28 Jul 2007 17:44:45 +0200 Gabriel C [EMAIL PROTECTED] wrote: Hi, I got this compile error with a randconfig ( http://194.231.229.228/MM/randconfig-auto-82.broken.netpoll.c ). ...

[PATCH] Blackfin arch: after removing fs.h from mm.h, fix the broken on Blackfin arch

2007-07-31 Thread Bryan Wu
Cc: Alexey Dobriyan [EMAIL PROTECTED] Signed-off-by: Bryan Wu [EMAIL PROTECTED] --- arch/blackfin/kernel/init_task.c |1 + arch/blackfin/kernel/process.c |2 ++ arch/blackfin/kernel/sys_bfin.c |1 + arch/blackfin/kernel/traps.c |1 + 4 files changed, 5 insertions(+), 0

Re: BIOS implementors disabling the LAPIC

2007-07-31 Thread Maciej W. Rozycki
On Tue, 31 Jul 2007, John Sigler wrote: As far as I understand, the Local APIC was integrated directly to the CPU 12-15 years ago. Why would a BIOS implementor choose to disable it? Because they are lazy/incapable/out-of-time/select-your-favourite-excuse. For the chip to work you have to

Re: [PATCH 2/7] sysfs: Remove first pass at shadow directory support

2007-07-31 Thread Tejun Heo
Tejun Heo wrote: While shadow directories appear to be a good idea, the current scheme of controlling their creation and destruction outside of sysfs appears to be a locking and maintenance nightmare in the face of sysfs directories dynamically coming and going. Which can now occur for

Re: kexec/kdump: docs fix, stale urls?

2007-07-31 Thread Vivek Goyal
On Tue, Jul 31, 2007 at 12:09:08PM +0200, Pavel Machek wrote: Hi! This fixes few typos in kdump.txt. (Please check, I'm not native speaker). Also, the urls pointed out in kdump.txt seem a bit old, are there better pointers these days?

[PATCH 1/3] fs/gfs2: mark struct *_operations const

2007-07-31 Thread Denis Cheng
these struct *_operations are all method tables, thus should be const. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/eaops.c |8 fs/gfs2/eaops.h |4 ++-- fs/gfs2/glock.c |2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/fs/gfs2/eaops.c

[PATCH 2/3] fs/gfs2: use the declaration of gfs2_dops in the header file instead

2007-07-31 Thread Denis Cheng
Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/ops_fstype.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index cf5aa50..9a5e840 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c @@ -28,6 +28,7 @@

[PATCH 3/3] fs/gfs2: also mark struct {dentry,vm}_operations const

2007-07-31 Thread Denis Cheng
these struct *_operations are all method tables, thus should be const. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/ops_dentry.c |3 +-- fs/gfs2/ops_dentry.h |2 +- fs/gfs2/ops_vm.c |4 ++-- fs/gfs2/ops_vm.h |4 ++-- include/linux/dcache.h |2 +-

acpi=off vs. blacklist

2007-07-31 Thread Ph. Marek
Hello everybody! I have two machines which freeze during boot; this seems to be ACPI-related, because with acpi=off they start. The first one is the HP DC 7700; some summary can be seen on http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1081719 It hangs after a line

Re: acpi=off vs. blacklist

2007-07-31 Thread Gabriel C
Ph. Marek wrote: [ added linux-acpi to CC ] Hello everybody! I have two machines which freeze during boot; this seems to be ACPI-related, because with acpi=off they start. The first one is the HP DC 7700; some summary can be seen on

Re: [patch 00/26] 2.6.21.7 -stable review

2007-07-31 Thread Stefan Richter
Greg KH wrote: Rolled up patch is at: kernel.org/pub/linux/kernel/v2.6/stable-testing/patch-2.6.21.7-rc1.gz ^^ stable-review -- Stefan Richter -=-=-=== -=== = http://arcgraph.de/sr/ - To

Re: [RFC 12/26] ext2 white-out support

2007-07-31 Thread Theodore Tso
On Tue, Jul 31, 2007 at 09:44:36AM +0200, Jan Blunck wrote: Ok, this is pretty similar to the way I implemented this for tmpfs. The problem is that the union mount code is explicitly checking if the filesystem is supporting whiteout. I used to use a new filesystem flag (FS_WHITEOUT) for this

Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation

2007-07-31 Thread Eric W. Biederman
Huang, Ying [EMAIL PROTECTED] writes: On Tue, 2007-07-31 at 11:10 +0200, Pavel Machek wrote: Index: kexec-tools-1.101/kexec/arch/i386/crashdump-x86.c === --- kexec-tools-1.101.orig/kexec/arch/i386/crashdump-x86.c 2007-07-08

Re: acpi=off vs. blacklist

2007-07-31 Thread Ph. Marek
On Dienstag, 31. Juli 2007, Gabriel C wrote: [ added linux-acpi to CC ] Sorry, forgot to mention: I'd like to use 2.6.20.1, but I already tested with 2.6.22.1. IIUC if there's a problem with the ACPI tables, the blacklist won't help, because to know whether the ACPI blacklist applies ACPI

Re: [PATCH] flush icache before set_pte take6. [4/4] optimization for cpus other than montecito

2007-07-31 Thread Zoltan Menyhart
KAMEZAWA Hiroyuki wrote: Could we discuss this in other thread as optimization for some cpus and push bug-fix patches first ? If take5 or part of take6(patch 1,2) are not acceptable, I'll continue this work on -rc2. Thanks, -Kame Sure. Thanks, Zoltan - To unsubscribe from this list: send

Re: [PATCH 0/4][RFC] lro: Generic Large Receive Offload for TCP traffic

2007-07-31 Thread Jan-Bernd Themann
Hi, Thanks for finding these bugs! I'll post an updated version soon (2 patches with no separate Kconfig patches, one LRO and one eHEA patch). See comments below. Thanks, Jan-Bernd On Monday 30 July 2007 22:32, Andrew Gallatin wrote: I was working on testing the myri10ge patch, and I ran into

Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation

2007-07-31 Thread Pavel Machek
Hi! 3. Boot kernel compiled for normal usage, the reserved crash kernel memory region must be added to kernel command line as following: crashkernel=XXM@XXM Where, XX should be replaced by the real memory size and position. I used [EMAIL PROTECTED] . 4. Load kernel compiled

Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation

2007-07-31 Thread Pavel Machek
Hi! +/* Adds the kexec_backup= command line parameter to command line. */ +static int cmdline_add_backup(char *cmdline, unsigned long addr) +{ +int cmdlen, len, align = 1024; +char str[30], *ptr; + +/* Passing in kexec_backup=xxxK format. Saves

Re: [PATH 0/1] Kexec jump - v2 - the first step to kexec based hibernation

2007-07-31 Thread Pavel Machek
Hi! This part did not apply for me -- it seems crashdump related and I did not have that applied. Is it critical? This is needed for kexec_jump to work properly. Which version of kexec-tools do you use? This patch is against 1.101. The kdump patch must be applied before this patch is

Re: [ck] Linux Kernel cfs scheduler and xorg kbd

2007-07-31 Thread ::.. Teresa_II ..::
У пн, 2007-07-30 у 22:25 +0200, ::.. Teresa_II ..:: пише: I am ready to provide any requested information to find issue. Interesting Thing is that this seems to happen only on system idle. If system is under load it behave correct. And sometimes it doesn't appear even if system is idle. Now as

Re: Is PIE randomization breaking klibc binaries?

2007-07-31 Thread Jiri Kosina
On Wed, 25 Jul 2007, Ulrich Kunitz wrote: The message looks like: sleep[7888]: segfault at 0004001C rip 0004001C rsp 7fff14776468 error 14 Repeated calls get the same message with the stack pointer changing. Other binaries (mount) have a segmentation fault at another

Re: [PATCH 2/5] x86_64 EFI support -v3: EFI boot support

2007-07-31 Thread Andi Kleen
static unsigned long dma_reserve __initdata; +/* Flag indicating EFI runtime executable code area */ +static int efi_runtime_code_area; We don't normally use globals to modify function behaviour. DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); @@ -199,7 +202,7 @@ static __meminit

Re: [ck] Linux Kernel cfs scheduler and xorg kbd

2007-07-31 Thread ::.. Teresa_II ..::
У пн, 2007-07-30 у 22:25 +0200, ::.. Teresa_II ..:: пише: Ok, hier is small testing: I started gcc emerge. System load is between 1.47 and 1.61 I use SMP enabled 2.6.22.1-cfs-v19.1 kernel on ADM64 X2. In gnome-terminal window i just type fast d and until i count 1,2 i hold SHIFT, than i release

Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support

2007-07-31 Thread Gregory Haskins
On Tue, 2007-07-31 at 11:21 +0200, Ingo Molnar wrote: [ mail re-sent with lkml Cc:-ed. _Please_ Cc: all patches to lkml too! Unless you want -rt to suffer the fate of -ck, keep upstream involved all the time. The recent /proc/interrupts-all discussion with upstream folks showed the

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 4)

2007-07-31 Thread WANG Cong
On Mon, Jul 30, 2007 at 07:38:47PM +0800, Eugene Teo wrote: This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result fs/partitions/check.c:394:

Re: [PATCH 3/3] fs/gfs2: also mark struct {dentry,vm}_operations const

2007-07-31 Thread Steven Whitehouse
Hi, On Tue, 2007-07-31 at 18:31 +0800, Denis Cheng wrote: these struct *_operations are all method tables, thus should be const. Signed-off-by: Denis Cheng [EMAIL PROTECTED] --- fs/gfs2/ops_dentry.c |3 +-- fs/gfs2/ops_dentry.h |2 +- fs/gfs2/ops_vm.c |4 ++--

Re: regression on HP zx1 platform from ACPI autoload modules patches

2007-07-31 Thread Doug Chapman
On Mon, 2007-07-30 at 22:12 -0700, Tony Luck wrote: During bootup it panics with: Kernel panic - not syncing: Unable to find SBA IOMMU: Try a generic or DIG kernel I think that the fix for this has already gone into Linus's tree (on Friday). Commit SHA1 for the patch that should

Re: [PATCH RT] Fix RT balancing tasks pulling

2007-07-31 Thread Sébastien Dugué
Hi Josh, On Mon, 30 Jul 2007 14:50:34 -0700 Josh Triplett [EMAIL PROTECTED] wrote: On Tue, 2007-07-24 at 15:42 +0200, Sébastien Dugué wrote: this one-liner fixes a bug in balance_rt_tasks() which sometimes manifests by having a lower prio task being scheduled while a higher prio

Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

2007-07-31 Thread Jason Wessel
Gabriel C wrote: Jarek Poplawski wrote: On 28-07-2007 20:42, Gabriel C wrote: Andrew Morton wrote: On Sat, 28 Jul 2007 17:44:45 +0200 Gabriel C [EMAIL PROTECTED] wrote: Hi, I got this compile error with a randconfig (

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-31 Thread Mike Galbraith
On Tue, 2007-07-31 at 02:57 -0700, Bill Huey wrote: On Tue, Jul 31, 2007 at 09:15:17AM +0800, Carlo Florendo wrote: We obviously all saw how the particular authors tried to address the issues. Ingo tried to address all concerns while Con simply ranted about his scheduler being better.

Re: Is PIE randomization breaking klibc binaries?

2007-07-31 Thread H. Peter Anvin
Jiri Kosina wrote: Hi Ulrich, I just now quickly tried to with klibc-1.5 on i386 with the PIE-randomization patched kernel, and it seems to load static libraries fine. I just downloaded klibc-1.5, built it, and executed a few of the programs in usr/utils/static, all of them worked. Does

[PATCH] single_open/seq_release leak diagnostics

2007-07-31 Thread Alexey Dobriyan
[PATCH] Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats} and [PATCH] Fix leak on /proc/lockdep_stats fixed 5 leaks which happen if one uses single_open() as .open function and seq_release() as .release function. Let's add small amount of runtime checking. Sample output is:

Re: Is PIE randomization breaking klibc binaries?

2007-07-31 Thread Jiri Kosina
On Tue, 31 Jul 2007, H. Peter Anvin wrote: I just now quickly tried to with klibc-1.5 on i386 with the PIE-randomization patched kernel, and it seems to load static libraries fine. I just downloaded klibc-1.5, built it, and executed a few of the programs in usr/utils/static, all of

Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

2007-07-31 Thread Jarek Poplawski
On Tue, Jul 31, 2007 at 12:14:36PM +0200, Gabriel C wrote: Jarek Poplawski wrote: On 28-07-2007 20:42, Gabriel C wrote: Andrew Morton wrote: On Sat, 28 Jul 2007 17:44:45 +0200 Gabriel C [EMAIL PROTECTED] wrote: Hi, I got this compile error with a randconfig (

Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support

2007-07-31 Thread Gregory Haskins
On Tue, 2007-07-31 at 11:25 +0200, Ingo Molnar wrote: * Ingo Molnar [EMAIL PROTECTED] wrote: * Gregory Haskins [EMAIL PROTECTED] wrote: This code allows FUNCTION_CALL IPIs to become preemptible by executing them in kthread context instead of interrupt context. They are

[rft] Kill junk from s2ram resume paths

2007-07-31 Thread Pavel Machek
Hi! This removes some stale debugging infrastructure from s2ram paths. Also, there's no need to verify_cpu on x86-64 -- cpu can't change during s2ram, and removed #if 0-ed code. Some testing would be useful, perpahs it will even fix someone's machine :-). (VGA accesses could theoretically hurt if

Re: [ck] Re: SD still better than CFS for 3d ?

2007-07-31 Thread Christoph Hellwig
Matthew, odd off. ait binary crap is totally offtopic here on the list, and beeing prude for beeing a fuckhead and holding development back doesn't exactly helpe either. Go back to your -ck fanboy land and shut up now. - To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: Is PIE randomization breaking klibc binaries?

2007-07-31 Thread H. Peter Anvin
Jiri Kosina wrote: On Tue, 31 Jul 2007, H. Peter Anvin wrote: I just now quickly tried to with klibc-1.5 on i386 with the PIE-randomization patched kernel, and it seems to load static libraries fine. I just downloaded klibc-1.5, built it, and executed a few of the programs in

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 4)

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:50:16 +0800, WANG Cong [EMAIL PROTECTED] wrote: On Mon, Jul 30, 2007 at 07:38:47PM +0800, Eugene Teo wrote: This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition': fs/partitions/check.c:391: warning: ignoring return value of 'kobject_add',

Re: BIOS implementors disabling the LAPIC

2007-07-31 Thread John Sigler
Maciej W. Rozycki wrote: John Sigler wrote: As far as I understand, the Local APIC was integrated directly to the CPU 12-15 years ago. Why would a BIOS implementor choose to disable it? Because they are lazy/incapable/out-of-time/select-your-favourite-excuse. For the chip to work you have

Re: [PATCH 2/7] sysfs: Remove first pass at shadow directory support

2007-07-31 Thread Satyam Sharma
Hi Tejun, On Tue, 31 Jul 2007, Tejun Heo wrote: Tejun Heo wrote: While shadow directories appear to be a good idea, the current scheme of controlling their creation and destruction outside of sysfs appears to be a locking and maintenance nightmare in the face of sysfs directories

Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 )

2007-07-31 Thread Jarek Poplawski
On Tue, Jul 31, 2007 at 06:44:52AM -0500, Jason Wessel wrote: ... kgdboe is completely useless without a network card that has a polling driver. It seems to me that the simple and easy fix is to set it to depend on NETDEVICES but allow it to use select on NETPOLL. Maybe I miss your point

Re: [PATCH 7/7] sysfs: make sysfs_addrm_finish() return void

2007-07-31 Thread Satyam Sharma
On Tue, 31 Jul 2007, Tejun Heo wrote: With the previous sysfs_add_one() update, there is only one user of the return value of sysfs_addrm_finish() and the user can switch to testing @sd easily. Make sysfs_addrm_finish() return void for cleaner semantics as suggested by Satyam Sharma.

Re: [-mm PATCH 4/9] Memory controller memory accounting (v4)

2007-07-31 Thread Vaidyanathan Srinivasan
YAMAMOTO Takashi wrote: +lock_meta_page(page); +/* + * Check if somebody else beat us to allocating the meta_page + */ +race_mp = page_get_meta_page(page); +if (race_mp) { +kfree(mp); +mp = race_mp; +atomic_inc(mp-ref_cnt); +

Re: [PATCH] Check patch reports multiple var with a function assignment

2007-07-31 Thread Andy Whitcroft
Jason Wessel wrote: Running checkpatch.pl products an warning when it should not. I believe it can be fixed by adding to the regular expression, but feel free to fix it another way as I may not know all the cases this is trying to catch. Thanks for the patch. We had already caught this one

Re: BIOS implementors disabling the LAPIC

2007-07-31 Thread Gregory Haskins
On Tue, 2007-07-31 at 14:32 +0200, John Sigler wrote: The motherboard manufacturer (well, their level 1 support, anyway) told me I could safely enable the LAPIC. If it is safe to enable the LAPIC, then why are they disabling it in the BIOS? I would guess that because they don't have an

Re: [PATCHSET 2.6.23-rc1] sysfs: locking fix and cleanups

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:15:08 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Hello, all. This patchset contains a locking fix and cleanup patches for sysfs. #01 locking fix #02 shadow support removal from Eric adapted to apply after #01 #03-07clean up patches #01 should go

[PATCH] libata: Correct IORDY handling

2007-07-31 Thread Alan Cox
Debugging a report of a problem with an ancient solid state disk showed up some problems in the IORDY handling 1. We check the wrong bit to see if the device has IORDY 2. Even then some ancient creaking piles of crap don't support SETXFER at all. I think this should go via -mm

Re: BIOS implementors disabling the LAPIC

2007-07-31 Thread Maciej W. Rozycki
On Tue, 31 Jul 2007, John Sigler wrote: The motherboard manufacturer (well, their level 1 support, anyway) told me I could safely enable the LAPIC. If it is safe to enable the LAPIC, then why are they disabling it in the BIOS? (They weren't able to tell me whether their BIOS triggers SMIs or

Re: [-mm PATCH 6/9] Memory controller add per container LRU and reclaim (v4)

2007-07-31 Thread Vaidyanathan Srinivasan
YAMAMOTO Takashi wrote: +unsigned long mem_container_isolate_pages(unsigned long nr_to_scan, +struct list_head *dst, +unsigned long *scanned, int order, +int mode, struct zone *z, +

Re: [PATCH 1/7] sysfs: fix locking in sysfs_lookup() and sysfs_rename_dir()

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:15:08 +0900, Tejun Heo [EMAIL PROTECTED] wrote: sd children list walking in sysfs_lookup() and sd renaming in sysfs_rename_dir() were left out during i_mutex - sysfs_mutex conversion. Fix them. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- fs/sysfs/dir.c | 21

Re: [PATCH 3/7] sysfs: cosmetic changes in sysfs_lookup()

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:15:08 +0900, Tejun Heo [EMAIL PROTECTED] wrote: * remove space between * and symbol name in variable declaration. * kill unnecessary new line. * kill 'found' and test 'sd' instead. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- fs/sysfs/dir.c | 15

Re: [PATCH 4/7] sysfs: simplify sysfs_remove_dir()

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:15:08 +0900, Tejun Heo [EMAIL PROTECTED] wrote: With the shadow directories gone, sysfs_remove_dir() can be simplified. * parent doesn't need to be grabbed separately. Just access old_dentry-d_parent. * parent sd can never change. Remove code to move under the

Re: [PATCH] input: Fix interrupt enable in i8042_ctr when enabling interrupt fails

2007-07-31 Thread Steven Rostedt
Markus Armbruster wrote: When enabling interrupts fails, the interrupt enable bit remains set in i8042_ctr. Later writes of i8042_ctr to the hardware could accidentally retry enabling interrupts. Clear the bit on failure. Signed-off-by: Markus Armbruster [EMAIL PROTECTED] This patch is more

Re: regression on HP zx1 platform from ACPI autoload modules patches - PATCH that fixes it

2007-07-31 Thread Thomas Renninger
On Tue, 2007-07-31 at 08:06 -0400, Doug Chapman wrote: On Tue, 2007-07-31 at 01:07 +0200, Michal Piotrowski wrote: Hi Doug, On 31/07/07, Doug Chapman [EMAIL PROTECTED] wrote: I am seeing a regression on the HP ia64 zx1 platforms when using a .config with CONFIG_IA64_HP_ZX1=y. Oddly

Re: ck vs. cfs : realtime audio performance

2007-07-31 Thread Lenar Lõhmus
Cc'd to LKML Ingo. L. Klaus Schulz wrote: Hi there. Am Dienstag, den 31.07.2007, 10:26 +0200 schrieb Klaus Schulz: Hi folks. I am currently testing the 2.6.22.1 cfs-rt9 vs. ck1 on my rather pure realtime high-end-audio setup. (NO X, just a terminal, streaming .wav. I am using my own

Re: [PATCH] fs/partitions/check.c: add_partition() warning fixes (take 4)

2007-07-31 Thread WANG Cong
On Tue, Jul 31, 2007 at 02:19:53PM +0200, Cornelia Huck wrote: On Tue, 31 Jul 2007 19:50:16 +0800, WANG Cong [EMAIL PROTECTED] wrote: On Mon, Jul 30, 2007 at 07:38:47PM +0800, Eugene Teo wrote: This patch fixes these warnings: fs/partitions/check.c: In function 'add_partition':

[Patch 00/16] Remove unnecessary kmalloc casts

2007-07-31 Thread jack
This patch series removes unnecessary kmalloc casts from various portions of the kernel. Jack Stone -- - 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 Please

[Patch 04/16] Remove unnecessary kmalloc casts from the sparc arch.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: David Miller [EMAIL PROTECTED] --- arch/sparc/kernel/ebus.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/arch/sparc/kernel/ebus.c === ---

[Patch 09/16] Remove unnecessary kmalloc casts in the pci subsystem.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/pci/rom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/pci/rom.c === --- a/drivers/pci/rom.c +++

[Patch 05/16] Remove unnecessary kmalloc casts in the drivers subdirectory.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/char/tty_io.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/char/tty_io.c === --- a/drivers/char/tty_io.c

[Patch 03/16] Remove unnecessary kmalloc casts from the powerpc arch.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Paul Mackerras [EMAIL PROTECTED] --- arch/powerpc/kernel/ibmebus.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/arch/powerpc/kernel/ibmebus.c === ---

[Patch 08/16] Remove unnecessary kmalloc casts in the parisc drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Matthew Wilcox [EMAIL PROTECTED] --- drivers/parisc/iosapic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/parisc/iosapic.c === ---

[Patch 01/16] Remove unnecessary kmalloc casts from the cris arch.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Mikael Starvik [EMAIL PROTECTED] --- arch/cris/arch-v32/mm/intmem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/arch/cris/arch-v32/mm/intmem.c === ---

[Patch 14/16] Remove needless kmalloc casts in the zd1211rw drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Daniel Drake [EMAIL PROTECTED] --- drivers/net/wireless/zd1211rw/zd_chip.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/net/wireless/zd1211rw/zd_chip.c

[Patch 16/16] Remove unnecessary kmalloc casts in the jfs filesystem.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: David Kleikamp [EMAIL PROTECTED] --- fs/jfs/jfs_dtree.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) Index: b/fs/jfs/jfs_dtree.c === --- a/fs/jfs/jfs_dtree.c +++

[Patch 06/16] This removes unnecessary kmalloc casts and corrects a test for kmalloc failure.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: Ronald Bultje [EMAIL PROTECTED] --- drivers/media/video/zoran_driver.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) Index: b/drivers/media/video/zoran_driver.c

[Patch 15/16] Remove unnecesary kmalloc casts in the scsi drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: James Bottomley [EMAIL PROTECTED] --- drivers/scsi/advansys.c |2 +- drivers/scsi/osst.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: b/drivers/scsi/advansys.c

[Patch 12/16] Remove unnecessary kmalloc casts in the libertas drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: John Linville [EMAIL PROTECTED] --- drivers/net/wireless/libertas/debugfs.c |2 +- drivers/net/wireless/libertas/ethtool.c |3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) Index: b/drivers/net/wireless/libertas/debugfs.c

[Patch 13/16] Remove needless kmalloc casts in the wireless drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: John Linville [EMAIL PROTECTED] --- drivers/net/wireless/ipw2100.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) Index: b/drivers/net/wireless/ipw2100.c

[Patch 07/16] Remove unnecessary kmalloc casts in the mtd drivers.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: David Woodhouse [EMAIL PROTECTED] --- drivers/mtd/maps/pmcmsp-flash.c | 11 --- drivers/mtd/maps/tqm8xxl.c |2 +- 2 files changed, 5 insertions(+), 8 deletions(-) Index: b/drivers/mtd/maps/pmcmsp-flash.c

[Patch 11/16] Remove unnecessary kmalloc casts in drivers/net.

2007-07-31 Thread jack
Signed-off-by: Jack Stone [EMAIL PROTECTED] CC: David Millver [EMAIL PROTECTED] --- drivers/net/gianfar.c |6 ++ drivers/net/lance.c |3 +-- drivers/net/s2io.c|4 ++-- drivers/net/sgiseeq.c |4 ++-- 4 files changed, 7 insertions(+), 10 deletions(-) Index:

Re: 2.6.20-2.6.21 - networking dies after random time

2007-07-31 Thread Jarek Poplawski
On Mon, Jul 30, 2007 at 09:29:38AM +0200, Marcin Ślusarz wrote: ... ps: I retested all patches posted in this thread on top of 2.6.22.1 and behavior from 2.6.21.3 didn't changed. My next tests will be on 2.6.22.x only. Marcin, I see you're quite busy, but if after testing this next Ingo's

Re: [rft] Kill junk from s2ram resume paths

2007-07-31 Thread Rafael J. Wysocki
Hi, On Tuesday, 31 July 2007 14:12, Pavel Machek wrote: Hi! This removes some stale debugging infrastructure from s2ram paths. Also, there's no need to verify_cpu on x86-64 -- cpu can't change during s2ram, and removed #if 0-ed code. Some testing would be useful, perpahs it will even fix

Re: [PATCH 5/7] sysfs: make sysfs_add/remove_one() call link/unlink_sibling() implictly

2007-07-31 Thread Cornelia Huck
On Tue, 31 Jul 2007 19:15:08 +0900, Tejun Heo [EMAIL PROTECTED] wrote: When adding or removing a sysfs_dirent, the user used to be required to call link/unlink separately. It was for two reasons - code looked like that before sysfs_addrm_cxt conversion and to avoid looping through

<    3   4   5   6   7   8   9   10   11   12   >