[PATCH 1/2] sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges

2012-11-14 Thread Ingo Molnar
From: Peter Zijlstra By accounting against the present PTEs, scanning speed reflects the actual present (mapped) memory. For this we modify mm/mprotect.c::change_protection() to return the number of ptes modified. (No change in functionality.) Suggested-by: Ingo Molnar Signed-off-by: Peter Zij

[PATCH 0/2] change_protection(): Count the number of pages affected

2012-11-14 Thread Ingo Molnar
What do you guys think about this mprotect() optimization? Thanks, Ingo -- Ingo Molnar (1): mm: Optimize the TLB flush of sys_mprotect() and change_protection() users Peter Zijlstra (1): sched, numa, mm: Count WS scanning against present PTEs, not virtual memory ranges inc

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Thierry Reding
On Wed, Nov 14, 2012 at 10:35:31AM +0200, Terje Bergström wrote: > On 09.11.2012 15:20, Thierry Reding wrote: > > This commit adds the host1x node along with its children to the Tegra20 > > DTSI. Furthermore the OF auxiliary data table is updated to have proper > > names assigned to the platform de

KMS Framebuffer on Intel N2600 (GMA3600)

2012-11-14 Thread Forconi
Hi, I'm trying to get Linux + KMS Framebuffer up and running on a board that has this hardware configuration: - CPU: Intel Atom N2600 - Chipset: Intel NM10 - Integrated graphics system: Intel GMA 3600 - LCD Panel with LVDS controller (LCD resolution is 800x480, 18 bpp, 60Hz) I have downloade

[PATCH V2 1/1] Drivers: hv: Add Hyper-V balloon driver

2012-11-14 Thread K. Y. Srinivasan
Add the basic balloon driver. Windows hosts dynamically manage the guest memory allocation via a combination memory hot add and ballooning. Memory hot add is used to grow the guest memory upto the maximum memory that can be allocatted to the guest. Ballooning is used to both shrink as well as expan

[PATCH RESEND V2 0/1] Drivers: hv

2012-11-14 Thread K. Y. Srinivasan
Add a basic balloon driver to take advantage of the dynamic memory management functionality supported on Windows hosts. Windows requires the guests to support both memory hot add as well as ballooning. In this patch we are adding the basic balloon driver. Memory hot add will be added in a subsequen

[tip:perf/core] perf annotate: Merge same lines in summary view

2012-11-14 Thread tip-bot for Namhyung Kim
Commit-ID: 411279658adf6a4f5bb25ec032a39ae905bcf234 Gitweb: http://git.kernel.org/tip/411279658adf6a4f5bb25ec032a39ae905bcf234 Author: Namhyung Kim AuthorDate: Fri, 9 Nov 2012 14:58:49 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 9 Nov 2012 16:50:18 -0300 perf annotate: M

Re: [PATCH v5 3/9] net: xfrm: use __this_cpu_read per-cpu helper

2012-11-14 Thread Steffen Klassert
On Tue, Nov 13, 2012 at 08:36:00PM +0800, Shan Wei wrote: > Steffen Klassert said, at 2012/11/13 18:48: > > > > Ok, so please add a commit message to describe your changes. > > > > Thanks. > > > > [PATCH v5] net: xfrm: use __this_cpu_read per-cpu helper > > this_cpu_ptr/this_cpu_read is faster

Re: FW: [PATCH v2] mmc: sdhci: apply voltage range check only for non-fixed regulators

2012-11-14 Thread Mark Brown
On Wed, Nov 14, 2012 at 04:36:28PM +0800, Kevin Liu wrote: > 2012/11/14 Mark Brown : > > Should this be regulator_set_voltage_tol()? Otherwise it'd be good to > > explain where the numbers come from. > In SD physical layer spec 3.01 chapter 6.6.1, the threshold level for > voltage range is defin

Re: [RFC] rework mem_cgroup iterator

2012-11-14 Thread Michal Hocko
On Wed 14-11-12 17:17:51, Glauber Costa wrote: [...] > Why can't we reuse the scheduler iterator and move it to kernel/cgroup.c? I do not care much about the internal implementation of the core iterators. Those implemented by Tejun make sense to me. I just want to get rid of css->id based ones. M

[PATCH] pinctrl: plgpio: Call clk_disable_unprepare only if clk_prepare_enable is called

2012-11-14 Thread Axel Lin
This driver allows clk_get() failure, and still work without it. This patch adds !IS_ERR(plgpio->clk) checking in plgpio_request() error path so we only call clk_disable_unprepare() if clk_prepare_enable() is called. Signed-off-by: Axel Lin --- drivers/pinctrl/spear/pinctrl-plgpio.c |3 ++-

Re: [RFC] rework mem_cgroup iterator

