Re: [RFC PATCH 4/4] [RESEND] Recomputing msgmni on memory add / remove

2008-01-15 Thread Yasunori Goto
Hello Nadia-san. @@ -118,6 +122,10 @@ struct ipc_namespace { size_t shm_ctlall; int shm_ctlmni; int shm_tot; + +#ifdef CONFIG_MEMORY_HOTPLUG + struct notifier_block ipc_memory_hotplug; +#endif }; I'm sorry, but I don't see why

Re: 2.6.24-rc7-rt1

2008-01-15 Thread Mike Galbraith
On Mon, 2008-01-14 at 14:25 +0100, Mike Galbraith wrote: I forgot about it too. I'll likely poke at it again. poke push_rt_task() find_lock_lowest_rq() find_lowest_rq() return pick_optimal_cpu(). returned cpu is offline. Box prefers -1. -Mike -- To unsubscribe from

[patch] Converting writeback linked lists to a tree based data structure

2008-01-15 Thread Michael Rubin
From: Michael Rubin [EMAIL PROTECTED] For those of you who have waited so long. This is the third submission of the first attempt at this patch. It is a trilogy. Two changes are in this patch. They are dependant on each other. In addition we get an unintended performance improvement. Syncing

Re: Latest git-x86 doesn't build on 32bit

2008-01-15 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: On a fresh object dir I get for a 32bit build: only half of the tree got pushed out to x86.git. Re-pushing it. Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: 2.6.24-rc7 lockdep warning when poweroff

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 09:24 +0800, Dave Young wrote: On Tue, Jan 15, 2008 at 08:31:48AM +0800, Dave Young wrote: On Jan 14, 2008 6:51 PM, Johannes Berg [EMAIL PROTECTED] wrote: The warning that triggered (lockdep.c:700) means that one class (key) was used with more than one name.

Re: [PATCH -mm 0/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap

2008-01-15 Thread Ingo Molnar
* Huang, Ying [EMAIL PROTECTED] wrote: This patchset replaces boot_ioremap with a enhanced version of bt_ioremap and renames the bt_ioremap to early_ioremap. This reduces 12k from .init.data segment and increases the size of memory that can be re-mapped before paging_init to 64k. in

Re: [PATCH] Fix 32bit build for git-x86

2008-01-15 Thread Ingo Molnar
* Sam Ravnborg [EMAIL PROTECTED] wrote: I wonder how these tabs came in. I am almost sure they were not in my original patch. But as git-send-email do not save copies of my sent mails I cannot be sure. they are spaces in the patch i have from you, not tabs. I've attached your patch below.

Re: [PATCH] [7/31] Extract page table dumping code from i386 fault handler into dump_pagetable()

2008-01-15 Thread Harvey Harrison
On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Similar to x86-64. This is useful in other situations where we want the page table dumped too. Besides anything that makes i386 do_page_fault shorter is good. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/fault_32.c |

Re: [PATCH] [2/31] CPA: Do a simple self test at boot

2008-01-15 Thread Harvey Harrison
On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: When CONFIG_DEBUG_RODATA is enabled undo the ro mapping and redo it again. This gives some simple testing for change_page_attr() Optional patch, but I find it useful. Signed-off-by: Andi Kleen [EMAIL PROTECTED] ---

Re: [patch] Converting writeback linked lists to a tree based data structure

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 00:09 -0800, Michael Rubin wrote: From: Michael Rubin [EMAIL PROTECTED] For those of you who have waited so long. This is the third submission of the first attempt at this patch. It is a trilogy. Just a quick question, how does this interact/depend-uppon etc.. with

Re: [PATCH] [19/31] CPA: Limit cache flushing to pages that really change caching

2008-01-15 Thread Jan Beulich
+static unsigned short pat_bit[5] = { Could be const and perhaps even local to cache_attr_changed()... Jan -- 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

Re: [PATCH] [12/31] CPA: CLFLUSH support in change_page_attr()

2008-01-15 Thread Jan Beulich
- /* clflush is still broken. Disable for now. */ - if (1 || !cpu_has_clflush) + if (a-full_flush) asm volatile(wbinvd ::: memory); - else list_for_each_entry(pg, l, lru) { - void *adr = page_address(pg); - clflush_cache_range(adr,

Re: [PATCH 2/7] ieee1394 : use class iteration api

2008-01-15 Thread Dave Young
Is it right for me to put_device after class_find_device at following point? On Jan 12, 2008 5:50 PM, Dave Young [EMAIL PROTECTED] wrote: Convert to use the class iteration api. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/ieee1394/nodemgr.c | 319

doesn't nfs_access_cache_shrinker() race with umount?

2008-01-15 Thread yawei niu
Hi, NFS/VFS gurus nfs_access_cache_shrinker() calls igrab() without serialized with umount process, looks that might cause the busy inode after umount, doesn't it? I think we need to serialize the generic_shutdown_super() and nfs_access_cache_shrinker() just like the dcache/icache shrinker, am I

Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

2008-01-15 Thread Dave Young
Convert the class semaphore to mutex. Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/base/class.c | 38 +++--- drivers/base/core.c| 18 -- include/linux/device.h |3 ++- 3 files changed, 29 insertions(+), 30 deletions(-)

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

2008-01-15 Thread Jens Axboe
On Mon, Jan 14 2008, Jens Axboe wrote: On Mon, Jan 14 2008, Chris Mason wrote: Hello everyone, Here is a modified version of Jens' patch. The basic idea is to push the mapping maintenance out of loop and down into the filesystem (ext2 in this case). Two new address_space

Re: [RFC PATCH 0/4] [RESEND] Change default MSGMNI tunable to scale with lowmem

2008-01-15 Thread Matt Helsley
On Tue, 2008-01-15 at 10:06 +0100, Nadia Derbey wrote: I'm realizing that I wrote Andrew's address wrong. So please if ever you're answering in this thread correct his address by hand. Sorry for that! Now if you find it more convenient that I start a new thread with the right address,

Re: [RFC] mmaped copy too slow?

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 12:20 +0900, KOSAKI Motohiro wrote: Hi Rik While being able to deal with used-once mappings in page reclaim could be a good idea, this would require us to be able to determine the difference between a page that was accessed once since it was faulted in and a page

Re: [RFC] mmaped copy too slow?

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 18:03 +0900, KOSAKI Motohiro wrote: Hi Peter, While being able to deal with used-once mappings in page reclaim could be a good idea, this would require us to be able to determine the difference between a page that was accessed once since it was faulted in

Re: [RFC PATCH 0/4] [RESEND] Change default MSGMNI tunable to scale with lowmem

2008-01-15 Thread Nadia Derbey
I'm realizing that I wrote Andrew's address wrong. So please if ever you're answering in this thread correct his address by hand. Sorry for that! Now if you find it more convenient that I start a new thread with the right address, please tell me and I'll do it. Regards, Nadia -- To

Re: [PATCH] [26/31] CPA: Fix reference counting when changing already changed pages

2008-01-15 Thread Jan Beulich
+ ref_prot = canon_pgprot(ref_prot); + prot = canon_pgprot(prot); + if (pgprot_val(prot) != pgprot_val(ref_prot)) { ... } else if (level == 4) { ... } else { /* * When you're here you either set the same page to PAGE_KERNEL Doesn't

Re: [RFC PATCH 4/4] [RESEND] Recomputing msgmni on memory add / remove

2008-01-15 Thread Nadia Derbey
Yasunori Goto wrote: Hello Nadia-san. @@ -118,6 +122,10 @@ struct ipc_namespace { size_t shm_ctlall; int shm_ctlmni; int shm_tot; + +#ifdef CONFIG_MEMORY_HOTPLUG + struct notifier_block ipc_memory_hotplug; +#endif }; I'm sorry,

Re: [RFC] mmaped copy too slow?

2008-01-15 Thread KOSAKI Motohiro
Hi Peter, While being able to deal with used-once mappings in page reclaim could be a good idea, this would require us to be able to determine the difference between a page that was accessed once since it was faulted in and a page that got accessed several times. it makes sense

Re: [PATCH] Fix 32bit build for git-x86

2008-01-15 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: Fixes the 32build here with git-x86 (tip 2f42671697ea9abc7d10ea7f663d6ef6e8ec6358) Fix git-x86 build your patch does not apply and this build bug is not present in x86.git. This bit: - KBUILD_IMAGE := $(boot)/bzImage +KBUILD_IMAGE

Re: 2.6.24-rc7-rt1

2008-01-15 Thread Mike Galbraith
debug resume trace static inline int pick_optimal_cpu(int this_cpu, cpumask_t *mask) { int first; /* this_cpu is cheaper to preempt than a remote processor */ if ((this_cpu != -1) cpu_isset(this_cpu, *mask)) return this_cpu; first =

Re: Latest git-x86 doesn't build on 32bit

2008-01-15 Thread Andi Kleen
On Tue, Jan 15, 2008 at 09:57:57AM +0100, Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: On a fresh object dir I get for a 32bit build: you seem to have a modified git repository. Would surprise me -- i regularly remove the old one and reclone fresh. Also didn't other people

Re: Latest git-x86 doesn't build on 32bit

2008-01-15 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: On a fresh object dir I get for a 32bit build: you seem to have a modified git repository. KBUILD_IMAGE := arch/x86/boot/bzImage make[2]: KBUILD_IMAGE: Command not found make[2]: *** [all] Error 127 make[1]: *** [sub-make] Error 2 make: *** [all]

Re: [PATCH 1/7] driver-core : add class iteration api

2008-01-15 Thread Dave Young
Add the following class iteration functions for driver use: class_for_each_device class_find_device class_for_each_child class_find_child Signed-off-by: Dave Young [EMAIL PROTECTED] --- drivers/base/class.c | 159 + include/linux/device.h |

Re: [PATCH] [0/31] Great change_page_attr patch series v2

2008-01-15 Thread Jan Beulich
Andi Kleen [EMAIL PROTECTED] 14.01.08 23:16 Lots of improvements to change_page_attr(). Make it a lot more efficient and fix various bugs. Changes against earlier version - Fixed some checkpatch.pl complaints - Improved self test suite - Fixed more reference bugs - Fix NX handling on 32bit -

Re: sleep before boot panic

2008-01-15 Thread Andrew Morton
On Sun, 6 Jan 2008 19:08:42 +0100 Bernd Schubert [EMAIL PROTECTED] wrote: Hi, I just switched to libata (pata) on my laptop and the immediate panic made it impossible to figure out why my boot partition wasn't available. After applying this little patch I could check boot printk output and

Re: [RFC] A SCSI fault injection framework using SystemTap.

2008-01-15 Thread K.Tanaka
Matthew Wilcox wrote: On Tue, Jan 15, 2008 at 12:04:09PM +0900, K.Tanaka wrote: I would like to introduce a SCSI fault injection framework using SystemTap. Currently, kernel has Fault-injection framework and Faulty mode for md, which can also be used for testing the error handling. But, they

[PATCH][try #2] checkpatch: clear the report buffer after processing a file

2008-01-15 Thread Li Zefan
When checking multiple files, the report buffer is not cleared after processing a file, thus the report will be printed again and again, mixing up with other reports. Signed-off-by: Li Zefan [EMAIL PROTECTED] --- scripts/checkpatch.pl |6 +++--- 1 files changed, 3 insertions(+), 3

Re: [PATCH 1/7] driver-core : add class iteration api

2008-01-15 Thread Cornelia Huck
On Tue, 15 Jan 2008 17:13:22 +0800, Dave Young [EMAIL PROTECTED] wrote: Add the following class iteration functions for driver use: class_for_each_device class_find_device class_for_each_child class_find_child Signed-off-by: Dave Young [EMAIL PROTECTED] Acked-by: Cornelia Huck [EMAIL

Re: [RFC PATCH 4/4] [RESEND] Recomputing msgmni on memory add / remove

2008-01-15 Thread Yasunori Goto
Yasunori Goto wrote: Hello Nadia-san. @@ -118,6 +122,10 @@ struct ipc_namespace { size_t shm_ctlall; int shm_ctlmni; int shm_tot; + +#ifdef CONFIG_MEMORY_HOTPLUG + struct notifier_block ipc_memory_hotplug; +#endif }; I'm

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

2008-01-15 Thread Jens Axboe
On Tue, Jan 15 2008, Jens Axboe wrote: On Mon, Jan 14 2008, Jens Axboe wrote: On Mon, Jan 14 2008, Chris Mason wrote: Hello everyone, Here is a modified version of Jens' patch. The basic idea is to push the mapping maintenance out of loop and down into the filesystem (ext2 in

Re: [PATCH] [13/31] CPA: Use macros to modify the PG_arch_1 page flags in change_page_attr

2008-01-15 Thread Harvey Harrison
On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Instead of open coding the bit accesses uses standard style *PageDeferred* macros. Any reason these couldn't be static inlines in a shared header? asm/page.h perhaps? Cheers, Harvey -- To unsubscribe from this list: send the line

Re: [PATCH 2/2] updating ctime and mtime at syncing

2008-01-15 Thread Miklos Szeredi
Thanks for your review, Peter and Miklos! I overlooked this case when AS_MCTIME flag has been turned off and the page is still dirty. On the other hand, the words shall be marked for update may be considered as just setting the AS_MCTIME flag, not updating the time stamps. What do you

Re: [PATCH -mm 0/3] i386 boot: replace boot_ioremap with enhanced bt_ioremap

2008-01-15 Thread Huang, Ying
On Tue, 2008-01-15 at 09:44 +0100, Ingo Molnar wrote: * Huang, Ying [EMAIL PROTECTED] wrote: This patchset replaces boot_ioremap with a enhanced version of bt_ioremap and renames the bt_ioremap to early_ioremap. This reduces 12k from .init.data segment and increases the size of memory

Re: [PATCH] [7/31] Extract page table dumping code from i386 fault handler into dump_pagetable()

2008-01-15 Thread Harvey Harrison
On Tue, 2008-01-15 at 11:00 +0100, Andi Kleen wrote: +void dump_pagetable(unsigned long address) static? This is used by other files too with future patches. Also in general it's useful for debugging stuff - i often put calls to it into debugging patches. +{ +

Re: [PATCH] [0/31] Great change_page_attr patch series v2

2008-01-15 Thread Andi Kleen
On Tuesday 15 January 2008 10:11:44 Jan Beulich wrote: Andi Kleen [EMAIL PROTECTED] 14.01.08 23:16 Lots of improvements to change_page_attr(). Make it a lot more efficient and fix various bugs. Changes against earlier version - Fixed some checkpatch.pl complaints - Improved self test

[PATCH] rlim in proc/pid/status

2008-01-15 Thread Clifford Wolf
Hi, because I needed it already twice in two different projects this week: the following patch adds rlim (ulimits) output to /proc/pid/status. Please let me know if there is another (already existing) way of accessing this information easy (i.e. connecting with gdb to the process in question and

SATA DOM is not identified by ata_piix module

2008-01-15 Thread Mao Rui
Hi, I have a PQI Turbo SATA DOM. It works well under Windows. I installed it in a SuperMicro motherboard, Intel 5000P chipset. The OS is Ubuntu 7.04, kernel 2.6.20-15. But the DOM is not appeared as a device node, and I found several error messages in kernel log. [   67.124299] ata2.00: qc

Re: TSC HPET calibration

2008-01-15 Thread Andrew Morton
On Thu, 10 Jan 2008 14:36:12 +0200 Denys Fedoryshchenko [EMAIL PROTECTED] wrote: Hi I have same issue, but it's never passed synchronization. Jan 10 12:59:44 visp-1 Time: tsc clocksource has been installed. Jan 10 13:41:51 visp-1 ACPI: HPET 000F29CD, 0038 (r1 DELL PE_SC3 1

Re: [PATCH] [13/31] CPA: Use macros to modify the PG_arch_1 page flags in change_page_attr

2008-01-15 Thread Harvey Harrison
On Tue, 2008-01-15 at 11:06 +0100, Andi Kleen wrote: On Tuesday 15 January 2008 10:29:51 Harvey Harrison wrote: On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Instead of open coding the bit accesses uses standard style *PageDeferred* macros. Any reason these couldn't be

Re: [PATCH] [26/31] CPA: Fix reference counting when changing already changed pages

2008-01-15 Thread Andi Kleen
On Tuesday 15 January 2008 10:05:44 Jan Beulich wrote: +ref_prot = canon_pgprot(ref_prot); +prot = canon_pgprot(prot); + if (pgprot_val(prot) != pgprot_val(ref_prot)) { ... } else if (level == 4) { ... } else { /* * When you're here you

Re: [PATCH] [13/31] CPA: Use macros to modify the PG_arch_1 page flags in change_page_attr

2008-01-15 Thread Andi Kleen
On Tuesday 15 January 2008 10:29:51 Harvey Harrison wrote: On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Instead of open coding the bit accesses uses standard style *PageDeferred* macros. Any reason these couldn't be static inlines in a shared header? The whole usage of that

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

2008-01-15 Thread Takashi Iwai
At Mon, 14 Jan 2008 16:03:22 -0500, Daniel Hazelton wrote: On Monday 14 January 2008 06:04:20 Takashi Iwai wrote: snip Could this have anything to do with the following messages I've seen when trying -rc7 ? [7.760269] pnpacpi: exceeded the max number of mem resources: 12

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

2008-01-15 Thread Jens Axboe
On Tue, Jan 15 2008, Jens Axboe wrote: On Tue, Jan 15 2008, Jens Axboe wrote: On Mon, Jan 14 2008, Jens Axboe wrote: On Mon, Jan 14 2008, Chris Mason wrote: Hello everyone, Here is a modified version of Jens' patch. The basic idea is to push the mapping maintenance out of

Re: Latest git-x86 doesn't build on 32bit

2008-01-15 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: On Tue, Jan 15, 2008 at 09:57:57AM +0100, Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: On a fresh object dir I get for a 32bit build: you seem to have a modified git repository. Would surprise me -- i regularly remove the old

Re: [PATCH] [12/31] CPA: CLFLUSH support in change_page_attr()

2008-01-15 Thread Andi Kleen
On Tuesday 15 January 2008 09:40:27 Jan Beulich wrote: -/* clflush is still broken. Disable for now. */ -if (1 || !cpu_has_clflush) +if (a-full_flush) asm volatile(wbinvd ::: memory); -else list_for_each_entry(pg, l, lru) { -void *adr =

Re: [PATCH] [2/31] CPA: Do a simple self test at boot

2008-01-15 Thread Andi Kleen
global_flush_tlb outside CONFIG_CPA_DEBUG here. Intentional? Yes that's all intentional. Without CPA_DEBUG there is only a single flush, with CPA_DEBUG we flush more often simply to catch bugs. -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] [7/31] Extract page table dumping code from i386 fault handler into dump_pagetable()

2008-01-15 Thread Andi Kleen
+void dump_pagetable(unsigned long address) static? This is used by other files too with future patches. Also in general it's useful for debugging stuff - i often put calls to it into debugging patches. +{ + typeof(pte_val(__pte(0))) page; Is there any type that could be picked

Re: [PATCH] [2/31] CPA: Do a simple self test at boot

2008-01-15 Thread Harvey Harrison
On Tue, 2008-01-15 at 10:59 +0100, Andi Kleen wrote: global_flush_tlb outside CONFIG_CPA_DEBUG here. Intentional? Yes that's all intentional. Without CPA_DEBUG there is only a single flush, with CPA_DEBUG we flush more often simply to catch bugs. OK, it just looked a bit fishy with the

Re: [patch 4/9] unprivileged mounts: propagate error values from clone_mnt

2008-01-15 Thread Miklos Szeredi
Quoting Miklos Szeredi ([EMAIL PROTECTED]): From: Miklos Szeredi [EMAIL PROTECTED] Allow clone_mnt() to return errors other than ENOMEM. This will be used for returning a different error value when the number of user mounts goes over the limit. Fix copy_tree() to return EPERM

Re: [RFC PATCH 4/4] [RESEND] Recomputing msgmni on memory add / remove

2008-01-15 Thread Nadia Derbey
Yasunori Goto wrote: Yasunori Goto wrote: Hello Nadia-san. @@ -118,6 +122,10 @@ struct ipc_namespace { size_t shm_ctlall; int shm_ctlmni; int shm_tot; + +#ifdef CONFIG_MEMORY_HOTPLUG + struct notifier_block ipc_memory_hotplug;

Re: section mismatch warning in head_64.S

2008-01-15 Thread Alejandro Riveira Fernández
El Mon, 7 Jan 2008 17:31:39 +0100 Sam Ravnborg [EMAIL PROTECTED] escribió: On Mon, Jan 07, 2008 at 04:53:44PM +0100, Alejandro Riveira Fernández wrote: MODPOST vmlinux.o WARNING: vmlinux.o(.text.head+0xe4): Section mismatch: reference to .init.data.2:trampoline_level4_pgt (between

Re: [PATCH] [13/31] CPA: Use macros to modify the PG_arch_1 page flags in change_page_attr

2008-01-15 Thread Andi Kleen
On Tuesday 15 January 2008 11:15:02 Harvey Harrison wrote: On Tue, 2008-01-15 at 11:06 +0100, Andi Kleen wrote: On Tuesday 15 January 2008 10:29:51 Harvey Harrison wrote: On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Instead of open coding the bit accesses uses standard style

Re: [PATCH 1/1] : hwmon - new chip driver for TI ADS7828 A-D

2008-01-15 Thread Jean Delvare
Hi Steve, On Mon, 14 Jan 2008 22:28:51 +, Steve Hardy wrote: As far as I know boolean parameters take values 0 and 1, not N and Y. Not on the systems I am testing on (2.6.24-rc6) - the sysfs interface displays boolean parameters as Y/N, and will accept boot parameters as either Y/N or

Re: Top 10 kernel oopses for the week ending January 12th, 2008

2008-01-15 Thread Jiri Kosina
On Sun, 13 Jan 2008, Adrian Bunk wrote: Rank 1: implement (hid code) WARN_ON at drivers/hid/hid-core.c:784 Reported 23 times (39 total reports) This appears to be the kernel doing a WARN_ON based on unexpected ioctl() arguments More info:

Re: [PATCH] [9/31] CPA: Add simple self test at boot

2008-01-15 Thread Harvey Harrison
On Mon, 2008-01-14 at 23:16 +0100, Andi Kleen wrote: Since change_page_attr() is tricky code it is good to have some regression test code. This patch maps and unmaps some random pages in the direct mapping at boot and then dumps the state and does some simple sanity checks. Add it with a

Re: [PATCH 2/2] updating ctime and mtime at syncing

2008-01-15 Thread Anton Salikhmetov
2008/1/15, Miklos Szeredi [EMAIL PROTECTED]: Thanks for your review, Peter and Miklos! I overlooked this case when AS_MCTIME flag has been turned off and the page is still dirty. On the other hand, the words shall be marked for update may be considered as just setting the AS_MCTIME

Re: rlim in proc/pid/status

2008-01-15 Thread KOSAKI Motohiro
Hi sound good for me. a few question please. + for (i=0; iRLIM_NLIMITS; i++) { + if (rlim_names[i]) + buffer += sprintf(buffer, Rlim%s:\t, rlim_names[i]); + else + buffer += sprintf(buffer, Rlim%d:\t, i); this else is

Re: Fwd: Re: [2.6.24 patch] restore ARMv6 OProfile support

2008-01-15 Thread Russell King
I never got a response on my message, but I have just receieved: | Date: Tue, 15 Jan 2008 11:05:00 +0100 | From: Joerg Wagner [EMAIL PROTECTED] | To: ARM Linux Mailing List [EMAIL PROTECTED] | Subject: 2.6.24-rc7 : oprofile on MPCore broken | | Hello, | | just tried to use oprofile on

Re: [patch 9/9] unprivileged mounts: add no submounts flag

2008-01-15 Thread A. C. Censi
On Jan 15, 2008 8:41 AM, Miklos Szeredi [EMAIL PROTECTED] wrote: Quoting Miklos Szeredi ([EMAIL PROTECTED]): From: Miklos Szeredi [EMAIL PROTECTED] Add a new mount flag nomnt, which denies submounts for the owner. This would be useful, if we want to support traditional /etc/fstab

Re: [PATCH 08/10] x86: Change NR_CPUS arrays in numa_64 V2

2008-01-15 Thread Andi Kleen
[EMAIL PROTECTED] writes: + /* Returns the number of the node containing CPU 'cpu' */ static inline int cpu_to_node(int cpu) { - return cpu_to_node_map[cpu]; + u16 *cpu_to_node_map = x86_cpu_to_node_map_early_ptr; + + if (cpu_to_node_map) + return

Re: ATA device reset, shoud I be concerned?

2008-01-15 Thread Andrew Morton
On Mon, 14 Jan 2008 00:19:20 +0200 Georgi Chulkov [EMAIL PROTECTED] wrote: Hello, During heavy disk load on my laptop, sometimes the IDE disk will pause for a second and then continue. I get this in my kernel log: [ 9031.028000] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-15 Thread Alan Cox
On Tue, 15 Jan 2008 10:01:21 +0900 KOSAKI Motohiro [EMAIL PROTECTED] wrote: the core of this patch series. add /dev/mem_notify device for notification low memory to user process. As you only wake one process how would you use this API from processes which want to monitor and can free memory

Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement

2008-01-15 Thread Alan Cox
On Tue, 15 Jan 2008 10:03:23 +0900 KOSAKI Motohiro [EMAIL PROTECTED] wrote: show new member of zone struct by /proc/zoneinfo. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Signed-off-by: KOSAKI Motohiro [EMAIL PROTECTED] Minor NAK - Please put new fields at the end - it makes it less

Re: [patch 9/9] unprivileged mounts: add no submounts flag

2008-01-15 Thread Miklos Szeredi
Quoting Miklos Szeredi ([EMAIL PROTECTED]): From: Miklos Szeredi [EMAIL PROTECTED] Add a new mount flag nomnt, which denies submounts for the owner. This would be useful, if we want to support traditional /etc/fstab based user mounts. In this case mount(8) would still have to be

Re: [patch 8/9] unprivileged mounts: propagation: inherit owner from parent

2008-01-15 Thread Miklos Szeredi
Quoting Miklos Szeredi ([EMAIL PROTECTED]): From: Miklos Szeredi [EMAIL PROTECTED] On mount propagation, let the owner of the clone be inherited from the parent into which it has been propagated. Also if the parent has the nosuid flag, set this flag for the child as well. What

Re: [patch 7/9] unprivileged mounts: allow unprivileged fuse mounts

2008-01-15 Thread Miklos Szeredi
Sounds like a sysctl to enable FS_SAFE for fuse will make this patch acceptable to everyone? I think the most generic approach, is to be able to set safeness for any fs type, not just fuse (Karel's suggestion). E.g: echo 1 /proc/sys/fs/types/cifs/safe This would also provide a way to

Re: [RFC][PATCH 5/5] /proc/zoneinfo enhancement

2008-01-15 Thread KOSAKI Motohiro
Hi alan show new member of zone struct by /proc/zoneinfo. Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED] Signed-off-by: KOSAKI Motohiro [EMAIL PROTECTED] Minor NAK - Please put new fields at the end - it makes it less likely to break badly written tools. Oh I see. I applied your

Re: [CALL FOR TESTING] Make Ext3 fsck way faster [2.6.24-rc6 -mm patch]

2008-01-15 Thread Andrew Morton
I'm wondering about the real value of this change, really. In any decent environment, people will fsck their ext3 filesystems during planned downtime, and the benefit of reducing that downtime from 6 hours/machine to 2 hours/machine is probably fairly small, given that there is no service

Re: SATA DOM is not identified by ata_piix module

2008-01-15 Thread Alan Cox
On Tue, 15 Jan 2008 18:11:25 +0800 Mao Rui [EMAIL PROTECTED] wrote: Hi, I have a PQI Turbo SATA DOM. It works well under Windows. I installed it in a SuperMicro motherboard, Intel 5000P chipset. The OS is Ubuntu 7.04, kernel 2.6.20-15. But the DOM is not appeared as a device node, and I

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-15 Thread Alan Cox
On Tue, 15 Jan 2008 19:59:02 +0900 KOSAKI Motohiro [EMAIL PROTECTED] wrote: the core of this patch series. add /dev/mem_notify device for notification low memory to user process. As you only wake one process how would you use this API from processes which want to monitor and can

Re: [patch 9/9] unprivileged mounts: add no submounts flag

2008-01-15 Thread Miklos Szeredi
Why not nosubmnt? Why not indeed. Maybe I should try to use my brain sometime. Thanks, Miklos -- 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 read

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-15 Thread KOSAKI Motohiro
the core of this patch series. add /dev/mem_notify device for notification low memory to user process. As you only wake one process how would you use this API from processes which want to monitor and can free memory under load. Also what fairness guarantees are there... Sorry, I don't

Re: [dm-devel] [RFC] A SCSI fault injection framework using SystemTap.

2008-01-15 Thread Alasdair G Kergon
On Tue, Jan 15, 2008 at 12:04:09PM +0900, K.Tanaka wrote: -dm-mirror's redundancy doesn't work. A read error from the disk consisting the array will be directory passed to the userspace, without reading from the other mirror. (It turns out that this issue is a known issue, but the

Re: ATA device reset, shoud I be concerned?

2008-01-15 Thread Alan Cox
[ 9031.028000] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen [ 9031.028000] ata1.00: cmd c8/00:08:90:ca:ce/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 in [ 9031.028000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) We got bored of waiting

Re: bugreport kernel panic on early stage, with HIGHMEM4G:

2008-01-15 Thread Ingo Molnar
* Denys Fedoryshchenko [EMAIL PROTECTED] wrote: Hi After physical memory upgrade from 3GB to 4GB (also it happens on 5GB) got kernel panic. Because it is happening on early stage and my machine doesn't contain serial port, i had to take photo. Kernel boots fine with 64GB highmem, no

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-15 Thread KOSAKI Motohiro
Hi Alan thank you for kindfull explain. the core of this patch series. add /dev/mem_notify device for notification low memory to user process. As you only wake one process how would you use this API from processes which want to monitor and can free memory under load. Also what

Re: [PATCH] [0/31] Great change_page_attr patch series v2

2008-01-15 Thread Jan Beulich
The one concept that I'm missing (but that I can easily produce a follow-up patch for, as I had this in my c_p_a() changes) is the tracking and adjusting of the reference protection for a large page range that got fully converted to another type (namely relevant for .rodata if it exceeds 2/4

Re: [PATCH] [26/31] CPA: Fix reference counting when changing already changed pages

2008-01-15 Thread Jan Beulich
Andi Kleen [EMAIL PROTECTED] 15.01.08 11:04 On Tuesday 15 January 2008 10:05:44 Jan Beulich wrote: + ref_prot = canon_pgprot(ref_prot); + prot = canon_pgprot(prot); + if (pgprot_val(prot) != pgprot_val(ref_prot)) { ... } else if (level == 4) { ... } else {

Re: hrtimer.c devinit vs. cpuinit

2008-01-15 Thread Sam Ravnborg
On Tue, Jan 15, 2008 at 01:30:10AM +0100, Johannes Berg wrote: Hi, Looking through hrtimer.c I noticed static void __devinit init_hrtimers_cpu(int cpu) static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self, unsigned long action, void

Re: rlim in proc/pid/status

2008-01-15 Thread Clifford Wolf
Hi, On Tue, Jan 15, 2008 at 07:47:22PM +0900, KOSAKI Motohiro wrote: sound good for me. a few question please. + for (i=0; iRLIM_NLIMITS; i++) { + if (rlim_names[i]) + buffer += sprintf(buffer, Rlim%s:\t, rlim_names[i]); + else +

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

2008-01-15 Thread Aggrwal Poonam
Thanks Kumar/Morton/Kim I shall make a small paragraph which describes the TDM driver architecture and the interfaces it exposes. As far as 8315 TDM is concerned it is a non QE driver and quite different from this except for the functionality and external interface it exposes. Right now TDM is

Re: [RFC][PATCH 3/5] add /dev/mem_notify device

2008-01-15 Thread Marcelo Tosatti
Hi Alan, On Tue, Jan 15, 2008 at 11:20:27AM +, Alan Cox wrote: On Tue, 15 Jan 2008 19:59:02 +0900 KOSAKI Motohiro [EMAIL PROTECTED] wrote: the core of this patch series. add /dev/mem_notify device for notification low memory to user process. As you only wake one process

Re: Fwd: Re: [2.6.24 patch] restore ARMv6 OProfile support

2008-01-15 Thread Adrian Bunk
On Tue, Jan 15, 2008 at 10:45:26AM +, Russell King wrote: I never got a response on my message, but I have just receieved: | Date: Tue, 15 Jan 2008 11:05:00 +0100 | From: Joerg Wagner [EMAIL PROTECTED] | To: ARM Linux Mailing List [EMAIL PROTECTED] | Subject: 2.6.24-rc7 : oprofile on

hrtimer.c devinit vs. cpuinit

2008-01-15 Thread Johannes Berg
Hi, Looking through hrtimer.c I noticed static void __devinit init_hrtimers_cpu(int cpu) static int __cpuinit hrtimer_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu) Couldn't the first be __cpuinit as well? johannes

Re: 2.6.24-rc7 lockdep warning when poweroff

2008-01-15 Thread Johannes Berg
Ok, I checked all users of the create*workqueue() API now. Turns out that there are many users that give a dynamic string as the workqueue name (only the first three are relevant for the problem at hand because the others are single-threaded): drivers/connector/cn_queue.c

Re: 2.6.24-rc7 lockdep warning when poweroff

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 11:41 +0100, Johannes Berg wrote: Ok, I checked all users of the create*workqueue() API now. Turns out that there are many users that give a dynamic string as the workqueue name (only the first three are relevant for the problem at hand because the others are

Re: [PATCH]PCIE ASPM support - takes 2

2008-01-15 Thread Matthew Wilcox
On Tue, Jan 15, 2008 at 01:07:02PM +0800, Shaohua Li wrote: + +/* Called after ACPI is enabled */ +static int __init acpi_pcie_support_init(void) +{ + pcie_aspm_init(); + return 0; +} +fs_initcall(acpi_pcie_support_init); Is there any reason to put this in here instead

[PATCH 13/13] writeback: cleanup __sync_single_inode()

2008-01-15 Thread Fengguang Wu
Make the if-else straight in __sync_single_inode(). No behavior change. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) ---

[PATCH 12/13] writeback: remove redirty_tail()

2008-01-15 Thread Fengguang Wu
Remove redirty_tail(). It's no longer used. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c | 24 1 files changed, 24 deletions(-) --- linux-mm.orig/fs/fs-writeback.c +++

[PATCH 01/13] writeback: revert 2e6883bdf49abd0e7f0d9b6297fc3be7ebb2250b

2008-01-15 Thread Fengguang Wu
Revert 2e6883bdf49abd0e7f0d9b6297fc3be7ebb2250b. Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |2 -- include/linux/writeback.h |1 - mm/page-writeback.c |9 +++-- 3 files changed, 3 insertions(+), 9 deletions(-) Index:

[PATCH 02/13] writeback: clear PAGECACHE_TAG_DIRTY for truncated page in block_write_full_page()

2008-01-15 Thread Fengguang Wu
The `truncated' page in block_write_full_page() may stick for a long time. E.g. ext2_rmdir() will set i_size to 0, and then the dir inode may hang around because of being referenced by someone. So clear PAGECACHE_TAG_DIRTY to prevent pdflush from retrying and iowaiting on it. Tested-by: Joerg

[PATCH 08/13] writeback: defer writeback on locked buffers

2008-01-15 Thread Fengguang Wu
Convert to requeue_io_wait() for case: pages skipped due to locked buffers. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter Zijlstra [EMAIL PROTECTED] Signed-off-by: Fengguang Wu [EMAIL PROTECTED] --- fs/fs-writeback.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 03/13] writeback: introduce writeback_control.more_io

2008-01-15 Thread Fengguang Wu
Introduce writeback_control.more_io to indicate that more I/O is scheduled for this wakeup of pdflush. Note that more_io is only updated on the _visited_ superblocks, which prevents pdflush deamons from interfering with one another. Cc: Michael Rubin [EMAIL PROTECTED]

[PATCH 05/13] writeback: merge duplicate code into writeback_some_pages()

2008-01-15 Thread Fengguang Wu
Merge duplicate code from background_writeout() and wb_kupdate() into writeback_some_pages(). The pages_skipped in background_writeout() is ignored. The inode cannot be written now will be retried in the next run of pdflush, typically in 5s. Cc: Michael Rubin [EMAIL PROTECTED] Cc: Peter

Re: 2.6.24-rc7 lockdep warning when poweroff

2008-01-15 Thread Peter Zijlstra
On Tue, 2008-01-15 at 13:39 +0100, Johannes Berg wrote: To make sure now: same key - different name - BAD same key - same name- OK different key - same name - OK Strictly speaking one can do that, although I would recommend against it - it leads to

  1   2   3   4   5   6   7   8   9   10   >