Re: [PATCH] loop: prevent bdev freeing while device in use

2013-04-01 Thread Anatol Pomozov
Hi On Mon, Apr 1, 2013 at 3:53 PM, Linus Torvalds wrote: > On Mon, Apr 1, 2013 at 10:00 AM, Anatol Pomozov > wrote: >> Hi >> >> On Mon, Apr 1, 2013 at 8:16 AM, Linus Torvalds >> wrote: >>> On Mon, Apr 1, 2013 at 4:58 AM, Anatol Pomozov >>> wrote: To prevent use-after-free we need

Re: [PATCH 3/8] virtio: do not export "u16" and "u64" to userspace

2013-04-01 Thread Rusty Russell
Paul Bolle writes: > virtio_balloon.h exports "u16" and "u64" to userspace. Use "__u16" and > "__u64" instead. > > Signed-off-by: Paul Bolle > --- > 0) Tested with a kernel build. > > 1) Both types are used in this header for quite some time now. So is my > patch flawed or doesn't userspace

Re: [RFC] mm: remove swapcache page early

2013-04-01 Thread Minchan Kim
On Mon, Apr 01, 2013 at 10:13:58PM -0700, Hugh Dickins wrote: > On Tue, 2 Apr 2013, Minchan Kim wrote: > > On Fri, Mar 29, 2013 at 01:01:14PM -0700, Hugh Dickins wrote: > > > On Fri, 29 Mar 2013, Minchan Kim wrote: > > > > On Thu, Mar 28, 2013 at 11:19:12AM -0700, Dan Magenheimer wrote: > > > > >

[PATCH] Trivial fix for ath9k dmesg typo.

2013-04-01 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- drivers/net/wireless/ath/ath9k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 07e2526..76da544 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++

RE: [PATCH v7 03/14] spi/spi-atmel: add physical base address

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:42 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; >

RE: [PATCH v7 10/14] spi/spi-atmel: correct 16 bits transfers with DMA

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:54 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; >

RE: [PATCH v7 08/14] spi/spi-atmel: fix spi-atmel driver to adapt to slave_config changes

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:51 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; >

Re: [PATCH v2 0/2] fix hugepage coredump

2013-04-01 Thread Konstantin Khlebnikov
Naoya Horiguchi wrote: Hi, Here is 2nd version of hugepage coredump fix. See individual patches for more details. Thanks, Naoya Horiguchi ACK to both patches VM_* bits cleanup patchset was merged into v3.7, so only two recent stable kernels needs this fix. -- To unsubscribe from this

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
Hi, Bjorn, On Tue, Apr 2, 2013 at 4:53 AM, Bjorn Helgaas wrote: > On Mon, Apr 1, 2013 at 2:51 PM, Rafael J. Wysocki wrote: >> On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: >>> [+cc Zheng, who added this with 71a83bd727] >>> >>> On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
On Tue, Apr 2, 2013 at 1:28 PM, huang ying wrote: > On Tue, Apr 2, 2013 at 4:51 AM, Rafael J. Wysocki wrote: >> >> On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: >> > [+cc Zheng, who added this with 71a83bd727] >> > >> > On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki wrote: >> >

Re: [PATCH v3, part4 26/39] mm/openrisc: prepare for removing num_physpages and simplify mem_init()

2013-04-01 Thread Jonas Bonn
On 03/26/2013 04:54 PM, Jiang Liu wrote: Prepare for removing num_physpages and simplify mem_init(). Signed-off-by: Jiang Liu Cc: Jonas Bonn Cc: David Howells Cc: Arnd Bergmann Cc: li...@lists.openrisc.net Cc: linux-kernel@vger.kernel.org Tested and works fine on OpenRISC. Acked-by:

Re: [PATCH v2, part1 16/29] mm/openrisc: use common help functions to free reserved pages

2013-04-01 Thread Jonas Bonn
On 10 March 2013 07:26, Jiang Liu wrote: > Use common help functions to free reserved pages. > Also include to avoid local declarations. > > Signed-off-by: Jiang Liu > Cc: Jonas Bonn Tested and works fine on OpenRISC. Acked-by: Jonas Bonn /Jonas > --- > arch/openrisc/mm/init.c | 27

Re: linux-next: manual merge of the virtio tree with the rr-fixes tree

