Re: [f2fs-dev] [PATCH 3/3 V3] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-09 Thread Jaegeuk Kim
Hi, Sorry for the noise. Once I tested this patch, I recognized that I made a mistake: f2fs_fill_super() 1. build_segment_manager() -> restore_node_summary() -> NULL pointer exception, due to no NAT cache. 2. build_node_manager() So, we should not call get_node_info() prior to build

Re: [PATCH V2 2/3] perf script: Add an option to print the source line number

2013-12-09 Thread Adrian Hunter
On 08/12/13 19:35, David Ahern wrote: > On 12/6/13, 12:42 AM, Adrian Hunter wrote: >> Add field 'srcline' that displays the source file name >> and line number associated with the sample ip. The >> information displayed is the same as from addr2line. > > example output? grep 10701/10

Re: [PATCH] Input: samsung-keypad - favor platform data if present

2013-12-09 Thread Jingoo Han
On Friday, December 06, 2013 7:02 PM, Dmitry Torokhov wrote: > > We should be able to override firmware-provided parameters with in-kernel > data, if needed. To that effect favor platform data, if present, over > devicetree data. > > Signed-off-by: Dmitry Torokhov It looks good. Reviewed-by: J

[PATCH v13 15/16] memcg: reap dead memcgs upon global memory pressure

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa When we delete kmem-enabled memcgs, they can still be zombieing around for a while. The reason is that the objects may still be alive, and we won't be able to delete them at destruction time. The only entry point for that, though, are the shrinkers. The shrinker interface, ho

[PATCH v13 10/16] vmscan: shrink slab on memcg pressure

2013-12-09 Thread Vladimir Davydov
This patch makes direct reclaim path shrink slab not only on global memory pressure, but also when we reach the user memory limit of a memcg. To achieve that, it makes shrink_slab() walk over the memcg hierarchy and run shrinkers marked as memcg-aware on the target memcg and all its descendants. Th

[PATCH v13 04/16] memcg: move memcg_caches_array_size() function

2013-12-09 Thread Vladimir Davydov
I need to move this up a bit, and I am doing in a separate patch just to reduce churn in the patch that needs it. Signed-off-by: Vladimir Davydov Cc: Glauber Costa Cc: Johannes Weiner Cc: Michal Hocko Cc: Balbir Singh Cc: KAMEZAWA Hiroyuki --- mm/memcontrol.c | 30 +++-

[PATCH v13 11/16] mm: list_lru: add per-memcg lists

2013-12-09 Thread Vladimir Davydov
There are several FS shrinkers, including super_block::s_shrink, that keep reclaimable objects in the list_lru structure. That said, to turn them to memcg-aware shrinkers, it is enough to make list_lru per-memcg. This patch does the trick. It adds an array of LRU lists to the list_lru structure, o

Re: [RFC part2 PATCH 2/9] ARM64 / ACPI: Prefill cpu possible/present maps and map logical cpu id to APIC id

2013-12-09 Thread Hanjun Guo
On 2013-12-6 7:09, Arnd Bergmann wrote: > On Wednesday 04 December 2013, Rob Herring wrote: >>> index a0c2ca6..1428024 100644 >>> --- a/arch/arm64/kernel/smp.c >>> +++ b/arch/arm64/kernel/smp.c >>> @@ -420,7 +420,9 @@ void __init smp_prepare_cpus(unsigned int max_cpus) >>> if (err)

[PATCH v13 00/16] kmemcg shrinkers

2013-12-09 Thread Vladimir Davydov
Hi, This is the 13th iteration of Glauber Costa's patch-set implementing slab shrinking on memcg pressure. The main idea is to make the list_lru structure used by most FS shrinkers per-memcg. When adding or removing an element from a list_lru, we use the page information to figure out which memcg

[PATCH v13 14/16] vmpressure: in-kernel notifications

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa During the past weeks, it became clear to us that the shrinker interface we have right now works very well for some particular types of users, but not that well for others. The latter are usually people interested in one-shot notifications, that were forced to adapt themselves

[PATCH v13 07/16] vmscan: call NUMA-unaware shrinkers irrespective of nodemask

2013-12-09 Thread Vladimir Davydov
If a shrinker is not NUMA-aware, shrink_slab() should call it exactly once with nid=0, but currently it is not true: if node 0 is not set in the nodemask or if it is not online, we will not call such shrinkers at all. As a result some slabs will be left untouched under some circumstances. Let us fi

[PATCH v13 06/16] vmscan: remove shrink_control arg from do_try_to_free_pages()

2013-12-09 Thread Vladimir Davydov
There is no need passing on a shrink_control struct from try_to_free_pages() and friends to do_try_to_free_pages() and then to shrink_zones(), because it is only used in shrink_zones() and the only field initialized on the top level is gfp_mask, which is always equal to scan_control.gfp_mask. So le

[PATCH v2] vmcore: copy fractional pages into buffers in the kdump 2nd kernel

