[REPOST PATCH 2/4] slab: introduce helper functions to get/set free object

2013-09-05 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c b/mm/slab.c index 9d4bad5..a0e49bb 100644 --- a/mm/slab.c +++ b/mm/slab.c @@

[REPOST PATCH 1/4] slab: factor out calculate nr objects in cache_estimate

2013-09-05 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim diff --git a/mm/slab.c

Re: [PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-05 Thread Joonsoo Kim
On Thu, Sep 05, 2013 at 02:33:56PM +, Christoph Lameter wrote: > On Thu, 5 Sep 2013, Joonsoo Kim wrote: > > > I think that all patchsets deserve to be merged, since it reduces memory > > usage and > > also improves performance. :) > > Could you clean things up etc and the repost the

[REPOST PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-05 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, since restriction for page order is at most 1 in default configuration. For example, consider a slab consisting of 32 byte sized objects on two continous pages. In this

[REPOST PATCH 4/4] slab: make more slab management structure off the slab

2013-09-05 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[REPOST PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-05 Thread Joonsoo Kim
* THIS IS JUST REPOSTED ACCORDING TO MAINTAINER'S REQUEST * * Changes from original post Correct the position of the results. Attach more results about cache-misses and elapsed time on a hackbench test. - This patchset implements byte sized

Re: [PATCH V4] regulator: palmas: add support for external control of rails

2013-09-05 Thread Laxman Dewangan
On Thursday 05 September 2013 09:04 PM, Mark Brown wrote: * PGP Signed by an unknown key On Thu, Sep 05, 2013 at 08:27:24PM +0530, Laxman Dewangan wrote: On Thursday 05 September 2013 08:04 PM, Lee Jones wrote: It won't go in until v3.12 now, but I have applied the patch. Thanks Lee for

[PATCH] perf tools: Free strlist in strlist__delete()

2013-09-05 Thread Namhyung Kim
From: Namhyung Kim It seems strlist never deleted after allocated. AFAICS every strlist is allocated dynamically, just free it in the _delete() function. Signed-off-by: Namhyung Kim --- tools/perf/util/strlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [RFC PATCH v3 09/35] mm: Track the freepage migratetype of pages accurately

2013-09-05 Thread Srivatsa S. Bhat
On 09/04/2013 01:53 PM, Yasuaki Ishimatsu wrote: > (2013/09/03 17:45), Srivatsa S. Bhat wrote: >> On 09/03/2013 12:08 PM, Yasuaki Ishimatsu wrote: >>> (2013/08/30 22:16), Srivatsa S. Bhat wrote: Due to the region-wise ordering of the pages in the buddy allocator's free lists, whenever we

[PATCH v3 06/20] mm, hugetlb: return a reserved page to a reserved pool if failed

2013-09-05 Thread Joonsoo Kim
If we fail with a reserved page, just calling put_page() is not sufficient, because put_page() invoke free_huge_page() at last step and it doesn't know whether a page comes from a reserved pool or not. So it doesn't do anything related to reserved count. This makes reserve count lower than how we

[PATCH v3 03/20] mm, hugetlb: fix subpool accounting handling

2013-09-05 Thread Joonsoo Kim
There is a case that we attempt to allocate a hugepage with chg = 0 and avoid_reserve = 1. Although chg = 0 means that it has a reserved hugepage, we wouldn't use it, since avoid_reserve = 1 represents that we don't want to allocate a hugepage from a reserved pool. This happens when the parent

[PATCH v3 03/20] mm, hugetlb: fix subpool accounting handling

2013-09-05 Thread Joonsoo Kim
There is a case that we attempt to allocate a hugepage with chg = 0 and avoid_reserve = 1. Although chg = 0 means that it has a reserved hugepage, we wouldn't use it, since avoid_reserve = 1 represents that we don't want to allocate a hugepage from a reserved pool. This happens when the parent

[PATCH v2 1/4] mm/zswap: bugfix: memory leak when re-swapon

2013-09-05 Thread Weijie Yang
zswap_tree is not freed when swapoff, and it got re-kmalloc in swapon, so memory-leak occurs. Modify: free memory of zswap_tree in zswap_frontswap_invalidate_area(). Signed-off-by: Weijie Yang --- mm/zswap.c |4 1 file changed, 4 insertions(+) diff --git a/mm/zswap.c b/mm/zswap.c

[PATCH v2 2/4] mm/zswap: bugfix: memory leak when invalidate and reclaim occur concurrently

2013-09-05 Thread Weijie Yang
Consider the following scenario: thread 0: reclaim entry x (get refcount, but not call zswap_get_swap_cache_page) thread 1: call zswap_frontswap_invalidate_page to invalidate entry x. finished, entry x and its zbud is not freed as its refcount != 0 now, the swap_map[x] = 0 thread

[PATCH v2 3/4] mm/zswap: avoid unnecessary page scanning

2013-09-05 Thread Weijie Yang
add SetPageReclaim before __swap_writepage so that page can be moved to the tail of the inactive list, which can avoid unnecessary page scanning as this page was reclaimed by swap subsystem before. Signed-off-by: Weijie Yang --- mm/zswap.c |3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v2 4/4] mm/zswap: use GFP_NOIO instead of GFP_KERNEL

2013-09-05 Thread Weijie Yang
To avoid zswap store and reclaim functions called recursively, use GFP_NOIO instead of GFP_KERNEL Signed-off-by: Weijie Yang --- mm/zswap.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index cc40e6a..3d05ed8 100644 --- a/mm/zswap.c +++

[PATCH v2 0/4] mm/zswap bugfix: memory leaks and other problems

2013-09-05 Thread Weijie Yang
This patch series fix a few bugs in zswap based on Linux-3.11. v1 --> v2 - free memory in zswap_frontswap_invalidate_area (in patch 1) - fix whitespace corruption (line wrapping) Corresponding mail thread: https://lkml.org/lkml/2013/8/18/59 These issues fixed/optimized are: 1.

Re: [PATCH v3 0/2] ext4: increase mbcache scalability

2013-09-05 Thread Andreas Dilger
On 2013-09-05, at 3:49 AM, Thavatchai Makphaibulchoke wrote: > On 09/05/2013 02:35 AM, Theodore Ts'o wrote: >> How did you gather these results? The mbcache is only used if you >> are using extended attributes, and only if the extended attributes don't fit >> in the inode's extra space. >> >> I

linux-next: build warning after merge of the ceph tree

2013-09-05 Thread Stephen Rothwell
Hi Sage, After merging the ceph tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from fs/ceph/super.h:4:0, from fs/ceph/cache.c:26: include/linux/ceph/ceph_debug.h:4:0: warning: "pr_fmt" redefined [enabled by default] #define

Re: [PATCH] ethernet/arc/arc_emac: optimize the Tx/Tx-reclaim paths a bit

2013-09-05 Thread David Miller
From: Vineet Gupta Date: Fri, 6 Sep 2013 04:24:39 + > On 09/05/2013 11:54 PM, David Miller wrote: >> You should keep the check in the transmit queueing code as a BUG check, >> almost every driver has code of the form (using NIU as an example): ... >> Otherwise queue management bugs are

Re: [PATCH 7/9] KGDB/KDB: add new system NMI entry code to KDB

2013-09-05 Thread Jason Wessel
On 09/05/2013 05:50 PM, Mike Travis wrote: > This patch adds a new "KDB_REASON" code (KDB_REASON_SYSTEM_NMI). This > is purely cosmetic to distinguish it from the other various reasons that > NMI may occur and are usually after an error occurred. Also the dumping > of registers is not done to

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: > +What:/sys/class/mic/mic(x)/firmware > +Date:August 2013 > +KernelVersion: 3.11 > +Contact: Sudeep Dutt > +Description: > + When read, this sysfs entry provides the path name under

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: > +What:/sys/class/mic/mic(x)/cmdline > +Date:August 2013 > +KernelVersion: 3.11 > +Contact: Sudeep Dutt > +Description: > + An Intel MIC device runs a Linux OS during its operation.

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
Again, very minor fixups for later (I can even do them...) > +static DEVICE_ATTR(state, S_IRUGO|S_IWUSR, mic_show_state, mic_store_state); DEVICE_ATTR_RW() please. Same for the other attributes you create in this patch. thanks, greg k-h -- To unsubscribe from this list: send the line

Re: [PATCH v2 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 7:01 PM, Waiman Long wrote: > > I am sorry that I misunderstand what you said. I will do what you and Al > advise me to do. I'm sorry I shouted at you. I was getting a bit frustrated there.. Linus -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:31PM -0700, Sudeep Dutt wrote: > drivers/misc/mic/common/mic_device.h | 37 +++ > drivers/misc/mic/host/mic_device.h| 109 + Two different files, with the same name? You are asking for trouble in the future, getting them confused :)

Re: [PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.

2013-09-05 Thread Greg Kroah-Hartman
Very minor nits, you can change this in a future add-on patch: > +static DEVICE_ATTR(family, S_IRUGO, mic_show_family, NULL); This should use DEVICE_ATTR_RO(), so that we don't have to audit the permissions of your DEVICE_ATTR() files. > +static DEVICE_ATTR(stepping, S_IRUGO, mic_show_stepping,

Re: [PATCH 0/8] ceph: fscache support & upstream changes

2013-09-05 Thread Milosz Tanski
David, After running this for a day on some loaded machines I ran into what looks like an old issue with the new code. I remember you saw an issue that manifested it self in a similar way a while back. [13837253.462779] FS-Cache: Assertion failed [13837253.462782] 3 == 5 is false

Re: [PATCH 2/3] thermal: samsung: change base_common to more meaningful base_second

2013-09-05 Thread amit daniel kachhap
On Wed, Sep 4, 2013 at 9:53 AM, Naveen Krishna Chatradhi wrote: > On Exynos5440 and Exynos5420 there are registers common > across the TMU channels. > > To support that, we introduced a ADDRESS_MULTIPLE flag in the > driver and the 2nd set of register base and size are provided > in the "reg"

Re: [PATCH 5/9] KGDB/KDB: add support for external NMI handler to call KGDB/KDB.

2013-09-05 Thread Jason Wessel
On 09/05/2013 05:50 PM, Mike Travis wrote: > This patch adds a kgdb_nmicallin() interface that can be used by > external NMI handlers to call the KGDB/KDB handler. The primary need > for this is for those types of NMI interrupts where all the CPUs > have already received the NMI signal.

Re: [PATCH] ethernet/arc/arc_emac: optimize the Tx/Tx-reclaim paths a bit

2013-09-05 Thread Vineet Gupta
Hi David, On 09/05/2013 11:54 PM, David Miller wrote: > From: Vineet Gupta > Date: Wed, 4 Sep 2013 18:33:11 +0530 > >> This came out of staring at code due to recent performance fix. >> >> * TX BD reclaim can call netif_wake_queue() once, outside the loop if >> one/more BDs were freed, NO need

Re: [PATCH] net: stmmac: fix bad merge conflict resolution

2013-09-05 Thread Stephen Rothwell
Hi all, On Thu, 05 Sep 2013 22:58:17 -0400 (EDT) David Miller wrote: > > From: Olof Johansson > Date: Thu, 5 Sep 2013 18:01:41 -0700 > > > Merge commit 06c54055bebf919249aa1eb68312887c3cfe77b4 did a bad conflict > > resolution accidentally leaving out a closing brace. Add it back. > > > >

[PATCH 0/5] Squashfs: extra sanity checks and sanity check fixes

2013-09-05 Thread Phillip Lougher
Hi, Following on from the "Squashfs: sanity check information from disk" patch from Dan Carpenter, I have added a couple more sanity checks, and fixed a couple of existing sanity checks (including the patch from Dan Carpenter). These sanity checks mainly exist to trap maliciously corrupted

[PATCH 2/5] Squashfs: fix corruption checks in squashfs_lookup()

2013-09-05 Thread Phillip Lougher
The dir_count and size fields when read from disk are sanity checked for correctness. However, the sanity checks only check the values are not greater than expected. As dir_count and size were incorrectly defined as signed ints, this can lead to corrupted values appearing as negative which are

[PATCH 4/5] Squashfs: add corruption check in get_dir_index_using_offset()

2013-09-05 Thread Phillip Lougher
We read the size (of the name) field from disk. This value should be sanity checked for correctness to avoid blindly reading huge amounts of unnecessary data from disk on corruption. Note, here we're not actually reading the name into a buffer, but skipping it, and so corruption doesn't cause

[PATCH 3/5] Squashfs: fix corruption checks in squashfs_readdir()

2013-09-05 Thread Phillip Lougher
The dir_count and size fields when read from disk are sanity checked for correctness. However, the sanity checks only check the values are not greater than expected. As dir_count and size were incorrectly defined as signed ints, this can lead to corrupted values appearing as negative which are

[PATCH 5/5] Squashfs: add corruption check for type in squashfs_readdir()

2013-09-05 Thread Phillip Lougher
We read the type field from disk. This value should be sanity checked for correctness to avoid an out of bounds access when reading the squashfs_filetype_table array. Signed-off-by: Phillip Lougher --- fs/squashfs/dir.c | 7 +-- fs/squashfs/squashfs_fs.h | 5 - 2 files changed,

[PATCH 1/5] Squashfs: fix corruption check in get_dir_index_using_name()

2013-09-05 Thread Phillip Lougher
Patch "Squashfs: sanity check information from disk" from Dan Carpenter adds a missing check for corruption in the "size" field while reading the directory index from disk. It, however, sets err to -EINVAL, this value is not used later, and so setting it is completely redundant. So remove it.

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 09:51:54PM -0400, Steven Rostedt wrote: > On Thu, 5 Sep 2013 21:48:59 -0400 > Dave Jones wrote: > > > On Thu, Sep 05, 2013 at 09:44:55PM -0400, Steven Rostedt wrote: > > > On Thu, 5 Sep 2013 21:34:55 -0400 > > > Dave Jones wrote: > > > > > > > On Thu, Sep

[PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-05 Thread wei_wang
From: Wei WANG In some platforms, specially Thinkpad series, rts5249 won't be initialized properly. So we need adjust some phy parameters to improve the compatibility issue. Signed-off-by: Wei WANG --- drivers/mfd/rts5249.c| 35 --

Re: [PATCH] perf mem: add priv level filtering support

2013-09-05 Thread Andi Kleen
> But my worry here is about consistency accross tools for the single > letter options, so perhaps if you could use: > > -U collect only user level samples > -K collect only kernel level samples Support for this would be nice for perf stat too, to use with

[PATCH v2] mfd: rtsx: Modify rts5249_optimize_phy

2013-09-05 Thread wei_wang
From: Wei WANG v2: Name those new-added register values Wei WANG (1): mfd: rtsx: Modify rts5249_optimize_phy drivers/mfd/rts5249.c| 35 -- include/linux/mfd/rtsx_pci.h | 43 ++ 2 files changed, 76

[PATCH 1/4] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v5

2013-09-05 Thread Andi Kleen
From: Andi Kleen With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then a spurious PMI,

[PATCH 2/4] perf, x86: Report TSX transaction abort cost as weight v3

2013-09-05 Thread Andi Kleen
From: Andi Kleen Use the existing weight reporting facility to report the transaction abort cost, that is the number of cycles wasted in aborts. Haswell reports this in the PEBS record. This was in fact the original user for weight. This is a very useful sort key to concentrate on the most

[PATCH 3/4] perf, x86: Add Haswell TSX event aliases v6

2013-09-05 Thread Andi Kleen
From: Andi Kleen Add TSX event aliases, and export them from the kernel to perf. These are used by perf stat -T and to allow more user friendly access to events. The events are designed to be fairly generic and may also apply to other architectures implementing HTM. They all cover common

perf, x86: Add parts of the remaining haswell PMU functionality v5

2013-09-05 Thread Andi Kleen
I hope this version is ok for everyone now. [v2: Added Peter's changes to the PEBS handler] [v3: Addressed Arnaldo's feedback for the perf stat -T change and avoid conflict] [v4: Remove XXX comment in checkpoint patch. Add Arnaldo's ack for tools patch] [v5: Some white space

[PATCH 4/4] perf, tools: Add perf stat --transaction v5

2013-09-05 Thread Andi Kleen
From: Andi Kleen Add support to perf stat to print the basic transactional execution statistics: Total cycles, Cycles in Transaction, Cycles in aborted transsactions using the in_tx and in_tx_checkpoint qualifiers. Transaction Starts and Elision Starts, to compute the average transaction length.

Re: soft lockup in sysvipc code.

2013-09-05 Thread Lin Ming
On Thu, Sep 5, 2013 at 5:50 AM, Dave Jones wrote: > Haven't seen this before. > Tree based on v3.11-3104-gf357a82 > > BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:25479] Can't imagine how it could happen. In my understanding, "soft lockup" happens when code stuck at somewhere with

[PATCH] mm/mmap.c: Remove unnecessary pgoff assignment

2013-09-05 Thread Zhang Yanfei
We never access variable pgoff later, so the assignment is redundant. Remove it. Signed-off-by: Zhang Yanfei --- mm/mmap.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index f9c97d1..db44f6a 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -1570,7

Re: linux-next: back merge of Linus' tree into the vfio tree

2013-09-05 Thread Stephen Rothwell
Hi Alex, On Thu, 05 Sep 2013 17:14:29 -0600 Alex Williamson wrote: > > On Fri, 2013-09-06 at 09:08 +1000, Stephen Rothwell wrote: > > > > I noticed that you have back merged Linus' tree into yours. Linus > > usually takes a dim view of that - especially when there is no > > explanation in the

Re: [PATCH 10/11] x86, mem-hotplug: Support initialize page tables from low to high.

2013-09-05 Thread Tang Chen
Hi Wanpeng, On 09/06/2013 10:16 AM, Wanpeng Li wrote: .. +#ifdef CONFIG_MOVABLE_NODE + unsigned long kernel_end; + + if (movablenode_enable_srat&& + memblock.current_order == MEMBLOCK_ORDER_LOW_TO_HIGH) { I think memblock.current_order == MEMBLOCK_ORDER_LOW_TO_HIGH

Re: [PATCH] net: stmmac: fix bad merge conflict resolution

2013-09-05 Thread David Miller
From: Olof Johansson Date: Thu, 5 Sep 2013 18:01:41 -0700 > Merge commit 06c54055bebf919249aa1eb68312887c3cfe77b4 did a bad conflict > resolution accidentally leaving out a closing brace. Add it back. > > Signed-off-by: Olof Johansson > --- > > This breaks a handful of defconfigs on ARM, so

Re: [GIT] Sparc

2013-09-05 Thread David Miller
From: Sergei Shtylyov Date: Fri, 06 Sep 2013 02:32:51 +0400 > Hello. > > On 09/06/2013 12:44 AM, David Miller wrote: > >> Several bug fixes (from Kirill Tkhai, Geery Uytterhoeven, and Alexey >> Dobriyan) and some support for Fujitsu sparc64x chips (from Allen >> Pais). > >> Please pull,

[git pull] Please pull powerpc.git next branch

2013-09-05 Thread Benjamin Herrenschmidt
Hi Linus ! Here's the powerpc batch for this merge window. Some of the highlights are: * A bunch of endian fixes ! We don't have full LE support yet in that release but this contains a lot of fixes all over arch/powerpc to use the proper accessors, call the firmware with the right endian mode,

Re: [PATCH v2 4/4] kernel: add support for init_array constructors

2013-09-05 Thread Rusty Russell
Frantisek Hrbata writes: > This adds the .init_array section as yet another section with constructors. > This > is needed because gcc could add __gcov_init calls to .init_array or .ctors > section, depending on gcc version. > > v2: - reuse mod->ctors for .init_array section for modules, because

Re: [PATCH v2 1/1] dcache: Translating dentry into pathname without taking rename_lock

2013-09-05 Thread Waiman Long
On 09/05/2013 04:42 PM, Linus Torvalds wrote: On Thu, Sep 5, 2013 at 1:29 PM, Waiman Long wrote: It is not as simple as doing a strncpy(). Yes it damn well is. Stop the f*cking stupid arguments, and instead listen to what I say. Here. Let me bold-face the most important part for you, so

Hope and your long-term cooperation

2013-09-05 Thread jenny
Dear Manager: Glad to write to you. We are manufacturer of Stearic acid from China, We have Zinc stearate, calcium stearate, magnesium stearate, etc. If you need such chemicals, please do not hesitate to contact me. Best Regards,

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 21:48:59 -0400 Dave Jones wrote: > On Thu, Sep 05, 2013 at 09:44:55PM -0400, Steven Rostedt wrote: > > On Thu, 5 Sep 2013 21:34:55 -0400 > > Dave Jones wrote: > > > > > On Thu, Sep 05, 2013 at 09:28:34PM -0400, Steven Rostedt wrote: > > Did you change a config option,

[for-next][PATCH 4/4] ftrace/rcu: Do not trace debug_lockdep_rcu_enabled()

2013-09-05 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The function debug_lockdep_rcu_enabled() is part of the RCU lockdep debugging, and is called very frequently. I found that if I enable a lot of debugging and run the function graph tracer, this function can cause a live lock of the system. We don't usually trace

[for-next][PATCH 1/4] tracing: Make tracing_cpumask available for all instances

2013-09-05 Thread Steven Rostedt
From: Alexander Z Lam Allow tracer instances to disable tracing by cpu by moving the static global tracing_cpumask into trace_array. Link: http://lkml.kernel.org/r/921622317f239bfc2283cac2242647801ef584f2.1375980149.git@google.com Cc: Vaibhav Nagarnaik Cc: David Sharp Cc: Alexander Z

[for-next][PATCH 3/4] x86-32, ftrace: Fix static ftrace when early microcode is enabled

2013-09-05 Thread Steven Rostedt
From: "H. Peter Anvin" Early microcode loading runs C code before paging is enabled on 32 bits. Since ftrace puts a hook into every function, that hook needs to be safe to execute in the pre-paging environment. This is currently true for dynamic ftrace but not for static ftrace. Static ftrace

[for-next][PATCH 2/4] ftrace: Fix a slight race in modifying what function callback gets traced

2013-09-05 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" There's a slight race when going from a list function to a non list function. That is, when only one callback is registered to the function tracer, it gets called directly by the mcount trampoline. But if this function has filters, it may be called by the wrong

[for-next][PATCH 0/4] tracing: Updated changes for 3.12

2013-09-05 Thread Steven Rostedt
I'm holding off on the rcu unsafe changes with perf and function tracing. We'll still get bug splats with unsafe rcu usage, but we need to work out a better solution than I was going to push for 3.12. It's too late to get things smooth, thus we need to wait till 3.13 to get something that is

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 09:44:55PM -0400, Steven Rostedt wrote: > On Thu, 5 Sep 2013 21:34:55 -0400 > Dave Jones wrote: > > > On Thu, Sep 05, 2013 at 09:28:34PM -0400, Steven Rostedt wrote: > > > On Thu, 5 Sep 2013 21:19:24 -0400 > > > Dave Jones wrote: > > > > > > > For whatever

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 21:34:55 -0400 Dave Jones wrote: > On Thu, Sep 05, 2013 at 09:28:34PM -0400, Steven Rostedt wrote: > > On Thu, 5 Sep 2013 21:19:24 -0400 > > Dave Jones wrote: > > > > > For whatever dumb reason, when running 'make install' on a Fedora system, > > > os-prober tries to

[GIT PULL] security subsystem changes for 3.12

2013-09-05 Thread James Morris
Nothing major for this kernel, just maintenance updates. Please pull. The following changes since commit 2e032852245b3dcfe5461d7353e34eb6da095ccf: Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm (2013-09-05 18:07:32 -0700) are available in the git repository at:

Re: [PATCH 10/11] x86, mem-hotplug: Support initialize page tables from low to high.

2013-09-05 Thread Tang Chen
Hi Wanpeng, Thank you for reviewing. See below, please. On 09/05/2013 09:30 PM, Wanpeng Li wrote: .. +#ifdef CONFIG_MOVABLE_NODE + unsigned long kernel_end; + + if (movablenode_enable_srat&& + memblock.current_order == MEMBLOCK_ORDER_LOW_TO_HIGH) { I think

Re: [PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-05 Thread Joe Perches
Whitespace neatening... Multiline statement argument alignment. Argument wrapping. Use kmalloc_array instead of kmalloc. --- drivers/misc/mic/card/mic_virtio.c | 17 --- drivers/misc/mic/card/mic_x100.c| 4 +- drivers/misc/mic/host/mic_debugfs.c | 91

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 09:28:34PM -0400, Steven Rostedt wrote: > On Thu, 5 Sep 2013 21:19:24 -0400 > Dave Jones wrote: > > > For whatever dumb reason, when running 'make install' on a Fedora system, > > os-prober tries to figure out what filesystems are needed by loading > > filesystems,

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 21:19:24 -0400 Dave Jones wrote: > For whatever dumb reason, when running 'make install' on a Fedora system, > os-prober tries to figure out what filesystems are needed by loading > filesystems, > and seeing what sticks.. Today it blew up spectacularly when it got to >

[PATCH V2] arm: LLVMLinux: use static inline in ARM ftrace.h

2013-09-05 Thread behanw
From: Behan Webster With compilers which follow the C99 standard (like modern versions of gcc and clang), "extern inline" does the wrong thing (emits code for an externally linkable version of the inline function). In this case using static inline and removing the NULL version of return_address

ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-05 Thread Dave Jones
For whatever dumb reason, when running 'make install' on a Fedora system, os-prober tries to figure out what filesystems are needed by loading filesystems, and seeing what sticks.. Today it blew up spectacularly when it got to loading reiserfs.. System wedged entirely afterwards. Dave

Re: [PATCH v4 0/3] cleanup of gpio_pcf857x.c

2013-09-05 Thread Kuninori Morimoto
Hi > This patch series > - removes the irq_demux_work > - Uses devm_request_threaded_irq > - Call the user handler iff gpio_to_irq is done. > > v1 --> v2 > Split v1 to 3 patches > v2 --> v3 > Remove the unnecessary dts patches. > v3 --> v4 > Remove

Re: kobject: delayed kobject release: help find buggy drivers

2013-09-05 Thread Dave Jones
On Thu, Sep 05, 2013 at 10:44:34PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 05, 2013 at 05:26:06PM -0400, Dave Jones wrote: > > On Thu, Sep 05, 2013 at 05:11:13PM -0400, Dave Jones wrote: > > > > Trying without serial console next.. > > > > > > rebuilt with all serial turned

Re: [PATCH] ARM: LLVMLinux: Change "extern inline" to "gnu_inline" in ARM ftrace.h

2013-09-05 Thread Behan Webster
Sorry for the delay. A mistake in my email filters ate all your replies. Doh! On 08/14/13 18:45, Russell King - ARM Linux wrote: On Wed, Aug 14, 2013 at 05:37:41PM -0400, beh...@converseincode.com wrote: -extern inline void *return_address(unsigned int level) +extern inline

[PATCH] net: stmmac: fix bad merge conflict resolution

2013-09-05 Thread Olof Johansson
Merge commit 06c54055bebf919249aa1eb68312887c3cfe77b4 did a bad conflict resolution accidentally leaving out a closing brace. Add it back. Signed-off-by: Olof Johansson --- This breaks a handful of defconfigs on ARM, so it'd be good to see it applied pretty quickly. Thanks! -Olof

Re: [git pull] drm tree for 3.12-rc1

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 4:19 PM, Linus Torvalds wrote: > > So I've decided I'm going to try to bisect this after all. I've done > enough pulls for today anyway, I guess. Let's see if I can bisect it > by just trying to boot many times each try. Ok, it's not the recent drm pull at all. I can't

Re: [PATCH] Avoid useless inodes and dentries reclamation

2013-09-05 Thread Dave Chinner
On Tue, Sep 03, 2013 at 11:38:27AM -0700, Tim Chen wrote: > On Sat, 2013-08-31 at 19:00 +1000, Dave Chinner wrote: > > On Fri, Aug 30, 2013 at 09:21:34AM -0700, Tim Chen wrote: > > > > > > > > > Signed-off-by: Tim Chen > > > --- > > > diff --git a/fs/super.c b/fs/super.c > > > index

[GIT PULL] NTB bug fixes and features for v3.12

2013-09-05 Thread Jon Mason
Hi Linus, Below are a number of NTB bug fixes and features for v3.12. Please consider pulling them. Thanks, Jon The following changes since commit 6e4664525b1db28f8c4e1130957f70a94c19213e: Linux 3.11 (2013-09-02 13:46:10 -0700) are available in the git repository at:

Re: [PATCH] perf mem: add priv level filtering support

2013-09-05 Thread Sukadev Bhattiprolu
Arnaldo Carvalho de Melo [a...@redhat.com] wrote: | Em Wed, Aug 28, 2013 at 03:38:28PM +0200, Stephane Eranian escreveu: | > On Wed, Aug 28, 2013 at 3:27 PM, Arnaldo Carvalho de Melo wrote: | > > So perhaps we should change both to (and add this to 'report' as well): | > > | > > -U,

Re: [PATCH] usb: gadget LLVMLinux: Removing the use of VLAIS from the gadget driver

2013-09-05 Thread Behan Webster
Replying to my patch email just in case it was missed before. Thanks, Behan On 08/01/13 21:35, beh...@converseincode.com wrote: From: Behan Webster The use of variable length arrays in structs (VLAIS) in the Linux Kernel code precludes the use of compilers which don't implement VLAIS (for

[PATCHv2 1/2] ARM: msm: Add support for MSM8974 Dragonboard

2013-09-05 Thread Rohit Vaswani
This patch adds basic board support for MSM8974 Dragonboard which belongs to the Snapdragon 800 family. For now, just support a basic machine with device tree. Signed-off-by: Rohit Vaswani --- arch/arm/boot/dts/Makefile| 3 ++- arch/arm/boot/dts/msm8974-db.dts | 7 +++

[PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Sudeep Dutt
This patch enables the following features: a) Boots and shuts down the card via sysfs entries. b) Allocates and maps a device page for communication with the card driver and updates the device page address via scratchpad registers. c) Provides sysfs entries for shutdown status, kernel

Vážení E-mail užívatela;

2013-09-05 Thread WEBMAIL UPDATE 2013
-- Vážení E-mail užívateľa; Prekročili ste 23432 boxy nastaviť svoje Webová služba / Administrátor, a budete mať problémy pri odosielaní a prijímať e-maily, kým znova overiť. Musíte aktualizovať kliknutím na odkaz nižšie a vyplňte údaje pre overenie vášho účtu Prosím, kliknite na odkaz

[PATCH RESEND v3 5/7] Intel MIC Host Driver Changes for Virtio Devices.

2013-09-05 Thread Sudeep Dutt
From: Ashutosh Dixit This patch introduces the host "Virtio over PCIe" interface for Intel MIC. It allows creating user space backends on the host and instantiating virtio devices for them on the Intel MIC card. It uses the existing VRINGH infrastructure in the kernel to access virtio rings from

[PATCH RESEND v3 6/7] Intel MIC Card Driver Changes for Virtio Devices.

2013-09-05 Thread Sudeep Dutt
From: Ashutosh Dixit This patch introduces the card "Virtio over PCIe" interface for Intel MIC. It allows virtio drivers on the card to communicate with their user space backends on the host via a device page. Ring 3 apps on the host can add, remove and configure virtio devices. A thin MIC

[PATCH RESEND v3 4/7] Intel MIC Card Driver for X100 family.

2013-09-05 Thread Sudeep Dutt
This patch does the following: a) Initializes the Intel MIC X100 platform device and driver. b) Sets up support to handle shutdown requests from the host. c) Maps the device page after obtaining the device page address from the scratchpad registers updated by the host. d) Informs the host upon a

[PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.

2013-09-05 Thread Sudeep Dutt
This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Provides sysfs entries for family and stepping information. Co-author: Dasaratharaman Chandramouli Signed-off-by: Ashutosh Dixit Signed-off-by: Caz Yokoyama Signed-off-by: Dasaratharaman Chandramouli

[PATCH RESEND v3 2/7] Intel MIC Host Driver Interrupt/SMPT support.

2013-09-05 Thread Sudeep Dutt
From: Dasaratharaman Chandramouli This patch enables the following features: a) MSIx, MSI and legacy interrupt support. b) System Memory Page Table(SMPT) support. SMPT enables system memory access from the card. On X100 devices the host can program 32 SMPT registers each capable of

[PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-05 Thread Sudeep Dutt
ChangeLog: = v2 => v3: a) Patch 1 data structure cleanups, header file include cleanups, IDA interface reuse and switching to device_create_with_groups(..) as per feedback from Greg Kroah-Hartman. b) Patch 7 signal documentation, sleep workaround removal and sysfs access API

Re: [PATCH] rcu: Is it safe to enter an RCU read-side critical section?

2013-09-05 Thread Steven Rostedt
On Thu, 5 Sep 2013 14:05:37 -0700 "Paul E. McKenney" wrote: > > rcu: Is it safe to enter an RCU read-side critical section? > > There is currently no way for kernel code to determine whether it > is safe to enter an RCU read-side critical section, in other words, Shouldn't that be a