2013-04-01 Thread Amit Shah
On (Tue) 02 Apr 2013 [14:17:39], Stephen Rothwell wrote: > Hi Rusty, > > Today's linux-next merge of the virtio tree got a conflict in > drivers/char/virtio_console.c between commit 9ba5c80b1aea ("virtio: > console: add locking around c_ovq operations") from the rr-fixes tree and > commit

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
On Tue, Apr 2, 2013 at 4:51 AM, Rafael J. Wysocki wrote: > > On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: > > [+cc Zheng, who added this with 71a83bd727] > > > > On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > The runtime PM of

Re: [RFC] mm: remove swapcache page early

2013-04-01 Thread Hugh Dickins
On Tue, 2 Apr 2013, Minchan Kim wrote: > On Fri, Mar 29, 2013 at 01:01:14PM -0700, Hugh Dickins wrote: > > On Fri, 29 Mar 2013, Minchan Kim wrote: > > > On Thu, Mar 28, 2013 at 11:19:12AM -0700, Dan Magenheimer wrote: > > > > > > > > I wonder if something like this would have a similar result for

Re: [PATCH 0/6] Make return type of i2c_del_adapter() (and i2c_del_mux_adapter()) void

2013-04-01 Thread Wolfram Sang
On Sat, Mar 09, 2013 at 07:16:43PM +0100, Lars-Peter Clausen wrote: > Currently i2c_del_adapter() returns 0 on success and potentially an error code > on failure. Unfortunately this doesn't mix too well with the Linux device > driver > model. An i2c_adapter is usually registered in a drivers

Re: [PATCH v6 1/2] cpufreq: split the cpufreq_driver_lock and use the rcu

2013-04-01 Thread Viresh Kumar
On 2 April 2013 01:41, Nathan Zimmer wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > +static struct cpufreq_driver __rcu *cpufreq_driver; > +static DEFINE_SPINLOCK(cpufreq_driver_lock); You really need this lock? This is only used in cpufreq_register_driver and

Re: [PATCH v6 2/2] cpufreq: covert the cpufreq_data_lock to a spinlock

2013-04-01 Thread Viresh Kumar
On 2 April 2013 06:26, Nathan Zimmer wrote: > On Mon, Apr 01, 2013 at 10:41:27PM +0200, Rafael J. Wysocki wrote: >> On Monday, April 01, 2013 03:11:09 PM Nathan Zimmer wrote: >> > This eliminates the rest of the contention found in __cpufreq_cpu_get. >> > I am not seeing a way to use the rcu so

Re: [RFC PATCH 1/2] cpuidle: Add idle enter/exit time stamp for notifying current idle state.

2013-04-01 Thread Daniel Lezcano
On 04/01/2013 10:24 AM, Jonghwa Lee wrote: > This patch adds idle state time stamp to cpuidle device structure to > notify its current idle state. If last enter time is newer than last > exit time, then it means that the core is in idle now. > > Signed-off-by: Jonghwa Lee > --- The patch

Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired

2013-04-01 Thread Tony Chung
Thanks Guenter! I agree with you. My first reaction was also about a small watchdog server that will start in early boot process. There are pros and cons. For example, there are many types of watchdog devices such as ipmi_watchdog which can accept more than 255 seconds for timeout. So you

Re: [PATCH 4/5] sched: don't consider upper se in sched_slice()

2013-04-01 Thread Preeti U Murthy
Hi Joonsoo, On 04/02/2013 07:55 AM, Joonsoo Kim wrote: > Hello, Preeti. > > On Mon, Apr 01, 2013 at 12:36:52PM +0530, Preeti U Murthy wrote: >> Hi Joonsoo, >> >> On 04/01/2013 09:38 AM, Joonsoo Kim wrote: >>> Hello, Preeti. >>> >> Ideally the children's cpu share must add upto the

Re: [PATCH] ACPI / I2C: Use parent's ACPI_HANDLE() in acpi_i2c_register_devices()

2013-04-01 Thread Wolfram Sang
On Mon, Apr 01, 2013 at 02:25:03AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI handle of struct i2c_adapter's dev member should not be > set, because this causes that struct i2c_adapter to be associated > with the ACPI device node corresponding to its parent as the >

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 ---

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 +

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 1/6] of: Add support for reading a u32 from a multi-value property.

2013-04-01 Thread Tony Prisk
This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig

[PATCHv4 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
v4 changes: Changed as requested by Stephen Warren: Corrected the range checking in of_property_read_u32_index(). Fix configs[0] assignment in wmt_pctl_dt_node_to_map_pull(). Remove the kfree(maps) call, and use devm_kzalloc to simplify the fail path. Drop the custom .of_xlate function and use the

[PATCHv4 RESEND 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
Sorry - got Linus W's email address wrong in first send. v4 changes: Changed as requested by Stephen Warren: Corrected the range checking in of_property_read_u32_index(). Fix configs[0] assignment in wmt_pctl_dt_node_to_map_pull(). Remove the kfree(maps) call, and use devm_kzalloc to simplify the

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 ---

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 +

[PATCHv4 1/6] of: Add support for reading a u32 from a multi-value property.

2013-04-01 Thread Tony Prisk
This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9

RE: Fail to build trinity

2013-04-01 Thread Sun, Yi
Alright, done. Thank you, Dave. Thanks --Sun, Yi > -Original Message- > From: da...@redhat.com [mailto:da...@redhat.com] > Sent: Tuesday, April 02, 2013 3:22 AM > To: Sun, Yi > Cc: linux-kernel@vger.kernel.org > Subject: Re: Fail to build trinity > > On Mon, Apr 01, 2013 at

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

2013-04-01 Thread Larry Finger
On 04/01/2013 10:31 PM, Stephen Rothwell wrote: Hi Larry, On Mon, 01 Apr 2013 22:07:24 -0500 Larry Finger wrote: On 04/01/2013 09:34 PM, Stephen Rothwell wrote: After merging the wireless-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:

bisected! (WAS Re: s390x: kernel BUG at fs/ext4/inode.c:1591!)

2013-04-01 Thread CAI Qian
Bisect indicated this is the culprit, 0e401101db49959f5783f6ee9e676124b5a183ac ext4: fix memory leakage in mext_check_coverage This following with Dmitry's debug patch applied, CAI Qian Ý 101.408610¨ ES cache assertation failed for inode: 753 es_cached ex Ý56/5/744 81/20¨ != found ex

[PATCH 02/23] perf: make perl support based on CONFIG_LIBPERL

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 ++-

[PATCH 03/23] perf: make python support based on CONFIG_LIBPYTHON

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 105 +++

[PATCH 02/23] perf: make perl support based on CONFIG_LIBPERL

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 ++-

Re: [PATCH 04/27] perf tools: Move programs check into config/Makefile

2013-04-01 Thread Namhyung Kim
On Tue, 2 Apr 2013 00:27:03 +0200, Jiri Olsa wrote: > On Tue, Apr 02, 2013 at 07:09:50AM +0900, Namhyung Kim wrote: >> 2013-04-01 (월), 21:18 +0200, Jiri Olsa: >> > Moving programs check into config/Makefile. >> >> [SNIP] >> >> > +RM = rm -f >> > +MKDIR = mkdir >> > +FIND= find >> >

[PATCH 07/23] perf: remove GTK2_SUPPORT in favor of CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |2 +-

[PATCH 06/23] perf: remove NEWT_SUPPORT in favor of CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |3 ++-

[PATCH 09/23] perf: make cfi unwind support based on CONFIG_LIBUNWIND

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 20 ++-- tools/perf/Pconfig

[PATCH 04/23] perf: make gtk2 support based on CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 39 ---

[PATCH 05/23] perf: make newt support based on CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 46 +--

[PATCH 12/23] perf: add BIONIC config option

2013-04-01 Thread David Ahern
Sets the LIBC option and is independent of LIBELF. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |6 --

[PATCH 10/23] perf: make demangle support based on CONFIG_DEMANGLE

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 70 ++

[PATCH 14/23] perf: make backtrace support based on CONFIG_BACKTRACE

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 10 -- tools/perf/Pconfig |3

[PATCH 18/23] perf: deprecate LIBELF_SUPPORT in favor of CONFIG_LIBELF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |2 -- tools/perf/builtin-inject.c |3 ++-

[PATCH 16/23] perf: consolidate CONFIG_LIBUNWIND checks in Makefile

2013-04-01 Thread David Ahern
code move only Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 38 +- 1 file

[PATCH 21/23] perf: consolidate CONFIG_DWARF checks in Makefile

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff

Re: linux-next: build failure after merge of the final tree (block tree related)

2013-04-01 Thread Stephen Rothwell
Hi Jens, On Tue, 2 Apr 2013 10:22:36 +1100 Stephen Rothwell wrote: > > Ping? Forget it, I misgrepped :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpOZPR2O8hDS.pgp Description: PGP signature

[PATCH 13/23] perf: make numa support based on CONFIG_LIBNUMA

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile| 18 +++--- tools/perf/Pconfig |5 +

[PATCH 19/23] perf: deprecate DWARF_SUPPORT in favor of CONFIG_DWARF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |2 +- tools/perf/builtin-probe.c | 15

[PATCH 11/23] perf: make dwarf support based on CONFIG_DWARF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 22 -- tools/perf/Pconfig

[PATCH 23/23] perf: only add elf-based object files if CONFIG_LIBELF is set

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff

[PATCH 20/23] perf: consolidate CONFIG_LIBELF checks in Makefile

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 -- 1 file changed, 16 insertions(+),

[PATCH 22/23] perf: only add elf to EXTLIBS if CONFIG_LIBELF is set

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 15/23] perf: make libaudit support based on CONFIG_LIBAUDIT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 16 +++- tools/perf/Pconfig

[PATCH 17/23] perf: remove LIBUNWIND_SUPPORT in favor of CONFIG_LIBUNWIND

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |1 - tools/perf/builtin-record.c | 11 ++-

[PATCH 08/23] perf: make elf support based on CONFIG_LIBELF

2013-04-01 Thread David Ahern
Add CONFIG_LIBC as well. It is only used to determine if lack of elf support is due to support missing for libc or libelf. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra

[PATCH 00/23] perf: integrate with kconfig and CONFIG driven features

2013-04-01 Thread David Ahern
Patches can also be retrieved from: https://github.com/dsahern/linux.git perf-config I still need to add the conf build targets from the top level Makefile. For this RFC series, you can run the commands manually to generate the .config file for perf and the corresponding

[PATCH 01/23] perf: initial infrasructure for kconfig

2013-04-01 Thread David Ahern
Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Cc:

[PATCH 05/23] perf: make newt support based on CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 46 +--

[PATCH 06/23] perf: remove NEWT_SUPPORT in favor of CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |3 ++-

[PATCH 03/23] perf: make python support based on CONFIG_LIBPYTHON

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 105 +++

[PATCH 04/23] perf: make gtk2 support based on CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 39 ---

[PATCH 01/23] perf: initial infrasructure for kconfig

2013-04-01 Thread David Ahern
Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Cc:

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread Zhouping Liu
On 04/02/2013 11:40 AM, Lin Feng wrote: Hi Zhouping, On 04/02/2013 11:09 AM, Zhouping Liu wrote: I don't understand clearly the last sentence 'you'll probably only get 100% hugepages only 1/512th of the time.' could you please explain more details about 'only 1/512th of the time'? IIUC, thp

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread David Rientjes
On Tue, 2 Apr 2013, Lin Feng wrote: > > so, again, if I understand correctly, thp should tune the naturally aligned > > maps, such as generated by mmap()/malloc(), > > make such maps 'hugepagesize' aligned if the maps or vma is equal and > > greater than 'hugepagesize', doesn't it? > > We may

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread Lin Feng
Hi Zhouping, On 04/02/2013 11:09 AM, Zhouping Liu wrote: > I don't understand clearly the last sentence 'you'll probably only get 100% > hugepages only 1/512th of the time.' > could you please explain more details about 'only 1/512th of the time'? IIUC, thp size is 2M so it may be comprised of

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

2013-04-01 Thread Stephen Rothwell
Hi Larry, On Mon, 01 Apr 2013 22:07:24 -0500 Larry Finger wrote: > > On 04/01/2013 09:34 PM, Stephen Rothwell wrote: > > > > After merging the wireless-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/net/wireless/rtlwifi/rtl8188ee/dm.c:30:18:

Re: [PATCH 20/33] aio: give shared kioctx fields their own cachelines

2013-04-01 Thread Theodore Ts'o
Reviewed-by: "Theodore Ts'o" -- 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://www.tux.org/lkml/

Re: [PATCH 19/33] aio: kill struct aio_ring_info

2013-04-01 Thread Theodore Ts'o
On Thu, Mar 21, 2013 at 09:35:40AM -0700, Kent Overstreet wrote: > struct aio_ring_info was kind of odd, the only place it's used is where > it's embedded in struct kioctx - there's no real need for it. > > The next patch rearranges struct kioctx and puts various things on their > own cachelines

[patch v3 4/8] sched: update cpu load after task_tick.

2013-04-01 Thread Alex Shi
To get the latest runnable info, we need do this cpuload update after task_tick. Signed-off-by: Alex Shi --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 8843cd3..e3233d3 100644 --- a/kernel/sched/core.c

[patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-01 Thread Alex Shi
Except using runnable load average in background, move_tasks is also the key functions in load balance. We need consider the runnable load average in it in order to the apple to apple load comparison. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 11 ++- 1 file changed, 10

[patch v3 5/8] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-04-01 Thread Alex Shi
They are the base values in load balance, update them with rq runnable load average, then the load balance will consider runnable load avg naturally. Signed-off-by: Alex Shi --- kernel/sched/core.c | 4 ++-- kernel/sched/fair.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff

[patch v3 8/8] sched: use instant load for burst wake up

2013-04-01 Thread Alex Shi
If many tasks sleep long time, their runnable load are zero. And if they are waked up bursty, too light runnable load causes big imbalance among CPU. So such benchmark, like aim9 drop 5~7%. With this patch the losing is covered, and even is slight better. Signed-off-by: Alex Shi ---

[patch v3 3/8] sched: only count runnable avg on cfs_rq's nr_running

2013-04-01 Thread Alex Shi
Old function count the runnable avg on rq's nr_running even there is only rt task in rq. That is incorrect, so correct it to cfs_rq's nr_running. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c

[patch v3 7/8] sched: consider runnable load average in effective_load

2013-04-01 Thread Alex Shi
effective_load calculates the load change as seen from the root_task_group. It needs to engage the runnable average of changed task. Thanks for Morten Rasmussen's reminder of this. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 27 --- 1 file changed, 20

[patch v3 1/8] Revert "sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking"

2013-04-01 Thread Alex Shi
Remove CONFIG_FAIR_GROUP_SCHED that covers the runnable info, then we can use runnable load variables. Signed-off-by: Alex Shi --- include/linux/sched.h | 7 +-- kernel/sched/core.c | 7 +-- kernel/sched/fair.c | 13 ++--- kernel/sched/sched.h | 9 + 4 files

[patch v3 2/8] sched: set initial value of runnable avg for new forked task

2013-04-01 Thread Alex Shi
We need initialize the se.avg.{decay_count, load_avg_contrib} for a new forked task. Otherwise random values of above variables cause mess when do new task enqueue: enqueue_task_fair enqueue_entity enqueue_entity_load_avg and make forking balancing imbalance since

[patch v3 0/8] sched: use runnable avg in load balance

2013-04-01 Thread Alex Shi
This version resolved the aim7 liked benchmark issue by patch 8th. Thanks for MikeG's avg_idle that is a good bursty wakeup indicator. The first 3 patches were also include in my power aware scheduling patchset. Morten, you can rebase your patch on this new version that bases on latest Linus

Re: [ANNOUNCE] 3.6.11.1-rt32

2013-04-01 Thread Carsten Emde
Steven, I'm pleased to announce the 3.6.11.1-rt32 stable release. Unfortunately, there is another compile error: drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_wait_for_error’: drivers/gpu/drm/i915/i915_gem.c:118:3: warning: passing argument 1 of ‘rt_spin_lock’ from incompatible

linux-next: manual merge of the virtio tree with the rr-fixes tree

2013-04-01 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the virtio tree got a conflict in drivers/char/virtio_console.c between commit 9ba5c80b1aea ("virtio: console: add locking around c_ovq operations") from the rr-fixes tree and commit 6797999d9958 ("virtio_console: use simplified virtqueue accessors") from the

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread Zhouping Liu
On 04/02/2013 06:23 AM, David Rientjes wrote: On Mon, 1 Apr 2013, Zhouping Liu wrote: Hi all, I found THP can't correctly distinguish one anonymous hugepage map. 1. when /sys/kernel/mm/transparent_hugepage/enabled is 'always', the amount of THP always is one less. It's not a problem

[GIT PULL] writeback: convert writeback to unbound workqueue

2013-04-01 Thread Tejun Heo
Hello, Jens. This is the pull request for the earlier patchset[1] with the same name. It's only three patches (the first one was committed to workqueue tree) but the merge strategy is a bit involved due to the dependencies. * Because the conversion needs features from wq/for-3.10,

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

2013-04-01 Thread Larry Finger
On 04/01/2013 09:34 PM, Stephen Rothwell wrote: Hi John, After merging the wireless-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/wireless/rtlwifi/rtl8188ee/dm.c:30:18: fatal error: wifi.h: No such file or directory Caused by commit f0eb856e0b6c

Re: [PATCH 18/33] aio: kill batch allocation

2013-04-01 Thread Theodore Ts'o
On Thu, Mar 21, 2013 at 09:35:39AM -0700, Kent Overstreet wrote: > Previously, allocating a kiocb required touching quite a few global (well, > per kioctx) cachelines... so batching up allocation to amortize those was > worthwhile. But we've gotten rid of some of those, and in another couple >

RE: [PATCH net-next 6/7] r8169: add a new chip for RTL8106E

2013-04-01 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] > Sent: Tuesday, April 02, 2013 6:24 AM > To: Hayeswang > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH net-next 6/7] r8169: add a new chip for RTL8106E > > Hayes Wang : > [...] > > - move