2013-12-09 Thread HATAYAMA Daisuke
This is a patch for fixing mmap failure due to fractional page issue. This patch might be still a bit too large as a single patch and might need to split. If you think patch refactoring is needed, please suggest. Change Log: v1 => v2) - Copy fractional pages from 1st kernel to 2nd kernel to re

[PATCH v13 16/16] memcg: flush memcg items upon memcg destruction

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa When a memcg is destroyed, it won't be imediately released until all objects are gone. This means that if a memcg is restarted with the very same workload - a very common case, the objects already cached won't be billed to the new memcg. This is mostly undesirable since a cont

[PATCH v13 13/16] vmscan: take at least one pass with shrinkers

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa In very low free kernel memory situations, it may be the case that we have less objects to free than our initial batch size. If this is the case, it is better to shrink those, and open space for the new workload then to keep them and fail the new allocations. In particular, w

[PATCH v13 09/16] fs: consolidate {nr,free}_cached_objects args in shrink_control

2013-12-09 Thread Vladimir Davydov
We are going to make the FS shrinker memcg-aware. To achieve that, we will have to pass the memcg to scan to the nr_cached_objects and free_cached_objects VFS methods, which currently take only the NUMA node to scan. Since the shrink_control structure already holds the node, and the memcg to scan w

[PATCH v13 08/16] mm: list_lru: require shrink_control in count, walk functions

2013-12-09 Thread Vladimir Davydov
To enable targeted reclaim, the list_lru structure distributes its elements among several LRU lists. Currently, there is one LRU per NUMA node, and the elements from different nodes are placed to different LRUs. As a result there are two versions of count and walk functions: - list_lru_count, lis

[PATCH v13 03/16] memcg: move initialization to memcg creation

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa Those structures are only used for memcgs that are effectively using kmemcg. However, in a later patch I intend to use scan that list inconditionally (list empty meaning no kmem caches present), which simplifies the code a lot. So move the initialization to early kmem creatio

[PATCH v13 02/16] memcg: consolidate callers of memcg_cache_id

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa Each caller of memcg_cache_id ends up sanitizing its parameters in its own way. Now that the memcg_cache_id itself is more robust, we can consolidate this. Also, as suggested by Michal, a special helper memcg_cache_idx is used when the result is expected to be used directly a

[PATCH v13 12/16] fs: mark list_lru based shrinkers memcg aware

2013-12-09 Thread Vladimir Davydov
Since now list_lru automatically distributes objects among per-memcg lists and list_lru_{count,walk} employ information passed in the shrink_control argument to scan appropriate list, all shrinkers that keep objects in the list_lru structure can already work as memcg-aware. Let us mark them so. Si

[PATCH v13 05/16] vmscan: move call to shrink_slab() to shrink_zones()

2013-12-09 Thread Vladimir Davydov
This reduces the indentation level of do_try_to_free_pages() and removes extra loop over all eligible zones counting the number of on-LRU pages. Signed-off-by: Vladimir Davydov Cc: Glauber Costa Cc: Johannes Weiner Cc: Michal Hocko Cc: Andrew Morton Cc: Mel Gorman Cc: Rik van Riel --- mm/v

[f2fs-dev][PATCH]f2fs: merge pages with the same sync_mode flag

2013-12-09 Thread Fan Li
Previously f2fs submits most of write requests using WRITE_SYNC, but f2fs_write_data_pages submits last write requests by sync_mode flags callers pass. This causes a performance problem since continuous pages with different sync flags can't be merged in cfq IO scheduler(thanks yu chao for pointi

[PATCH v13 01/16] memcg: make cache index determination more robust

2013-12-09 Thread Vladimir Davydov
From: Glauber Costa I caught myself doing something like the following outside memcg core: memcg_id = -1; if (memcg && memcg_kmem_is_active(memcg)) memcg_id = memcg_cache_id(memcg); to be able to handle all possible memcgs in a sane manner. In particular, the roo

Re: [PATCH][RESEND] avr32: remove deprecated IRQF_DISABLED

2013-12-09 Thread Hans-Christian Egtvedt
Around Mon 09 Dec 2013 06:16:51 +0100 or thereabout, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > Acked-by: Hans-Christian Egtvedt I'll pull it in

Re: [BUG] stable v3.10.16+ introduced by "ip6tnl: allow to use rtnl ops on fb tunnel"

2013-12-09 Thread Greg Kroah-Hartman
On Wed, Nov 13, 2013 at 09:14:30PM -0500, Steven Rostedt wrote: > In our test labs we discovered a bug with the latest 3.10-rt kernel. > When investigating, I found that it was actually a bug in the 3.10.18 > kernel that we based on. With that, I bisected it down to this commit: > > commit 506cdb8

[PATCH] perf tools: Fix bug of perf kvm stat report.

2013-12-09 Thread Dongsheng Yang
When we use perf kvm record-report, there is a bug in report subcommand. Example: # perf kvm stat record -a sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.678 MB perf.data.guest (~29641 samples) ] # perf kvm stat report

Re: [PATCH v2 tty-next 7/8] n_tty: Extend debug tracing

