Re: [PATCH 01/16] mm: add anon_vma_lock to validate_mm()

2012-11-06 Thread Michel Lespinasse
Adding Sasha and Bob, which I forgot to CC in the original message. On Mon, Nov 5, 2012 at 3:06 PM, Rik van Riel r...@redhat.com wrote: On 11/05/2012 05:46 PM, Michel Lespinasse wrote: Iterate vma-anon_vma_chain without anon_vma_lock may cause NULL ptr deref in

Re: [PATCH v6 19/29] memcg: infrastructure to match an allocation to the right cache

2012-11-06 Thread Michal Hocko
On Mon 05-11-12 16:28:37, Andrew Morton wrote: On Thu, 1 Nov 2012 16:07:35 +0400 Glauber Costa glom...@parallels.com wrote: +static __always_inline struct kmem_cache * +memcg_kmem_get_cache(struct kmem_cache *cachep, gfp_t gfp) I still don't understand why this code uses

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Ming Lei
On Tue, Nov 6, 2012 at 3:32 PM, Takashi Iwai ti...@suse.de wrote: At Tue, 6 Nov 2012 15:16:43 +0800, Ming Lei wrote: On Tue, Nov 6, 2012 at 3:03 PM, Takashi Iwai ti...@suse.de wrote: Yeah, it's just uncovered in the patch. As a easy solution, apply the patch like below to disallow the

[PATCH 1/1] staging: usbip: put usb_device and kill event handler thread in error cleanups.

2012-11-06 Thread Harvey Yang
From: harvey.yang harvey.huawei.y...@gmail.com If probe returns with error, the kthread is still alive even when all usbip modules unloaded. So do cleanups in error handler. Signed-off-by: harvey.yang harvey.huawei.y...@gmail.com --- drivers/staging/usbip/stub_dev.c |2 ++ 1 files changed,

Re: Problem with DISCARD and RAID5

2012-11-06 Thread Jens Axboe
On 2012-11-05 22:48, Dave Chinner wrote: On Fri, Nov 02, 2012 at 09:40:58AM +0800, Shaohua Li wrote: On Thu, Nov 01, 2012 at 05:38:54PM +1100, NeilBrown wrote: Hi Shaohua, I've been doing some testing and discovered a problem with your discard support for RAID5. The code in

[PATCH] xen/events: xen/events: fix RCU warning

2012-11-06 Thread Mojiong Qiu
exit_idle() should be called after irq_enter(), otherwise it throws: [2.513020] [ INFO: suspicious RCU usage. ] [2.513076] 3.6.5 #1 Not tainted [2.513128] --- [2.513183] include/linux/rcupdate.h:725 rcu_read_lock() used illegally while idle! [

Re: [PATCH] exec: do not leave bprm-interp on stack

2012-11-06 Thread P J P
Hello Kees, Al, +-- On Sat, 27 Oct 2012, Kees Cook wrote --+ | If we change binfmt_script to not make a recursive call, then we still | need to keep the interp change somewhere off the stack. I still think | my patchset is the least bad. | | Al, do you have something else in mind? Guys, are

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-06 Thread Mark Brown
On Mon, Nov 05, 2012 at 02:02:19PM +0200, Mika Westerberg wrote: On Mon, Nov 05, 2012 at 11:56:39AM +0100, Mark Brown wrote: I've got practical systems where there are multiple buses physically connected, though in practice almost always only one is actually used at runtime when it's I2C

Re: [PATCH 024/104] arch/alpha: remove depends on CONFIG_EXPERIMENTAL

2012-11-06 Thread Matt Turner
On Mon, Nov 5, 2012 at 3:03 PM, Kees Cook keesc...@chromium.org wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC:

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-06 Thread Pantelis Antoniou
Hi Joel, On Nov 6, 2012, at 4:06 AM, Joel A Fernandes wrote: Hi Grant, On Mon, Nov 5, 2012 at 5:58 PM, Grant Likely grant.lik...@secretlab.ca wrote: Joel A Fernandes agnel.j...@gmail.com wrote: Hi Grant, On Mon, Nov 5, 2012 at 2:14 PM, Grant Likely grant.lik...@secretlab.ca

Re: [RFC] Second attempt at kernel secure boot support

2012-11-06 Thread Valdis . Kletnieks
On Tue, 06 Nov 2012 03:12:19 +, Matthew Garrett said: On Mon, Nov 05, 2012 at 06:46:32PM -0800, Eric W. Biederman wrote: You have it backwards. The conclusion here is that having a case where a non-interactive install is possible is not a given. I deal with customers who perform

Re: [PATCH 2/2] regulator: tps80031: add regulator driver for tps80031

