[git pull] device-mapper fix for 3.11

2013-08-20 Thread Mike Snitzer
Hi Linus, The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm tags/dm-3.11-fixes for you to fetch changes up to

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-20 Thread Sebastian Hesselbarth
On 08/20/2013 09:52 PM, Stephen Warren wrote: On 08/20/2013 01:47 PM, Sebastian Hesselbarth wrote: On 08/20/2013 05:46 PM, Stephen Warren wrote: Some SoCs call this function in .init_irq() rather than .init_time(). Perhaps we adjust this patch to do that instead. That way, we can presumably

Re: Linux 3.0.92

2013-08-20 Thread Guenter Roeck
On Tue, Aug 20, 2013 at 01:08:28PM -0700, Linus Torvalds wrote: On Tue, Aug 20, 2013 at 1:00 PM, Guenter Roeck li...@roeck-us.net wrote: Does this patch have to be reverted in 3.10 as well ? Linus' e-mail seems to suggest it, but Shuah didn't see the problem there. I ran a quick test with

Re: [PATCH 2/2] drm/i915: add fast boot support for Haswell

2013-08-20 Thread Paulo Zanoni
Hi 2013/8/19 Furquan Shaikh furq...@google.com: Enables getting correct mode clock when reading pipe config This patch has been tested successfully on top of drm-intel-nightly tree Signed-off-by: Furquan Shaikh furq...@google.com --- drivers/gpu/drm/i915/i915_reg.h | 6

[PATCH 0/9] target: Add support for COMPARE_AND_WRITE (VAAI) emulation

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com Hi folks, This series adds support to target-core for generic COMPARE_AND_WRITE emulation as defined by SBC-3 using virtual (IBLOCK, FILEIO, RAMDISK) backends. COMPARE_AND_WRITE is a VMWare ESX VAAI primitive that is currently used by VMFS to perform

[PATCH 2/9] target: Add return for se_cmd-transport_complete_callback

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This patch adds a sense_reason_t return to -transport_complete_callback(), and updates target_complete_ok_work() to invoke the call if necessary to transport_send_check_condition_and_sense() during the failure case. Also update xdreadwrite_callback()

[PATCH 1/9] scsi: Add CDB definition for COMPARE_AND_WRITE

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com Cc: Christoph Hellwig h...@lst.de Cc: Hannes Reinecke h...@suse.de Cc: Martin Petersen martin.peter...@oracle.com Cc: Chris Mason chris.ma...@fusionio.com Cc: James Bottomley jbottom...@parallels.com Cc: Nicholas Bellinger n...@linux-iscsi.org

[PATCH 6/9] target: Allow sbc_ops-execute_rw() to accept SGLs + data_direction

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE to obtain the necessary READ payload for comparision against the first half of the WRITE payload containing the verify user data. Currently virtual backends expect to internally

[PATCH 7/9] target: Add transport_reset_sgl_orig() for COMPARE_AND_WRITE

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com After COMPARE_AND_WRITE completes it's comparision, the WRITE payload SGLs head expect to be updated to point from the verify instance of user data, to the write instance of user data. So for this special case, add transport_reset_sgl_orig() usage

[PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com Add a special case for COMPARE_AND_WRITE for the reverse data direction mapping used for pci_map_sg() + friends. Cc: Christoph Hellwig h...@lst.de Cc: Giridhar Malavali giridhar.malav...@qlogic.com Cc: Chad Dupuis chad.dup...@qlogic.com Cc: Hannes

Re: PATCH? fix unshare(NEWPID) vfork()

2013-08-20 Thread Eric W. Biederman
Andy Lutomirski l...@amacapital.net writes: On Tue, Aug 20, 2013 at 11:50 AM, Oleg Nesterov o...@redhat.com wrote: On 08/20, Andy Lutomirski wrote: On Mon, Aug 19, 2013 at 11:43 AM, Oleg Nesterov o...@redhat.com wrote: On 08/19, Andy Lutomirski wrote: On Mon, Aug 19, 2013 at 11:33 AM,

Re: [PATCH 1/2] pinctrl: utils : add support to pass config type in generic util APIs

2013-08-20 Thread Stephen Warren
On 08/20/2013 06:12 AM, Laxman Dewangan wrote: Add support to pass the config type like GROUP or PIN when using the utils or generic pin configuration APIs. This will make the APIs more generic. I think passing in the type parameter to the *_to_map APIs makes sense, but I don't think you need

[PATCH 8/9] target: Add support for COMPARE_AND_WRITE emulation

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This patch adds support for COMPARE_AND_WRITE emulation on a per block basis. This logic is used as an atomic test and set primative currently used by VMWare ESX VAAI for performing array side locking of individual VMFS extent ownership. This includes

[PATCH 5/9] target: Skip -queue_data_in() callbacks for COMPARE_AND_WRITE

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com COMPARE_AND_WRITE uses cmd-t_bidi_data_sg for it's READ payload and cmd-data_direction == DMA_TO_DEVICE, but the payload is only used for internal comparision, and never actually sent over the wire. So, check for this special case in to avoid

[PATCH 4/9] target: Add TCM_MISCOMPARE_VERIFY sense handling

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This patch adds TCM_MISCOMPARE_VERIFY (ASC=0x1d, ASCQ=0x00) sense handling to transport_send_check_condition_and_sense(), which is required for a COMPARE_AND_WRITE comparision failure. Cc: Christoph Hellwig h...@lst.de Cc: Hannes Reinecke h...@suse.de

[PATCH 3/9] target: Add memory allocation for bidirectional commands

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This adds transport_generic_get_mem_bidi() to perform scatterlist allocation for bidirectional commands. Also, update transport_generic_new_cmd() to call this new function when SCF_PASSTHROUGH_SG_TO_MEM_NOALLOC has not been set. Cc: Christoph Hellwig

Re: [PATCH] via-ircc: don't return zero if via_ircc_open() failed

2013-08-20 Thread David Miller
From: Alexey Khoroshilov khoroshi...@ispras.ru Date: Fri, 16 Aug 2013 23:48:14 +0300 If via_ircc_open() fails, data structures of the driver left uninitialized, but probe (via_init_one()) returns zero. That can lead to null pointer dereference in via_remove_one(), since it does not check

Re: [PATCH 2/2] pinctrl: tegra: use pinctrl-utils APIs for mapping

2013-08-20 Thread Stephen Warren
On 08/20/2013 06:12 AM, Laxman Dewangan wrote: Pin control utility functions provides the function for creating map lists. In place of implementing APIs locally in Tegra pin control driver for creating map lists, use the utility functions. This reduces the code size and avoid duplication.

Re: [PATCH v2 1/4] clk: add common __clk_get(), __clk_put() implementations

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 07:34:20PM +0200, Sylwester Nawrocki wrote: +int __clk_get(struct clk *clk) +{ + if (WARN_ON((!clk))) + return 0; This changes the behaviour of clk_get() + + if (!try_module_get(clk-owner)) + return 0; If you want this to be safe

Greeting!!!

2013-08-20 Thread Ahmed Hassan
Greeting!!! I am Mr Ahmed Hassan, I have a business transaction of ($11.3 million) By indicating your interest I will send you the full details on how the business will be executed. Please respond urgently for more details and delete if you are not interested. Best Regards Mr Ahmed Hassan

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-20 Thread Arnd Bergmann
On Tuesday 20 August 2013, Stephen Warren wrote: On 08/19/2013 08:04 PM, Sebastian Hesselbarth wrote: Most DT ARM machs require common clock providers initialized before timers. Currently, arch/arm machs use .init_time to call clk_of_init right before clocksource_of_init. This prevents to

Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread Francois Romieu
liujunliang_ljl liujunliang_...@163.com : [...] We want to merge SR9700 device driver into the Linux Kernel. The following is the Linux 3.10.7 version patch for SR9700, Please give us the assessment and support. Welcome. Go ahead. [...] diff --git a/drivers/net/usb/sr9700.c

Re: linux-next: build failure after merge of the final tree

2013-08-20 Thread Arnd Bergmann
On Tuesday 20 August 2013, Dwight Engen wrote: diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index f390042..90fb308 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c @@ -620,12 +620,12

Re: [PATCH] usb: xhci: Use non-interruptible sleep for XHCI commands

2013-08-20 Thread Julius Werner
Hi Sarah, I know you are probably swamped with patches, but this (https://patchwork.kernel.org/patch/2612831/) has been hanging a few months and I just wanted to double-check if it slipped through somewhere. I still think this is necessary (regardless of any command queue reengineering in the

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Darren Hart
On Tue, 2013-08-20 at 20:26 +0100, Matthew Garrett wrote: This conversation seems to have pretty much entirely ended up happening on ksummit-discuss, which doesn't seem that useful. So let's have another go with a wider audience (and where I don't have to sign up for yet another mailing

[PATCH-v2 1/2] iscsi/iser-target: Convert to command priv_size usage

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This command converts iscsi/isert-target to use allocations based on iscsit_transport-priv_size within iscsit_allocate_cmd(), instead of using an embedded isert_cmd-iscsi_cmd. This includes removing iscsit_transport-alloc_cmd() usage, along with

[PATCH-v2 0/2] iscsi/iser-target: Add per-cpu ida tag pre-allocation for v3.12

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Hi folks, This updated series adds tag pre-allocation support for iscsi_cmd and isert_cmd descriptor memory within iscsi/iser-target fabric code, utilizing Kent's latest per-cpu ida bits posted earlier here: [PATCH-v3 1/4] idr: Percpu ida

Re: PATCH? fix unshare(NEWPID) vfork()

2013-08-20 Thread Eric W. Biederman
Oleg Nesterov o...@redhat.com writes: On 08/20, Eric W. Biederman wrote: Oleg Nesterov o...@redhat.com writes: On 08/19, Andy Lutomirski wrote: On Mon, Aug 19, 2013 at 11:33 AM, Oleg Nesterov o...@redhat.com wrote: So do you think this change is fine or not (ignoring the fact it

Re: Unusually high system CPU usage with recent kernels

2013-08-20 Thread Tibor Billes
From: Paul E. McKenney Sent: 08/20/13 04:53 PM On Tue, Aug 20, 2013 at 08:01:28AM +0200, Tibor Billes wrote: Hi, I was using the 3.9.7 stable release and tried to upgrade to the 3.10.x series. The 3.10.x series was showing unusually high (75%) system CPU usage in some situations,

[PATCH-v2 2/2] iscsi-target: Convert to per-cpu ida_alloc + ida_free command map

2013-08-20 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@daterainc.com This patch changes iscsi-target to use transport_alloc_session_tags() pre-allocation logic for per-cpu session tag pooling with internal ida_alloc() + ida_free() calls based upon the saved se_cmd-map_tag id. This includes tag pool setup based upon per

[PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.

2013-08-20 Thread dl9pf
From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org Merge: Jan-Simon Möller dl9pf at gmx.de Description: Clang chokes on the notation

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-20 Thread Stephen Warren
On 08/20/2013 02:44 PM, Arnd Bergmann wrote: On Tuesday 20 August 2013, Stephen Warren wrote: On 08/19/2013 08:04 PM, Sebastian Hesselbarth wrote: Most DT ARM machs require common clock providers initialized before timers. Currently, arch/arm machs use .init_time to call clk_of_init right

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Matthew Garrett
On Tue, Aug 20, 2013 at 01:51:03PM -0700, Darren Hart wrote: It seems to me that the only way to end up in a situation where the data is reused by other OSes, is to go through a standards body. What about attempting to standardize the _DSM method? I suppose the challenge then is how do we

Re: [PATCH-SR9700] Merge USB 1.1 Ethernet Adapter SR9700 Device Driver into the Linux Kernel

2013-08-20 Thread Joe Perches
On Tue, 2013-08-20 at 22:46 +0200, Francois Romieu wrote: liujunliang_ljl liujunliang_...@163.com : + if (i = SR_SHARE_TIMEOUT) { + netdev_err(dev-net, %s read timed out!, phy ? phy : eeprom); netdev_level, like almost all other printk messages needs a terminating \n newline

Re: [Ksummit-2013-discuss] [ATTEND] oops.kernel.org prospect

2013-08-20 Thread Ben Hutchings
On Tue, Aug 20, 2013 at 08:20:04AM -0700, Dave Hansen wrote: [...] This is a much more minor nit, but the source code links (like clicking on bad_page from here: https://oops.kernel.org/browse-reports/oops-detail/?id=30565#) from the traces for the distribution kernels link over to mainline

Re: [patch 4/9] mm + fs: prepare for non-page entries in page cache radix trees

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:18 -0400 Johannes Weiner han...@cmpxchg.org wrote: shmem mappings already contain exceptional entries where swap slot information is remembered. To be able to store eviction information for regular page cache, prepare every site dealing with the radix trees

Re: [patch 5/9] mm + fs: store shadow entries in page cache

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:19 -0400 Johannes Weiner han...@cmpxchg.org wrote: Reclaim will be leaving shadow entries in the page cache radix tree upon evicting the real page. As those pages are found from the LRU, an iput() can lead to the inode being freed concurrently. At this point,

Re: [patch 1/9] lib: radix-tree: radix_tree_delete_item()

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:15 -0400 Johannes Weiner han...@cmpxchg.org wrote: Provide a function that does not just delete an entry at a given index, but also allows passing in an expected item. Delete only if that item is still located at the specified index. This is handy when lockless

Re: [patch 9/9] mm: workingset: keep shadow entries in check

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:23 -0400 Johannes Weiner han...@cmpxchg.org wrote: Previously, page cache radix tree nodes were freed after reclaim emptied out their page pointers. But now reclaim stores shadow entries in their place, which are only reclaimed when the inodes themselves are

Re: [PATCH v10 04/12] watchdog: add Palmas Watchdog support

2013-08-20 Thread Wim Van Sebroeck
Hi Ian, +static int palmas_wdt_set_timeout(struct watchdog_device *wdt, unsigned timeout) +{ + struct palmas_wdt *driver_data = watchdog_get_drvdata(wdt); + + if (timeout 1 || timeout 128) { + dev_warn(driver_data-dev, + Timeout can only be in

Re: [patch 8/9] mm: thrash detection-based file cache sizing

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:22 -0400 Johannes Weiner han...@cmpxchg.org wrote: The VM maintains cached filesystem pages on two types of lists. One list holds the pages recently faulted into the cache, the other list holds pages that have been referenced repeatedly on that first list. The idea

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 08:26:50 PM Matthew Garrett wrote: This conversation seems to have pretty much entirely ended up happening on ksummit-discuss, which doesn't seem that useful. So let's have another go with a wider audience (and where I don't have to sign up for yet another

Re: [PATCH 10/13] x86: Move cond resched for copy_{from,to}_user into low level code 64bit

2013-08-20 Thread KOSAKI Motohiro
Hmm. I can do that, but wouldn't that make CONFIG_PREEMPT_VOLUNTARY mostly equivalent to CONFIG_PREEMPT_NONE? According the the Kconfig help, PREEMPT_VOLUNTARY is about the *explicit* preemption points. And we do have a lot of them in might_sleep(). And personally, I think it makes a *lot*

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Rafael J. Wysocki
On Tuesday, August 20, 2013 09:57:13 PM Matthew Garrett wrote: On Tue, Aug 20, 2013 at 01:51:03PM -0700, Darren Hart wrote: It seems to me that the only way to end up in a situation where the data is reused by other OSes, is to go through a standards body. What about attempting to

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Darren Hart
On Tue, 2013-08-20 at 21:57 +0100, Matthew Garrett wrote: On Tue, Aug 20, 2013 at 01:51:03PM -0700, Darren Hart wrote: It seems to me that the only way to end up in a situation where the data is reused by other OSes, is to go through a standards body. What about attempting to standardize

Re: [patch 9/9] mm: thrash detection-based file cache sizing v4

2013-08-20 Thread Andrew Morton
On Sat, 17 Aug 2013 15:31:14 -0400 Johannes Weiner han...@cmpxchg.org wrote: This series solves the problem by maintaining a history of pages evicted from the inactive list, enabling the VM to tell streaming IO from thrashing and rebalance the page cache lists when appropriate. I can't say

[PATCH] [TRIVIAL] Remove braces in arch/x86/kernel/cpu/vmware.c to fix build for clang. No functional change otherwise.

2013-08-20 Thread dl9pf
From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org Merge: Jan-Simon Möller dl9pf at gmx.de Description: Clang chokes on the notation

Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

2013-08-20 Thread Nicholas A. Bellinger
On Thu, 2013-08-08 at 14:32 +, Christoph Lameter wrote: On Wed, 7 Aug 2013, Kent Overstreet wrote: One thing that was bugging me - I was never able to figure out for sure if smp_processor_id() returns a number in the range [0, nr_cpu_ids), at least I couldn't find where it was

Re: [PATCH -mm] docs: Document soft dirty behaviour for freshly created memory regions

2013-08-20 Thread Rob Landley
On 08/20/2013 10:31:32 AM, Cyrill Gorcunov wrote: Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org Cc: Pavel Emelyanov xe...@parallels.com Cc: Andy Lutomirski l...@amacapital.net Cc: Andrew Morton a...@linux-foundation.org Cc: Matt Mackall m...@selenic.com Cc: Xiao Guangrong

Re: [PATCH 1/3] ARM: imx6q: refactor some ldb related clocks

2013-08-20 Thread Mike Turquette
Quoting Fabio Estevam (2013-08-20 08:40:52) On Tue, Aug 20, 2013 at 5:38 AM, Liu Ying ying@freescale.com wrote: diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index 5a90a72..90e923e 100644 ---

Re: [PATCH] vfio-pci: Use fdget() rather than eventfd_fget()

2013-08-20 Thread Al Viro
On Tue, Aug 20, 2013 at 01:18:07PM -0600, Alex Williamson wrote: eventfd_fget() tests to see whether the file is an eventfd file, which we then immediately pass to eventfd_ctx_fileget(), which again tests whether the file is an eventfd file. Simplify slightly by using fdget() so that we only

[PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fix build for clang. No functional change otherwise.

2013-08-20 Thread dl9pf
From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org Merge: Jan-Simon Möller dl9pf at gmx.de Description: Clang chokes on the notation

Re: [PATCH v3 trivial 0/7] Miscellaneous Trivialities

2013-08-20 Thread Rob Landley
On 08/20/2013 11:02:42 AM, Michael Witten wrote: I've been sitting on some trivial patches for a while, and I'd just like to get them out of the way. Here is the series: [1] Docs: Kconfig: For readability, offset modifiers with commas [2] Docs: Kconfig: Use consistent whitespace

Re: [dm-devel] [PATCH] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Mikulas Patocka
On Fri, 16 Aug 2013, Frank Mayhar wrote: The device mapper and some of its modules allocate memory pools at various points when setting up a device. In some cases, these pools are fairly large, for example the multipath module allocates a 256-entry pool and the dm itself allocates three of

[RFC][PATCH] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-08-20 Thread Seiji Aguchi
Currently, when mounting pstore file system, a read callback of efi_pstore driver runs mutiple times as below. - In the first read callback, scan efivar_sysfs_list from head and pass a kmsg buffer of a entry to an upper pstore layer. - In the second read callback, rescan efivar_sysfs_list from

Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.

2013-08-20 Thread Greg Kroah-Hartman
On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl...@gmx.de wrote: From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html URL: http://llvm.linuxfoundation.org Merge:

Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.

2013-08-20 Thread Jan-Simon Möller
On Tuesday 20 August 2013 14:24:33 Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl...@gmx.de wrote: From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/1427

Re: [dm-devel] [PATCH] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Frank Mayhar
On Tue, 2013-08-20 at 17:22 -0400, Mikulas Patocka wrote: On Fri, 16 Aug 2013, Frank Mayhar wrote: The device mapper and some of its modules allocate memory pools at various points when setting up a device. In some cases, these pools are fairly large, for example the multipath module

Re: [PATCH] idr: Use this_cpu_ptr() for percpu_ida

2013-08-20 Thread Andrew Morton
On Tue, 20 Aug 2013 14:19:06 -0700 Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Thu, 2013-08-08 at 14:32 +, Christoph Lameter wrote: On Wed, 7 Aug 2013, Kent Overstreet wrote: One thing that was bugging me - I was never able to figure out for sure if smp_processor_id()

Re: [PATCH-v3 1/4] idr: Percpu ida

2013-08-20 Thread Andrew Morton
On Fri, 16 Aug 2013 23:09:06 + Nicholas A. Bellinger n...@linux-iscsi.org wrote: From: Kent Overstreet k...@daterainc.com Percpu frontend for allocating ids. With percpu allocation (that works), it's impossible to guarantee it will always be possible to allocate all nr_tags -

[PATCH 06/12] audit: Simplify and correct audit_log_capset

2013-08-20 Thread Richard Guy Briggs
From: Eric W. Biederman ebied...@xmission.com - Always report the current process as capset now always only works on the current process. This prevents reporting 0 or a random pid in a random pid namespace. - Don't bother to pass the pid as is available. Signed-off-by: Eric W. Biederman

[PATCH 03/12] pid: get ppid pid_t of task in init_pid_ns safely

2013-08-20 Thread Richard Guy Briggs
Added the functions task_ppid() task_ppid_nr_ns() task_ppid_nr_init_ns() to safely abstract the lookup of the PPID (real_parent's tgid) of a process, including rcu locking, in any required pid namespace. This provides an alternative to sys_getppid(), which is relative to

[PATCH 09/12] pid: modify task_pid_nr to work without task-pid.

2013-08-20 Thread Richard Guy Briggs
task-pid is an error prone construct and results in duplicate maintenance. Start it's demise by modifying task_pid_nr to not use it. (informed by ebiederman's 3a2e8c59) Cc: Eric W. Biederman ebied...@xmission.com Signed-off-by: Richard Guy Briggs r...@redhat.com --- include/linux/sched.h |2

[PATCH 11/12] pid: rewrite task helper functions avoiding task-pid and task-tgid

2013-08-20 Thread Richard Guy Briggs
This stops these four task helper functions from using the deprecated and error-prone task-pid and task-tgid. (informed by ebiederman's ea5a4d01) Cc: Eric W. Biederman ebied...@xmission.com Signed-off-by: Richard Guy Briggs r...@redhat.com --- include/linux/sched.h |8 1 files

[PATCH 12/12] pid: mark struct task const in helper functions

2013-08-20 Thread Richard Guy Briggs
It doesn't make any sense to recallers to pass in a non-const struct task so update the function signatures to only require a const struct task. (informed by ebiederman's c76b2526) Cc: Eric W. Biederman ebied...@xmission.com Signed-off-by: Richard Guy Briggs r...@redhat.com ---

[PATCH 10/12] pid: modify task_tgid_nr to work without task-tgid.

2013-08-20 Thread Richard Guy Briggs
task-tgid is an error prone construct and results in duplicate maintenance. Start it's demise by modifying task_tgid_nr to not use it. Cc: Eric W. Biederman ebied...@xmission.com Signed-off-by: Richard Guy Briggs r...@redhat.com --- include/linux/sched.h |2 +- 1 files changed, 1

[PATCH 08/12] audit: anchor all pid references in the initial pid namespace

2013-08-20 Thread Richard Guy Briggs
Store and log all PIDs with reference to the initial PID namespace and deprecate the use of the error-prone duplicity of task-pid and task-tgid. Still only permit the audit logging daemon and control to operate from the initial PID namespace, but allow processes to log from another PID namespace.

[PATCH 07/12] audit: store audit_pid as a struct pid pointer

2013-08-20 Thread Richard Guy Briggs
- PID will be reported in the relevant querying PID namespace. - Refuse to change the current audit_pid if the new value does not point to an existing process. - Refuse to set the current audit_pid if the new value is not its own PID (unless it is being unset). - Convert audit_pid into the

[PATCH 02/12] audit: fix netlink portid naming and types

2013-08-20 Thread Richard Guy Briggs
Normally, netlink ports use the PID of the userspace process as the port ID. If the PID is already in use by a port, the kernel will allocate another port ID to avoid conflict. Re-name all references to netlink ports from pid to portid to reflect this reality and avoid confusion with actual PIDs.

[PATCH 05/12] pid: get pid_t of task in init_pid_ns correctly

2013-08-20 Thread Richard Guy Briggs
Added the functions task_pid_nr_init_ns() task_tgid_nr_init_ns() to avoid the use of the error-prone duplicity of task-pid and task-tgid, avoid changing the existing usage of task_pid_nr() and task_tgid_nr() while it gets converted away from task-pid and task-tgid, and provide a

[PATCH 04/12] audit: convert PPIDs to the inital PID namespace.

2013-08-20 Thread Richard Guy Briggs
sys_getppid() returns the parent pid of the current process in its own pid namespace. Since audit filters are based in the init pid namespace, a process could avoid a filter or trigger an unintended one by being in an alternate pid namespace or log meaningless information. Switch to

[PATCH 01/12] audit: Kill the unused struct audit_aux_data_capset

2013-08-20 Thread Richard Guy Briggs
From: Eric W. Biederman ebied...@xmission.com Signed-off-by: Eric W. Biederman ebied...@xmission.com (cherry picked from commit 6904431d6b41190e42d6b94430b67cb4e7e6a4b7) Signed-off-by: Richard Guy Briggs r...@redhat.com --- kernel/auditsc.c |6 -- 1 files changed, 0 insertions(+), 6

[PATCH 00/12] RFC: steps to make audit pid namespace-safe

2013-08-20 Thread Richard Guy Briggs
This patchset is a revival of some of Eric Biederman's work to make audit pid-namespace-safe. In a couple of places, audit was printing PIDs in the task's pid namespace rather than relative to the audit daemon's pid namespace, which currently is init_pid_ns. It also allows processes to log audit

Re: ACPI vs Device Tree - moving forward

2013-08-20 Thread Guenter Roeck
On Tue, Aug 20, 2013 at 09:57:13PM +0100, Matthew Garrett wrote: On Tue, Aug 20, 2013 at 01:51:03PM -0700, Darren Hart wrote: It seems to me that the only way to end up in a situation where the data is reused by other OSes, is to go through a standards body. What about attempting to

Re: Why are BSD-licensed LZ4 symbols GPL exported?

2013-08-20 Thread Rob Landley
On 08/20/2013 12:38:14 PM, Joe Perches wrote: On Tue, 2013-08-20 at 18:11 +0100, Matthew Garrett wrote: On Thu, Aug 15, 2013 at 10:19:56PM -0400, Richard Yao wrote: Why are the LZ4 symbols being GPL-exported when the LZ4 code is BSD-licensed and no substantial changes appear to have been

Re: [PATCH 0/9] target: Add support for COMPARE_AND_WRITE (VAAI) emulation

2013-08-20 Thread Christoph Hellwig
On Tue, Aug 20, 2013 at 08:07:51PM +, Nicholas A. Bellinger wrote: It's also currently lacking the necessary sychronization between I/O submission of COMPARE_AND_WRITE verify instance and write instance user data, which is still being worked on in order to avoid additional overhead in

Re: [Ksummit-2013-discuss] [ATTEND] oops.kernel.org prospect

2013-08-20 Thread Anton Arapov
On Tue, Aug 20, 2013 at 09:58:12PM +0100, Ben Hutchings wrote: On Tue, Aug 20, 2013 at 08:20:04AM -0700, Dave Hansen wrote: [...] This is a much more minor nit, but the source code links (like clicking on bad_page from here: https://oops.kernel.org/browse-reports/oops-detail/?id=30565#)

Re: [dm-devel] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Mikulas Patocka
On Mon, 19 Aug 2013, Mike Snitzer wrote: On Fri, Aug 16 2013 at 6:55pm -0400, Frank Mayhar fmay...@google.com wrote: The device mapper and some of its modules allocate memory pools at various points when setting up a device. In some cases, these pools are fairly large, for example

Re: Unusually high system CPU usage with recent kernels

2013-08-20 Thread Paul E. McKenney
On Tue, Aug 20, 2013 at 10:52:26PM +0200, Tibor Billes wrote: From: Paul E. McKenney Sent: 08/20/13 04:53 PM On Tue, Aug 20, 2013 at 08:01:28AM +0200, Tibor Billes wrote: Hi, I was using the 3.9.7 stable release and tried to upgrade to the 3.10.x series. The 3.10.x series was

Re: [PATCH -mm] docs: Document soft dirty behaviour for freshly created memory regions

2013-08-20 Thread Cyrill Gorcunov
On Tue, Aug 20, 2013 at 04:15:53PM -0500, Rob Landley wrote: On 08/20/2013 10:31:32 AM, Cyrill Gorcunov wrote: Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org Cc: Pavel Emelyanov xe...@parallels.com Cc: Andy Lutomirski l...@amacapital.net Cc: Andrew Morton a...@linux-foundation.org Cc:

Re: [PATCH] [TRIVIAL] Remove braces to fix build for clang. No functional change otherwise.

2013-08-20 Thread Greg Kroah-Hartman
On Tue, Aug 20, 2013 at 11:26:01PM +0200, Jan-Simon Möller wrote: On Tuesday 20 August 2013 14:24:33 Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 10:52:06PM +0200, dl...@gmx.de wrote: From: Jan-Simon Möller dl...@gmx.de Author: PaX Team pageexec at freemail.hu ML-Post:

Re: [dm-devel] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Mikulas Patocka
On Mon, 19 Aug 2013, Frank Mayhar wrote: On Mon, 2013-08-19 at 10:00 -0400, Mike Snitzer wrote: Performance isn't the concern. The concern is: does DM allow for forward progress if the system's memory is completely exhausted? This is why request-based has such an extensive reserve,

Re: [PATCH 0/9] target: Add support for COMPARE_AND_WRITE (VAAI) emulation

2013-08-20 Thread Nicholas A. Bellinger
On Tue, 2013-08-20 at 23:29 +0200, Christoph Hellwig wrote: On Tue, Aug 20, 2013 at 08:07:51PM +, Nicholas A. Bellinger wrote: It's also currently lacking the necessary sychronization between I/O submission of COMPARE_AND_WRITE verify instance and write instance user data, which is

Re: Why are BSD-licensed LZ4 symbols GPL exported?

2013-08-20 Thread Joe Perches
On Tue, 2013-08-20 at 16:37 -0500, Rob Landley wrote: On 08/20/2013 12:38:14 PM, Joe Perches wrote: On Tue, 2013-08-20 at 18:11 +0100, Matthew Garrett wrote: On Thu, Aug 15, 2013 at 10:19:56PM -0400, Richard Yao wrote: Why are the LZ4 symbols being GPL-exported when the LZ4 code is

Re: [dm-devel] [PATCH] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Mikulas Patocka
On Tue, 20 Aug 2013, Frank Mayhar wrote: On Tue, 2013-08-20 at 17:22 -0400, Mikulas Patocka wrote: On Fri, 16 Aug 2013, Frank Mayhar wrote: The device mapper and some of its modules allocate memory pools at various points when setting up a device. In some cases, these pools are

Re: [PATCH v4 03/19] powerpc: refactor of_get_cpu_node to support other architectures

2013-08-20 Thread Benjamin Herrenschmidt
On Tue, 2013-08-20 at 13:22 +0100, Sudeep KarkadaNagesha wrote: Correct, he has reviewed but I am waiting for his ACK before I could sent you pull request. Hopefully I should be able to send pull request tomorrow with his ACK. Hi Ben, If this is patch is fine, can I have your ACK ? I

Re: [PATCH v3 3/5] mm: Notify filesystems when it's time to apply a deferred cmtime update

2013-08-20 Thread Dave Chinner
On Tue, Aug 20, 2013 at 09:42:34AM -0700, Andy Lutomirski wrote: On Tue, Aug 20, 2013 at 9:00 AM, Jan Kara j...@suse.cz wrote: On Mon 19-08-13 21:14:44, Andy Lutomirski wrote: I could require -writepages *and* -flush_cmtime to handle the time update, but that would complicate

Re: rfc: trivial patches and slow deaths?

2013-08-20 Thread Rob Landley
On 08/20/2013 03:14:10 PM, Joe Perches wrote: On Tue, 2013-08-20 at 15:02 -0500, Rob Landley wrote: On 08/19/2013 04:27:17 PM, Joe Perches wrote: On Mon, 2013-08-19 at 23:22 +0200, Jiri Kosina wrote: On Mon, 19 Aug 2013, Joe Perches wrote: This is a 7 line patch that corrects

Re: [dm-devel] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Frank Mayhar
On Tue, 2013-08-20 at 17:44 -0400, Mikulas Patocka wrote: On Mon, 19 Aug 2013, Frank Mayhar wrote: On Mon, 2013-08-19 at 10:00 -0400, Mike Snitzer wrote: Performance isn't the concern. The concern is: does DM allow for forward progress if the system's memory is completely exhausted?

Re: [PATCH v2 4/4] clkdev: Fix race condition in clock lookup from device tree

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 07:34:23PM +0200, Sylwester Nawrocki wrote: There is currently a race condition in the device tree part of clk_get() function, since the pointer returned from of_clk_get_by_name() may become invalid before __clk_get() call. I.e. due to the clock provider driver remove()

Re: [PATCH v3 3/5] mm: Notify filesystems when it's time to apply a deferred cmtime update

2013-08-20 Thread Andy Lutomirski
On Tue, Aug 20, 2013 at 2:48 PM, Dave Chinner da...@fromorbit.com wrote: On Tue, Aug 20, 2013 at 09:42:34AM -0700, Andy Lutomirski wrote: On Tue, Aug 20, 2013 at 9:00 AM, Jan Kara j...@suse.cz wrote: On Mon 19-08-13 21:14:44, Andy Lutomirski wrote: I could require -writepages *and*

Re: Networking problem with 3.11-rc6+

2013-08-20 Thread Francois Romieu
Chris Clayton chris2...@gmail.com : [...] [0.207094] acpi PNP0A08:00: ACPI _OSC support notification failed, disabling PCIe ASPM [0.207155] acpi PNP0A08:00: Unable to request _OSC control (_OSC support mask: 0x08) [...] [5.311191] r8169 :07:00.0: can't disable ASPM; OS

Re: [PATCH v2 3/4] clk: Provide not locked variant of of_clk_get_from_provider()

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 07:34:22PM +0200, Sylwester Nawrocki wrote: Add helper functions for the of_clk_providers list locking and an unlocked variant of of_clk_get_from_provider(). These functions are intended to be used in the clkdev to avoid race condition in the device tree based clock

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-20 Thread Frederic Weisbecker
On Tue, Aug 20, 2013 at 03:21:11PM +0900, Fernando Luis Vázquez Cao wrote: (2013年08月17日 01:46), Frederic Weisbecker wrote: On Fri, Aug 16, 2013 at 06:26:54PM +0200, Oleg Nesterov wrote: On 08/16, Frederic Weisbecker wrote: On Fri, Aug 16, 2013 at 06:02:01PM +0200, Oleg Nesterov wrote: +

Re: [dm-devel] [PATCH] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-20 Thread Frank Mayhar
On Tue, 2013-08-20 at 17:47 -0400, Mikulas Patocka wrote: On Tue, 20 Aug 2013, Frank Mayhar wrote: On Tue, 2013-08-20 at 17:22 -0400, Mikulas Patocka wrote: On Fri, 16 Aug 2013, Frank Mayhar wrote: The device mapper and some of its modules allocate memory pools at various points

Re: [PATCH 0/9] target: Add support for COMPARE_AND_WRITE (VAAI) emulation

2013-08-20 Thread Douglas Gilbert
On 13-08-20 05:53 PM, Nicholas A. Bellinger wrote: On Tue, 2013-08-20 at 23:29 +0200, Christoph Hellwig wrote: On Tue, Aug 20, 2013 at 08:07:51PM +, Nicholas A. Bellinger wrote: It's also currently lacking the necessary sychronization between I/O submission of COMPARE_AND_WRITE verify

Re: [PATCH] ACPI / PM: Hold acpi_scan_lock over system PM transitions

2013-08-20 Thread Toshi Kani
On Tue, 2013-08-20 at 01:47 +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Bad things happen if ACPI hotplug events are handled during system PM transitions, especially if devices are removed as a result. To prevent those bad things from happening, acquire

Re: Why are BSD-licensed LZ4 symbols GPL exported?

2013-08-20 Thread Joe Perches
On Tue, 2013-08-20 at 14:46 -0700, Joe Perches wrote: Because your Sorry, not your's but Matthew's. I do think the MODULE_LICENSE should be Dual BSD/GPL instead of merely GPL if for no other reason than politeness to the original developer and the license at the top of the files. * LZ4 - Fast

Re: [PATCH] pch_gbe: ethtool cannot change parameters when link is down

2013-08-20 Thread David Miller
From: Anders Larsen a...@alarsen.net Date: Sun, 18 Aug 2013 11:54:40 +0200 When attempting to change e.g. the advertising mask when the link is down ecmd-speed is -1 causing mii_ethtool_sset() to bail out. This bug bit when connecting to a gigabit switch through a 4-pin (industrial) cable,

Re: rfc: trivial patches and slow deaths?

2013-08-20 Thread Joe Perches
On Tue, 2013-08-20 at 16:49 -0500, Rob Landley wrote: On 08/20/2013 03:14:10 PM, Joe Perches wrote: On Tue, 2013-08-20 at 15:02 -0500, Rob Landley wrote: On 08/19/2013 04:27:17 PM, Joe Perches wrote: On Mon, 2013-08-19 at 23:22 +0200, Jiri Kosina wrote: On Mon, 19 Aug 2013, Joe

<    9   10   11   12   13   14   15   16   >