Re: [PATCH v9 12/13] KVM: PPC: Add support for IOMMU in-kernel handling

2013-09-05 Thread Alexey Kardashevskiy
On 09/06/2013 04:10 AM, Gleb Natapov wrote: > On Wed, Sep 04, 2013 at 02:01:28AM +1000, Alexey Kardashevskiy wrote: >> On 09/03/2013 08:53 PM, Gleb Natapov wrote: >>> On Mon, Sep 02, 2013 at 01:14:29PM +1000, Alexey Kardashevskiy wrote: On 09/01/2013 10:06 PM, Gleb Natapov wrote: > On

Re: Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots)

2013-09-05 Thread Rafael J. Wysocki
On Thursday, September 05, 2013 05:31:58 PM Alex Williamson wrote: > On Fri, 2013-09-06 at 01:36 +0200, Rafael J. Wysocki wrote: > > On Thursday, September 05, 2013 05:08:03 PM Alex Williamson wrote: > > > On Fri, 2013-09-06 at 00:40 +0200, Rafael J. Wysocki wrote: > > > > On Thursday, September

Re: Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots)

2013-09-05 Thread Alex Williamson
On Fri, 2013-09-06 at 01:36 +0200, Rafael J. Wysocki wrote: > On Thursday, September 05, 2013 05:08:03 PM Alex Williamson wrote: > > On Fri, 2013-09-06 at 00:40 +0200, Rafael J. Wysocki wrote: > > > On Thursday, September 05, 2013 04:17:25 PM Alex Williamson wrote: > > > > On Thu, 2013-09-05 at