2013-12-09 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 02:24:47PM -0500, Peter Hurley wrote: > Add configurable trace support to allow tracing with dev_dbg, > pr_dbg, or trace_printk. Instrument .receive_buf() and read() > paths with traces to aid in debugging flow control changes. > > Signed-off-by: Peter Hurley > --- > driv

Re: [PATCH v2 2/3] pinctrl: Add msm8x74 configuration

2013-12-09 Thread Linus Walleij
On Fri, Dec 6, 2013 at 11:22 PM, Stephen Boyd wrote: > On 12/05/13 18:10, Bjorn Andersson wrote: As the driver is merged I expect fixes to come in as additional patches. >> Add initial definition of parameters for pinctrl-msm for the msm8x74 >> platform. > > Hmm. We've tried to remove 'x' from o

Re: [PATCH tty-next 5/5] tty: Halve flip buffer GFP_ATOMIC memory consumption

2013-12-09 Thread Greg Kroah-Hartman
On Fri, Nov 22, 2013 at 12:09:58PM -0500, Peter Hurley wrote: > tty flip buffers use GFP_ATOMIC allocations for received data > which is to be processed by the line discipline. For each byte > received, an extra byte is used to indicate the error status of > that byte. > > Instead, if the received

Re: [PATCH tty-next 0/4] tty: Fix ^C echo

2013-12-09 Thread Greg Kroah-Hartman
On Mon, Dec 02, 2013 at 04:12:01PM -0500, Peter Hurley wrote: > Greg, > > Sometimes when interrupting terminal output, the '^C' won't be echoed > until more output is echoed. This is fairly repeatable by interrupting > 'cat large-file'. > > The common reason for this is because the tty write buff

Re: [PATCH 11/11] Staging: bcm: DDRInint: tidy up indent issue.

2013-12-09 Thread Greg KH
On Sat, Dec 07, 2013 at 03:46:48AM -0500, Gary Rookard wrote: > This is the eleventh patch of a series. No it isn't :) -- 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/maj

Re: [PATCH 03/10] Staging: bcm: DDRInit: added space after commas.

2013-12-09 Thread Greg KH
On Sat, Dec 07, 2013 at 02:49:05AM -0500, Gary Rookard wrote: > This is the third patch of a series. What series? Again, this isn't an ok changelog entry, did you read Documentation/SubmittingPatches for what should be here? thanks, greg k-h -- To unsubscribe from this list: send the line "unsu

Re: [PATCH] Staging: android: fix parantheses coding style issue in alarm-dev.c

2013-12-09 Thread Greg KH
On Sat, Dec 07, 2013 at 02:35:52PM -0800, Preetam D'Souza wrote: > This patch fixes an unecessary return statement parantheses error > found in alarm-dev.c by the checkpatch.pl tool -- alarm-dev.c now has > no more errors/warnings! > > Signed-off-by: Preetam D'Souza > --- > drivers/staging/andro

Re: [PATCH 10/10] Staging: bcm: DDRInit: tidy up comments.

2013-12-09 Thread Greg KH
On Sat, Dec 07, 2013 at 02:40:02AM -0500, Gary Rookard wrote: > This is the tenth patch of a series. Why is this in the changelog entry? It says nothing as to what the patch does. And I don't see the previous 9 patches of this series, only a bunch of X/9 patches, nothing X/10. Please fix all of

Re: [PATCH 2/3] pinctrl: at91: initialize config parameter to 0

2013-12-09 Thread Nicolas Ferre
On 07/12/2013 14:08, Alexandre Belloni : When passing a not initialized config parameter, at91_pinconf_get() would return a bogus value. Fix that by initializing it to zero before using it. Signed-off-by: Alexandre Belloni --- drivers/pinctrl/pinctrl-at91.c | 3 ++- 1 file changed, 2 inserti

Re: [PATCH][RESEND 5/8] uio: uio_pruss: use gen_pool_dma_alloc() to allocate sram memory

2013-12-09 Thread Greg KH
On Fri, Nov 01, 2013 at 07:48:18PM +0800, Nicolin Chen wrote: > Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. > > Signed-off-by: Nicolin Chen > --- Acked-by: Greg Kroah-Hartman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

[PATCH] pinctrl: add dependency on OF for MSM driver

2013-12-09 Thread Linus Walleij
We had a compilation failure on x86_64 due to missing OF support as this was an implicit dependency. Add an explicit dependency on OF so we get rid of this build failure. Cc: Bjorn Andersson Signed-off-by: Linus Walleij --- drivers/pinctrl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --g

Re: [PATCH] usb: ohci-exynos: Change to use phy provided by the generic phy framework

2013-12-09 Thread Greg KH
On Wed, Nov 06, 2013 at 10:27:49AM +0900, Jingoo Han wrote: > Change the phy provider used from the old usb phy specific to a new one > using the generic phy framework. > > Signed-off-by: Jingoo Han > Cc: Kamil Debski > --- > Exynos OHCI driver also uses Exynos USB2.0 PHY. Thus, I make this > pa

Re: [PATCH v3] cpufreq: exynos: Convert exynos-cpufreq to platform driver