2012-11-06 Thread Mark Brown
On Mon, Nov 05, 2012 at 05:30:02PM +0530, Laxman Dewangan wrote: On Monday 05 November 2012 04:12 PM, Mark Brown wrote: Should we be using different versions of the ops depending on the device flags rather than having these switches? It seems like we can't change at runtime and it would make

Re: linux-next: manual merge of the tty tree with the arm tree

2012-11-06 Thread Greg KH
On Tue, Nov 06, 2012 at 02:53:32PM +1100, Stephen Rothwell wrote: Hi Greg, Today's linux-next merge of the tty tree got a conflict in drivers/tty/serial/omap-serial.c between commit d864c03bfce2 (SERIAL: omap: remove setting of EFR SCD bit) from the arm tree and commit 7ba897d77ce2 (serial:

[PATCH 1/7] I2c-nomadik: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/i2c/busses/i2c-nomadik.c | 14 -- 1 files changed, 0 insertions(+), 14

[PATCH] smack: SMACK_MAGIC to include/uapi/linux/magic.h

2012-11-06 Thread Jarkko Sakkinen
SMACK_MAGIC moved to a proper place for easy user space access (i.e. libsmack). Signed-off-by: Jarkko Sakkinen jarkko.sakki...@iki.fi --- include/uapi/linux/magic.h |1 + security/smack/smack.h |5 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Takashi Iwai
At Tue, 6 Nov 2012 16:04:50 +0800, Ming Lei wrote: On Tue, Nov 6, 2012 at 3:32 PM, Takashi Iwai ti...@suse.de wrote: At Tue, 6 Nov 2012 15:16:43 +0800, Ming Lei wrote: On Tue, Nov 6, 2012 at 3:03 PM, Takashi Iwai ti...@suse.de wrote: Yeah, it's just uncovered in the patch. As a

[PATCH 2/7] OMAPDSS: DISPC: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/video/omap2/dss/dispc.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff

[PATCH 3/7] OMAPDSS: APPLY: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/video/omap2/dss/apply.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff

Re: [PATCH] pinctrl: u300: Staticize non-exported symbols

2012-11-06 Thread Linus Walleij
On Mon, Nov 5, 2012 at 2:42 PM, Axel Lin axel@ingics.com wrote: Staticize u300_pin_config_get() and u300_pin_config_set() functions. Signed-off-by: Axel Lin axel@ingics.com OK it still builds after this, patch applied! Thanks! Linus Walleij -- To unsubscribe from this list: send the

Re: [PATCH v3 3/5] gpio: add viperboard gpio driver

2012-11-06 Thread Linus Walleij
On Mon, Nov 5, 2012 at 3:48 PM, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de This adds the mfd cell to use the gpio a and gpio b part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel poesc...@lemonage.de OK I think we can

[PATCH 1/1] MFD: ti_am335x_tscadc: pass correct error message

2012-11-06 Thread Patil, Rachna
Pass on the correct error message from platform_get_irq() instead of hard coding it to EINVAL. Also change label from err to ret for better readability and update the same in error path. Signed-off-by: Patil, Rachna rac...@ti.com --- drivers/mfd/ti_am335x_tscadc.c | 25

Re: mm: NULL ptr deref in anon_vma_interval_tree_verify

2012-11-06 Thread Michel Lespinasse
On Mon, Nov 5, 2012 at 5:41 AM, Michel Lespinasse wal...@google.com wrote: On Sun, Nov 4, 2012 at 8:44 PM, Michel Lespinasse wal...@google.com wrote: On Sun, Nov 4, 2012 at 8:14 PM, Bob Liu lliu...@gmail.com wrote: Hmm, I attached a simple fix patch. Reviewed-by: Michel Lespinasse

Re: [PATCH 1/2] ASoC: Ux500: Fixup use of clocks

2012-11-06 Thread Mark Brown
On Mon, Nov 05, 2012 at 03:27:08PM +0100, Ulf Hansson wrote: I can not find this patch on any next-tree yet. Same goes for: [PATCH 2/2] ASoC: Ux500: Control apb clock. Maybe I should be more patient, but thought it make sense to send a ping on this. :-) As I've had to tell you before pings

Re: VFS hot tracking: How to calculate data temperature?

2012-11-06 Thread Zheng Liu
On Mon, Nov 05, 2012 at 10:29:39AM +0800, Zhi Yong Wu wrote: On Fri, Nov 2, 2012 at 4:41 PM, Zheng Liu gnehzuil@gmail.com wrote: On Fri, Nov 02, 2012 at 02:38:29PM +0800, Zhi Yong Wu wrote: Here also has another question. How to save the file temperature among the umount to be able to

