[PATCH v2.3 0/3] mm/fs: Implement faster stable page writes on filesystems

2012-12-13 Thread Darrick J. Wong
Hi all, This patchset (stable page writes, part 2) makes some key modifications to the original 'stable page writes' patchset. First, it provides creators (devices and filesystems) of a backing_dev_info a flag that declares whether or not it is necessary to ensure that page contents cannot

[PATCH 2/4] mm: Only enforce stable page writes if the backing device requires it

2012-12-13 Thread Darrick J. Wong
Create a helper function to check if a backing device requires stable page writes and, if so, performs the necessary wait. Then, make it so that all points in the memory manager that handle making pages writable use the helper function. This should provide stable page write support to most

[PATCH 4/4] block: Optionally snapshot page contents to provide stable pages during write

2012-12-13 Thread Darrick J. Wong
Several complaints have been received regarding long file write latencies when memory pages must be held stable during writeback. Since it might not be acceptable to stall programs for the entire duration of a page write (which may take many milliseconds even on good hardware), enable a second

[PATCH 3/4] 9pfs: Fix filesystem to wait for stable page writeback

2012-12-13 Thread Darrick J. Wong
Fix up the -page_mkwrite handler to provide stable page writes if necessary. Signed-off-by: Darrick J. Wong darrick.w...@oracle.com --- fs/9p/vfs_file.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/9p/vfs_file.c b/fs/9p/vfs_file.c index c2483e9..357260b 100644 ---

[PATCH 1/4] bdi: Allow block devices to say that they require stable page writes

2012-12-13 Thread Darrick J. Wong
This creates a per-backing-device flag that tracks whether or not pages must be held immutable during writeout. Eventually it will be used to waive wait_for_page_writeback() if nobody requires stable pages. Signed-off-by: Darrick J. Wong darrick.w...@oracle.com ---

[PATCH] [libata] scsi: fix Null pointer dereference on disk error

2012-12-13 Thread Xiaotian Feng
Following oops were observed when disk error happened: [ 4272.896937] sd 0:0:0:0: [sda] Unhandled error code [ 4272.896939] sd 0:0:0:0: [sda] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [ 4272.896942] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 00 5a de a7 00 00 08 00 [ 4272.896951]

Re: [PATCH] drivers: nouveau: Bool tests don't need comparison

2012-12-13 Thread Dan Carpenter
On Wed, Dec 12, 2012 at 02:54:10PM +0100, Laurent Navet wrote: Bool initializations should use true and false. Bool tests don't need comparisons. Based on contributions from Joe Perches, Rusty Russell and Bruce W Allan. The semantic patch that makes this output is available in

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-13 Thread Julien DELACOU
On 12/12/2012 08:31 PM, Linus Walleij wrote: On Tue, Dec 11, 2012 at 10:11 PM, Stephen Warrenswar...@wwwdotorg.org wrote: Since I assume those function are only supposed to be used by pinctrl drivers themselves, should the prototypes go into drivers/pinctrl/core.h or similar, rather than

[tip:numa/core] mm/migrate: Fix update_mmu_cache_pmd() use

2012-12-13 Thread tip-bot for Stephen Rothwell
Commit-ID: 8df383108f7b7eafcf89f26be5460b404c70ff29 Gitweb: http://git.kernel.org/tip/8df383108f7b7eafcf89f26be5460b404c70ff29 Author: Stephen Rothwell s...@canb.auug.org.au AuthorDate: Mon, 10 Dec 2012 19:54:02 +1100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 10 Dec 2012

[RFC/RFT][PATCH 1/4] regulator: core: Allow specify activate_[reg|bit] for regmap based voltage_sel operations

2012-12-13 Thread Axel Lin
Some DVM regulators needs to update activate_bit after setting vsel_reg to initiate voltage change on the output. This patch adds activate_reg and activate_bit to struct regulator_desc and update regulator_set_voltage_sel_regmap() to set activate_bit of activate_reg when activate_bit is set.

[PATCH] sched: cputime: avoid multiplication overflow (in common cases)

2012-12-13 Thread Stanislaw Gruszka
We scale stime, utime values based on rtime (sum_exec_runtime converted to jiffies). During scaling we multiple rtime * utime, what seems to be fine, since both values are converted to u64, but is not. Let assume HZ is 1000 - 1ms tick. Process consist of 64 threads, run for 1 day, threads utilize

[RFC/RFT][PATCH 2/4] regulator: 88pm8607: Use activate_[reg|bit] with regmap based voltage_sel operations