2013-12-09 Thread Lukasz Majewski
Hi Rafael, Vires, > On 28 November 2013 18:12, Lukasz Majewski > wrote: > > To make the driver multiplatform-friendly, unconditional > > initialization in an initcall is replaced with a platform driver > > probed only if respective platform device is registered. > > > > Tested at: Exynos4210 (TRA

Re: [PATCH] usb-storage: scsiglue: Changing the command result

2013-12-09 Thread Greg KH
On Sat, Nov 16, 2013 at 12:23:50PM +0530, Vishal Annapurve wrote: > Hi, > > Here are the updated patches: Can you please resend these in a format which I can apply them in without having to hand-edit all three of them? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscri

[alpha PATCH ] enable syscall audit function at alpha architecture

2013-12-09 Thread 蔡正龙
Enable system-call auditing support at alpha architecture diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index d39dc9b..f23ab8b 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -16,6 +16,7 @@ config ALPHA select ARCH_WANT_IPC_PARSE_VERSION select ARCH_HAVE_NMI_SAFE

Re: [PATCH][RESEND] ARM: misc: remove deprecated IRQF_DISABLED

2013-12-09 Thread Linus Walleij
On Mon, Dec 9, 2013 at 6:00 AM, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > from miscellaneous code in mach-xxx and plat-xxx > > This flag is a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker Acked-by: Lin

RE: [PATCH] regulator: pfuze100: Fix address of FABID

2013-12-09 Thread yibin.g...@freescale.com
Acked-by: Robin Gong -Original Message- From: Axel Lin [mailto:axel@ingics.com] Sent: Monday, December 09, 2013 3:24 PM To: Mark Brown Cc: Gong Yibin-B38343; Liam Girdwood; linux-kernel@vger.kernel.org Subject: [PATCH] regulator: pfuze100: Fix address of FABID According to the datas

[git pull] drm fixes

2013-12-09 Thread Dave Airlie
Hi Linus, this is probably a bit big, but just because I fell behind last week and didn't get to doing any pulls, so stuff backed up behind me, I actually should have sent this for -rc3 but failed to even manage that, So this has radeon, intel, nouveau, vmware, exynos and tegra fixes in it, an

Re: [PATCH 6/6] regulator: stw481x-vmmc: use devm_regulator_register()

2013-12-09 Thread Linus Walleij
On Fri, Dec 6, 2013 at 8:12 AM, Jingoo Han wrote: > Use devm_regulator_register() to make cleanup paths simpler, > and remove unnecessary remove(). > > Signed-off-by: Jingoo Han Reviewed-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH] devtmpfs: Calling delete_path() only when necessary

2013-12-09 Thread Greg Kroah-Hartman
On Wed, Dec 04, 2013 at 02:44:14PM +0800, Axel Lin wrote: > 2013/12/4 Rob Landley : > > On 11/16/2013 02:15:23 AM, Axel Lin wrote: > >> > >> The deleted variable is always 1 in current code. > >> Initialize deleted variable to be 0, so delete_path() will be called only > >> when > >> necessary. > >

Re: linux-next: manual merge of the driver-core tree with the driver-core.current tree

2013-12-09 Thread Greg KH
On Mon, Dec 09, 2013 at 02:47:12PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > fs/sysfs/file.c between commit a8b14744429f ("sysfs: give different > locking key to regular and bin files") from the driver-core.current tree > and

Re: [PATCH] xen/debugfs: Check debugfs initialization before using it

2013-12-09 Thread Greg KH
On Mon, Dec 09, 2013 at 09:43:16AM +0800, Ethan Zhao wrote: > On Sun, Dec 8, 2013 at 10:01 PM, Greg KH wrote: > > On Sun, Dec 08, 2013 at 07:31:02PM +0800, ethan.zhao wrote: > >> Should check debugfs initialization with debugfs_initialized() before > >> using it, > >> Because if it isn't initiali

Re: [PATCH 31/39] USB: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-09 Thread 'Greg Kroah-Hartman'
On Sun, Dec 08, 2013 at 10:03:42PM -0600, Felipe Balbi wrote: > On Tue, Dec 03, 2013 at 08:27:58AM +0900, Jingoo Han wrote: > > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > > is not preferred. > > > > Signed-off-by: Jingoo Han > > I wonder why I wasn't Cc:ed to this email consid

Re: [PATCH v2] serial: rewrite pxa2xx-uart to use 8250_core

2013-12-09 Thread Heikki Krogerus
Hi, On Fri, Dec 06, 2013 at 01:09:31PM +0400, Sergei Ianovich wrote: > pxa2xx-uart was a separate uart platform driver. It was declaring > the same device names and numbers as 8250 driver. As a result, > it was impossible to use 8250 driver on PXA SoCs. > > Upon closer examination pxa2xx-uart tur

Re: [PATCH 1/4] mm/migrate: correct return value of migrate_pages()

2013-12-09 Thread Joonsoo Kim
On Fri, Dec 06, 2013 at 01:37:26PM -0500, Naoya Horiguchi wrote: > On Fri, Dec 06, 2013 at 03:42:16PM +0100, Vlastimil Babka wrote: > > On 12/06/2013 09:41 AM, Joonsoo Kim wrote: > > >migrate_pages() should return number of pages not migrated or error code. > > >When unmap_and_move return -EAGAIN,