[PATCH 4/7] wlcore: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/net/wireless/ti/wlcore/ps.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-)

[PATCH 5/7] can: janz-ican3: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/net/can/janz-ican3.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH] pkt_sched: enable QFQ to support TSO/GSO

2012-11-06 Thread Stephen Hemminger
On Tue, 6 Nov 2012 07:29:24 +0100 Paolo Valente paolo.vale...@unimore.it wrote: If the max packet size for some class (configured through tc) is violated by the actual size of the packets of that class, then QFQ would not schedule classes correctly, and the data structures implementing the

[PATCH 6/7] mx3fb: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/video/mx3fb.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 2/2] regulator: tps80031: add regulator driver for tps80031

2012-11-06 Thread Laxman Dewangan
On Tuesday 06 November 2012 01:46 PM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Nov 05, 2012 at 05:30:02PM +0530, Laxman Dewangan wrote: On Monday 05 November 2012 04:12 PM, Mark Brown wrote: I have single dcdc ops for all DCDC VIO, SMPS1 to 3. There is different

[PATCH 7/7] IB/srpt: Fix the usage of wait_for_completion_timeout

2012-11-06 Thread Chuansheng Liu
The return value of wait_for_completion_timeout() is always = 0 with unsigned int type. So the condition ret 0 or ret = 0 is pointless. Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/infiniband/ulp/srpt/ib_srpt.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [PATCH 037/104] arch/s390: remove depends on CONFIG_EXPERIMENTAL

2012-11-06 Thread Heiko Carstens
On Mon, Nov 05, 2012 at 03:03:54PM -0800, Kees Cook wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC: Martin

Re: [PATCH V2 1/3] mmc: esdhc: enable polling to detect card by itself

2012-11-06 Thread yongd
On 2012年11月05日 20:48, Shawn Guo wrote: On Mon, Nov 05, 2012 at 11:34:49AM +0800, yongd wrote: From the code logic, without SDHCI_QUIRK_BROKEN_CARD_DETECTION for ESDHC_CD_GPIO, when your card (using GPIO detection) is removed, we can know the card's absence through the fake CARD_PRESENT flag

Re: [PATCH] pinctrl: sirf: Staticize non-exported symbol

2012-11-06 Thread Linus Walleij
On Mon, Nov 5, 2012 at 2:44 PM, Axel Lin axel@ingics.com wrote: Staticize sirfsoc_gpio_irq_map() function. Signed-off-by: Axel Lin axel@ingics.com Applied with Barry's ACK, thanks! Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v2 1/2] mailbox: OMAP: introduce mailbox framework

2012-11-06 Thread Linus Walleij
On Tue, Nov 6, 2012 at 4:40 AM, Stephen Warren swar...@wwwdotorg.org wrote: Is this a public interface to the driver? If so, shouldn't the header be in include/linux somewhere? I think the split out of the public header is done in patch 2/2. Yours, Linus Walleij -- To unsubscribe from this

Re: [PATCH v2] pinctrl: samsung: Add ifdef CONFIG_OF_GPIO guard for gc-of_node

2012-11-06 Thread Linus Walleij
On Tue, Nov 6, 2012 at 6:03 AM, Thomas Abraham thomas.abra...@linaro.org wrote: On 5 November 2012 21:14, Axel Lin axel@ingics.com wrote: +#if defined(CONFIG_OF_GPIO) gc-of_node = bank-of_node; +#endif The samsung pinctrl driver supports only device tree enabled

Re: [PATCH v2 1/2] mailbox: OMAP: introduce mailbox framework

2012-11-06 Thread Greg Kroah-Hartman
On Tue, Nov 06, 2012 at 09:55:52AM +0100, Linus Walleij wrote: On Tue, Nov 6, 2012 at 4:40 AM, Stephen Warren swar...@wwwdotorg.org wrote: Is this a public interface to the driver? If so, shouldn't the header be in include/linux somewhere? I think the split out of the public header is

Re: VFS hot tracking: How to calculate data temperature?

2012-11-06 Thread Zhi Yong Wu
On Tue, Nov 6, 2012 at 4:39 PM, Zheng Liu gnehzuil@gmail.com wrote: On Mon, Nov 05, 2012 at 10:29:39AM +0800, Zhi Yong Wu wrote: On Fri, Nov 2, 2012 at 4:41 PM, Zheng Liu gnehzuil@gmail.com wrote: On Fri, Nov 02, 2012 at 02:38:29PM +0800, Zhi Yong Wu wrote: Here also has another

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-06 Thread Stephen Hemminger
On Mon, 05 Nov 2012 10:00:38 -0800 George Zhang georgezh...@vmware.com wrote: * * * This series of VSOCK linux upstreaming patches include latest udpate from VMware. Summary of changes: - Add include/linux/socket.h for AF_VSOCK. - Cleanup some comments. - Cleanup

[PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Shubhrajyoti D
The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait for the tx to complete. Reported-and-tested-by: Sørensen, Stefan soren...@polycom.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com ---

Re: [PATCH 5/7] mfd: max8925: support dt for regulator

2012-11-06 Thread Mark Brown
On Tue, Nov 06, 2012 at 03:44:52PM +0800, Qing Xu wrote: From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- drivers/regulator/max8925-regulator.c | 35 - 1 files changed, 34 insertions(+), 1 deletions(-) There is no binding

Re: [linux-next PATCH 6/7] PM / devfreq: allow sysfs governor node to switch governor

2012-11-06 Thread MyungJoo Ham
--- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -629,6 +629,44 @@ static ssize_t show_governor(struct device *dev, return sprintf(buf, %s\n, to_devfreq(dev)-governor-name); } +static ssize_t store_governor(struct device *dev, struct device_attribute *attr, +

Re: uprobes pre-filtering

2012-11-06 Thread Srikar Dronamraju
Hello. There is a known (and by design) problem with uprobes. They act systemwide, there is no pre-filtering. Just some random thoughts to provoke the discussion. - I think that the current uprobe_consumer-filter(task) should die. It buys nothing. It is called right before -handler()

Re: [PATCH] pinctrl: PINCTRL_SAMSUNG and PINCTRL_EXYNOS4 need to depend on OF GPIOLIB

2012-11-06 Thread Linus Walleij
On Tue, Nov 6, 2012 at 8:04 AM, Axel Lin axel@ingics.com wrote: This patch fixes below build error when !CONFIG_OF_GPIO. CC drivers/pinctrl/pinctrl-samsung.o drivers/pinctrl/pinctrl-samsung.c: In function 'samsung_pinctrl_parse_dt_pins': drivers/pinctrl/pinctrl-samsung.c:557:19:

Re: [PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Mark Brown
On Tue, Nov 06, 2012 at 02:30:19PM +0530, Shubhrajyoti D wrote: The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait for the tx to complete. Applied, thanks. signature.asc Description: Digital

Re: [PATCH 1/2] mm: Export vm_committed_as

2012-11-06 Thread Michal Hocko
On Mon 05-11-12 22:12:25, KY Srinivasan wrote: -Original Message- From: Andrew Morton [mailto:a...@linux-foundation.org] Sent: Monday, November 05, 2012 4:45 PM To: KY Srinivasan Cc: Greg KH; o...@aepfle.de; linux-kernel@vger.kernel.org; a...@firstfloor.org;

Re: [PATCH 0/6] VSOCK for Linux upstreaming

2012-11-06 Thread Stephen Hemminger
Never mind, mail server seemed to be overloaded today. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] Second attempt at kernel secure boot support

2012-11-06 Thread Alan Cox
On Tue, 6 Nov 2012 03:53:52 + Matthew Garrett mj...@srcf.ucam.org wrote: On Mon, Nov 05, 2012 at 07:36:32PM -0800, Eric W. Biederman wrote: For automated installs you don't have to satisfy me. Feel free to deliver a lousy solution to your users. Just don't use your arbitrary

Re: NULL pointer dereference at fat_detach

2012-11-06 Thread Stanislaw Gruszka
On Tue, Nov 06, 2012 at 04:37:03PM +0900, Namjae Jeon wrote: 2012/10/31, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Paul Bolle pebo...@tiscali.nl writes: On Wed, 2012-10-31 at 09:49 +0900, OGAWA Hirofumi wrote: This bug is known as the inotify bug. I recall I talked about this, maybe

Re: [PATCH 1/6] VSOCK: vsock protocol implementation.

2012-11-06 Thread Stephen Hemminger
On Mon, 05 Nov 2012 10:00:51 -0800 George Zhang georgezh...@vmware.com wrote: + /* Added in 2.6.10. */ + .owner = THIS_MODULE, Thanks for submitting this, it will make life easier for distro's that now have to go through extra effort to include out of mainline support for Vmware. You

Re: AMD A10: MCE Instruction Cache Error

2012-11-06 Thread Borislav Petkov
On Sun, Nov 04, 2012 at 06:19:32PM +0100, Alexander Holler wrote: I was remotely logged in and there aren't that many faults which lead to complete stand still of hw (no reset). Right, can you retry triggering the freeze without the fglrx driver? Simply remove it completely so that even the

[PATCH 01/19] mm: compaction: Move migration fail/success stats to migrate.c

2012-11-06 Thread Mel Gorman
The compact_pages_moved and compact_pagemigrate_failed events are convenient for determining if compaction is active and to what degree migration is succeeding but it's at the wrong level. Other users of migration may also want to know if migration is working properly and this will be particularly

[PATCH 05/19] mm: numa: pte_numa() and pmd_numa()

2012-11-06 Thread Mel Gorman
From: Andrea Arcangeli aarca...@redhat.com Implement pte_numa and pmd_numa. We must atomically set the numa bit and clear the present bit to define a pte_numa or pmd_numa. Once a pte or pmd has been set as pte_numa or pmd_numa, the next time a thread touches a virtual address in the

[PATCH 07/19] mm: numa: split_huge_page: transfer the NUMA type from the pmd to the pte

2012-11-06 Thread Mel Gorman
From: Andrea Arcangeli aarca...@redhat.com When we split a transparent hugepage, transfer the NUMA type from the pmd to the pte if needed. Signed-off-by: Andrea Arcangeli aarca...@redhat.com Signed-off-by: Mel Gorman mgor...@suse.de --- mm/huge_memory.c |2 ++ 1 file changed, 2

[PATCH 06/19] mm: numa: teach gup_fast about pmd_numa

2012-11-06 Thread Mel Gorman
From: Andrea Arcangeli aarca...@redhat.com When scanning pmds, the pmd may be of numa type (_PAGE_PRESENT not set), however the pte might be present. Therefore, gup_pmd_range() must return 0 in this case to avoid losing a NUMA hinting page fault during gup_fast. Note: gup_fast will skip over non

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Alan Cox
But how would distro sign modules that are built externally? It should be the pretty same situation. I would start with the would and lawyers and liability and then stop worrying about the how. Absent someone actually intending to do it and saying so. Alan -- To unsubscribe from this list:

[PATCH 08/19] mm: numa: Create basic numa page hinting infrastructure

2012-11-06 Thread Mel Gorman
Note: This patch started as mm/mpol: Create special PROT_NONE infrastructure and preserves the basic idea but steals *very* heavily from autonuma: numa hinting page faults entry points for the actual fault handlers without the migration parts. The end result is

[PATCH 09/19] mm: mempolicy: Make MPOL_LOCAL a real policy

2012-11-06 Thread Mel Gorman
From: Peter Zijlstra a.p.zijls...@chello.nl Make MPOL_LOCAL a real and exposed policy such that applications that relied on the previous default behaviour can explicitly request it. Requested-by: Christoph Lameter c...@linux.com Reviewed-by: Rik van Riel r...@redhat.com Cc: Lee Schermerhorn

[PATCH 19/19] mm: sched: numa: Implement slow start for working set sampling

2012-11-06 Thread Mel Gorman
From: Peter Zijlstra a.p.zijls...@chello.nl Add a 1 second delay before starting to scan the working set of a task and starting to balance it amongst nodes. [ note that before the constant per task WSS sampling rate patch the initial scan would happen much later still, in effect that patch

[PATCH 18/19] mm: sched: numa: Implement constant, per task Working Set Sampling (WSS) rate

2012-11-06 Thread Mel Gorman
From: Peter Zijlstra a.p.zijls...@chello.nl Note: The scan period is much larger than it was in the original patch. The reason was because the system CPU usage went through the roof with a sample period of 100ms but it was unsuitable to have a situation where a large

[PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Shubhrajyoti D
The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait for the tx to complete. Reported-and-tested-by: Sørensen, Stefan soren...@polycom.com Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com ---

Re: [PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Shubhrajyoti Datta
On Tue, Nov 6, 2012 at 2:33 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Nov 06, 2012 at 02:30:19PM +0530, Shubhrajyoti D wrote: The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait

[PATCH 10/19] mm: mempolicy: Add MPOL_MF_NOOP

2012-11-06 Thread Mel Gorman
From: Lee Schermerhorn lee.schermerh...@hp.com NOTE: I have not yet addressed by own review feedback of this patch. At this point I'm trying to construct a baseline tree and will apply my own review feedback later and then fold it in. This patch augments the MPOL_MF_LAZY feature

[PATCH 12/19] mm: migrate: Introduce migrate_misplaced_page()

2012-11-06 Thread Mel Gorman
From: Peter Zijlstra a.p.zijls...@chello.nl Note: This was originally based on Peter's patch mm/migrate: Introduce migrate_misplaced_page() but borrows extremely heavily from Andrea's autonuma: memory follows CPU algorithm and task/mm_autonuma stats collection. The end

[PATCH 03/19] mm: compaction: Add scanned and isolated counters for compaction

2012-11-06 Thread Mel Gorman
Compaction already has tracepoints to count scanned and isolated pages but it requires that ftrace be enabled and if that information has to be written to disk then it can be disruptive. This patch adds vmstat counters for compaction called compact_migrate_scanned, compact_free_scanned and

[PATCH 04/19] mm: numa: define _PAGE_NUMA

2012-11-06 Thread Mel Gorman
From: Andrea Arcangeli aarca...@redhat.com The objective of _PAGE_NUMA is to be able to trigger NUMA hinting page faults to identify the per NUMA node working set of the thread at runtime. Arming the NUMA hinting page fault mechanism works similarly to setting up a mprotect(PROT_NONE) virtual

[PATCH 13/19] mm: mempolicy: Use _PAGE_NUMA to migrate pages

2012-11-06 Thread Mel Gorman
Note: Based on mm/mpol: Use special PROT_NONE to migrate pages but sufficiently different that the signed-off-bys were dropped Combine our previous _PAGE_NUMA, mpol_misplaced and migrate_misplaced_page() pieces into an effective migrate on fault scheme. Note that (on x86) we rely on

[PATCH 11/19] mm: mempolicy: Check for misplaced page

2012-11-06 Thread Mel Gorman
From: Lee Schermerhorn lee.schermerh...@hp.com This patch provides a new function to test whether a page resides on a node that is appropriate for the mempolicy for the vma and address where the page is supposed to be mapped. This involves looking up the node where the page belongs. So, the

[PATCH 15/19] mm: numa: Add fault driven placement and migration

2012-11-06 Thread Mel Gorman
From: Peter Zijlstra a.p.zijls...@chello.nl NOTE: This patch is based on sched, numa, mm: Add fault driven placement and migration policy but as it throws away all the policy to just leave a basic foundation I had to drop the signed-offs-by. This patch creates a bare-bones method

[PATCH 14/19] mm: mempolicy: Add MPOL_MF_LAZY

2012-11-06 Thread Mel Gorman
From: Lee Schermerhorn lee.schermerh...@hp.com NOTE: Once again there is a lot of patch stealing and the end result is sufficiently different that I had to drop the signed-offs. Will re-add if the original authors are ok with that. This patch adds another mbind() flag to request

[PATCH 16/19] mm: numa: Add pte updates, hinting and migration stats

2012-11-06 Thread Mel Gorman
It is tricky to quantify the basic cost of automatic NUMA placement in a meaningful manner. This patch adds some vmstats that can be used as part of a basic costing model. u= basic unit = sizeof(void *) Ca = cost of struct page access = sizeof(struct page) / u Cpte = Cost PTE access = Ca

[PATCH 17/19] mm: numa: Migrate on reference policy

2012-11-06 Thread Mel Gorman
This is the dumbest possible policy that still does something of note. When a pte_numa is faulted, it is moved immediately. Any replacement policy must at least do better than this and in all likelihood this policy regresses normal workloads. Signed-off-by: Mel Gorman mgor...@suse.de ---

[RFC PATCH 00/19] Foundation for automatic NUMA balancing

2012-11-06 Thread Mel Gorman
There are currently two competing approaches to implement support for automatically migrating pages to optimise NUMA locality. Performance results are available for both but review highlighted different problems in both. They are not compatible with each other even though some fundamental

Re: [PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Mark Brown
On Tue, Nov 06, 2012 at 02:47:27PM +0530, Shubhrajyoti D wrote: The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait for the tx to complete. Is this a resend of the patch I just applied, or is it

[PATCH 02/19] mm: migrate: Add a tracepoint for migrate_pages

2012-11-06 Thread Mel Gorman
The pgmigrate_success and pgmigrate_fail vmstat counters tells the user about migration activity but not the type or the reason. This patch adds a tracepoint to identify the type of page migration and why the page is being migrated. Signed-off-by: Mel Gorman mgor...@suse.de ---

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

2012-11-06 Thread Jan Beulich
On 06.11.12 at 02:51, Rusty Russell ru...@rustcorp.com.au wrote: Andrew Morton a...@linux-foundation.org writes: On Fri, 02 Nov 2012 14:47:40 + Jan Beulich jbeul...@suse.com wrote: This makes the resulting diagnostics quite a bit more useful. So asserts Jan, but to confirm it I would

Re: [PATCH v3 03/11] clk: davinci - common clk utilities to init clk driver

2012-11-06 Thread Sekhar Nori
On 11/5/2012 8:50 PM, Murali Karicheri wrote: On 11/03/2012 08:35 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This is the common clk driver initialization functions for DaVinci SoCs and other SoCs that uses similar hardware architecture. clock.h also defines struct

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-06 Thread Mika Westerberg
On Mon, Nov 05, 2012 at 03:40:14PM +0100, Linus Walleij wrote: I forgot to mention that we want to hook up _existing_ drivers to those things, and they already use the global GPIO numbers, don't they? Yes they do, usually this is either passed from the platform using platform data or

Re: [PATCH] pwm: lpc32xx - Fix the PWM polarity

2012-11-06 Thread Roland Stigge
On 05/11/12 22:03, Thierry Reding wrote: Cc'ing Roland and Alexandre. What do you guys think? On Mon, Nov 05, 2012 at 05:48:45PM +0100, Alban Bedel wrote: Signed-off-by: Alban Bedel alban.be...@avionic-design.de --- drivers/pwm/pwm-lpc32xx.c |6 +- 1 files changed, 5 insertions(+),

Re: [PATCH v3 05/11] clk: davinci - add dm644x clock initialization

2012-11-06 Thread Sekhar Nori
On 11/6/2012 4:53 AM, Murali Karicheri wrote: On 11/03/2012 09:30 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This patch adds dm644x clock initialization code that consists of clocks data for various clocks and clock register callouts to various clock drivers. It

Re: [PATCH v3 06/11] clk: davinci - add build infrastructure for DaVinci clock drivers

2012-11-06 Thread Sekhar Nori
On 11/5/2012 9:47 PM, Murali Karicheri wrote: On 11/04/2012 08:34 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This updates clk Makefile and Kconfig to integrate the DaVinci specific clock drivers. Also add new Kconfig and Makefile for these drivers. Signed-off-by:

Re: [PATCH 1/3] context_tracking: New context tracking susbsystem

2012-11-06 Thread Gilad Ben-Yossef
On Sat, Nov 3, 2012 at 6:09 PM, Frederic Weisbecker fweis...@gmail.com wrote: Create a new subsystem that probes on kernel boundaries to keep track of the transitions between level contexts with two basic initial contexts: user or kernel. This is an abstraction of some RCU code that use such

Re: [PATCH v3 07/11] ARM: davinci - restructure header files for common clock migration

2012-11-06 Thread Sekhar Nori
On 11/6/2012 12:41 AM, Murali Karicheri wrote: On 11/04/2012 09:05 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: pll.h is added to migrate some of the PLL controller defines for sleep.S. psc.h is modified to keep only PSC modules definitions needed by sleep.S after

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Ming Lei
On Tue, Nov 6, 2012 at 4:18 PM, Takashi Iwai ti...@suse.de wrote: Right, and it's intentionally dropped so. For the non-default fw path, it can be added via proc dynamically or via kconfig statically. If the firmware is generated via udev, then it doesn't make sense to check a static

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Takashi Iwai
At Tue, 6 Nov 2012 09:20:19 +, Alan Cox wrote: But how would distro sign modules that are built externally? It should be the pretty same situation. I would start with the would and lawyers and liability and then stop worrying about the how. Absent someone actually intending to do it

RE: [PATCH 3/8] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-06 Thread Bedia, Vaibhav
On Mon, Nov 05, 2012 at 14:42:24, Philip, Avinash wrote: [...] + +static struct omap_hwmod_ocp_if am33xx_epwmss0__ecap0 = { + .master = am33xx_epwmss0_hwmod, + .slave = am33xx_ecap0_hwmod, + .clk= l4ls_gclk, + .addr =

Re: [PATCH] spi: omap2-mcspi: Reorder the wait_for_completion for tx

2012-11-06 Thread Shubhrajyoti Datta
On Tue, Nov 6, 2012 at 2:52 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, Nov 06, 2012 at 02:47:27PM +0530, Shubhrajyoti D wrote: The commit d7b4394e[Cleanup the omap2_mcspi_txrx_dma function] changed the wait_for_completion order. Move the wait so that the rx doesnot wait

[PATCH v3] of/address: sparc: Declare of_address_to_resource() as an extern function for sparc again

2012-11-06 Thread Andreas Larsson
This bug-fix makes sure that of_address_to_resource is defined extern for sparc so that the sparc-specific implementation of of_address_to_resource() is once again used when including include/linux/of_address.h in a sparc context. A number of drivers in mainline relies on this function working for

Re: [PATCH 00/20] DMA: DMA unmap fixes

2012-11-06 Thread Tomasz Figa
Hi Bart, On Monday 05 of November 2012 11:00:11 Bartlomiej Zolnierkiewicz wrote: Hi, Currently DMA subsystem does DMA mapping in the core code and DMA unmapping is done by device drivers. This is counterintuitive, causes code duplication and subtle errors (some drivers like PL330 one

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-11-06 Thread Stanislav Kinsbursky
09.10.2012 23:35, J. Bruce Fields пишет: Cc'ing Eric since I seem to recall he suggested doing it this way? Seems OK to me, but maybe that swap_root should be in common code? (Or maybe we could use set_fs_root()?) This patch is not good since, as Eric mentioned, all kernel threads share

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-06 Thread Linus Walleij
On Tue, Nov 6, 2012 at 10:39 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Mon, Nov 05, 2012 at 03:40:14PM +0100, Linus Walleij wrote: I forgot to mention that we want to hook up _existing_ drivers to those things, and they already use the global GPIO numbers, don't they?

Re: [PATCH RFC 0/4] Add firmware signature file check

2012-11-06 Thread Takashi Iwai
At Tue, 6 Nov 2012 18:04:36 +0800, Ming Lei wrote: On Tue, Nov 6, 2012 at 4:18 PM, Takashi Iwai ti...@suse.de wrote: Right, and it's intentionally dropped so. For the non-default fw path, it can be added via proc dynamically or via kconfig statically. If the firmware is generated via

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 1 November 2012 09:52, Zhang, Rui rui.zh...@intel.com wrote: -Original Message- From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] Sent: Wednesday, October 31, 2012 12:49 AM To: linaro-...@lists.linaro.org; linux-kernel@vger.kernel.org; linux- p...@vger.kernel.org; Zhang, Rui;

Re: [PATCH v3 05/11] clk: davinci - add dm644x clock initialization

2012-11-06 Thread Sekhar Nori
On 11/5/2012 9:12 PM, Murali Karicheri wrote: On 11/03/2012 09:30 AM, Sekhar Nori wrote: On 10/25/2012 9:41 PM, Murali Karicheri wrote: This patch adds dm644x clock initialization code that consists of clocks data for various clocks and clock register callouts to various clock drivers. It

Re: [PATCH] mm: fix a regression with HIGHMEM introduced by changeset 7f1290f2f2a4d

2012-11-06 Thread Chris Clayton
On 11/06/12 01:31, Jiang Liu wrote: Changeset 7f1290f2f2 tries to fix a issue when calculating zone-present_pages, but it causes a regression to 32bit systems with HIGHMEM. With that changeset, function reset_zone_present_pages() resets all zone-present_pages to zero, and

Re: [PATCH] Revert mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures

2012-11-06 Thread Johannes Hirte
Am Mon, 5 Nov 2012 14:24:49 + schrieb Mel Gorman mgor...@suse.de: Jiri Slaby reported the following: (It's an effective revert of mm: vmscan: scale number of pages reclaimed by reclaim/compaction based on failures.) Given kswapd had hours of runtime in ps/top output yesterday in

Re: [PATCH V3 4/5] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-06 Thread Hongbo Zhang
On 6 November 2012 18:17, Hongbo Zhang hongbo.zh...@linaro.org wrote: On 1 November 2012 09:52, Zhang, Rui rui.zh...@intel.com wrote: -Original Message- From: hongbo.zhang [mailto:hongbo.zh...@linaro.org] Sent: Wednesday, October 31, 2012 12:49 AM To: linaro-...@lists.linaro.org;

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Grant, On Nov 5, 2012, at 9:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly appreciated. Device Tree Overlay Feature Purpose === Sometimes

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-06 Thread Pantelis Antoniou
Hi Timur, On Nov 5, 2012, at 10:40 PM, Tabi Timur-B04825 wrote: On Mon, Nov 5, 2012 at 2:40 PM, Grant Likely grant.lik...@secretlab.ca wrote: Jane is building custom BeagleBone expansion boards called 'capes'. She can boot the system with a stock BeagleBoard device tree, but additional

[PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-06 Thread Viresh Kumar
Hi All, This is V2 Resend of my sched_select_cpu() work. Resend because didn't got much attention on V2. Including more guys now in cc :) In order to save power, it would be useful to schedule work onto non-IDLE cpus instead of waking up an IDLE one. To achieve this, we need scheduler to guide

[RFC PATCH] checkpatch: Add a --strict test for macro argument reuse

2012-11-06 Thread Joe Perches
Add a test for reuse of macro arguments to highlight any possible side-effects from this reuse. Avoid this check on token name pasting and when the argument is used in a typeof or a __builtin. Signed-off-by: Joe Perches j...@perches.com --- There are times when using a temporary for macro

  1   2   3   4   5   6   7   8   9   10   >