Re: Initial report on F2FS filesystem performance

2012-10-15 Thread Namjae Jeon
Hello. Would you share the result about random read ? Thanks. 2012/10/16, Sooman Jeong <77sm...@hanyang.ac.kr>: > > This is a brief summary of our initial filesystem performance study of f2fs > against existing two filesystems in linux: EXT4, NILFS2, and f2fs. > > > * test platform >  i) Desktop

Re: Re: [PATCH v4 2/3] devfreq: Add suspend and resume apis

2012-10-15 Thread MyungJoo Ham
> On Monday 08 of October 2012 10:48:24 MyungJoo Ham wrote: > > > On 8 October 2012 03:31, Rafael J. Wysocki wrote: > > > > On Thursday 04 of October 2012 14:58:33 Rajagopal Venkat wrote: > > > >> Add devfreq suspend/resume apis for devfreq users. This patch > > > >> supports suspend and resume of

Re: linux-next: manual merge of the cortex tree with Linus' tree

2012-10-15 Thread Uwe Kleine-König
On Tue, Oct 16, 2012 at 01:20:52PM +1100, Stephen Rothwell wrote: > Hi Uwe, > > Today's linux-next merge of the cortex tree got a conflict in > arch/arm/kernel/process.c between commit 9e14f828ee4a ("arm: split > ret_from_fork, simplify kernel_thread() [based on patch by rmk]") from > Linus' tree

Re: [PATCH v2 2/4] gpio: add viperboard gpio driver

2012-10-15 Thread Lars Poeschel
On Monday 15 October 2012 at 15:00:12, Linus Walleij wrote: > > +#define VPRBRD_GPIOA_CLK_1 0 /* (1us = 1MHz) > > */ +#define VPRBRD_GPIOA_CLK_101 /* (10us = > > 100kHz) */ +#define VPRBRD_GPIOA_CLK_100 2 /* (100us > > = 10kHz)

[git pull] drm fixes

2012-10-15 Thread Dave Airlie
Hi Linus, fixes for i915, nouveau and radeon i915: haswell stability, modeset rework fallout, ums fix nouveau: misc fixes from code rework radeon: pll rework fixes, more 2 level PTE cleanups. core: warning fixes on 32-bit. Dave. The following changes since commit ddffeb8c4d0331609ef2581d84de4d

Re: [m68k,powerpc,dma,ethernet,freescale RFA] Coldfire m54xx FEC ethernet driver

2012-10-15 Thread Greg Ungerer
Hi Philippe, On 09/10/12 19:07, Philippe De Muyter wrote: [CCing lkml, linux-ppc, netdev, linux-m68k] Hello kernel sources architects I have a working driver for the m54xx FEC ethernet driver that I would like to integrate in the kernel tree. Problems are that - this driver needs an associate

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: "Yu, Fenghua" Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 05:14:46 + >> >> My motivation is to use multiple CPUs in order to quickly generate >> >> crash dump on the machine with huge amount of memory. I assume such >> >> machine tends to

Re: Re: [PATCH] block: Add blk_rq_pos(rq) to sort rq when plushing plug-list.

2012-10-15 Thread Jianpeng Ma
On 2012-10-15 21:18 Shaohua Li Wrote: >2012/10/15 Shaohua Li : >> 2012/10/15 Jianpeng Ma : >>> My workload is a raid5 which had 16 disks. And used our filesystem to >>> write using direct-io mode. >>> I used the blktrace to find those message: >>> >>> 8,16 0 3570 1.083923979 2519 I W

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-15 Thread Sha Zhengju
On 10/16/2012 02:12 PM, David Rientjes wrote: On Tue, 16 Oct 2012, Sha Zhengju wrote: From: Sha Zhengju Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering task in out-of-memory situations, but it only works on overall system-wide oom. But it's also a useful indicati

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-15 Thread Mark Brown
On Thu, Oct 11, 2012 at 05:32:59PM +0200, Linus Walleij wrote: > On Thu, Oct 11, 2012 at 5:41 AM, Christopher Heiny > wrote: > > In previous patch submissions, we always used these warning functions. > > But in the feedback on those patches, we were asked to just make > > sysfs show/store NULL i

[PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-15 Thread Sha Zhengju
From: Sha Zhengju Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering task in out-of-memory situations, but it only works on overall system-wide oom. But it's also a useful indication in memcg so we take it into consideration while oom happening in memcg. Other sysctl s

Re: [PATCH v2] ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef CONFIG_HIBERNATION

2012-10-15 Thread Fengguang Wu
On Tue, Oct 16, 2012 at 01:24:12PM +0800, Yuanhan Liu wrote: > acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, > but the current code put the declaration in #ifdef CONFIG_PM_SLEEP block. > > I happened to meet this issue when I turned off PM_SLEEP config manually: > arch/x86

Re: Write is not atomic?

2012-10-15 Thread Juliusz Chroboczek
> This seems out of context. > If the file was open(2)ed with O_APPEND, the file offset is first > set to the end of the file before writing. The adjustment of the > file offset and the write operation are performed as an atomic > step. > Sounds different, doesn't it? Ye

Re: [PATCH 5/6] MFD: twl6040: Convert to use regmap_irq

2012-10-15 Thread Mark Brown
On Thu, Oct 11, 2012 at 01:55:32PM +0200, Peter Ujfalusi wrote: > With regmap_irq it is possibole to remove the twl6040-irq.c file and > simplify the code. Reviewed-by: Mark Brown -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-15 Thread David Rientjes
On Tue, 16 Oct 2012, Sha Zhengju wrote: > From: Sha Zhengju > > Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering > task in out-of-memory situations, but it only works on overall system-wide > oom. > But it's also a useful indication in memcg so we take it into cons

Re: mpol_to_str revisited.

2012-10-15 Thread David Rientjes
On Tue, 16 Oct 2012, KOSAKI Motohiro wrote: > >> I don't think 80de7c3138ee9fd86a98696fd2cf7ad89b995d0a is right fix. > > > > It's certainly not a complete fix, but I think it's a much better result > > of the race, i.e. we don't panic anymore, we simply fail the read() > > instead. > > Even thou

Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping & IOMMU - physically contiguous allocations

2012-10-15 Thread Hiroshi Doyu
Hi Inki/Marek, On Tue, 16 Oct 2012 02:50:16 +0200 Inki Dae wrote: > 2012/10/15 Marek Szyprowski : > > Hello, > > > > Some devices, which have IOMMU, for some use cases might require to > > allocate a buffers for DMA which is contiguous in physical memory. Such > > use cases appears for example i

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-10-15 Thread Wen Congyang
At 09/14/2012 09:36 AM, Hugh Dickins Wrote: > On Thu, 13 Sep 2012, Johannes Weiner wrote: >> On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: >>> root_mem_cgroup->info.nodeinfo is initialized when the system boots. >>> But NODE_DATA(nid) is null if the node is not onlined, so >>> root_

Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to use common clk drivers

2012-10-15 Thread Sekhar Nori
Hi Murali, On 10/15/2012 9:21 PM, Karicheri, Muralidharan wrote: > --Cut > >>> Subject: Re: [PATCH v2 09/13] ARM: davinci - update the dm644x soc code to >>> use >>> common clk drivers >>> >> You have chosen to keep all clock related data in platform files >> while using the common c

Re: [RFC PATCH 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-15 Thread Minchan Kim
On Tue, Oct 16, 2012 at 09:56:48AM +0800, Ming Lei wrote: > On Mon, Oct 15, 2012 at 11:47 PM, Minchan Kim wrote: > > On Mon, Oct 15, 2012 at 01:14:17PM +0800, Ming Lei wrote: > >> This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of > >> 'struct task_struct'), so that the flag c

Re: [PATCH v9 05/12] x86, hotplug, suspend: Online CPU0 for suspend or hibernate

2012-10-15 Thread Srivatsa S. Bhat
On 10/16/2012 02:20 AM, Rafael J. Wysocki wrote: > On Friday 12 of October 2012 09:09:42 Fenghua Yu wrote: >> From: Fenghua Yu >> >> Because x86 BIOS requires CPU0 to resume from sleep, suspend or hibernate >> can't >> be executed if CPU0 is detected offline. To make suspend or hibernate and >> f

Re: [PATCH 04/10] ASoC: imx: Don't use {en,dis}able_fiq() calls

2012-10-15 Thread Mark Brown
On Mon, Oct 15, 2012 at 02:51:28PM -0700, Anton Vorontsov wrote: > The driver uses platform-specific mxc_set_irq_fiq() with the VIRQ cookie > passed to it, so it's pretty clear that the driver is absolutely sure > that the FIQ is routed via platform-specific IC, and that the cookie can > be used to

Re: [PATCH 1/2] regulator: core: Check before enabling regulator while setting constraints.

2012-10-15 Thread Mark Brown
On Tue, Oct 16, 2012 at 10:54:19AM +0530, Yadwinder Singh Brar wrote: > This patch adds check, whether regulator is already enabled before enabling it > while setting machine constraints. Since some PMICs have same register bits > for setting opmode and enabling/disabling the regulator, so it will

Re: [PATCH] Fix scheduling-while-atomic problem in console_cpu_notify()

2012-10-15 Thread Srivatsa S. Bhat
On 10/16/2012 10:05 AM, Paul E. McKenney wrote: > On Mon, Oct 15, 2012 at 05:31:28PM -0700, Paul E. McKenney wrote: >> The console_cpu_notify( function runs with interrupts disabled in >> the CPU_DEAD case. It therefore cannot block, for example, as will >> happen when it calls console_lock(). Th

[PATCH 2/2] regulator: max77686: Add set_suspend_disable/set_suspend_mode callbacks.

2012-10-15 Thread Yadwinder Singh Brar
This patch implements set_suspend_disable callback for BUCKs which support only switch ON/OFF modes during system suspend state, and set_suspend_mode callbacks for LDOs which also suport Low power mode and switch ON/OFF modes. Signed-off-by: Yadwinder Singh Brar --- drivers/regulator/max77686.c

Re: [RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-15 Thread Anshuman Khandual
On 10/15/2012 10:53 PM, Arun Sharma wrote: > On 10/15/12 8:55 AM, Robert Richter wrote: > > [..] >> Perf tool works then out-of-the-box with: >> >> $ perf record -e cpu/stalled-cycles-fixed-point/ ... >> >> The event string can easily be reused by other architectures as a >> quasi standard. > >

[PATCH 1/2] regulator: core: Check before enabling regulator while setting constraints.

2012-10-15 Thread Yadwinder Singh Brar
This patch adds check, whether regulator is already enabled before enabling it while setting machine constraints. Since some PMICs have same register bits for setting opmode and enabling/disabling the regulator, so it will overwrite the settings (if any)done by set_mode/set_suspend_mode callbacks w

[PATCH v2] ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef CONFIG_HIBERNATION

2012-10-15 Thread Yuanhan Liu
acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, but the current code put the declaration in #ifdef CONFIG_PM_SLEEP block. I happened to meet this issue when I turned off PM_SLEEP config manually: arch/x86/kernel/acpi/sleep.c:100:4: error: implicit declaration of function ‘a

Re: [PATCH] ACPI: fix the wrong #ifdef for acpi_no_s4_hw_signature

2012-10-15 Thread Yuanhan Liu
On Tue, Oct 16, 2012 at 12:27:13PM +0800, Fengguang Wu wrote: > The title could be made more descriptive: > > ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef > CONFIG_HIBERNATION Yes, much better. > > On Tue, Oct 16, 2012 at 12:05:03PM +0800, Yuanhan Liu wrote: > > acpi_no_s4_hw_si

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: HATAYAMA Daisuke Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 14:03:13 +0900 > From: "Yu, Fenghua" > Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP > Date: Tue, 16 Oct 2012 04:51:36 + > >>> -Original Message-

Re: [GIT PULL] Disintegrate UAPI for xtensa [ver #2]

2012-10-15 Thread Max Filippov
On Tue, Oct 9, 2012 at 1:16 PM, David Howells wrote: > Can you merge the following branch into the xtensa tree please. > > This is to complete part of the UAPI disintegration for which the preparatory > patches were pulled recently. > > Now that the fixups and the asm-generic chunk have been merge

Re: [PATCH 1/2] ASoC: Ux500: Dispose of device nodes correctly

2012-10-15 Thread Mark Brown
On Mon, Oct 15, 2012 at 02:13:25PM +0100, Lee Jones wrote: > When of_parse_phandle() is used to find a device node, its > reference count is incremented by the helper. Once we're > finished with them, it's our responsibly to ensure they > are freed in the correct manor. Applied both, thanks. -- To

RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread Yu, Fenghua
> >> My motivation is to use multiple CPUs in order to quickly generate > >> crash dump on the machine with huge amount of memory. I assume such > >> machine tends to also have a lot of CPUs. So disabling one CPU would > >> be no problem. > > > > Luckily you don't need to disable any CPU to archive

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-15 Thread Mark Brown
On Mon, Oct 15, 2012 at 02:16:59PM +0100, Lee Jones wrote: > Here we provide the GPIO Regulator driver with Device Tree capability, so > that when a platform is booting with DT instead of platform data we can > still make full use of it. Not looked at the patch yet but patch 2 doesn't seem to have

Re: [PATCH 25/25] xtensa: Use Kbuild infrastructure to handle asm-generic headers

2012-10-15 Thread Max Filippov
On Sat, Oct 13, 2012 at 6:26 AM, Steven Rostedt wrote: > From: Steven Rostedt > > Use Kbuild infrastructure to handle the asm-generic headers > and remove the wrapper headers that call them. > > This only affects headers that do nothing but include the generic > equivalent. It does not touch any

Re: mpol_to_str revisited.

2012-10-15 Thread KOSAKI Motohiro
On Mon, Oct 15, 2012 at 11:58 PM, David Rientjes wrote: > On Mon, 15 Oct 2012, KOSAKI Motohiro wrote: > >> I don't think 80de7c3138ee9fd86a98696fd2cf7ad89b995d0a is right fix. > > It's certainly not a complete fix, but I think it's a much better result > of the race, i.e. we don't panic anymore, w

Re: CPU utilization between physical CPU and virtual CPU in KVM

2012-10-15 Thread Dennis Chen
Any body can be help about this or a little bit clues? Thanks! On Mon, Oct 8, 2012 at 3:01 PM, Dennis Chen wrote: > Hi All, > > I am confused by the following observed scenario: > > In my 4-CPU (KVM supported, 2 core with 2 thread for each) host > machine box, I create only one VM with 3-vCPU t

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
From: "Yu, Fenghua" Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 04:51:36 + >> -Original Message- >> From: HATAYAMA Daisuke [mailto:d.hatay...@jp.fujitsu.com] >> Sent: Monday, October 15, 2012 9:35 PM >> To: linux-kernel@vger.kernel.org;

RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread Yu, Fenghua
> -Original Message- > From: HATAYAMA Daisuke [mailto:d.hatay...@jp.fujitsu.com] > Sent: Monday, October 15, 2012 9:35 PM > To: linux-kernel@vger.kernel.org; ke...@lists.infradead.org; > x...@kernel.org > Cc: mi...@elte.hu; t...@linutronix.de; h...@zytor.com; Brown, Len; Yu, > Fenghua; vgo.

Re: [PATCH 05/16] f2fs: add checkpoint operations

2012-10-15 Thread NeilBrown
On Sat, 13 Oct 2012 00:49:06 +0900 Jaegeuk Kim wrote: > 2012-10-11 (목), 09:24 +1100, NeilBrown: > > On Fri, 05 Oct 2012 20:59:29 +0900 김재극 wrote: > > > > > +static void do_checkpoint(struct f2fs_sb_info *sbi, bool is_umount) > > > +{ > > > + struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); > > >

Re: [PATCH 07/16] f2fs: add segment operations

2012-10-15 Thread NeilBrown
On Sat, 13 Oct 2012 00:12:53 +0900 Jaegeuk Kim wrote: > 2012-10-11 (목), 09:37 +1100, NeilBrown: > > On Fri, 05 Oct 2012 21:00:55 +0900 김재극 wrote: > > > > > +/** > > > + * Find a new segment from the free segments bitmap to right order > > > + * This function should be returned with success, oth

Re: [PATCH RFC] random: Account for entropy loss due to overwrites

2012-10-15 Thread H. Peter Anvin
On 10/15/2012 09:08 PM, Theodore Ts'o wrote: > On Sat, Sep 29, 2012 at 12:47:04PM -0700, H. Peter Anvin wrote: >>> -static struct poolinfo { >>> +static const struct poolinfo { >>> + int poolshift; /* log2(POOLBITS) */ >>> int poolwords; >>> int tap1, tap2, tap3, tap4, tap5; > >

Re: [PATCH v9 08/12] x86, hotplug: Wake up CPU0 via NMI instead of INIT, SIPI, SIPI

2012-10-15 Thread HATAYAMA Daisuke
From: Fenghua Yu Subject: [PATCH v9 08/12] x86, hotplug: Wake up CPU0 via NMI instead of INIT, SIPI, SIPI Date: Fri, 12 Oct 2012 09:09:45 -0700 > @@ -1037,6 +1101,8 @@ void __init native_smp_prepare_cpus(unsigned int > max_cpus) >*/ > setup_local_APIC(); > > + cpu0_logical

Re: [PATCH] make GFP_NOTRACK flag unconditional

2012-10-15 Thread Andrew Morton
On Mon, 15 Oct 2012 21:02:45 -0700 (PDT) David Rientjes wrote: > On Tue, 2 Oct 2012, David Rientjes wrote: > > > > There was a general sentiment in a recent discussion (See > > > https://lkml.org/lkml/2012/9/18/258) that the __GFP flags should be > > > defined unconditionally. Currently, the on

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Srikar Dronamraju
* Masami Hiramatsu [2012-10-16 13:19:57]: > (2012/10/16 10:37), Hyeoncheol Lee wrote: > > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS > > bytes for a function name > > Yeah, that one was from my laziness... > Guess not your fault, but mine. > > > > Cc: Masami Hiramatsu

Re: [PATCH] Fix scheduling-while-atomic problem in console_cpu_notify()

2012-10-15 Thread Paul E. McKenney
On Mon, Oct 15, 2012 at 05:31:28PM -0700, Paul E. McKenney wrote: > The console_cpu_notify( function runs with interrupts disabled in > the CPU_DEAD case. It therefore cannot block, for example, as will > happen when it calls console_lock(). Therefore, remove the CPU_DEAD > leg of the switch stat

[PATCH v1 2/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
We disable BSP if boot cpu is AP. INIT-INIT-SIPI sequence, a protocal to initiate AP, cannot be used for BSP since it causes BSP jump to BIOS init code; typical visible behaviour is hang or immediate reset, depending on the BIOS init code. INIT can be used to reset AP in a fatal system error stat

[PATCH v1 1/2] x86, apic: Introduce boot_cpu_is_bsp indicating whether boot cpu is BSP or not

2012-10-15 Thread HATAYAMA Daisuke
Part of boot-up code assumes booting CPU is BSP, but kexec can enter the 2nd kernel with AP. To be able to distinguish these throughout kernel processing, introduce boot_cpu_is_bsp. Signed-off-by: HATAYAMA Daisuke --- arch/x86/include/asm/mpspec.h |3 +++ arch/x86/kernel/apic/apic.c | 1

[PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-15 Thread HATAYAMA Daisuke
Multiple CPUs are useful for CPU-bound processing like compression and I do want to use compression to generate crash dump quickly. But now we cannot wakeup the 2nd and later cpus in the kdump 2nd kernel if crash happens on AP. If crash happens on AP, kexec enters the 2nd kernel with the AP, and th

Re: [PATCH v4 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-15 Thread Takao Indoh
(2012/10/16 3:36), Yinghai Lu wrote: On Mon, Oct 15, 2012 at 12:00 AM, Takao Indoh wrote: This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. how about pci devices that domain_nr is not zero ? This patch does not support multiple domains yet. Signe

Re: [PATCH] ACPI: fix the wrong #ifdef for acpi_no_s4_hw_signature

2012-10-15 Thread Fengguang Wu
The title could be made more descriptive: ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef CONFIG_HIBERNATION On Tue, Oct 16, 2012 at 12:05:03PM +0800, Yuanhan Liu wrote: > acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, > but the current code put the declare in

Re: linux-next: build failure after merge of the final tree

2012-10-15 Thread Al Viro
On Tue, Oct 16, 2012 at 02:50:29PM +1100, Stephen Rothwell wrote: > Hi Al, > > After merging the final tree, today's linux-next build (sparc64 defconfig) > failed like this: > > arch/sparc/kernel/head_64.o: In function `sys64_execve': > (.text+0x1f58): relocation truncated to fit: R_SPARC_WDISP19

[PATCH V3 1/3] dmaengine: dw_dmac: Update documentation style comments for dw_dma_platform_data

2012-10-15 Thread Viresh Kumar
Documentation style comments were missing for few fields in struct dw_dma_platform_data. Add these. Signed-off-by: Viresh Kumar Reviewed-by: Andy Shevchenko --- include/linux/dw_dmac.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/dw_dmac.h b/include/linux/dw_dmac.h index

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Masami Hiramatsu
(2012/10/16 10:37), Hyeoncheol Lee wrote: > convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS > bytes for a function name Yeah, that one was from my laziness... > > Cc: Masami Hiramatsu > Cc: Srikar Dronamraju > Signed-off-by: Hyeoncheol Lee > --- > tools/perf/util/probe-event

[PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-15 Thread Viresh Kumar
dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. This patch does following changes: - pass platform data via DT, non-DT way still takes precedence if both are used. - create generic filter routine - Earlier slave information was made availabl

[PATCH V3 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-15 Thread Viresh Kumar
This patch adds dw_dmac's platform data to DT node. It also creates slave info node for SPEAr13xx, for the devices which were using dw_dmac. Signed-off-by: Viresh Kumar --- V1->V3: -- - renamed filter function arch/arm/boot/dts/spear1340.dtsi | 19 ++ arch/arm/boot/dts/s

Re: [RFC v3 11/13] vfs: add 3 new ioctl interfaces

2012-10-15 Thread Zhi Yong Wu
On Tue, Oct 16, 2012 at 11:17 AM, Dave Chinner wrote: > On Wed, Oct 10, 2012 at 06:07:33PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> FS_IOC_GET_HEAT_INFO: return a struct containing the various >> metrics collected in btrfs_freq_data structs, and also return a > > I think yo

Initial report on F2FS filesystem performance

2012-10-15 Thread Sooman Jeong
This is a brief summary of our initial filesystem performance study of f2fs against existing two filesystems in linux: EXT4, NILFS2, and f2fs. * test platform  i) Desktop PC : Linux 3.6.1 (f2fs patched), Intel i5-2500 @3.3GHz quad-core, 8GB RAM, Transcend 16GB class 10 micro SD card  ii) Galax

Re: [PATCH v2] fat: editions to support fat_fallocate()

2012-10-15 Thread Namjae Jeon
2012/10/15 OGAWA Hirofumi : > Namjae Jeon writes: > >> Implement preallocation via the fallocate syscall on VFAT partitions. >> This patch is based on an earlier patch of the same name which had some >> issues detailed below and did not get accepted. Refer >> https://lkml.org/lkml/2007/12/22/130.

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-15 Thread Chen Gang
于 2012年10月16日 10:51, Myklebust, Trond 写道: >> >> 1) is it means: nfs_inode_attrs_need_update need not consider async >> read_done situation ? > > I don't understand what you mean. This is mainly about the asynchronous > write situation... for async read done, it will call nfs_readpage_result -> n

Re: [PATCH RFC] random: Account for entropy loss due to overwrites

2012-10-15 Thread Theodore Ts'o
On Sat, Sep 29, 2012 at 12:47:04PM -0700, H. Peter Anvin wrote: > >-static struct poolinfo { > >+static const struct poolinfo { > >+int poolshift; /* log2(POOLBITS) */ > > int poolwords; > > int tap1, tap2, tap3, tap4, tap5; Poolshift is duplicated information; it's just log2(

[PATCH] ACPI: fix the wrong #ifdef for acpi_no_s4_hw_signature

2012-10-15 Thread Yuanhan Liu
acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, but the current code put the declare in #ifdef CONFIG_PM_SLEEP block. Signed-off-by: Yuanhan Liu --- include/linux/acpi.h |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/acpi.h b/inc

Re: [PATCH] make GFP_NOTRACK flag unconditional

2012-10-15 Thread David Rientjes
On Tue, 2 Oct 2012, David Rientjes wrote: > > There was a general sentiment in a recent discussion (See > > https://lkml.org/lkml/2012/9/18/258) that the __GFP flags should be > > defined unconditionally. Currently, the only offender is GFP_NOTRACK, > > which is conditional to KMEMCHECK. > > > >

linux-next: Tree for Oct 16

2012-10-15 Thread Stephen Rothwell
Hi all, The merge window has closed, feel free to add new stuff again. Changes since 201201015: New tree: cortex Dropped Tree: cortex (complex merge conflict) Removed tree: kmemleak (maintainer suggested) The l2-mtd tree still had its build failure so I used the version from next-20121011. The

Re: mpol_to_str revisited.

2012-10-15 Thread David Rientjes
On Mon, 15 Oct 2012, KOSAKI Motohiro wrote: > I don't think 80de7c3138ee9fd86a98696fd2cf7ad89b995d0a is right fix. It's certainly not a complete fix, but I think it's a much better result of the race, i.e. we don't panic anymore, we simply fail the read() instead. > we should > close a race (o

linux-next: build failure after merge of the final tree

2012-10-15 Thread Stephen Rothwell
Hi Al, After merging the final tree, today's linux-next build (sparc64 defconfig) failed like this: arch/sparc/kernel/head_64.o: In function `sys64_execve': (.text+0x1f58): relocation truncated to fit: R_SPARC_WDISP19 against symbol `sys_execve' defined in .text section in fs/built-in.o arch/spa

Re: [RESEND] [PATCH 2/2] random: fix debug format strings

2012-10-15 Thread Theodore Ts'o
On Mon, Oct 15, 2012 at 11:43:29PM +0200, Jiri Kosina wrote: > Fix the following warnings in formatting debug output: > > drivers/char/random.c: In function ‘xfer_secondary_pool’: > drivers/char/random.c:827: warning: format ‘%d’ expects type ‘int’, but > argument 7 has type ‘size_t’ > drivers/ch

Re: [RESEND] [PATCH 1/2] random: make it possible to enable debugging without rebuild

2012-10-15 Thread Theodore Ts'o
On Mon, Oct 15, 2012 at 11:42:55PM +0200, Jiri Kosina wrote: > The module parameter that turns debugging mode (which basically means > printing a few extra lines during runtime) is in '#if 0' block. Forcing > everyone who would like to see how entropy is behaving on his system to > rebuild seems

Re: [PATCH] cpufreq:core: Fix printing of governor and driver name

2012-10-15 Thread Viresh Kumar
On 15 October 2012 23:21, Rafael J. Wysocki wrote: > On Wednesday 10 of October 2012 10:12:11 Viresh Kumar wrote: >> Arrays for governer and driver name are of size CPUFREQ_NAME_LEN or 16. >> i.e. 15 bytes for name and 1 for trailing '\0'. >> >> When cpufreq driver print these names (for sysfs), i

Re: [PATCH v4 02/14] memcg: Reclaim when more than one page needed.

2012-10-15 Thread Kamezawa Hiroyuki
(2012/10/08 19:06), Glauber Costa wrote: > From: Suleiman Souhlal > > mem_cgroup_do_charge() was written before kmem accounting, and expects > three cases: being called for 1 page, being called for a stock of 32 > pages, or being called for a hugepage. If we call for 2 or 3 pages (and > both the

Re: [RFC v3 11/13] vfs: add 3 new ioctl interfaces

2012-10-15 Thread Dave Chinner
On Wed, Oct 10, 2012 at 06:07:33PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > FS_IOC_GET_HEAT_INFO: return a struct containing the various > metrics collected in btrfs_freq_data structs, and also return a I think you mean hot_freq_data :P > calculated data temperature based on

Re: [RFC PATCH 1/5] irq_work: Move irq_work_raise() declaration/default definition to arch headers

2012-10-15 Thread Mark Brown
On Tue, Oct 16, 2012 at 12:18:05AM +0200, Frederic Weisbecker wrote: > 2012/10/15 Arnd Bergmann : > > On Monday 15 October 2012, Steven Rostedt wrote: > >> On Mon, 2012-10-15 at 22:23 +0200, Frederic Weisbecker wrote: > >> > 2012/10/15 Steven Rostedt : > >> > > On Mon, 2012-10-15 at 17:11 +0100, Ca

Re: hung task when USB storage probe occurs during suspend

2012-10-15 Thread Michael Spang
[oops, fixing LKML address] If you plug in a USB storage device and then suspend, resume, and quickly suspend again, the system may freeze. 2 minutes later you'll get the following message. I believe this is a regression introduced in 62d3c543 ("Block: use a freezable workqueue for disk-event pol

Re: [PATCH] include/version.h: Update for kernel 3.7

2012-10-15 Thread Theodore Ts'o
On Mon, Oct 15, 2012 at 04:43:27PM -0500, Larry Finger wrote: > The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1. > > Signed-off-by: Larry Finger > --- > version.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > --- > > Index: linux-2.6/include/linux/version.h >

linux-next: manual merge of the akpm tree with the signal tree

2012-10-15 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm64/kernel/sys_compat.c between commit 0fe8f08036a2 ("arm64: Use generic sys_execve() implementation") from the signal tree and commit "compat: generic compat_sys_sched_rr_get_interval implementation" from the akpm tree.

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-15 Thread Myklebust, Trond
On Tue, 2012-10-16 at 09:37 +0800, Chen Gang wrote: > 于 2012年10月15日 20:32, Myklebust, Trond 写道: > > RPC is not ordered. The fact that we get one RPC reply before another > > does not mean that the server sent them in that order. > > > > This is doubly true when you use UDP as the transport protoco

Re: [PATCH] include/version.h: Update for kernel 3.7

2012-10-15 Thread Larry Finger
On 10/15/2012 04:54 PM, Borislav Petkov wrote: On Mon, Oct 15, 2012 at 04:43:27PM -0500, Larry Finger wrote: The value for LINUX_VERSION_CODE was not updated for kernel 3.7-rc1. That's probably fallout from the whole UAPI thing. Signed-off-by: Larry Finger --- version.h |2 +- 1 fil

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-15 Thread Stephen Rothwell
Hi Linus, On Fri, 12 Oct 2012 14:34:33 +0300 (EEST) Pekka Enberg wrote: > > Please consider pulling the latest LKVM tree from: > > git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git > kvmtool/for-linus So you have not taken this in the v3.7 merge window. Will you ever merge th

Re: Re: [PATCH] block: Add blk_rq_pos(rq) to sort rq when plushing plug-list.

2012-10-15 Thread Jianpeng Ma
On 2012-10-15 21:18 Shaohua Li Wrote: >2012/10/15 Shaohua Li : >> 2012/10/15 Jianpeng Ma : >>> My workload is a raid5 which had 16 disks. And used our filesystem to >>> write using direct-io mode. >>> I used the blktrace to find those message: >>> >>> 8,16 0 3570 1.083923979 2519 I W

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-15 Thread Jaegeuk Kim
> On Monday 15 October 2012, Changman Lee wrote: > > 2012년 10월 15일 월요일에 Arnd Bergmann님이 작성: > > > It is only a performance hint though, so it is not a correctness issue the > > > file system gets it wrong. In order to do efficient garbage collection, a > > > log > > > structured file system should

linux-next: manual merge of the cortex tree with Linus' tree

2012-10-15 Thread Stephen Rothwell
Hi Uwe, Today's linux-next merge of the cortex tree got a conflict in arch/arm/kernel/process.c between commit 9e14f828ee4a ("arm: split ret_from_fork, simplify kernel_thread() [based on patch by rmk]") from Linus' tree and commit 2f3e7d3436cb ("Cortex-M3: Add support for exception handling") from

linux-next: manual merge of the cortex tree with Linus' tree

2012-10-15 Thread Stephen Rothwell
Hi Uwe, Today's linux-next merge of the cortex tree got a conflict in arch/arm/include/asm/ptrace.h between commit cb8db5d4578a ("UAPI: (Scripted) Disintegrate arch/arm/include/asm") from Linus' tree and commit 69bc3631744a ("Cortex-M3: Add base support for Cortex-M3") from the cortex tree. I fix

Re: [PATCH] [media] stk1160: Check return value of stk1160_read_reg() in stk1160_i2c_read_reg()

2012-10-15 Thread Ezequiel Garcia
On Mon, Oct 15, 2012 at 9:03 PM, Jesper Juhl wrote: > On Mon, 15 Oct 2012, Ezequiel Garcia wrote: > >> On Mon, Oct 15, 2012 at 7:52 PM, Jesper Juhl wrote: >> > On Mon, 15 Oct 2012, Jesper Juhl wrote: >> > >> >> On Sat, 13 Oct 2012, Ezequiel Garcia wrote: >> >> > [...] >> > Currently there are two

[PATCH] tools/include: use stdint types for user-space byteshift headers

2012-10-15 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz Commit a07f7672d7cf0ff0d6e548a9feb6e0bd016d9c6c added user-space copies of the byteshift headers to be used by hostprogs, changing e.g. u8 to __u8. However, in order to cross-compile the kernel from a non-Linux system, stdint.h types need to be used instead of linux/types.h

RE: [PATCH 11/16] f2fs: add inode operations for special inodes

2012-10-15 Thread Jaegeuk Kim
> On Sun, Oct 14, 2012 at 03:19:37PM +, Arnd Bergmann wrote: > > On Sunday 14 October 2012, Vyacheslav Dubeyko wrote: > > > On Oct 14, 2012, at 11:09 AM, Jaegeuk Kim wrote: > > > > 2012-10-14 (일), 02:21 +0400, Vyacheslav Dubeyko: > > > Extended attributes are more flexible way, from my point of

Re: [RFC PATCH 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-15 Thread Ming Lei
On Mon, Oct 15, 2012 at 11:47 PM, Minchan Kim wrote: > On Mon, Oct 15, 2012 at 01:14:17PM +0800, Ming Lei wrote: >> This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of >> 'struct task_struct'), so that the flag can be set by one task >> to avoid doing I/O inside memory allocati

[PATCH 9/9] aoe: update driver-internal version number to 60

2012-10-15 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 8e8da1c..536942b 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -1,5 +1,5 @@ /* Copyright

Re: [PATCH v4 05/24] block: Use bio_sectors() more consistently

2012-10-15 Thread Ed Cashin
The aoe changes look OK, thanks. -- Ed Cashin ecas...@coraid.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http:/

[PATCH 8/9] aoe: whitespace cleanup

2012-10-15 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |2 +- drivers/block/aoe/aoechr.c |2 +- drivers/block/aoe/aoecmd.c |6 +++--- drivers/block/aoe/aoemain.c |2 +- drivers/block/aoe/aoenet.c |4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/driv

[PATCH 7/9] aoe: cleanup: remove unused ata_scnt function

2012-10-15 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoecmd.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 2bb8c7d..82e16c4 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -55

[PATCH 6/9] aoe: "payload" sysfs file exports per-AoE-command data transfer size

2012-10-15 Thread Ed Cashin
The userland aoetools package includes an "aoe-stat" command that can display a "payload size" column when the aoe driver exports this information. Users can quickly see what amount of user data is transferred inside each AoE command on the network, network headers excluded. Signed-off-by: Ed Cas

[PATCH 5/9] aoe: support larger I/O requests via aoe_maxsectors module param

2012-10-15 Thread Ed Cashin
The GPFS filesystem is an example of an aoe user that requires the aoe driver to support I/O request sizes larger than the default. Most users will not need large I/O request sizes, because they would need to be split up into multiple AoE commands anyway. Signed-off-by: Ed Cashin --- drivers/blo

[PATCH 4/9] aoe: support the forgetting (flushing) of a user-specified AoE target

2012-10-15 Thread Ed Cashin
Users sometimes want to cause the aoe driver to forget a particular previously discovered device when it is no longer online. The aoetools provide an "aoe-flush" command that users run to perform this administrative task. The changes below provide the support needed in the driver. Signed-off-by:

[PATCH 3/9] aoe: update cap on outstanding commands based on config query response

2012-10-15 Thread Ed Cashin
The ATA over Ethernet config query response contains a "buffer count" field reflecting the AoE target's capacity to buffer incoming AoE commands. By taking the current value of this field into accound, we increase performance throughput or avoid network congestion, when the value has increased or

[PATCH 2/9] aoe: print warning regarding a common reason for dropped transmits

2012-10-15 Thread Ed Cashin
Dropped transmits are not common, but when they do occur, increasing the transmit queue length often helps. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoenet.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/block/aoe/aoenet.c b/drivers/block/aoe/ao

[PATCH 1/9] aoe: describe the behavior of the "err" character device

2012-10-15 Thread Ed Cashin
Signed-off-by: Ed Cashin --- drivers/block/aoe/aoechr.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c index ed57a89..2bf6273 100644 --- a/drivers/block/aoe/aoechr.c +++ b/drivers/block/aoe/aoechr.c @@ -39,6 +39

[PATCH 0/9] aoe: various enhancements and cleanup from v50 to v60

2012-10-15 Thread Ed Cashin
This patch series is based on linux-next/akpm from 11 Oct. The patch that modifies aoenet.c:tx to print a warning does not affect locking but nonetheless causes a new sparse context warning to appear. Before a bug in sparse suppressed the warning. We will soon be able to use the new __must_hold()

[PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-15 Thread Hyeoncheol Lee
convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Cc: Masami Hiramatsu Cc: Srikar Dronamraju Signed-off-by: Hyeoncheol Lee --- tools/perf/util/probe-event.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/prob

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-15 Thread Chen Gang
于 2012年10月15日 20:32, Myklebust, Trond 写道: > RPC is not ordered. The fact that we get one RPC reply before another > does not mean that the server sent them in that order. > > This is doubly true when you use UDP as the transport protocol. 1) is it means: nfs_inode_attrs_need_update need not consi

Re: [Q] Default SLAB allocator

2012-10-15 Thread JoonSoo Kim
Hello, Eric. 2012/10/14 Eric Dumazet : > SLUB was really bad in the common workload you describe (allocations > done by one cpu, freeing done by other cpus), because all kfree() hit > the slow path and cpus contend in __slab_free() in the loop guarded by > cmpxchg_double_slab(). SLAB has a cache f

  1   2   3   4   5   6   7   >