Re: [PATCH 4/4] mvolatile: Add page purging logic SIGBUS trap

2014-04-13 Thread Minchan Kim
On Fri, Apr 11, 2014 at 01:15:40PM -0700, John Stultz wrote: This patch adds the hooks in the vmscan logic to purge volatile pages and mark their pte as purged. With this, volatile pages will be purged under pressure, and their ptes swap entry's marked. If the purged pages are accessed before

Re: [PATCH] net: ipv4: current group_info should be put after using.

2014-04-13 Thread David Miller
From: Wang, Xiaoming xiaoming.w...@intel.com Date: Mon, 14 Apr 2014 12:30:45 -0400 Plug a group_info refcount leak in ping_init. group_info is only needed during initialization and the code failed to release the reference on exit. While here move grabbing the reference to a place where it

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Pranith Kumar
On Sun, Apr 13, 2014 at 10:50 PM, Joe Perches j...@perches.com wrote: -/* - * This function really isn't for public consumption, but RCU is special in - * that context switches can allow the state machine to make progress. - */ -extern void resched_cpu(int cpu); why not #include sched.h

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 23:03 -0400, Pranith Kumar wrote: On Sun, Apr 13, 2014 at 10:50 PM, Joe Perches j...@perches.com wrote: -/* - * This function really isn't for public consumption, but RCU is special in - * that context switches can allow the state machine to make progress. - */

Re: [PATCH 1/1] kernel/rcu/tree.c: remove duplicate extern definition

2014-04-13 Thread Pranith Kumar
On Sun, Apr 13, 2014 at 11:18 PM, Joe Perches j...@perches.com wrote: As the comment mentions, resched_cpu is internal to the scheduler and hence is in sched/sched.h file and not in linux/sched.h. Note the use of quotes and lack of angle brackets. sched/sched.h cannot be included in other

Re: Re: [PATCH] module: Introduce MODULE_STATE_COMING_FINAL to avoid ftrace warning

2014-04-13 Thread Masami Hiramatsu
(2014/04/14 11:49), Takao Indoh wrote: ping, any comments? (2014/04/02 16:54), Takao Indoh wrote: This patch adds new module state MODULE_STATE_COMING_FINAL to avoid ftrace waring message when loading two modules simultaneously. The original patch was written by Steven Rostedt, see below.