2012-12-13 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/88pm8607.c | 43 -- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 2b55711..21a7334 100644 ---

[RFC/RFT][PATCH 3/4] regulator: da9052: Use activate_[reg|bit] with regmap based voltage_sel operations

2012-12-13 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/da9052-regulator.c | 41 +- 1 file changed, 6 insertions(+), 35 deletions(-) diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index d096309..47455ad 100644

Re: [RFC/RFT][PATCH 1/4] regulator: core: Allow specify activate_[reg|bit] for regmap based voltage_sel operations

2012-12-13 Thread Mark Brown
On Thu, Dec 13, 2012 at 04:44:08PM +0800, Axel Lin wrote: Some DVM regulators needs to update activate_bit after setting vsel_reg to initiate voltage change on the output. This patch adds activate_reg and activate_bit to struct regulator_desc and update regulator_set_voltage_sel_regmap() to

[RFC/RFT][PATCH 4/4] regulator: tps6586x: Use activate_[reg|bit] with regmap based voltage_sel operations

2012-12-13 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/tps6586x-regulator.c | 54 ++-- 1 file changed, 10 insertions(+), 44 deletions(-) diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c index f86da67..1b5e8b9

Re: [PATCH 07/18] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2012-12-13 Thread Alex Shi
On 12/12/2012 11:57 AM, Preeti U Murthy wrote: Hi Alex, On 12/10/2012 01:52 PM, Alex Shi wrote: 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. updated with UP config fix: == From

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-13 Thread Terje Bergström
On 12.12.2012 18:08, Thierry Reding wrote: I've briefly discussed this with Stephen on IRC because I thought I had remembered him objecting to the idea of adding a dummy device just for this purpose. It turns out, however, that what he didn't like was to add a dummy node to the DT just to make

Re: [PATCH 4/5] ktest: Fix breakage from change of oldnoconfig to olddefconfig

2012-12-13 Thread Michal Marek
On 13.12.2012 04:06, Adam Lee wrote: On Wed, Dec 12, 2012 at 05:14:41PM -0500, Steven Rostedt wrote: From: Steven Rostedt srost...@redhat.com Commit fb16d891 kconfig: replace 'oldnoconfig' with 'olddefconfig', and keep the old name, changed ktest's default config update from oldnoconfig to

[PATCH] megaraid: convert to work_struct

2012-12-13 Thread Xiaotian Feng
There's no need to use delayed work, convert to use work_struct and cancel_work_sync(). Requested-by: Tejun Heo t...@kernel.org Signed-off-by: Xiaotian Feng dannyf...@tencent.com Cc: Neela Syam Kolli megaraidli...@lsi.com Cc: James E.J. Bottomley jbottom...@parallels.com Cc:

Re: [PATCH 2/6] sched: add a new SD SHARE_POWERLINE flag for sched_domain

2012-12-13 Thread Vincent Guittot
On 13 December 2012 03:24, Alex Shi alex@intel.com wrote: On 12/12/2012 09:31 PM, Vincent Guittot wrote: This new flag SD_SHARE_POWERDOMAIN is used to reflect whether groups of CPU in a sched_domain level can or not reach a different power state. If clusters can be power gated

Re: [PATCH RFC/RFT] regulator: core: Fix continuous_voltage_range case in regulator_can_change_voltage

2012-12-13 Thread Marek Szyprowski
Hello, On 12/12/2012 2:22 AM, Axel Lin wrote: Regulator drivers with continuous_voltage_range flag set allows not setting n_voltages. Thus if continuous_voltage_range is set, check the constraint range instead. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/core.c | 12

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-13 Thread Thierry Reding
On Thu, Dec 13, 2012 at 10:48:55AM +0200, Terje Bergström wrote: On 12.12.2012 18:08, Thierry Reding wrote: I've briefly discussed this with Stephen on IRC because I thought I had remembered him objecting to the idea of adding a dummy device just for this purpose. It turns out, however,

Re: [PATCH] regulator: core: if voltage scaling fails, restore original

2012-12-13 Thread Paolo Pisati
On Thu, Dec 13, 2012 at 05:15:33AM +, Mark Brown wrote: On Wed, Dec 12, 2012 at 12:45:52PM +0100, Paolo Pisati wrote: And after a second look it's clear what's going on: After a second look at what? You've not provided any context, I've no idea what you're talking about here. forgot

Re: [PATCH RFC/RFT] regulator: core: Fix continuous_voltage_range case in regulator_can_change_voltage