Re: [PATCH v3 1/2] cpufreq: tegra: Call tegra_cpufreq_init() specifically in machine code

2013-12-09 Thread bilhuang
On 12/06/2013 06:54 AM, Stephen Warren wrote: On 12/05/2013 12:44 AM, Bill Huang wrote: Move the call from module_init to Tegra machine codes so it won't be called in a multi-platform kernel running on non-Tegra SoCs. diff --git a/include/linux/tegra-soc.h b/include/linux/tegra-soc.h It mig

Re: [PATCH] xen/debugfs: Check debugfs initialization before using it

2013-12-09 Thread Ethan Zhao
On Mon, Dec 9, 2013 at 4:25 PM, Greg KH wrote: > On Mon, Dec 09, 2013 at 09:43:16AM +0800, Ethan Zhao wrote: >> On Sun, Dec 8, 2013 at 10:01 PM, Greg KH wrote: >> > On Sun, Dec 08, 2013 at 07:31:02PM +0800, ethan.zhao wrote: >> >> Should check debugfs initialization with debugfs_initialized() bef

Re: [QUESTION] balloon page isolation needs LRU lock?

2013-12-09 Thread Joonsoo Kim
On Fri, Dec 06, 2013 at 10:21:43AM -0200, Rafael Aquini wrote: > On Fri, Dec 06, 2013 at 05:53:31PM +0900, Joonsoo Kim wrote: > > Hello, Rafael. > > > > I looked at some compaction code and found that some oddity about > > balloon compaction. In isolate_migratepages_range(), if we meet > > !PageLR

Re: [PATCH v3 2/2] cpufreq: tegra: Re-model Tegra cpufreq driver

2013-12-09 Thread bilhuang
On 12/06/2013 07:04 AM, Stephen Warren wrote: On 12/05/2013 12:44 AM, Bill Huang wrote: Re-model Tegra cpufreq driver to support all Tegra series of SoCs. * Make tegra-cpufreq.c a generic Tegra cpufreq driver. * Move Tegra20 specific codes into tegra20-cpufreq.c. * Bind Tegra cpufreq dirver wit

RE: [f2fs-dev] [PATCH 3/3 V3] f2fs: introduce f2fs_cache_node_page() to add page into node_inode cache

2013-12-09 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Monday, December 09, 2013 4:01 PM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 3/3 V3] f2fs:

Re: [PATCH v2] serial: rewrite pxa2xx-uart to use 8250_core

2013-12-09 Thread Sascha Hauer
On Mon, Dec 09, 2013 at 10:38:15AM +0200, Heikki Krogerus wrote: > Hi, > > > + return 0; > > + > > + err_clk: > > + clk_unprepare(data->clk); > > + err_free_clk: > > + devm_clk_put(&pdev->dev, data->clk); > > + err_free: > > + devm_kfree(&pdev->dev, data); > > And there labels could be dr

Re: [PATCH 13/18] mm: numa: Make NUMA-migrate related functions static

2013-12-09 Thread Mel Gorman
On Mon, Dec 09, 2013 at 03:20:10PM +0800, Wanpeng Li wrote: > Hi Mel, > On Mon, Dec 09, 2013 at 07:09:07AM +, Mel Gorman wrote: > >numamigrate_update_ratelimit and numamigrate_isolate_page only have callers > >in mm/migrate.c. This patch makes them static. > > > > I have already send out patch

Re: [PATCH v4 3/6] ARM: at91/dt: define sama5d3 clocks

2013-12-09 Thread boris brezillon
Hello Arnd, On 09/12/2013 03:09, Arnd Bergmann wrote: On Thursday 28 November 2013, Boris BREZILLON wrote: @@ -92,6 +103,8 @@ dma-names = "tx", "rx"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_

Re: [PATCH][RESEND] ARM: misc: remove deprecated IRQF_DISABLED

2013-12-09 Thread Greg Ungerer
On 09/12/13 15:00, Michael Opdenacker wrote: This patch proposes to remove the use of the IRQF_DISABLED flag from miscellaneous code in mach-xxx and plat-xxx This flag is a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker Acked-by: Greg Ungerer --- ar

[PATCH v5 0/3] usb: ohci-at91: various improvements