Re: [PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread Steven Galgano
On 04/13/2014 09:40 PM, David Miller wrote: From: Steven Galgano sgalg...@adjacentlink.com Date: Sun, 13 Apr 2014 21:30:27 -0400 Added optional per queue flow control support using IFF_FLOW_CONTROL. When the IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag to

[Patch v4 6/6] iio: Added ABI description for quaternion

2014-04-13 Thread Srinivas Pandruvada
Added documentation for reading quaternion components for 3D rotations. Signed-off-by: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com --- Documentation/ABI/testing/sysfs-bus-iio | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio

[Patch v4 4/6] IIO: core: Add quaternion modifier

2014-04-13 Thread Srinivas Pandruvada
Added quaternion in the list of supported modifiers. Signed-off-by: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com --- drivers/iio/industrialio-core.c | 1 + include/linux/iio/types.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iio/industrialio-core.c

[Patch v4 3/6] IIO: core: Modify scan element type

2014-04-13 Thread Srinivas Pandruvada
The current scan element type uses the following format: [be|le]:[s|u]bits/storagebits[shift]. To specify multiple elements in this type, added a repeat value. So new format is: [be|le]:[s|u]bits/storagebits{X[repeat]}[shift]. Here X is specifying how may times, real/storage bits are

[Patch v4 2/6] IIO: core: Introduce read_raw_multi

2014-04-13 Thread Srinivas Pandruvada
This callback is introduced to overcome some limitations of existing read_raw callback. The functionality of both existing read_raw and read_raw_multi is similar, both are used to request values from the device. The current read_raw callback allows only two return values. The new read_raw_multi

[Patch v4 1/6] devres: introduce API devm_kmemdup

2014-04-13 Thread Srinivas Pandruvada
Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. Signed-off-by: Srinivas Pandruvada srinivas.pandruv...@linux.intel.com --- Documentation/driver-model/devres.txt | 1 + drivers/base/devres.c

[Patch v4 5/6] iio: hid-sensors: Added device rotation support

2014-04-13 Thread Srinivas Pandruvada
Added usage id processing for device rotation. This uses IIO interfaces for triggered buffer to present data to user mode.This uses HID sensor framework for registering callback events from the sensor hub. Data is exported to user space in the form of quaternion rotation format. Signed-off-by:

Re: [Patch v4 1/6] devres: introduce API devm_kmemdup

2014-04-13 Thread Joe Perches
On Sun, 2014-04-13 at 21:27 -0700, Srinivas Pandruvada wrote: Introduce devm_kmemdup, which uses resource managed kmalloc. There are several request from maintainers to add this instead of using kmemdup. [] diff --git a/include/linux/device.h b/include/linux/device.h [] @@ -629,6 +629,8 @@

Re: [PATCH v2] tuntap: add flow control to support back pressure

2014-04-13 Thread David Miller
Please do not post new versions of a patch as a reply to an existing discussion. Instead, post a fresh new email for the patch. -- 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

[PATCH] kernel/panic: Add late_kdump option for kdump in unstable condition

2014-04-13 Thread Masami Hiramatsu
Add a late_kdump option to run kdump after running panic notifiers and dump kmsg. This can help rare situations which kdump drops in failure because of unstable crashed kernel or hardware failure (memory corruption on critical data/code), or the 2nd kernel is broken by the 1st kernel (it's a

Re: [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-13 Thread Chanwoo Choi
Dear Olof and Tomasz, On 04/11/2014 05:39 PM, Tomasz Figa wrote: On 11.04.2014 08:32, Chanwoo Choi wrote: Hi, On 04/11/2014 10:46 AM, Olof Johansson wrote: On Thu, Apr 10, 2014 at 06:37:12PM +0900, Chanwoo Choi wrote: This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC)

Re: Re: [RFC PATCH 4/6] uprobes/x86: Emulate rip-relative call's

2014-04-13 Thread Masami Hiramatsu
(2014/04/11 2:02), Denys Vlasenko wrote: The (f64) modifier in x86-opcode-map.txt means that inat_is_force64() is true for call opcode. So we won't reach case 2: in __get_immv32(): insn_get_prefixes() did set insn-opnd_bytes to 2 when it saw 0x66 prefix, but it was before we reach this place,

Re: [PATCH] kernel/panic: Add late_kdump option for kdump in unstable condition

2014-04-13 Thread Eric W. Biederman
Masami Hiramatsu masami.hiramatsu...@hitachi.com writes: Add a late_kdump option to run kdump after running panic notifiers and dump kmsg. This can help rare situations which kdump drops in failure because of unstable crashed kernel or hardware failure (memory corruption on critical

[PATCH] thermal: samsung: Only update available threshold limits

2014-04-13 Thread Tushar Behera
Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. While updating the software trigger levels, it overwrites the threshold limit for hardware trip point thereby forcing the Exynos core to issue an emergency shutdown.

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-13 Thread Michael S. Tsirkin
On Sun, Apr 13, 2014 at 09:28:51PM -0400, Steven Galgano wrote: On 04/13/2014 10:14 AM, Michael S. Tsirkin wrote: Steven, Brian, thanks for reporting this issue. Please see my comments below. On Fri, Apr 11, 2014 at 12:41:42PM -0400, Brian Adamson wrote: To weigh in on the

[PATCH] percpu: make pcpu_alloc_chunk() use pcpu_mem_free() instead of kfree()

2014-04-13 Thread Jianyu Zhan
pcpu_chunk_struct_size = sizeof(struct pcpu_chunk) + BITS_TO_LONGS(pcpu_unit_pages) * sizeof(unsigned long) It hardly could be ever bigger than PAGE_SIZE even for large-scale machine, but for consistency with its couterpart pcpu_mem_zalloc(), use pcpu_mem_free() instead. Commit

<    1   2   3   4   5