2012-12-13 Thread Mark Brown
On Thu, Dec 13, 2012 at 09:56:25AM +0100, Marek Szyprowski wrote: This change looks reasonable, I've missed the fact that there is a support for regulators with continuous voltage range. This change also shows that the n_voltages based workaround used earlier by mmc core was indeed only a

[PATCH] regulator: core: if voltage scaling fails, restore original voltage values

2012-12-13 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com Tested-by: Robert Nelson robertcnel...@gmail.com --- drivers/regulator/core.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index e872c8b..c347fd0

[PATCH] [resend] regulator: core: if voltage scaling fails, restore original values

2012-12-13 Thread Paolo Pisati
[resent with cc: stable and a bit more context] I've been experiencing solid hangs on my beaglexm with v3.7 after kexec:

Re: [PATCH 1/1] Drivers: hv: balloon: Fix a memory leak

2012-12-13 Thread Dan Carpenter
On Tue, Dec 11, 2012 at 11:07:17AM -0800, K. Y. Srinivasan wrote: -probe_error1: +probe_error2: kthread_stop(dm_device.thread); -probe_error0: +probe_error1: vmbus_close(dev-channel); +probe_error0: + kfree(send_buffer); If you used labels that describe what the code

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Dan Carpenter
On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev structure? + mdev-clk = devm_clk_get(pdev-dev, NULL); -clk is now a devm pointer as well. regards, dan carpenter --

Re: epoll with ONESHOT possibly fails to deliver events