Re: [PATCH 2/2] PCI/IA64: fix pci_dev->enable_cnt balance when doing pci hotplug

2013-04-01 Thread Yijing Wang
On 2013/4/2 6:23, Luck, Tony wrote: >> In IA64 platform, we don't call pci_enable_bridges() >> when scan all pci buses during system boot up. But in >> X86 we do it in > > Your patch looks plausible ... but I have a question. X86 doesn't > *directly* call pci_enable_bridges() from any arch/x86/*

Re: [PATCH 17/33] aio: change reqs_active to include unreaped completions

2013-04-01 Thread Theodore Ts'o
On Thu, Mar 21, 2013 at 09:35:38AM -0700, Kent Overstreet wrote: > The aio code tries really hard to avoid having to deal with the completion > ringbuffer overflowing. To do that, it has to keep track of the number of > outstanding kiocbs, and the number of completions currently in the >

[PATCH v5 4/8] staging: zcache: fix pers_pageframes|_max aren't exported in debugfs

2013-04-01 Thread Wanpeng Li
Before commit 9c0ad59ef ("zcache/debug: Use an array to initialize/use debugfs attributes"), pers_pageframes|_max are exported in debugfs, but this commit forgot use array export pers_pageframes|_max. This patch add pers_pageframes|_max back. Signed-off-by: Wanpeng Li ---

[PATCH v5 5/8] staging: zcache: fix zcache writeback in debugfs

2013-04-01 Thread Wanpeng Li
commit 9c0ad59ef ("zcache/debug: Use an array to initialize/use debugfs attributes") use an array to initialize/use debugfs attributes, .name = #x, .val = _##x. For zcache writeback, this commit set .name = zcache_outstanding_writeback_pages and .name = zcache_writtenback_pages seperately,

[PATCH v5 8/8] staging: zcache: clean TODO list

2013-04-01 Thread Wanpeng Li
Cleanup TODO list since support zero-filled pages more efficiently has already done by this patchset. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/TODO |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zcache/TODO

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

2013-04-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in drivers/gpu/drm/i915/intel_dp.c between commit 9d1a455b0ca1 ("") from Linus' tree and commit 965e0c489f36 ("drm/i915: introduce pipe_config->dither|pipe_bpp") from the drm-intel tree. I fixed it up (see below) and can carry

[PATCH v5 0/8] staging: zcache: Support zero-filled pages more efficiently

2013-04-01 Thread Wanpeng Li
Changelog: v4 -> v5: * fix compile error, reported by Fengguang, Geert * add check for !is_ephemeral(pool), spotted by Bob v3 -> v4: * handle duplication in page_is_zero_filled, spotted by Bob * fix zcache writeback in dubugfs * fix pers_pageframes|_max isn't exported in debugfs

[PATCH v5 3/8] staging: zcache: handle zcache_[eph|pers]_zpages for zero-filled page

2013-04-01 Thread Wanpeng Li
Increment/decrement zcache_[eph|pers]_zpages for zero-filled pages, the main point of the counters for zpages and pageframes is to be able to calculate density == zpages/pageframes. A zero-filled page becomes a zpage that "compresses" to zero bytes and, as a result, requires zero pageframes for

[PATCH v5 7/8] staging: zcache: introduce zero-filled page stat count

2013-04-01 Thread Wanpeng Li
Introduce zero-filled page statistics to monitor the number of zero-filled pages. Acked-by: Dan Magenheimer Signed-off-by: Wanpeng Li --- drivers/staging/zcache/debug.h | 15 +++ drivers/staging/zcache/zcache-main.c |6 ++ 2 files changed, 21 insertions(+), 0

  1   2   3   4   5   6   7   8   9   10   >