2012-11-14 Thread Michal Hocko
On Wed 14-11-12 09:55:08, Li Zefan wrote: > On 2012/11/13 23:30, Michal Hocko wrote: > > Hi all, > > this patch set tries to make mem_cgroup_iter saner in the way how it > > walks hierarchies. css->id based traversal is far from being ideal as it > > is not deterministic because it depends on the c

Re: FW: [PATCH v2] mmc: sdhci: apply voltage range check only for non-fixed regulators

2012-11-14 Thread Kevin Liu
2012/11/14 Mark Brown : > On Wed, Nov 14, 2012 at 03:11:37PM +0800, Kevin Liu wrote: > >> - ret = regulator_set_voltage(host->vqmmc, 330, 330); >> + ret = regulator_set_voltage(host->vqmmc, 270, 360); > > Should this be regulator_set_voltage_tol()? Otherwise

Re: [PATCH 1/2] ARM: tegra: Add Tegra20 host1x support

2012-11-14 Thread Terje Bergström
On 09.11.2012 15:20, Thierry Reding wrote: > This commit adds the host1x node along with its children to the Tegra20 > DTSI. Furthermore the OF auxiliary data table is updated to have proper > names assigned to the platform devices instantiated from the device > tree. Moreover, the clocks required

Re: [PATCH v2 RESEND] leds: add led_trigger_rename function

2012-11-14 Thread Fabio Baltieri
Hi Bryan, On Tue, Nov 13, 2012 at 04:33:14PM -0800, Bryan Wu wrote: > > +void led_trigger_rename_static(const char *name, struct led_trigger *trig) > > +{ > > + /* new name must be on a temporary string to prevent races */ > > + BUG_ON(name == trig->name); > > + > > + down_write(

Re: [patch] ALSA: es1968: precedence bug in snd_es1968_tea575x_get_pins()

2012-11-14 Thread Dan Carpenter
On Tue, Nov 13, 2012 at 12:03:10AM -0800, Joe Perches wrote: > On Tue, 2012-11-13 at 10:44 +0300, Dan Carpenter wrote: > > I don't think this works as intended. '|' higher precedence than ?: so > > the bitwize OR "0 | (val & STR_MOST)" is a no-op. > > > > I have re-written it to be more clear. >

Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-14 Thread Yoshihiro YUNOMAE
Thank you for commenting on my patch set. (2012/11/14 11:31), Steven Rostedt wrote: On Tue, 2012-11-13 at 18:03 -0800, David Sharp wrote: On Tue, Nov 13, 2012 at 6:00 PM, Steven Rostedt wrote: On Wed, 2012-11-14 at 10:36 +0900, Yoshihiro YUNOMAE wrote: To merge the data like previous patter

Re: [PATCH 2/2] cgroup, cpuset: remove cgroup_subsys->post_clone()

2012-11-14 Thread Glauber Costa
On 11/13/2012 09:27 PM, Tejun Heo wrote: > From bbf2566f9f4fc79ff3320e83cafb69533efc9ea0 Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Tue, 13 Nov 2012 12:21:50 -0800 > > Currently CGRP_CPUSET_CLONE_CHILDREN triggers ->post_clone(). Now > that clone_children is cpuset specific, there's no r

Re: [RFC] rework mem_cgroup iterator

2012-11-14 Thread Glauber Costa
On 11/13/2012 04:30 PM, Michal Hocko wrote: > Hi all, > this patch set tries to make mem_cgroup_iter saner in the way how it > walks hierarchies. css->id based traversal is far from being ideal as it > is not deterministic because it depends on the creation ordering. > > Diffstat looks promising b

Re: linux-next: Tree for Nov 14

2012-11-14 Thread Hugh Dickins
On Wed, 14 Nov 2012, Ingo Molnar wrote: > * Andrew Morton wrote: > > On Wed, 14 Nov 2012 07:47:26 +0100 Ingo Molnar wrote: > > > * Andrew Morton wrote: > > > > On Wed, 14 Nov 2012 16:30:42 +1100 Stephen Rothwell > > > > wrote: > > > > > > > > > News: next-20121115 (i.e. tomorrow) will be the

Re: ccache: FATAL: Could not create /scratch/kisskb/ccache

2012-11-14 Thread Geert Uytterhoeven
Hi Stephen, On Sat, Nov 3, 2012 at 12:19 AM, Stephen Rothwell wrote: > On Fri, 2 Nov 2012 19:44:48 +0100 Geert Uytterhoeven > wrote: >> http://kisskb.ellerman.id.au/kisskb/buildresult/7458505/ >> >> ccache: FATAL: Could not create >> /scratch/kisskb/ccache/d/7/f9e308f728ef43aaa482aefb9a00a2-852

<    4   5   6   7   8   9