2012-12-13 Thread Eric Wong
Andreas Voellmy andreas.voel...@yale.edu wrote: Using strace, I checked that my program is using epoll api as I described. Here is a fragment of the strace output that demonstrates my use: recvfrom(161, GET / HTTP/1.1\r\nHost: 10.12.0.1:..., 90, 0, NULL, NULL) = 90 sendto(161, HTTP/1.1 200

Re: linux-next: reminder 2

2012-12-13 Thread Takashi Iwai
At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: Hi all, If you have a tree that is included in linux-next, please clean it up after it has been merged into your upstream (i.e. Linus' tree in most cases). What does clean up mean in this context exactly? thanks, Takashi -- To

Re: [PATCH] utilize _Static_assert() for BUILD_BUG_ON() when the compiler supports it

2012-12-13 Thread Jan Beulich
On 13.12.12 at 01:29, Daniel Santos danielfsan...@att.net wrote: Wow, it's really easy to miss parallel development on the same issue. Sorry for my late response to this thread. I started another thread addressing these issues (as well as a few others) back in September

Re: [RFCv3] perf: proposed perf_event_open() manpage

2012-12-13 Thread Michael Kerrisk (man-pages)
[CC += tglx] On Mon, Nov 26, 2012 at 7:54 AM, Vince Weaver vincent.wea...@maine.edu wrote: Hello Here is an updated version of the proposed manpage. Ingo, Peter Z., I know you're busy but would it be possible for you to give this a sanity check? This is likely to become the document that

DMAR and DRHD errors[DMAR:[fault reason 06] PTE Read access is not set] Vt-d intel_iommu

2012-12-13 Thread Jason Gao
Dear List: Description of problem: After installed Centos 6.3(RHEL6.3) on my Dell R710(lastest bios:Version: 6.3.0,Release Date: 07/24/2012) server,and updated lastest kernel 2.6.32-279.14.1.el6.x86_64,I want to use the Intel 82576 ET Dual Port nic's SR-IOV feature,assigning VFs to kvm guest

Re: [PATCH] regulator: core: if voltage scaling fails, restore original voltage values

2012-12-13 Thread Felipe Balbi
On Thu, Dec 13, 2012 at 10:13:00AM +0100, Paolo Pisati wrote: Signed-off-by: Paolo Pisati paolo.pis...@canonical.com Tested-by: Robert Nelson robertcnel...@gmail.com please read Documentation/stable_kernel_rules.txt, you'll see this is wrong. -- balbi signature.asc Description: Digital

Re: [patch 1/8] mm: memcg: only evict file pages when we have plenty

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 05:28:44PM -0500, Johannes Weiner wrote: On Wed, Dec 12, 2012 at 04:53:36PM -0500, Rik van Riel wrote: On 12/12/2012 04:43 PM, Johannes Weiner wrote: dc0422c mm: vmscan: only evict file pages when we have plenty makes You are using some internal tree for that commit.

Re: [RFC PATCH v2 3/6] sched: pack small tasks

2012-12-13 Thread Vincent Guittot
On 13 December 2012 03:17, Alex Shi alex@intel.com wrote: On 12/12/2012 09:31 PM, Vincent Guittot wrote: During the creation of sched_domain, we define a pack buddy CPU for each CPU when one is available. We want to pack at all levels where a group of CPU can be power gated independently

[PATCH] pwm: add Exynos PWM driver

2012-12-13 Thread Joonyoung Shim
This is PWM driver to support 4 pwm for Exynos SoCs. Also this supports device tree node. The existing s3c24xx-pwm driver has many dependence with arch specific codes and it is difficult to support device tree by static mapping of PMW memory area. Also it can't support multi pwm to one device and

Re: [PATCH v3] mmc: core: Add support for idle time BKOPS

2012-12-13 Thread Ulf Hansson
On 12 December 2012 13:32, me...@codeaurora.org wrote: Hi Ulf, Sorry for the late response. See my reply below. Thanks, Maya On Thu, December 6, 2012 2:18 am, Ulf Hansson wrote: Hi Maya, On 4 December 2012 22:17, me...@codeaurora.org wrote: Hi Ulf, Let me try to better explain:

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Julia Lawall
On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev structure? + mdev-clk = devm_clk_get(pdev-dev, NULL); -clk is now a

Re: Read starvation by sync writes

2012-12-13 Thread Jan Kara
On Thu 13-12-12 09:43:31, Shaohua Li wrote: 2012/12/12 Jan Kara j...@suse.cz: On Wed 12-12-12 10:55:15, Shaohua Li wrote: 2012/12/11 Jan Kara j...@suse.cz: Hi, I was looking into IO starvation problems where streaming sync writes (in my case from kjournald but DIO would

Re: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:34PM -0500, Johannes Weiner wrote: When a reclaim scanner is doing its final scan before giving up and there is swap space available, pay no attention to swappiness preference anymore. Just swap. Note that this change won't make too big of a difference for

Re: linux-next: reminder 2

2012-12-13 Thread Stephen Rothwell
Hi Takashi, On Thu, 13 Dec 2012 10:42:09 +0100 Takashi Iwai ti...@suse.de wrote: At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: If you have a tree that is included in linux-next, please clean it up after it has been merged into your upstream (i.e. Linus' tree in most

Re: [patch 3/8] mm: vmscan: save work scanning (almost) empty LRU lists

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:35PM -0500, Johannes Weiner wrote: In certain cases (kswapd reclaim, memcg target reclaim), a fixed minimum amount of pages is scanned from the LRU lists on each iteration, to make progress. Do not make this minimum bigger than the respective LRU list size,

Re: [PATCH v4 00/23] OMAP USB Host cleanup

2012-12-13 Thread Roger Quadros
Hi Samuel Felipe, How can we proceed with this patchset? You can use the below pull request. The following changes since commit 47f46768d3a3866bff7164649dab499bf5d8ed81: Merge branch 'next/soc' into for-next (2012-12-07 16:35:14 -0800) are available in the git repository at:

Re: [patch 4/8] mm: vmscan: clarify LRU balancing close to OOM

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:36PM -0500, Johannes Weiner wrote: There are currently several inter-LRU balancing heuristics that simply get disabled when the reclaimer is at the last reclaim cycle before giving up, but the code is quite cumbersome and not really obvious. Make the heuristics

Re: [patch 5/8] mm: vmscan: improve comment on low-page cache handling

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:37PM -0500, Johannes Weiner wrote: Fix comment style and elaborate on why anonymous memory is force-scanned when file cache runs low. Signed-off-by: Johannes Weiner han...@cmpxchg.org Acked-by: Mel Gorman mgor...@suse.de -- Mel Gorman SUSE Labs -- To

Re: [PATCH v4 00/23] OMAP USB Host cleanup

2012-12-13 Thread Felipe Balbi
Hi, On Thu, Dec 13, 2012 at 12:44:22PM +0200, Roger Quadros wrote: Hi Samuel Felipe, How can we proceed with this patchset? You can use the below pull request. there are patches under arch/arm/ which need Tony's Acked-by, if we get those, then sure, go ahead ;-) -- balbi

[PATCH v4 3/3] xen-blkfront: transverse list of persistent grants safely

2012-12-13 Thread Roger Pau Monne
Use llist_for_each_entry_safe in blkif_free. Previously grants where freed while iterating the list, which lead to dereferences when trying to fetch the next item. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk

[PATCH v4 1/3] xen-blkback: implement safe iterator for the list of persistent grants

2012-12-13 Thread Roger Pau Monne
Change foreach_grant iterator to a safe version, that allows freeing the element while iterating. Also move the free code in free_persistent_gnts to prevent freeing the element before the rb_next call. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Roger Pau Monné

[PATCH v4 2/3] llist: add a safe version of llist_for_each_entry

2012-12-13 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Huang Ying ying.hu...@intel.com Cc: Konrad Rzeszutek Wilk kon...@kernel.org --- Changes since v3: * Change n to use type *, to keep the same semantics as list_for_each_entry_safe. Changes since v2: * Allow to pass a NULL node as the

Re: [PATCH 7/7] uprobes: _register() should always do register_for_each_vma(true)

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-11-23 21:28:17]: To support the filtering uprobe_register() should do register_for_each_vma(true) every time the new consumer comes, we need to install the previously nacked breakpoints. Note: - uprobes_mutex[] should die, what is actually

Re: [TRIVIAL PATCH 19/26] gfs2: Convert print_symbol to %pSR

2012-12-13 Thread Steven Whitehouse
Hi, Acked-by: Steven Whitehouse swhit...@redhat.com Steve. On Wed, 2012-12-12 at 10:19 -0800, Joe Perches wrote: Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches j...@perches.com --- fs/gfs2/glock.c |4 ++-- fs/gfs2/trans.c |

Re: linux-next: reminder 2

2012-12-13 Thread Takashi Iwai
At Thu, 13 Dec 2012 21:39:22 +1100, Stephen Rothwell wrote: Hi Takashi, On Thu, 13 Dec 2012 10:42:09 +0100 Takashi Iwai ti...@suse.de wrote: At Thu, 13 Dec 2012 15:32:37 +1100, Stephen Rothwell wrote: If you have a tree that is included in linux-next, please clean it up after

Re: [PATCH 3/7] uprobes: Kill the pointless inode/uc checks in register/unregister

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-12-10 20:12:32]: On 12/10, Srikar Dronamraju wrote: * Oleg Nesterov o...@redhat.com [2012-11-23 21:28:06]: register/unregister verifies that inode/uc != NULL. For what? This really looks like hide the potential problem, the caller should pass

Re: [patch 6/8] mm: vmscan: clean up get_scan_count()

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:38PM -0500, Johannes Weiner wrote: Reclaim pressure balance between anon and file pages is calculated through a tuple of numerators and a shared denominator. Exceptional cases that want to force-scan anon or file pages configure the numerators and denominator

Re: [PATCH] X86/acpi: remove redundant logic of acpi memory hotadd

2012-12-13 Thread Rafael J. Wysocki
On Thursday, December 13, 2012 10:36:38 AM Jiang Liu wrote: On 2012-12-12 22:37, Liu, Jinsong wrote: Wen Congyang wrote: At 12/08/2012 06:19 AM, Rafael J. Wysocki Wrote: On Tuesday, December 04, 2012 01:39:54 AM Liu, Jinsong wrote: Resend it, add Rafael and linux-a...@vger.kernel.org

Re: [patch 7/8] mm: vmscan: compaction works against zones, not lruvecs

2012-12-13 Thread Mel Gorman
On Wed, Dec 12, 2012 at 04:43:39PM -0500, Johannes Weiner wrote: The restart logic for when reclaim operates back to back with compaction is currently applied on the lruvec level. But this does not make sense, because the container of interest for compaction is a zone as a whole, not the zone

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Dan Carpenter
On Thu, Dec 13, 2012 at 11:18:53AM +0100, Julia Lawall wrote: On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release mdev-clk and other private members of mdev

Re: [PATCH v3] mm: Use aligned zone start for pfn_to_bitidx calculation

2012-12-13 Thread Mel Gorman
On Thu, Dec 06, 2012 at 01:11:41PM -0800, Laura Abbott wrote: The current calculation in pfn_to_bitidx assumes that (pfn - zone-zone_start_pfn) pageblock_order will return the same bit for all pfn in a pageblock. If zone_start_pfn is not aligned to pageblock_nr_pages, this may not always be

[PATCH 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2012-12-13 Thread Thomas Abraham
This patch series adds pinctrl driver support for Samsung's Exynos5250 SoC. The first patch adds the required Exynos5250 SoC specific data which is used by the Samsung pinctrl driver to setup the pinctrl/pinmux/eint controllers. The second and third patches skips the wakeup interrupt and gpiolib

[PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2012-12-13 Thread Thomas Abraham
Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/pinctrl-exynos.c | 108 + drivers/pinctrl/pinctrl-samsung.c |2 +

[PATCH 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250

2012-12-13 Thread Thomas Abraham
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/gpio/gpio-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-samsung.c

Re: A typo about kernelcore= ?

2012-12-13 Thread Mel Gorman
On Fri, Dec 07, 2012 at 10:48:56PM -0800, anish kumar wrote: On Fri, 2012-12-07 at 15:02 +0800, Han Pingtian wrote: Hi there, I'm wondering this is a typo in Documentation/kernel-parameters.txt about kernelcore=: In the event, a node is too small to have both

Re: [PATCH 1/2] drivers/w1/masters/mxc_w1.c: use devm_ functions

2012-12-13 Thread Julia Lawall
On Thu, 13 Dec 2012, Dan Carpenter wrote: On Thu, Dec 13, 2012 at 11:18:53AM +0100, Julia Lawall wrote: On Thu, 13 Dec 2012, Dan Carpenter wrote: On Wed, Dec 12, 2012 at 01:25:56AM +0400, Evgeniy Polyakov wrote: I suppose mdev will be automatically freed, but who will release

[PATCH 3/3] arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl is enabled

2012-12-13 Thread Thomas Abraham
Skip the wakeup interrupt registration for Exynos5250 if pinctrl support is enabled for Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/common.c

Re: [PATCH v2 07/10] mtd: nand/gpio: use io{read,write}*_rep accessors

2012-12-13 Thread Artem Bityutskiy
On Mon, 2012-12-10 at 19:12 +, Will Deacon wrote: From: Matthew Leach matt...@mattleach.net The {read,write}s{b,w,l} operations are not defined by all architectures and are being removed from the asm-generic/io.h interface. This patch replaces the usage of these string functions in

Re: [PATCH] block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.

2012-12-13 Thread Artem Bityutskiy
On Wed, 2012-12-12 at 19:32 +1100, NeilBrown wrote: If you create a block2mtd device that is larger than main memory, and write to all of it, then lots of pages will be dirtied but they will never be flushed out as nothing calls any variant of balance_dirty_pages. It would be nice to call

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Vasiliy Tolstov
If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? 2012/12/13 Mats Petersson mats.peters...@citrix.com: One comment asked for more details on the improvements: Using a small test program to map Guest memory into Dom0 (repeatedly for Iterations mapping the

vfs: Remove useless function prototypes

2012-12-13 Thread Alessio Igor Bogani
Commit 8e22cc88d68ca1a46d7d582938f979eb640ed30f removes the (un)lock_super function definitions but forgets to remove their prototypes. Signed-off-by: Alessio Igor Bogani abog...@kernel.org --- include/linux/fs.h |4 1 file changed, 4 deletions(-) diff --git a/include/linux/fs.h

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Mats Petersson
On 13/12/12 11:27, Vasiliy Tolstov wrote: If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? No, it should just work. Obviously, if it doesn't, let me know. -- Mats 2012/12/13 Mats Petersson mats.peters...@citrix.com: One comment asked for more details on

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-13 Thread Borislav Petkov
On Thu, Dec 13, 2012 at 11:07:43AM +0800, Alex Shi wrote: now, on the other hand, if you have two threads of a process that share a bunch of data structures, and you'd spread these over 2 sockets, you end up bouncing data between the two sockets a lot, running inefficient -- bad for power.

Re: [PATCH 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:03 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:00 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, as soon as an ACPI device node object (struct acpi_device) is created, the driver core

Re: [PATCH 0/6] ACPI: Change the ACPI namespace scanning code ordering

2012-12-13 Thread Yijing Wang
Hi rafael, I tested the pachset in our IA64 machine, system boot up log seems ok, but when do IOH hot plug, there are two small problems that missing match and start acpi devices for the top acpi device(eg. pci host bridge), refer https://lkml.org/lkml/2012/12/12/268. Test Machine: IA64,2

Re: [PATCH 02/12] regulator: gpio-regulator: Only read GPIO [dis|en]able pin if not always-on

2012-12-13 Thread Lee Jones
On Mon, 10 Dec 2012, Mark Brown wrote: On Mon, Dec 10, 2012 at 08:55:51AM +, Lee Jones wrote: If a regulator is specified as always-on, then it can't have an enable/disable pin, as it can't be turned off. Sometimes always on gets set for regulators which do have a physical control

[GIT PULL] s390 patches for the 3.8 merge window #1

2012-12-13 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Add support to generate code for the latest machine zEC12, MOD and XOR instruction support for the BPF jit compiler, the dasd

Re: [RFC PATCH 01/10] s390/pci: base support

2012-12-13 Thread Jan Glauber
On Mon, 2012-12-10 at 14:14 -0700, Bjorn Helgaas wrote: On Wed, Nov 14, 2012 at 2:41 AM, Jan Glauber j...@linux.vnet.ibm.com wrote: Add PCI support for s390, (only 64 bit mode is supported by hardware): - PCI facility tests - PCI instructions: pcilg, pcistg, pcistb, stpcifc, mpcifc, rpcit

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2012-12-13 Thread Christian Gmeiner
During the development of this driver an in-house register documentation was used. The last weeks some integration tests were done and this problem was found. It turned out that the released register documentation is wrong. The fix is very simple: shift all masks by one. Signed-off-by:

Re: [PATCH 01/12] regulator: gpio-regulator: Demote GPIO Regulator driver to start later

2012-12-13 Thread Lee Jones
On Mon, 10 Dec 2012, Mark Brown wrote: On Mon, Dec 10, 2012 at 02:28:36PM +, Lee Jones wrote: On Mon, 10 Dec 2012, Mark Brown wrote: This really isn't a good solution, especially not for a system that's DT based - on a DT system we can tell if there should be a GPIO present so

[PATCH] input: add MELFAS mms144 touchscreen driver

2012-12-13 Thread Nikolay Epifanov
This is an initial driver for MELFAS touchscreen chip mms144. Signed-off-by: Nikolay Epifanov nik.epifa...@gmail.com --- I don't know whether single driver could be used for both mms114 and mms144. Couldn't find datasheets for any of them. There are two firmwares available under redistribution

[ANNOUNCE] util-linux v2.22.2

2012-12-13 Thread Karel Zak
The util-linux release v2.22.2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/2.22 Feedback and bug reports, as always, are welcomed. Karel util-linux 2.22.2 Release Notes === Changes since v2.22.1 - For more details see

Re: [RFC GIT PULL] Nuke 386-DX/SX support changes for v3.8

2012-12-13 Thread Thorsten Glaser
H. Peter Anvin hpa at zytor.com writes: On 12/12/2012 10:04 AM, Linus Torvalds wrote: Or do people still use the 486SX? There were a *bunch* of embedded 486 clones made, some still in production as far as I know, and I wouldn't be surprised if some of them lacked FPU. I guess we'll

Re: [PATCH 2/6] ACPI: Change the ordering of PCI root bridge driver registrarion

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:19 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:00 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Devices created by acpi_create_platform_device() sometimes may need to be added to the device hierarchy

Re: [PATCH 6/6] ACPI: Change the ordering of acpi_bus_check_add()

2012-12-13 Thread Rafael J. Wysocki
On Wednesday, December 12, 2012 06:00:28 PM Bjorn Helgaas wrote: On Sun, Dec 9, 2012 at 4:04 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com If acpi_bus_check_add() is called for a handle already having an existing struct acpi_device object

Re: [PATCH v1 resend hot_track 00/16] vfs: hot data tracking

2012-12-13 Thread Zhi Yong Wu
On Thu, Dec 13, 2012 at 3:50 AM, Darrick J. Wong darrick.w...@oracle.com wrote: On Mon, Dec 10, 2012 at 11:30:03AM +0800, Zhi Yong Wu wrote: HI, all guys. any comments or suggestions? Why did ffsb drop from 924 transactions/sec to 322? It is maybe that some noise operations impact on it. I

Re: [RFC GIT PULL] Nuke 386-DX/SX support changes for v3.8

2012-12-13 Thread Bernd Petrovitsch
On Mit, 2012-12-12 at 11:00 -0800, H. Peter Anvin wrote: [...] There were a *bunch* of embedded 486 clones made, some still in production as far as I know, and I wouldn't be surprised if some of them lacked FPU. I guess we'll see. And there is an x86 emulator written in Javascript at

Re: [PATCH] core_pattern: set core helpers root and namespace to crashing process

2012-12-13 Thread Serge Hallyn
Quoting Neil Horman (nhor...@tuxdriver.com): Theres one problem I currently see with it, and that is that I'm not sure we can change the current behavior of how the root fs is set for the pipe reader, lest we break some user space expectations. As such, I've added a sysctl in this patch to

Re: [PATCH 1/1] pwm: atmel: add Timer Counter Block PWM driver

2012-12-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:45 Thu 06 Dec , Boris BREZILLON wrote: Add TCB PWM driver. Add device tree binding. Signed-off-by: Boris BREZILLON linux-...@overkiz.com -- create mode 100644 Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt create mode 100644 drivers/pwm/pwm-atmel-tcb.c diff --git

Re: Read starvation by sync writes

2012-12-13 Thread Jan Kara
On Wed 12-12-12 14:41:13, Jeff Moyer wrote: Jeff Moyer jmo...@redhat.com writes: I agree. This isn't about scheduling, we haven't even reached that part yet. Back when we split the queues into read vs write, this problem obviously wasn't there. Now we have sync writes and reads, both

Re: [ANNOUNCE] util-linux v2.22.2

2012-12-13 Thread Karel Zak
On Thu, Dec 13, 2012 at 01:08:18PM +0100, Karel Zak wrote: The util-linux release v2.22.2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/2.22 The correct link is: ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.22/ Karel -- Karel Zak k...@redhat.com

Re: [Xen-devel] [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Vasiliy Tolstov
Thanks, i'm try. 2012/12/13 Mats Petersson mats.peters...@citrix.com: On 13/12/12 11:27, Vasiliy Tolstov wrote: If i apply this patch to kernel 3.6.7 does it needs to apply another patches to work? No, it should just work. Obviously, if it doesn't, let me know. -- Mats 2012/12/13 Mats

[btrfs] is vulnerable to a hash-DoS attack

2012-12-13 Thread Pascal Junod
Hello folk, The btrfs file system, part of the linux kernel, is vulnerable to a trivial hash-DoS attack. More details can be found here: http://crypto.junod.info/2012/12/13/hash-dos-and-btrfs/ Enjoy! Pascal Junod -- http://crypto.junod.info @cryptopathe -- To unsubscribe from this list: send

Re: [PATCH 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-13 Thread Jiang Liu
On 12/13/2012 06:32 AM, Rafael J. Wysocki wrote: On Thursday, December 13, 2012 12:38:01 AM Jiang Liu wrote: On 12/10/2012 07:00 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Currently, as soon as an ACPI device node object (struct acpi_device) snip @@

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-12-13 Thread Ashish Jangam
(This rtc patch is resend for merge) --- This is the RTC patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: David Dajun Chen dc...@diasemi.com Signed-off-by: Ashish Jangam

[PATCH 01/14] perf diff: Use internal rb tree for hists__precompute

2012-12-13 Thread Jiri Olsa
There's missing change for hists__precompute to iterate either entries_collapsed or entries_in tree. The change was initiated for hists_compute_resort function in commit: 2a2d3ce perf diff: Use internal rb tree for compute resort but was missing for hists__precompute function changes.

[PATCH 02/14] perf hists: Rename hist_entry__add_pair arguments

2012-12-13 Thread Jiri Olsa
The current logic is to attach pair to the leader hist_entry. Arguments of hist_entry__add_pair function were placed the other way round.. driving me crazy. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc:

[PATCH 06/14] perf diff: Switching the base hists to be pairs head

2012-12-13 Thread Jiri Olsa
Making the baseline hists to act as a pairs head. So far we don't care which hists act as a pairs head, because we have only 2 files to deal with and any of them is suitable to do the job. But if we want to process more files, we need to pick up one hists to act as pairs head, and the baseline

[PATCH 08/14] perf diff: Display data file info ahead of the diff output

2012-12-13 Thread Jiri Olsa
Data files are referenced through the index of the file on the command line. Adding list of data files for each index to ease up navigation for user. It's displayed only if in verbose mode. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter

[PATCH 09/14] perf diff: Move diff related columns into diff command

2012-12-13 Thread Jiri Olsa
Moving diff related columns into diff command, because they are not used by any other command. Also moving the column entry functions under generic one with baseline as an exception. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter Zijlstra

[PATCH 07/14] perf hists: Marking dummy hists entries

2012-12-13 Thread Jiri Olsa
It does not make sense to make some computation (ratio, wdiff), when the hist_entry is 'dummy' - added via hists__link. Adding dummy field to struct hist_entry which indicates that it was added by hists__link and avoiding some of the processing for such entries. Signed-off-by: Jiri Olsa

[PATCH 11/14] perf diff: Change diff command to work over multiple data files

2012-12-13 Thread Jiri Olsa
Adding diff command the flexibility to specify multiple data files on input. If not input file is given the standard behaviour stands and diff inspects 'perf.data' and 'perf.data.old' files. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Peter

  1   2   3   4   5   6   7   8   9   10   >