2013-12-09 Thread Boris BREZILLON
Hello, This patch series moves the different driver resources (clks and iomem) retrieval to the device managed versions (devm_ functions). Best Regards, Boris Changes since v4: - remove unneeded debug trace in case devm_ioremap_resource fails (an error message is already printed within this

Re: [PATCH v2 1/7] usb: dwc3: get "usb_phy" only if the platform indicates the presence of PHY's

2013-12-09 Thread Heikki Krogerus
Hi, On Fri, Dec 06, 2013 at 02:15:30PM -0600, Felipe Balbi wrote: > On Tue, Dec 03, 2013 at 12:39:50PM +0200, Heikki Krogerus wrote: > > On Thu, Oct 17, 2013 at 09:54:26AM -0500, Felipe Balbi wrote: > > > On Wed, Oct 16, 2013 at 04:27:26PM +0300, Roger Quadros wrote: > > > > On 10/16/2013 04:10 PM

[PATCH v5 1/3] usb: ohci-at91: replace request_mem_region + ioremap by devm_ioremap_resource

2013-12-09 Thread Boris BREZILLON
Replace the request_mem_region + ioremap calls by the devm_ioremap_resource call which does the same things but with device managed resources. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 27 ++- 1

linux-kernel@vger.kernel.org

2013-12-09 Thread Boris BREZILLON
Make use of the dev variable instead of referencing the dev field of the pdev struct. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drive

[PATCH v5 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-09 Thread Boris BREZILLON
Replace clk_get calls by devm_clk_get calls. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 30 +++--- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/dr

Re: [PATCH] devtmpfs: Calling delete_path() only when necessary

2013-12-09 Thread Axel Lin
2013/12/9 Greg Kroah-Hartman : > On Wed, Dec 04, 2013 at 02:44:14PM +0800, Axel Lin wrote: >> 2013/12/4 Rob Landley : >> > On 11/16/2013 02:15:23 AM, Axel Lin wrote: >> >> >> >> The deleted variable is always 1 in current code. >> >> Initialize deleted variable to be 0, so delete_path() will be cal

Re: [PATCH] xen/debugfs: Check debugfs initialization before using it

2013-12-09 Thread Greg KH
On Mon, Dec 09, 2013 at 04:44:05PM +0800, Ethan Zhao wrote: > On Mon, Dec 9, 2013 at 4:25 PM, Greg KH wrote: > > On Mon, Dec 09, 2013 at 09:43:16AM +0800, Ethan Zhao wrote: > >> On Sun, Dec 8, 2013 at 10:01 PM, Greg KH > >> wrote: > >> > On Sun, Dec 08, 2013 at 07:31:02PM +0800, ethan.zhao wrote

Re: [PATCH] SFI: fix compilation warnings

2013-12-09 Thread Andy Shevchenko
On Fri, 2013-12-06 at 01:51 +, Zheng, Lv wrote: > > From: linux-acpi-ow...@vger.kernel.org > > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > > Sent: Friday, December 06, 2013 10:01 AM > > To: Zheng, Lv > > Cc: Andy Shevchenko; Wysocki, Rafael J; linux-a...@vger.ker

Re: [PATCH 4/9] ARM: pxa: remove unused variable

2013-12-09 Thread Daniel Mack
On 12/08/2013 11:53 PM, Sergei Ianovich wrote: > Signed-off-by: Sergei Ianovich > CC: Daniel Mack > --- > arch/arm/mach-pxa/irq.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c > index b6cc181..432842c 100644 > --- a/arch/arm/mach-pxa

Re: [PATCH v3] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2013-12-09 Thread ivan.khoronzhuk
On 12/06/2013 11:04 PM, Sekhar Nori wrote: > On 12/5/2013 11:41 PM, Ivan Khoronzhuk wrote: > >> diff --git a/arch/arm/mach-davinci/board-mityomapl138.c >> b/arch/arm/mach-davinci/board-mityomapl138.c >> index 7aa105b..98a66ff 100644 >> --- a/arch/arm/mach-davinci/board-mityomapl138.c >> +++ b/arc

[PATCH][RESEND] ARM: SAMSUNG: remove IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker Reviewed-by: Jingoo Han --- arch/arm/mach-s3c24xx/dma.c | 2 +- arch/arm/mach-s3c24xx/simtec-usb.c | 3 +-- arch/arm/mach-s3c64xx/

Re: [PATCH] devtmpfs: Calling delete_path() only when necessary

2013-12-09 Thread Greg Kroah-Hartman
On Mon, Dec 09, 2013 at 04:54:29PM +0800, Axel Lin wrote: > 2013/12/9 Greg Kroah-Hartman : > > On Wed, Dec 04, 2013 at 02:44:14PM +0800, Axel Lin wrote: > >> 2013/12/4 Rob Landley : > >> > On 11/16/2013 02:15:23 AM, Axel Lin wrote: > >> >> > >> >> The deleted variable is always 1 in current code. >

Re: [PATCH] devtmpfs: Calling delete_path() only when necessary

2013-12-09 Thread Axel Lin
2013/12/9 Greg Kroah-Hartman : > On Mon, Dec 09, 2013 at 04:54:29PM +0800, Axel Lin wrote: >> 2013/12/9 Greg Kroah-Hartman : >> > On Wed, Dec 04, 2013 at 02:44:14PM +0800, Axel Lin wrote: >> >> 2013/12/4 Rob Landley : >> >> > On 11/16/2013 02:15:23 AM, Axel Lin wrote: >> >> >> >> >> >> The deleted

[PATCH v2 2/7] mm/migrate: correct failure handling if !hugepage_migration_support()

2013-12-09 Thread Joonsoo Kim
We should remove the page from the list if we fail without ENOSYS, since migrate_pages() consider error cases except -ENOMEM and -EAGAIN as permanent failure and it assumes that the page would be removed from the list. Without this patch, we could overcount number of failure. In addition, we shoul

Re: [PATCH 13/18] mm: numa: Make NUMA-migrate related functions static

2013-12-09 Thread Mel Gorman
On Mon, Dec 09, 2013 at 04:57:20PM +0800, Wanpeng Li wrote: > On Mon, Dec 09, 2013 at 08:46:59AM +, Mel Gorman wrote: > >On Mon, Dec 09, 2013 at 03:20:10PM +0800, Wanpeng Li wrote: > >> Hi Mel, > >> On Mon, Dec 09, 2013 at 07:09:07AM +, Mel Gorman wrote: > >> >numamigrate_update_ratelimit a

[PATCH v2 7/7] mm/migrate: remove result argument on page allocation function for migration

2013-12-09 Thread Joonsoo Kim
Now, to allocate the page for migration, we implement their own functions and pass it to migrate_pages(). These functions have 3 arguments, pointer to original page, private data and result argument. Although there are many allocation functions for migration, one of them, new_page_node() only uses

[PATCH v2 1/7] mm/migrate: add comment about permanent failure path

2013-12-09 Thread Joonsoo Kim
From: Naoya Horiguchi Let's add a comment about where the failed page goes to, which makes code more readable. Acked-by: Christoph Lameter Signed-off-by: Naoya Horiguchi Signed-off-by: Joonsoo Kim diff --git a/mm/migrate.c b/mm/migrate.c index 3747fcd..c6ac87a 100644 --- a/mm/migrate.c +++ b

[PATCH v2 5/7] mm/compaction: respect ignore_skip_hint in update_pageblock_skip

2013-12-09 Thread Joonsoo Kim
update_pageblock_skip() only fits to compaction which tries to isolate by pageblock unit. If isolate_migratepages_range() is called by CMA, it try to isolate regardless of pageblock unit and it don't reference get_pageblock_skip() by ignore_skip_hint. We should also respect it on update_pageblock_s

[PATCH v2] SFI: fix compilation warnings

2013-12-09 Thread Andy Shevchenko
When build kernel with make W=1 we get the following compiler error. In file included from drivers/sfi/sfi_acpi.c:66:0: include/linux/sfi_acpi.h: In function ‘acpi_sfi_table_parse’: include/linux/sfi_acpi.h:72:2: error: implicit declaration of function ‘acpi_table_parse’ [-Werror=implicit-functio

[PATCH v2 0/7] correct and clean-up migration related stuff

2013-12-09 Thread Joonsoo Kim
Here is the patchset for correcting and cleaning-up migration related stuff. These are random correction and clean-up, so please see each patches ;) Thanks. Naoya Horiguchi (1): mm/migrate: add comment about permanent failure path Joonsoo Kim (6): mm/migrate: correct failure handling if !hug

Re: [PATCH] driver core: fix device_create() error path

2013-12-09 Thread David Herrmann
Hi Greg On Sun, Dec 8, 2013 at 4:27 PM, Greg Kroah-Hartman wrote: > On Sun, Dec 08, 2013 at 03:42:33PM +0100, David Herrmann wrote: >> Hi Greg >> >> Ping? > > It's in my "todo" queue, don't worry, it's not lost. > >> On Thu, Nov 21, 2013 at 8:15 PM, David Herrmann >> wrote: >> > We call put_dev

[PATCH v2 6/7] mm/migrate: remove unused function, fail_migrate_page()

2013-12-09 Thread Joonsoo Kim
fail_migrate_page() isn't used anywhere, so remove it. Signed-off-by: Joonsoo Kim diff --git a/include/linux/migrate.h b/include/linux/migrate.h index e4671f9..4308018 100644 --- a/include/linux/migrate.h +++ b/include/linux/migrate.h @@ -41,9 +41,6 @@ extern int migrate_page(struct address_spac

[PATCH v2 4/7] mm/migrate: remove putback_lru_pages, fix comment on putback_movable_pages

2013-12-09 Thread Joonsoo Kim
Some part of putback_lru_pages() and putback_movable_pages() is duplicated, so it could confuse us what we should use. We can remove putback_lru_pages() since it is not really needed now. This makes us undestand and maintain the code more easily. And comment on putback_movable_pages() is stale now

Re: [PATCH cgroup/for-3.13-fixes] cgroup: fix oops in cgroup init failure path

2013-12-09 Thread Li Zefan
On 2013/12/6 5:18, Tejun Heo wrote: > Hello, Vladimir. > > Thanks a lot for the report and fix; however, I really wanna make sure > that only online css's become visible, so I wrote up a different fix. > Can you please test this one? > Oh, I spotted this bug when reviewing a bug fix months ago.

[PATCH v2 3/7] mm/mempolicy: correct putback method for isolate pages if failed

2013-12-09 Thread Joonsoo Kim
queue_pages_range() isolates hugetlbfs pages and putback_lru_pages() can't handle these. We should change it to putback_movable_pages(). Naoya said that it is worth going into stable, because it can break in-use hugepage list. Cc: # 3.12 Reviewed-by: Naoya Horiguchi Signed-off-by: Joonsoo Kim

[PATCH][RESEND] clocksource: misc drivers: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/clocksource/cadence_ttc_timer.c | 3 +-- drivers/clocksource/cs5535-clockevt.c | 2 +- drivers/clocksource/dw_apb_timer.c

Re: [PATCHSET REPOST cgroup/for-3.14] cgroup: factor out css creation into create_css()

2013-12-09 Thread Li Zefan
On 2013/12/7 4:27, Tejun Heo wrote: > Hello, > > This is repost of the following. > > http://thread.gmane.org/gmane.linux.kernel.cgroups/8981 > > It got reviewed and acked then but I somehow forgot apply and Vladimir > reporting the same bug that the first patch in the original patch > fixed re

[PATCH][RESEND] block: hd: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. This also removes a related comment which is obsolete too. Signed-off-by: Michael Opdenacker --- drivers/block/hd.c | 12 +--- 1 file changed, 1 insertion(+), 11 del

[PATCH][RESEND] NVMe: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/nvme-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/b

[PATCH][RESEND] rsxx: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/rsxx/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/rsxx/core.c b/drivers/block/

[PATCH v2] dma: fix vchan_cookie_complete() debug print

2013-12-09 Thread Jonas Jensen
2. call dma_cookie_complete() after dev_vdbg() Applies to next-20131209 drivers/dma/virt-dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/virt-dma.h b/drivers/dma/virt-dma.h index 85c19d6..7d6f611 100644 --- a/drivers/dma/virt-dma.h +++ b/drivers/dma

Re: [PATCH v3 04/10] usb: dwc3: use quirks to know if a particualr platform doesn't have PHY

2013-12-09 Thread Heikki Krogerus
Hi, On Mon, Dec 09, 2013 at 12:43:37PM +0530, Kishon Vijay Abraham I wrote: > On Thursday 05 December 2013 01:28 PM, Heikki Krogerus wrote: > >On Thu, Dec 05, 2013 at 12:04:46PM +0530, Kishon Vijay Abraham I wrote: > >>On Wednesday 04 December 2013 08:10 PM, Heikki Krogerus wrote: > >>>On Mon, Nov

Re: [PATCH] usb: ohci-exynos: Change to use phy provided by the generic phy framework

2013-12-09 Thread Jingoo Han
On Monday, December 09, 2013 10:56 AM, Greg KH wrote: > On Wed, Nov 06, 2013 at 10:27:49AM +0900, Jingoo Han wrote: > > Change the phy provider used from the old usb phy specific to a new one > > using the generic phy framework. > > > > Signed-off-by: Jingoo Han > > Cc: Kamil Debski > > --- > > E

[PATCH][RESEND] drivers: bus: omap_l3: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/bus/omap_l3_noc.c | 4 ++-- drivers/bus/omap_l3_smx.c | 6 ++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a

Re: [PATCH] ipmi: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
Hi Corey, On 10/13/2013 09:45 PM, Corey Minyard wrote: > Thanks, it's in the queue. > > -corey > > On 10/12/2013 10:59 PM, Michael Opdenacker wrote: >> This patch proposes to remove the use of the IRQF_DISABLED flag >> >> It's a NOOP since 2.6.35 and it will be removed one day. >> >> Signed-off-by

[PATCH] SFI: remove wrong FSF address from the license

2013-12-09 Thread Andy Shevchenko
Remove old and currently wrong address of the FSF from license parts of the code. There is no functional change. Signed-off-by: Andy Shevchenko --- drivers/sfi/sfi_acpi.c | 6 -- drivers/sfi/sfi_core.c | 6 -- drivers/sfi/sfi_core.h | 6 -- include/linux/sfi.h | 6 --

Re: kernel BUG in munlock_vma_pages_range

2013-12-09 Thread Vlastimil Babka
On 12/08/2013 02:52 AM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've stumbled on the following spew. The code seems to be in munlock_vma_pages_range(): page = follow_page_mask(vma, start, FOLL_GET | FOLL_DUMP,

Re: [PATCH 5/9] ARM: dts: provide DMA config to pxamci

2013-12-09 Thread Sergei Ianovich
On Mon, 2013-12-09 at 10:04 +0100, Daniel Mack wrote: > On 12/09/2013 02:33 AM, Arnd Bergmann wrote: > > On Sunday 08 December 2013, Sergei Ianovich wrote: > >> Non-dts implementation supply required DMA channel numbers as > >> IORESOURCE_DMA. However, there is was no way to get them from > >> devi

[PATCH][RESEND] clocksource: tegra: remove deprecated IRQF_DISABLED

2013-12-09 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/clocksource/tegra20_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/tegra20_time

Re: [PATCH v2 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-09 Thread Lee Jones
> > The code looks mostly fine, but the implementation of the commit logs > > seems lazy. Please submit a v3 using coherent sentences with full > > explanations and correct punctuation. > > example ? All of your commit messages. > that macro just helps removing some extra ^- Sentences start w

  1   2   3   4   5   6   7   8   9   10   >