Re: Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots)

2013-09-05 Thread Rafael J. Wysocki
On Thursday, September 05, 2013 05:08:03 PM Alex Williamson wrote: > On Fri, 2013-09-06 at 00:40 +0200, Rafael J. Wysocki wrote: > > On Thursday, September 05, 2013 04:17:25 PM Alex Williamson wrote: > > > On Thu, 2013-09-05 at 23:39 +0200, Rafael J. Wysocki wrote: > > > > On Thursday, September

Re: [git pull] drm tree for 3.12-rc1

2013-09-05 Thread Linus Torvalds
On Thu, Sep 5, 2013 at 3:32 PM, Jesse Barnes wrote: > On Thu, 5 Sep 2013 12:18:32 -0700 >> >> The first time I booted this, I just got a black screen on my Haswell >> desktop when X11 started up. I could ctrl-alt-BS and ctrl-alt-del to >> reboot the machine, and neither the Xorg.0.log nor the

Re: Excess dmesg output from ACPIPHP on boot (was: Re: [PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots)

2013-09-05 Thread Alex Williamson
On Fri, 2013-09-06 at 00:40 +0200, Rafael J. Wysocki wrote: > On Thursday, September 05, 2013 04:17:25 PM Alex Williamson wrote: > > On Thu, 2013-09-05 at 23:39 +0200, Rafael J. Wysocki wrote: > > > On Thursday, September 05, 2013 09:44:26 PM Rafael J. Wysocki wrote: > > > > On Thursday, September

linux-next: problem fetching the watchdog tree

2013-09-05 Thread Stephen Rothwell
Hi Wim, Fetching the wireless tree yesterday and today produced this error: fatal: unable to connect to www.linux-watchdog.org: www.linux-watchdog.org[0: 83.149.101.17]: errno=Connection refused -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpQhf_3Ty84e.pgp

[PATCH 0/9] x86/UV/KDB/NMI: Updates for NMI/KDB handler for SGI UV

2013-09-05 Thread Mike Travis
V2: Split KDB updates from NMI updates. Broke up the big patch to uv_nmi.c into smaller patches. Updated to the latest linux kernel version. The current UV NMI handler has not been updated for the changes in the system NMI handler and the perf operations. The UV NMI handler reads

Re: [ 00/36] 3.10.11-stable review

2013-09-05 Thread Guenter Roeck
On Thu, Sep 05, 2013 at 01:27:29PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.11 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

  1   2   3   4   5   6   7   8   9   10   >