Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-09 Thread Ying Han
On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko mho...@suse.cz wrote: mem_cgroup_iter curently relies on css-id when walking down a group hierarchy tree. This is really awkward because the tree walk depends on the groups creation ordering. The only guarantee is that a parent node is visited

Re: [RFC PATCH v3 7/9] yield_to(), cpu-hotplug: Prevent offlining of other CPUs properly

2012-12-09 Thread Oleg Nesterov
On 12/07, Srivatsa S. Bhat wrote: Once stop_machine() is gone from the CPU offline path, we won't be able to depend on local_irq_save() to prevent CPUs from going offline from under us. OK, I guess we need to avoid resched_task()-smp_send_reschedule() after __cpu_disable() and before

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 12:44 AM, Oleg Nesterov wrote: On 12/07, Srivatsa S. Bhat wrote: Per-cpu counters can help solve the cache-line bouncing problem. So we actually use the best of both: per-cpu counters (no-waiting) at the reader side in the fast-path, and global rwlocks in the slowpath. [

Re: New system call wanted: fdreopen

2012-12-09 Thread Chris Adams
Once upon a time, Tristan Wibberley tristan.wibber...@gmail.com said: A common idiom on Linux is to open a file and keep the fd open so that the underlying file can be unlinked from its directory. But if the file needs to be read from several different parts of the codebase then due to the

Re: [RFC PATCH v3 7/9] yield_to(), cpu-hotplug: Prevent offlining of other CPUs properly

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 01:18 AM, Oleg Nesterov wrote: On 12/07, Srivatsa S. Bhat wrote: Once stop_machine() is gone from the CPU offline path, we won't be able to depend on local_irq_save() to prevent CPUs from going offline from under us. OK, I guess we need to avoid

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Oleg Nesterov
On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 12:44 AM, Oleg Nesterov wrote: But yes, it is easy to blame somebody else's code ;) And I can't suggest something better at least right now. If I understand correctly, we can not use, say, synchronize_sched() in _cpu_down() path We can't

Re: New system call wanted: fdreopen

2012-12-09 Thread Al Viro
On Sun, Dec 09, 2012 at 01:37:33PM -0600, Chris Adams wrote: Once upon a time, Tristan Wibberley tristan.wibber...@gmail.com said: A common idiom on Linux is to open a file and keep the fd open so that the underlying file can be unlinked from its directory. But if the file needs to be read

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Oleg Nesterov
On 12/07, Srivatsa S. Bhat wrote: 4. No deadlock possibilities Per-cpu locking is not the way to go if we want to have relaxed rules for lock-ordering. Because, we can end up in circular-locking dependencies as explained in https://lkml.org/lkml/2012/12/6/290 OK, but this assumes

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Oleg Nesterov
Damn, sorry for noise. I missed this part... On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 12:44 AM, Oleg Nesterov wrote: the latency. And I guess something like kick_all_cpus_sync() is too heavy. I hadn't considered that. Thinking of it, I don't think it would help us.. It won't get rid

Re: [PATCH 00/49] Automatic NUMA Balancing v10

2012-12-09 Thread Kirill A. Shutemov
On Sun, Dec 09, 2012 at 08:36:31PM +, Mel Gorman wrote: Either way, last night I applied a patch on top of latest tip/master to remove the nr_cpus_allowed check so that numacore would be enabled again and tested that. In some places it has indeed much improved. In others it is still

Re: [RFC PATCH v3 7/9] yield_to(), cpu-hotplug: Prevent offlining of other CPUs properly

2012-12-09 Thread Oleg Nesterov
On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 01:18 AM, Oleg Nesterov wrote: - if (preempt rq != p_rq) + if (preempt rq != p_rq cpu_online(task_cpu(p))) Why do we need this change? Afaics, you could add BUG_ON(!cpu_online(...)) instead? I am just curious.

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-12-09 Thread Ric Wheeler
On 12/07/2012 04:14 PM, Theodore Ts'o wrote: On Fri, Dec 07, 2012 at 02:30:19PM -0500, Steven Rostedt wrote: How is this similar? By adding this bit, we removed incentive from a group of developers that have the means to fix the real issue at hand (the performance problem with ext4). Thus, it

Re: kswapd craziness in 3.7

2012-12-09 Thread Zdenek Kabelac
Dne 9.12.2012 02:01, Linus Torvalds napsal(a): On Sat, 8 Dec 2012, Zlatko Calusic wrote: Or sooner... in short: nothing's changed! On a 4GB RAM system, where applications use close to 2GB, kswapd likes to keep around 1GB free (unused), leaving only 1GB for page/buffer cache. If I force

Re: [PATCH 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t

2012-12-09 Thread Arnd Bergmann
On Tuesday 04 December 2012, Lars-Peter Clausen wrote: On 12/04/2012 12:54 AM, Arnd Bergmann wrote: On Thursday 01 November 2012, Lars-Peter Clausen wrote: Nothing is using the vmlist field in mm_context_t anymore. It has been removed from the non-generic versions over 3 years ago

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread Grant Likely
On Sun, Dec 9, 2012 at 5:07 PM, Guenter Roeck groeck-...@sbcglobal.net wrote: On Sun, Dec 09, 2012 at 11:03:19AM +, Alan Cox wrote: On Sun, 09 Dec 2012 01:58:19 -0800 anish kumar anish198519851...@gmail.com wrote: On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: I could imagine

[PATCH 5/6] ACPI: Replace struct acpi_bus_ops with enum type

2012-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Notice that one member of struct acpi_bus_ops, acpi_op_add, is not used anywhere any more and the relationship between its remaining members, acpi_op_match and acpi_op_start, is such that it doesn't make sense to set the latter without setting

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

2012-12-09 Thread Rafael J. Wysocki
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 attempts to probe ACPI drivers against it. That leads to some unpleasant side effects, like the fact that the boot code path for ACPI namespace

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

2012-12-09 Thread Rafael J. Wysocki
Hi, The following patches change the ordering of the ACPI namespace scanning code so that all struct acpi_device objects in the given scope are registered before ACPI drivers are probed against them. They also do some simplifications and clarifications of the code made possible by this main

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

2012-12-09 Thread Rafael J. Wysocki
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 attached, it is not necessary to check the type and status of the device correspondig to it, so change the ordering of acpi_bus_check_add() to

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

2012-12-09 Thread Rafael J. Wysocki
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 as children of PCI bridges. For this purpose, however, the struct pci_dev objects representing those bridges need to exist before the

[PATCH 3/6] ACPI: Make acpi_bus_add() and acpi_bus_start() visibly different

2012-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The current ACPI namespace scanning code suggests that acpi_bus_add() and acpi_bus_start() share some code. In fact, however, they are completely different code paths, so refactor the code to make that distinction visibly clear. Signed-off-by:

[PATCH 4/6] ACPI: Reduce the usage of struct acpi_bus_ops

2012-12-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Objects of type struct acpi_bus_ops are currently used to pass information between different parts of the ACPI namespace scanning code, sometimes in quite convoluted ways. It turns out that that is not necessary in some cases, so simplify the

Re: [BUG -next] cpufreq: cpufreq_governor.

2012-12-09 Thread Rafael J. Wysocki
On Sunday, December 09, 2012 09:17:04 PM Ilya Zykov wrote: On 05.12.2012 22:53, Ilya Zykov wrote: What do I do wrong? After: modprobe cpufreq_ondemand I have: WARNING: Error inserting freq_table

Re: [PATCH -stable 1/1] freezer: PF_FREEZER_NOSIG should be cleared along with PF_NOFREEZE

2012-12-09 Thread Ben Hutchings
On Fri, 2012-12-07 at 15:49 +0100, Oleg Nesterov wrote: This patch is only for pre-v3.3 stable trees which backported b40a7959 freezer: exec should clear PF_NOFREEZE along with PF_KTHREAD. v3.3+ doesn't need this fix. [...] Thanks very much, I've added this to the queue for 3.2. However, in

Re: [ 67/89] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-12-09 Thread Ben Hutchings
On Mon, 2012-12-03 at 15:35 +, Deucher, Alexander wrote: -Original Message- From: Josh Boyer [mailto:jwbo...@gmail.com] Sent: Monday, December 03, 2012 10:25 AM To: Ben Hutchings; Greg KH Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; akpm@linux- foundation.org;

Re: [ 17/27] Revert sched, autogroup: Stop going ahead if autogroup is disabled

2012-12-09 Thread Ben Hutchings
On Fri, 2012-12-07 at 12:30 -0500, Joseph Salisbury wrote: On 12/07/2012 12:22 PM, Joseph Salisbury wrote: On 12/06/2012 07:59 PM, Greg Kroah-Hartman wrote: 3.6-stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith

Re: [Bulk] [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-09 Thread Tony Prisk
On Sun, 2012-12-09 at 19:08 +0100, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is

[PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-09 Thread Boojin Kim
This patch adds the workaround of Errata 774769 that configures write streaming on versions of A15 affected by this erratum such that no streaming-write ever allocates into the L2 cache. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/Kconfig | 11 +++

[PATCH 2/3] ARM: MM: Add the workaround of Errata 773022

2012-12-09 Thread Boojin Kim
This patch adds the workaround of Errata 773022 that disables loop buffer. Signed-off-by: Boojin Kim boojin@samsung.com --- arch/arm/Kconfig | 10 ++ arch/arm/mach-exynos/Kconfig |1 + arch/arm/mm/proc-v7.S|6 ++ 3 files changed, 17 insertions(+), 0

[PATCH 3/3] ARM: MM: Add the workaround of Errata 766421

2012-12-09 Thread Boojin Kim
This patch adds the workaround of errata 766421 that adds 'dmb' when changing the translation regime after conditions that the errata 766421 may occur. Concretely, Add 'dmb' when changing ASID and secure state for cortex-A15 r0p4. Signed-off-by: Boojin Kim boojin@samsung.com ---

Re: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-09 Thread Russell King - ARM Linux
On Mon, Dec 10, 2012 at 08:58:35AM +0900, Boojin Kim wrote: -3: mov r10, #0 + /* Cortex-A15 Errata */ +3: ldr r10, =0x0c0f@ Cortex-A15 primary part number + teq r0, r10 + bne 4f +#ifdef CONFIG_ARM_ERRATA_774769 There's not much point

Re: [PATCH 2/5] kbuild: silence rule for extra_certificates

2012-12-09 Thread Rusty Russell
Michal Marek mma...@suse.cz writes: Added David and Rusty. On Sun, Nov 18, 2012 at 03:05:14PM -0500, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net Silence the touch extra_certificates command Signed-off-by: Peter Foley pefol...@verizon.net I think we should tell

attempt to access beyond end of device on DVD

2012-12-09 Thread Jacek Poplawski
hello, few years ago I noticed annoying bug on Linux, when I was copying photos from old DVDs I realized that not all files were copied correctly, there were errors on last files on DVD, you could say well that happens, DVD are faulty, but that's not the real issue when the problem appears it

Re: [PATCH 266/270] ARM: 7566/1: vfp: fix save and restore when running on pre-VFPv3 and CONFIG_VFPv3 set

2012-12-09 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:59 -0200, Herton Ronaldo Krzesinski wrote: 3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Walmsley p...@pwsan.com commit 39141ddfb63a664f26d3f42f64ee386e879b492c upstream. After commit

Re: Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Masami Hiramatsu
(2012/12/10 0:50), H. Peter Anvin wrote: No, that would really be wrong - changing the type. What would be wrong? IMHO, this is just a fix to add a fool proof 'const' to array instance itself. ...Or, am I missed anything? Thank you, Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote:

Re: Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread H. Peter Anvin
Yes, if you add a * it becomes an array of pointers. Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2012/12/10 0:50), H. Peter Anvin wrote: No, that would really be wrong - changing the type. What would be wrong? IMHO, this is just a fix to add a fool proof 'const' to array instance

linux-next: manual merge of the net-next tree with the pci tree

2012-12-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/wireless/iwlwifi/pcie/trans.c between commit b9d146e30a2d (iwlwifi: collapse wrapper for pcie_capability_read_word()) from the pci tree and commit 7afe3705cd4e (iwlwifi: continue clean up - pcie/trans.c) from the

RE: [PATCH 1/3] ARM: MM: Add the workaround of Errata 774769

2012-12-09 Thread Boojin Kim
Russell King - ARM Linux wrote: -3: mov r10, #0 + /* Cortex-A15 Errata */ +3: ldr r10, =0x0c0f@ Cortex-A15 primary part number + teq r0, r10 + bne 4f +#ifdef CONFIG_ARM_ERRATA_774769 There's not much point testing for the part number of the

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-12-09 Thread azurIt
There are no other callers AFAICS so I am getting clueless. Maybe more debugging will tell us something (the inlining has been reduced for thp paths which can reduce performance in thp page fault heavy workloads but this will give us better traces - I hope). Michal, this was printing so many

we offer long and short term loan

2012-12-09 Thread lortegam
OPEN THE ATTACH AND APPLY FOR YOUR LOAN MUTHOOTH.rtf Description: Binary data

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Masami Hiramatsu
(2012/12/10 10:03), H. Peter Anvin wrote: Yes, if you add a * it becomes an array of pointers. Right, I would like to make each pointer in the array read-only. And, of course, the data itself which pointed by the pointer is already protected. You can see this in

[Consult]: Re: [PATCH] synclink fix ldisc buffer argument

2012-12-09 Thread Chen Gang
Hello Paul Fulghum: Firstly, sorry for my mistake: I am a reporter (not reviewer), and not suitable to review maintainer's patch. when you send relative patch, need not cc to me (I am not reviewer) so: could you send patch again (not need cc to me) ? (and also it is better

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread H. Peter Anvin
You're changing the array from an array of insn_attr_t to pointers to insn_attr_t? Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2012/12/10 10:03), H. Peter Anvin wrote: Yes, if you add a * it becomes an array of pointers. Right, I would like to make each pointer in the array

[PATCH] gpio: samsung: Add terminating entry for exynos_pinctrl_ids

2012-12-09 Thread Axel Lin
The of_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin axel@ingics.com --- drivers/gpio/gpio-samsung.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index 01f7fe9..9e251be 100644 ---

RE: [PATCH 1/1] pinctrl: samsung: Fix a typo in pinctrl-samsung.h

2012-12-09 Thread Kukjin Kim
Linus Walleij wrote: On Wed, Dec 5, 2012 at 11:17 AM, Sachin Kamat sachin.ka...@linaro.org wrote: struct samsung_pin_bank does not have a member called reg_offset. It should be pctl_offset instead. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Acked-by: Linus Walleij

RE: [PATCH] pinctrl: exynos5440/samsung: Staticize pcfgs

2012-12-09 Thread Kukjin Kim
Linus Walleij wrote: On Tue, Nov 27, 2012 at 3:49 PM, Axel Lin axel@ingics.com wrote: I got below build error with random config if CONFIG_PINCTRL_SAMSUNG=y CONFIG_PINCTRL_EXYNOS5440=y. Fix the build error by making pcfgs static. LD drivers/pinctrl/built-in.o

[PATCH v2] Add the values related to buddy system for filtering free pages.

2012-12-09 Thread Atsushi Kumagai
This patch adds the values related to buddy system to vmcoreinfo data so that makedumpfile (dump filtering command) can filter out all free pages with the new logic. It's faster than the current logic because it can distinguish free page by analyzing page structure at the same time as filtering

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Masami Hiramatsu
(2012/12/10 10:34), H. Peter Anvin wrote: You're changing the array from an array of insn_attr_t to pointers to insn_attr_t? No, please look at the code carefully, - print const insn_attr_t const *inat_escape_tables[INAT_ESC_MAX + 1] \ ^^ +

RE: [PATCH] samsung: Add missing include guard to gpio-core.h

2012-12-09 Thread Kukjin Kim
Michael Spang wrote: Signed-off-by: Michael Spang sp...@chromium.org --- arch/arm/plat-samsung/include/plat/gpio-core.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread H. Peter Anvin
Sorry, you're right. I blame the font on my phone. Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2012/12/10 10:34), H. Peter Anvin wrote: You're changing the array from an array of insn_attr_t to pointers to insn_attr_t? No, please look at the code carefully, - print const

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Jiang Liu
On 2012-12-9 16:10, Tang Chen wrote: Hi Liu, Wu, On 12/06/2012 10:26 AM, Jiang Liu wrote: On 2012-12-6 9:26, Tang Chen wrote: On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make movablecore_map take precedence over movablecore/kernelcore, the logic could be simplified. I think it's not so

Re: [dm-devel] [PATCH 0/3] add resync speed control for dm-raid1

2012-12-09 Thread NeilBrown
On Thu, 22 Nov 2012 14:27:50 +0800 Guangliang Zhao gz...@suse.com wrote: Hi, These patches are used to add resync speed control for dm-raid1. The second and third patch provide support for user-space tool dmsetup. Guangliang Zhao (3): dm raid1: add resync speed control for dm-raid1

Re: [patch 7/7] fs, notify: Add procfs fdinfo helper v6

2012-12-09 Thread Jan Engelhardt
On Saturday 2012-11-17 00:56, Andrew Morton wrote: | pos: 0 | flags:0200 | inotify wd:3 ino: 9e7e | inotify wd:2 ino: a111 | inotify wd:1 ino:6b149[...] This is a lousy output format. It's sort-of like a sensible

RE: [PATCH 1/2] regulator: lp8788-buck: Remove val array in lp8788_init_dvs

2012-12-09 Thread Kim, Milo
All elements of val array are zero. Simply set data argument to be 0 in lp8788_update_bits call and remove the val array. Signed-off-by: Axel Lin axel@ingics.com Axel, sorry I disagree with this patch because DVS_PIN is meaningful. In this case, explicit bit description is more

linux-next: manual merge of the virtio tree with the net-next tree

2012-12-09 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the virtio tree got a conflict in drivers/net/virtio_net.c between commit e9d7417b97f4 (virtio-net: separate fields of sending/receiving queue from virtnet_info) and 986a4f4d452d (virtio_net: multiqueue support) from the net-next tree and commit a89f05573fa2

RE: [PATCH 2/2] regulator: lp8788-buck: Kill _gpio_request function

2012-12-09 Thread Kim, Milo
Simply use devm_gpio_request_one() instead. Signed-off-by: Axel Lin axel@ingics.com Thanks! Acked-by: Milo(Woogyom) Kim milo@ti.com

Re: PATCH reduce impact of FIFREEZE on userland processes

2012-12-09 Thread Dave Chinner
On Sat, Dec 08, 2012 at 07:12:04AM -0500, Christoph Hellwig wrote: On Fri, Dec 07, 2012 at 11:42:55AM +1100, Dave Chinner wrote: The problem wth doing this is that the sync can delay the freeze process by quite some time under the exact conditions you describe. If you want freeze to take

RE: [PATCH] regulator: lp872x: Kill _rdev_to_offset() function

2012-12-09 Thread Kim, Milo
There is only one user calling _rdev_to_offset() function. Remove _rdev_to_offset() makes the code simpler. Signed-off-by: Axel Lin axel@ingics.com It looks good to me, thanks! Acked-by: Milo(Woogyom) Kim milo@ti.com

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

2012-12-09 Thread Stephen Rothwell
Hi Rusty, After merging the virtio tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/virtio_net.c: In function 'vq2txq': drivers/net/virtio_net.c:150:2: error: implicit declaration of function 'virtqueue_get_queue_index' [-Werror=implicit-function-declaration]

Re: [PATCH] Add the values related to buddy system for filtering free pages

2012-12-09 Thread Atsushi Kumagai
Hello Vivek, On Fri, 7 Dec 2012 10:08:05 -0500 Vivek Goyal vgo...@redhat.com wrote: On Wed, Nov 21, 2012 at 05:02:47PM +0900, Atsushi Kumagai wrote: This patch adds the values related to buddy system to vmcoreinfo data so that makedumpfile (dump filtering command) can filter out all free

Re: PATCH reduce impact of FIFREEZE on userland processes

2012-12-09 Thread Dave Chinner
On Sat, Dec 08, 2012 at 08:47:34AM +, Alun wrote: On Sat, 8 Dec 2012 12:20:29 +1100 Dave Chinner da...@fromorbit.com wrote: First off, thanks for the examples. I'll answer your one question and then I'll shut up! I'll try and chase this up by submitting patches to lvcreate and

RE: [PATCH v6] Cypress PS/2 Trackpad driver

2012-12-09 Thread Dudley Du
Hi Kamal, I think in default branch in cypress_get_finger_count() function return 0 is not suitable, We should return a value bigger than 5 to indicate invalid package to avoid unable to distinguish really 0 contact_cnt packages. 0 contact_cnt packages may still have valid left/right mechanical

KGTP (Linux debugger and tracer) 20121204 release (bug fix and doc update)

2012-12-09 Thread Hui Zhu
Hi guys, KGTP (http://code.google.com/p/kgtp/) is a flexible , lightweight and realtime Linux debugger and tracer. To use it, you don't need patch or rebuild the Linux kernel. Just build KGTP module and insmod it is OK. It makes Linux Kernel supply a GDB remote debug interface. Then GDB in

Re: [PATCH RFT 1/2] regulator: anatop: Use linear_min_sel with linear mapping

2012-12-09 Thread Mark Brown
On Sun, Dec 09, 2012 at 08:05:45AM +0800, Axel Lin wrote: By setting linear_min_sel to anatop_reg-min_bit_val, we can avoid adjust the anatop_reg-min_bit_val offset in [set|get]_voltage_sel. Applied both, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 2/2] regulator: lp8788-buck: Kill _gpio_request function

2012-12-09 Thread Mark Brown
On Fri, Dec 07, 2012 at 05:25:13PM +0800, Axel Lin wrote: Simply use devm_gpio_request_one() instead. Applied, thanks. Milo, you don't have a MAINTAINERS entry for this chip - would you mind sending a patch adding one as you are reviewing patches for the driver? This will ensure that people

RE: [PATCH 1/2] regulator: lp8788-buck: Remove val array in lp8788_init_dvs

2012-12-09 Thread Kim, Milo
Actually, what you want is to clear mask[id] bits. Setting 0 for the data argument here is clear. I would say it's not clearing bit but the DVS control configuration. If the bit is 0, external pin is used for the DVS. If it is 1, then DVS is controlled by other register settings. Therefore,

Re: [PATCH] regulator: lp872x: Kill _rdev_to_offset() function

2012-12-09 Thread Mark Brown
On Sat, Dec 08, 2012 at 09:56:48AM +0800, Axel Lin wrote: There is only one user calling _rdev_to_offset() function. Remove _rdev_to_offset() makes the code simpler. Applied, thanks. Milo, you should probably add a MAINTAINERS entry for this one too. -- To unsubscribe from this list: send the

Re: [PATCH RFT v2] regulator: max1586: Implement get_voltage_sel callback

2012-12-09 Thread Mark Brown
On Thu, Nov 29, 2012 at 01:19:43PM +0800, Axel Lin wrote: This is required since commit f7df20ec32 regulator: core: Use list_voltage() to read single voltage regulators, otherwise _regulator_get_voltage returns rdev-desc-ops-list_voltage(rdev, 0). Applied, thanks. -- To unsubscribe from this

RE: [PATCH 2/2] regulator: lp8788-buck: Kill _gpio_request function

2012-12-09 Thread Kim, Milo
Applied, thanks. Milo, you don't have a MAINTAINERS entry for this chip - would you mind sending a patch adding one as you are reviewing patches for the driver? This will ensure that people send you patches for review. OK, I'll update MAINTAINERS file for lp872x and lp8788. Thanks for your

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

2012-12-09 Thread Zhi Yong Wu
HI, all guys. any comments or suggestions? On Thu, Dec 6, 2012 at 11:28 AM, Zhi Yong Wu wu...@linux.vnet.ibm.com wrote: HI, guys THe perf testing is done separately with fs_mark, fio, ffsb and compilebench in one kvm guest. Below is the performance testing report for hot tracking, and no

[PATCH] binfmt_elf: remove unused argument in fill_elf_header

2012-12-09 Thread Zhang Yanfei
In function fill_elf_header, elf-e_ident[EI_OSABI] is always set to ELF_OSABI, so remove the unused argument 'osabi'. Signed-off-by: Zhang Yanfei zhangyan...@cn.fujitsu.com --- fs/binfmt_elf.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/binfmt_elf.c

Re: [RFC PATCH v3 7/9] yield_to(), cpu-hotplug: Prevent offlining of other CPUs properly

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 02:10 AM, Oleg Nesterov wrote: On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 01:18 AM, Oleg Nesterov wrote: - if (preempt rq != p_rq) + if (preempt rq != p_rq cpu_online(task_cpu(p))) Why do we need this change? Afaics, you could add

linux-next: manual merge of the trivial tree with the regulator tree

2012-12-09 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in drivers/regulator/palmas-regulator.c between commit bdc4baacebda (regulator: palmas: Convert palmas_ops_smps to regulator_[get| set]_voltage_sel_regmap) from the regulator tree and commit 02582e9bcc36 (treewide: fix typo of

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 01:52 AM, Oleg Nesterov wrote: On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 12:44 AM, Oleg Nesterov wrote: But yes, it is easy to blame somebody else's code ;) And I can't suggest something better at least right now. If I understand correctly, we can not use, say,

Re: [PATCH V2] MCE: fix an error of mce_bad_pages statistics

2012-12-09 Thread Xishi Qiu
On 2012/12/8 6:11, Andrew Morton wrote: On Fri, 7 Dec 2012 16:48:45 +0800 Xishi Qiu qiuxi...@huawei.com wrote: On x86 platform, if we use /sys/devices/system/memory/soft_offline_page to offline a free page twice, the value of mce_bad_pages will be added twice. So this is an error,

TIP tree's master branch failed to boot up

2012-12-09 Thread Michael Wang
Hi, Folks I'm testing with the latest tip tree's master branch 3.7.0-rc8 and failed to boot up my server, it's hung at very beginning and I could not catch any useful log, is there any one else got this problem or I'm the only one?. Regards, Michael Wang -- To unsubscribe from this list: send

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 02:43 AM, Oleg Nesterov wrote: Damn, sorry for noise. I missed this part... On 12/10, Srivatsa S. Bhat wrote: On 12/10/2012 12:44 AM, Oleg Nesterov wrote: the latency. And I guess something like kick_all_cpus_sync() is too heavy. I hadn't considered that. Thinking of it, I

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Srivatsa S. Bhat
On 12/10/2012 02:27 AM, Oleg Nesterov wrote: On 12/07, Srivatsa S. Bhat wrote: 4. No deadlock possibilities Per-cpu locking is not the way to go if we want to have relaxed rules for lock-ordering. Because, we can end up in circular-locking dependencies as explained in

Re: [PATCH 3/3] sound/soc/soc-core.c: drop kfree of devm_kzalloc's data

2012-12-09 Thread Mark Brown
On Sat, Dec 08, 2012 at 07:01:20PM +0100, Julia Lawall wrote: The kfrees were introduced in b761c0ca. I sent this a few months ago, and I still think it should be applied... I'm missing patches 1 and 2? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [RFC PATCH 1/8] mm, vmalloc: change iterating a vmlist to find_vm_area()

2012-12-09 Thread guanxuetao
The purpose of iterating a vmlist is finding vm area with specific virtual address. find_vm_area() is provided for this purpose and more efficient, because it uses a rbtree. So change it. Cc: Chris Metcalf cmetc...@tilera.com Cc: Guan Xuetao g...@mprc.pku.edu.cn Cc: Thomas Gleixner

[PATCH 1/4] MAINTAINERS: add LP855x backlight driver entry

2012-12-09 Thread Kim, Milo
Cc: Andrew Morton a...@linux-foundation.org Cc: Richard Purdie rpur...@rpsys.net Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8110ccd..92fa7e5 100644 --- a/MAINTAINERS +++

[PATCH 2/4] MAINTAINERS: add LP8727 charger driver entry

2012-12-09 Thread Kim, Milo
Cc: Anton Vorontsov c...@mail.ru Cc: David Woodhouse dw...@infradead.org Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 92fa7e5..a5aedda 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH 3/4] MAINTAINERS: add LP872x regulator driver entry

2012-12-09 Thread Kim, Milo
Cc: Liam Girdwood l...@ti.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a5aedda..ee7e9ee 100644 --- a/MAINTAINERS +++

[PATCH 4/4] MAINTAINERS: add LP8788 MFD driver entry

2012-12-09 Thread Kim, Milo
Cc: Anton Vorontsov c...@mail.ru Cc: Bryan Wu coolo...@gmail.com Cc: Jonathan Cameron ji...@cam.ac.uk Cc: Mark Brown broo...@opensource.wolfsonmicro.com Cc: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- MAINTAINERS | 10 ++ 1 file changed, 10

Re: [PATCH 5/6] ACPI: Replace struct acpi_bus_ops with enum type

2012-12-09 Thread Yinghai Lu
On Sun, Dec 9, 2012 at 3:03 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Notice that one member of struct acpi_bus_ops, acpi_op_add, is not used anywhere any more and the relationship between its remaining members, acpi_op_match and

Re: [PATCH 00/49] Automatic NUMA Balancing v10

2012-12-09 Thread Srikar Dronamraju
Either way, last night I applied a patch on top of latest tip/master to remove the nr_cpus_allowed check so that numacore would be enabled again and tested that. In some places it has indeed much improved. In others it is still regressing badly and in two case, it's corrupting memory --

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

2012-12-09 Thread Ashish Jangam
On Wed, 2012-11-28 at 14:54 +0530, Ashish Jangam wrote: On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: On Fri, 23 Nov 2012 15:41:03 +0530 Ashish Jangam ashish.jan...@kpitcummins.com wrote: On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: Does this patch looks good?

Re: [[PATCH v9 3/3] 1/1] virtio_console: Remove buffers from out_vq at port removal

2012-12-09 Thread Amit Shah
On (Fri) 16 Nov 2012 [11:22:09], Rusty Russell wrote: Amit Shah amit.s...@redhat.com writes: From: Sjur Brændeland sjur.brandel...@stericsson.com Remove buffers from the out-queue when a port is removed. Rproc_serial communicates with remote processors that may crash and leave buffers in

Re: [PATCHv8 0/3]virtio_console: Add rproc_serial driver

2012-12-09 Thread Amit Shah
On (Thu) 08 Nov 2012 [10:06:24], Amit Shah wrote: On (Tue) 30 Oct 2012 [09:51:50], Sjur Brændeland wrote: From: Sjur Brændeland sjur.brandel...@stericsson.com This patch-set introduces a new virtio type rproc_serial for communicating with remote processors over shared memory. The driver

Re: [PATCH] Document how capability bits work

2012-12-09 Thread Serge Hallyn
Quoting Rob Landley (r...@landley.net): The fact that you need multiple sets of capabilities per process (permitted, inheritable, effective), plus MORE sets (plural) of capabilities attached to executable files, plus the capability bounding set which is presumably so selinux can mess with it,

Re: [PATCH 3/3] sound/soc/soc-core.c: drop kfree of devm_kzalloc's data

2012-12-09 Thread Julia Lawall
On Mon, 10 Dec 2012, Mark Brown wrote: On Sat, Dec 08, 2012 at 07:01:20PM +0100, Julia Lawall wrote: The kfrees were introduced in b761c0ca. I sent this a few months ago, and I still think it should be applied... I'm missing patches 1 and 2? Sorry, I just resent the patch as is. 1 and 2

Re: [PATCH -next] drm/exynos/iommu: fix return value check in drm_create_iommu_mapping()

2012-12-09 Thread 김승우
On 2012년 12월 07일 21:50, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, function arm_iommu_create_mapping() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun

[RFC PATCH 0/3] Add MAX77686 Operating mode support

2012-12-09 Thread Abhilash Kesavan
Currently, we cannot specify the regulator suspend state via device tree. Rather than adding suspend state/mode/enable/disable properties add an optional MAX77686 operating mode property which can be used to set the regulator mode initially. We are currently bypassing the set_suspend_disable and

[RFC PATCH 1/3] ARM: DTS: CROS5250: Add regulator operating mode bindings

2012-12-09 Thread Abhilash Kesavan
Some of the LDOs and BUCKs on the MAX77686 PMIC can be put into a low power or standby state. Add bindings to control the operating mode. This results in significant power savings during suspend. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- arch/arm/boot/dts/cros5250-common.dtsi |

[RFC PATCH 2/3] regulator: max77686: Add support for various operating modes

2012-12-09 Thread Abhilash Kesavan
Currently, we cannot specify the regulator suspend state via device tree. Add an optional operating mode property which can be used to set initially the regulator mode. We are currently bypassing the set_suspend_disable and set_suspend_mode call-backs. Signed-off-by: Abhilash Kesavan

[RFC PATCH 3/3] dt: Document: Add optional MAX77686 operating mode bindings

2012-12-09 Thread Abhilash Kesavan
Add documenatation for various operating mode capabilities of the MAX77686 PMIC. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com --- Documentation/devicetree/bindings/mfd/max77686.txt |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

Serial8250 doesn't populate in /proc/iomem?

2012-12-09 Thread Woody Wu
Hi, list I found some io memory information is lost from /dev/iomem and want to find out why. I have a 2.6.16 kernel running on a ARM board (Samsung S3C2410). From the kernel log, I see 16 8250 serial ports were detected, and each of thoese ports has a memory address: Serial: 8250/16550 driver

Re: [PATCH 1/7] uprobes: Move __set_bit(UPROBE_SKIP_SSTEP) into alloc_uprobe()

2012-12-09 Thread Srikar Dronamraju
Cosmetic. __set_bit(UPROBE_SKIP_SSTEP) is the part of initialization, it is not clear why it is set in insert_uprobe(). Signed-off-by: Oleg Nesterov o...@redhat.com Acked-by: Srikar Dronamraju sri...@linux.vnet.ibm.com --- kernel/events/uprobes.c |5 ++--- 1 files changed, 2

RE: [PATCH -next] drm/exynos/iommu: fix return value check in drm_create_iommu_mapping()

2012-12-09 Thread Inki Dae
-Original Message- From: 김승우 [mailto:sw0312@samsung.com] Sent: Monday, December 10, 2012 3:14 PM To: Wei Yongjun Cc: inki@samsung.com; jy0922.s...@samsung.com; kyungmin.p...@samsung.com; airl...@linux.ie; yongjun_...@trendmicro.com.cn; linux-kernel@vger.kernel.org;

Re: [PATCH 2/7] uprobes: Kill the uprobe != NULL check in uprobe_unregister()

2012-12-09 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-11-23 21:28:02]: Trivial. uprobe can't be NULL after mutex_unlock(), it was already used. Signed-off-by: Oleg Nesterov o...@redhat.com Acked-by: Srikar Dronamraju sri...@linux.vnet.ibm.com --- kernel/events/uprobes.c |3 +-- 1 files changed, 1

<    1   2   3   4   5   >