[PATCH 4/5] lustre/xattr: separate ACL and XATTR caches

2014-02-08 Thread Oleg Drokin
From: Andrew Perepechko This patch separates ACL and XATTR caches, so that when updating an ACL only LOOKUP lock is needed and when updating another XATTR only XATTR lock is needed. This patch also reverts XATTR cache support for setxattr because client performing REINT under even PR lock will d

[PATCH 2/5] lustre: Unsafe error handling around ll_splice_alias

2014-02-08 Thread Oleg Drokin
From: Swapnil Pimpale Callers of ll_splice_alias() should not assign the returned pointer to the dentry since it can be an err pointer. Fixed the above bug using a temporary dentry pointer. This temporary pointer is assigned to dentry only if ll_splice_alias has not returned an err pointer. Sign

[PATCH 1/5] lustre/lov: avoid subobj's coh_parent race

2014-02-08 Thread Oleg Drokin
From: Bobi Jam * during a file lov object initialization, we need protect the access and change of its subobj->coh_parent, since it could be another layout change race there, which makes an unreferenced lovsub obj in the site object hash table. * dump lovsub objects in the site if the lovs

[PATCH 3/5] lustre: instantiate negative dentry

2014-02-08 Thread Oleg Drokin
From: yang sheng In the atomic_open callback. We should instantiate negative dentry. Else will got sanity:183 failed. Signed-off-by: yang sheng Reviewed-on: http://review.whamcloud.com/8110 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3228 Reviewed-by: Peng Tao Reviewed-by: Lai Siyao R

[PATCH 5/5] lustre: don't leak llog handle in llog_cat_process_cb()

2014-02-08 Thread Oleg Drokin
From: "John L. Hammond" An early return from llog_cat_process_cb() was leaking the llog handle. Fix this by not doing that. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/7847 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4054 Reviewed-by: Andreas Dilger Reviewed

[PATCH 0/5] Lustre fixes

2014-02-08 Thread Oleg Drokin
This is a set of patches that eliminates rest of crashes and most leaks hit during standard lustre regression testing for me. This serie + O_LOV_DELAY_CREATE patch from Andreas (that was submitted separately and needs separate approval: http://www.spinics.net/lists/linux-fsdevel/msg72386.html ) ma

Re: [PATCHv4] driver core/platform: don't leak memory allocated for dma_mask

2014-02-08 Thread Yann Droneaud
Hi, Le samedi 08 février 2014 à 16:09 +0100, Uwe Kleine-König a écrit : > On Fri, Feb 07, 2014 at 03:20:05PM -0800, Greg Kroah-Hartman wrote: > > On Mon, Jan 27, 2014 at 11:05:52AM +0100, Yann Droneaud wrote: > > > Since commit 01dcc60a7cb8, platform_device_register_full() is > > > available to al

Re: REGRESSION f54b311142a92ea2e42598e347b84e1655caf8e3 tcp auto corking slows down iSCSI file system creation by factor of 70 [WAS: 4 TB VMFS creation takes 15 minutes vs 26 seconds]

2014-02-08 Thread Thomas Glanzmann
Hello Eric, > Yes, this is much better : 2 frames per request/response, instead of 4. perfect. I send out the page to the iscsi target list in your name since you did the work and I added me as signed off I hope that is how it is handled or should I have added my name to the from line and mention

[PATCH] This extends tx_data and and iscsit_do_tx_data with the additional parameter flags and avoids sending multiple TCP packets in iscsit_fe_sendpage_sg

2014-02-08 Thread Eric Dumazet
The new infrastructure is used in iscsit_fe_sendpage_sg to avoid sending three TCP packets instead of one by settings the MSG_MORE when calling kernel_sendmsg via the wrapper functions tx_data and iscsit_do_tx_data. This reduces the TCP overhead by sending the same data in less TCP packets and mini

RFC: Set MSG_MORE in iscsit_fe_sendpage_sg to avoid sending multiple TCP packets instead of one

2014-02-08 Thread Thomas Glanzmann
Hello Eric, I took the liberty to test and make your patch compile by adding the following changeset: --- a/drivers/target/iscsi/iscsi_target_parameters.c +++ b/drivers/target/iscsi/iscsi_target_parameters.c @@ -79,7 +79,7 @@ int iscsi_login_tx_data( */ conn->if_marker += length;

Re: [PATCH] time/cpuidle:Fixup fallout from hrtimer broadcast mode inclusion

2014-02-08 Thread David Rientjes
On Fri, 7 Feb 2014, Preeti U Murthy wrote: > The broadcast timer registration has to be done only when > GENERIC_CLOCKEVENTS_BROADCAST and TICK_ONESHOT config options are enabled. > Also fix max_delta_ticks value for the pseudo clock device. > > Reported-by: Fengguang Wu > Signed-off-by: Preeti

[PATCH 1/1] kernel: Used macros from compiler.h instead of __attribute__((...))

2014-02-08 Thread Gideon Israel Dsouza
To increase compiler portability there is which provides convenience macros for various gcc constructs. Eg: __weak for __attribute__((weak)). I've replaced all instances of gcc attributes with the right macro in the kernel subsystem. Signed-off-by: Gideon Israel Dsouza --- kernel/fork.c

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-08 Thread Andi Kleen
On Sat, Feb 08, 2014 at 09:22:30PM -0800, Andi Kleen wrote: > > +notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) > > +{ > > + long ret; > > + > > + asm( > > + "push %%ebx \n" > > + "mov %2,%%ebx \n" > > + "call VDSO32_vsyscall \n" > > +

RE: wlwifi - Microcode SW error detected.

2014-02-08 Thread Grumbach, Emmanuel
> > Hi, > I am not sure who to report this issue so please let me know if this is > not a proper channel. > > My dmesg claims the following: > [14921.841475] iwlwifi :02:00.0: RF_KILL bit toggled to enable radio. > [14922.178602] usb 1-1.4: new full-speed USB device number 5 using ehci-pci >

Re: [PATCH] time/cpuidle:Fixup fallout from hrtimer broadcast mode inclusion

2014-02-08 Thread Preeti U Murthy
Hi Thomas, On 02/07/2014 11:27 PM, Thomas Gleixner wrote: > On Fri, 7 Feb 2014, Preeti U Murthy wrote: > >> The broadcast timer registration has to be done only when >> GENERIC_CLOCKEVENTS_BROADCAST and TICK_ONESHOT config options are enabled. > > Then we should compile that file only when those

Re: [PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-08 Thread Andi Kleen
> +notrace static long vdso_fallback_gettime(long clock, struct timespec *ts) > +{ > + long ret; > + > + asm( > + "push %%ebx \n" > + "mov %2,%%ebx \n" > + "call VDSO32_vsyscall \n" > + "pop %%ebx \n" > + : "=a" (ret) > +

Re: Max number of posix queues in vanilla kernel (/proc/sys/fs/mqueue/queues_max)

2014-02-08 Thread Davidlohr Bueso
On Fri, 2014-02-07 at 16:24 -0500, Doug Ledford wrote: > On 2/7/2014 3:11 PM, Davidlohr Bueso wrote: > > On Thu, 2014-02-06 at 12:21 +0200, m...@silodev.com wrote: > >> Hi Folks, > >> > >> I have recently ported my multi-process application (like a classical open > >> system) which uses POSIX Queue

[PATCH V5 1/1] Drivers: hv: Implement the file copy service

2014-02-08 Thread K. Y. Srinivasan
Implement the file copy service for Linux guests on Hyper-V. This permits the host to copy a file (over VMBUS) into the guest. This facility is part of "guest integration services" supported on the Windows platform. Here is a link that provides additional details on this functionality: http://tech

Re: mm: shm: hang in shmem_fallocate

2014-02-08 Thread Hugh Dickins
On Sat, 8 Feb 2014, Sasha Levin wrote: > On 12/15/2013 11:01 PM, Sasha Levin wrote: > > Hi all, > > > > While fuzzing with trinity inside a KVM tools guest running latest -next, > > I've noticed that > > quite often there's a hang happening inside shmem_fallocate. There are > > several processes s

Re: memory corruption after "Fix race when checking i_size on direct i/o read"

2014-02-08 Thread J. Bruce Fields
On Sat, Feb 08, 2014 at 03:45:22PM -0500, bfields wrote: > I'm getting warnings about corruption of the kmalloc-32 slab on an nfs > server while running some regression tests. > > A bisect lands on 9fe55eea7e4b444bafc42facc2d1d2847275 "Fix race > when checking i_size on direct i/o read". Is t

Re: Memory allocator semantics

2014-02-08 Thread Paul E. McKenney
On Sat, Feb 08, 2014 at 12:27:37PM +0200, Pekka Enberg wrote: > Hi Paul, > > On 01/02/2014 10:33 PM, Paul E. McKenney wrote: > > From what I can see, the Linux-kernel's SLAB, SLOB, and SLUB memory > >allocators would deal with the following sort of race: > > > >A. CPU 0: r1 = kmalloc(...); ACCES

RE: [PATCH V4 1/1] Drivers: hv: Implement the file copy service

2014-02-08 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, February 07, 2014 3:17 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com > Subject: Re: [PATCH V4 1/

[PATCH] Fix broken zero-copy on vmalloc() buffers (4th and hopefully final submission)

2014-02-08 Thread Richard Yao
This patch has been submitted for a few times. The first time was my first time doing any sort of Linux patch submission. At the time, I was unaware of ./scripts/get_maintainer.pl and sent the patch to only a subset of the correct people. Consequently, it was not submitted properly for acceptance

[PATCH] 9p/trans_virtio.c: Fix broken zero-copy on vmalloc() buffers

2014-02-08 Thread Richard Yao
The 9p-virtio transport does zero copy on things larger than 1024 bytes in size. It accomplishes this by returning the physical addresses of pages to the virtio-pci device. At present, the translation is usually a bit shift. That approach produces an invalid page address when we read/write to vmal

Re: REGRESSION f54b311142a92ea2e42598e347b84e1655caf8e3 tcp auto corking slows down iSCSI file system creation by factor of 70 [WAS: 4 TB VMFS creation takes 15 minutes vs 26 seconds]

2014-02-08 Thread Eric Dumazet
On Sat, 2014-02-08 at 22:36 +0100, Thomas Glanzmann wrote: > Hello Eric, > > > I was simply thinking about something like : > > (might need further changes, but I guess this should solve your case) > > thank you for your patch. It did not apply on top of Linux tip, so I put > in the changes manua

Re: agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Daniel Vetter
On Sat, Feb 8, 2014 at 9:22 PM, Paul Bolle wrote: > Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: >> Hm, if this is really a regression between 3.13 and 3.14-rc1 then I >> don't see any quick candidates - relevant functions in intel-gtt.c >> seem unchanged. >> >> So probably a bisect is

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Richard Yao
On Feb 8, 2014, at 5:24 PM, Linus Torvalds wrote: > On Sat, Feb 8, 2014 at 12:44 PM, Richard Yao wrote: >> >> However, is_vmalloc_addr() only applies to the vmalloc region. While all >> architectures load kernel modules into virtual memory (to my knowledge), >> some architectures do not load t

Re: [PATCH resend 1/2] liblockdep: Use realpath for srctree and objtree

2014-02-08 Thread Sasha Levin
Hi Wang, Thanks! I've picked it up and will send it in the next pull request. Thanks, Sasha On 02/07/2014 08:43 PM, Wang Nan wrote: If BUILD_SRC or CURDIR contains tailing '/', the file names passed to gcc will contain '//'. It will be contained .o's in debuginfo, then confuse debugedit: htt

[PATCH] kbuild: Support split debug info

2014-02-08 Thread Andi Kleen
This is an alternative approach to lower the overhead of debug info (as we discussed a few days ago) gcc 4.7+ and newer binutils have a new "split debug info" debug info model where the debug info is only written once into central ".dwo" files. This avoids having to copy it around multiple times,

Re: Max number of posix queues in vanilla kernel (/proc/sys/fs/mqueue/queues_max)

2014-02-08 Thread m
Yes, limiting queue count to the memory sounds correct! Thanks, Madars > On 2/7/2014 3:11 PM, Davidlohr Bueso wrote: >> On Thu, 2014-02-06 at 12:21 +0200, m...@silodev.com wrote: >>> Hi Folks, >>> >>> I have recently ported my multi-process application (like a classical >>> open >>> system) which

[PATCH] ia64/xen: Remove Xen support for ia64 even more

2014-02-08 Thread Paul Bolle
Commit d52eefb47d4e ("ia64/xen: Remove Xen support for ia64") removed the Kconfig symbol XEN_XENCOMM. But it didn't remove the code depending on that symbol. Remove that code now. Signed-off-by: Paul Bolle --- Basically only tested with "git grep". There's a chance I might have missed some second

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Linus Torvalds
On Sat, Feb 8, 2014 at 12:44 PM, Richard Yao wrote: > > However, is_vmalloc_addr() only applies to the vmalloc region. While all > architectures load kernel modules into virtual memory (to my knowledge), > some architectures do not load them into the vmalloc region. So? People shouldn't do IO to

[PATCH] MIPS: no need to select ARCH_SUPPORTS_MSI

2014-02-08 Thread Paul Bolle
Commit c24a8a7a9988 ("MIPS: Netlogic: Add MSI support for XLP") added "select ARCH_SUPPORTS_MSI". But the Kconfig symbol ARCH_SUPPORTS_MSI was already removed in v3.12, so that select is a nop. Drop it. Signed-off-by: Paul Bolle --- Untested. It was commit ebd97be635bf ("PCI: remove ARCH_SUPPORT

Re: [PATCH 02/17] x86, lto: Disable fancy hweight optimizations for LTO v2

2014-02-08 Thread H. Peter Anvin
That's fine. On February 8, 2014 12:21:24 PM PST, Andi Kleen wrote: >On Sat, Feb 08, 2014 at 10:52:07AM -0800, H. Peter Anvin wrote: >> On 02/08/2014 12:01 AM, Andi Kleen wrote: >> > The fancy x86 hweight uses different compiler options for the >> > hweight file. This does not work with LTO. Just

Re: REGRESSION f54b311142a92ea2e42598e347b84e1655caf8e3 tcp auto corking slows down iSCSI file system creation by factor of 70 [WAS: 4 TB VMFS creation takes 15 minutes vs 26 seconds]

2014-02-08 Thread Thomas Glanzmann
Hello Eric, > I was simply thinking about something like : > (might need further changes, but I guess this should solve your case) thank you for your patch. It did not apply on top of Linux tip, so I put in the changes manually and fixed up another call to tx_data that your forgot in your initial

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-08 Thread Peter Wu
On Saturday 08 February 2014 16:01:36 Rafael J. Wysocki wrote: > It looks like we fail to resume the device, then, for some reason. > > That may be a PCIe link issue or something similar. > > Is this a regression for you? If so, what's the last kernel that didn't > have this problem? Does 3.13.

[PATCH v13 0/9] Add 32 bit VDSO time function support

2014-02-08 Thread stefani
From: Stefani Seibold This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time stamp, without knowing the pitfalls. VDSO time functions a fas

[PATCH v13 9/9] Add 32 bit VDSO time support for 64 bit kernel

2014-02-08 Thread stefani
From: Stefani Seibold This patch add the VDSO time support for the IA32 Emulation Layer. Due the nature of the kernel headers and the LP64 compiler where the size of a long and a pointer differs against a 32 bit compiler, there is some type hacking necessary for optimal performance. The vsyscal

[PATCH v13 7/9] introduce VVAR marco for vdso32

2014-02-08 Thread stefani
From: Stefani Seibold This patch revamp the vvar.h for introduce the VVAR macro for vdso32. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vvar.h | 32 +--- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/arch/x86/include/asm/vvar.h b/arch/x

[PATCH v13 4/9] vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-08 Thread stefani
From: Stefani Seibold This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for doing the kernel gettimeofday() system call. Signed-off-by: Stefani Seibold -

[PATCH v13 5/9] replace VVAR(vsyscall_gtod_data) by gtod macro

2014-02-08 Thread stefani
From: Stefani Seibold There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/vdso/vc

[PATCH v13 1/9] Make vsyscall_gtod_data handling x86 generic

2014-02-08 Thread stefani
From: Stefani Seibold This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/

[PATCH v13 3/9] revamp vclock_gettime.c

2014-02-08 Thread stefani
From: Stefani Seibold This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 85 +-

[PATCH v13 6/9] cleanup __vdso_gettimeofday

2014-02-08 Thread stefani
From: Stefani Seibold This patch do a little cleanup for the __vdso_gettimeofday() function. It kick out an unneeded ret local variable and makes the code faster if only the timezone is needed. Signed-off-by: Stefani Seibold --- arch/x86/vdso/vclock_gettime.c | 7 ++- 1 file changed, 2 in

[PATCH v13 8/9] Add 32 bit VDSO time support for 32 bit kernel

2014-02-08 Thread stefani
From: Stefani Seibold This patch add the time support for 32 bit a VDSO to a 32 bit kernel. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. Signed-off-by: Stefani Seibold --- arch/x86/include/asm/vdso.h |

[PATCH v13 2/9] Add new func _install_special_mapping() to mmap.c

2014-02-08 Thread stefani
From: Stefani Seibold The _install_special_mapping() is the new base function for install_special_mapping(). This function will return a pointer of the created VMA or a error code in an ERR_PTR() This new function will be needed by the for the vdso 32 bit support to map the additonal vvar and hp

[PATCH] iommu: shmobile: depend on ARCH_SHMOBILE

2014-02-08 Thread Paul Bolle
Commit 78a2e12f51d9 ("iommu: shmobile: Enable driver compilation with COMPILE_TEST") added an optional dependency on SH_MOBILE. But that Kconfig symbol doesn't exist. It seems ARCH_SHMOBILE was intended. Use that. Signed-off-by: Paul Bolle --- Completely untested. drivers/iommu/Kconfig | 2 +-

Re: [PATCH] spi: omap2: use SUPERH, not SH

2014-02-08 Thread Geert Uytterhoeven
On Sat, Feb 8, 2014 at 10:01 PM, Paul Bolle wrote: > Commit 0079aae0f1e6 ("spi: omap2: Add build dependencies for > writel_relaxed()") added an optional Kconfig dependency on SH. That > Kconfig symbol doesn't exist. Apparently SUPERH was intended. Use that. > > Signed-off-by: Paul Bolle Nice cat

Re: [PATCH 04/13] net: Mark functions as static in core/dev.c

2014-02-08 Thread Veaceslav Falico
On Sun, Feb 09, 2014 at 01:23:45AM +0530, Rashika Kheria wrote: Mark functions as static in core/dev.c because they are not used outside this file. This eliminates the following warning in core/dev.c: net/core/dev.c:2806:5: warning: no previous prototype for ‘__dev_queue_xmit’ [-Wmissing-protot

Re: [RFC] net: qmi_wwan: add ZTE MF667

2014-02-08 Thread Bjørn Mork
Raymond Wanyoike writes: > The driver description files give these descriptions to the vendor specific > ports on this modem: > > VID_19D2&PID_1270&MI_00: "ZTE MF667 Diagnostics Port" > VID_19D2&PID_1270&MI_01: "ZTE MF667 AT Port" > VID_19D2&PID_1270&MI_02: "ZTE MF667 ATExt2 Port" > VID_19D2&

[PATCH v3] audit: Turn off TIF_SYSCALL_AUDIT when there are no rules

2014-02-08 Thread Andy Lutomirski
This toggles TIF_SYSCALL_AUDIT as needed when rules change instead of leaving it set whenever rules might be set in the future. This reduces syscall latency from >60ns to closer to 40ns on my laptop. This code is a little bit tricky. It's not safe to turn TIF_SYSCALL_AUDIT off during a syscall t

[RFC] net: qmi_wwan: add ZTE MF667

2014-02-08 Thread Raymond Wanyoike
The driver description files give these descriptions to the vendor specific ports on this modem: VID_19D2&PID_1270&MI_00: "ZTE MF667 Diagnostics Port" VID_19D2&PID_1270&MI_01: "ZTE MF667 AT Port" VID_19D2&PID_1270&MI_02: "ZTE MF667 ATExt2 Port" VID_19D2&PID_1270&MI_03: "ZTE MF667 ATExt Port"

[PATCH] spi: omap2: use SUPERH, not SH

2014-02-08 Thread Paul Bolle
Commit 0079aae0f1e6 ("spi: omap2: Add build dependencies for writel_relaxed()") added an optional Kconfig dependency on SH. That Kconfig symbol doesn't exist. Apparently SUPERH was intended. Use that. Signed-off-by: Paul Bolle --- Basically untested. drivers/spi/Kconfig | 2 +- 1 file changed,

memory corruption after "Fix race when checking i_size on direct i/o read"

2014-02-08 Thread J. Bruce Fields
I'm getting warnings about corruption of the kmalloc-32 slab on an nfs server while running some regression tests. A bisect lands on 9fe55eea7e4b444bafc42facc2d1d2847275 "Fix race when checking i_size on direct i/o read". Is there any known problem here? It doesn't reproduce immediately and

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Richard Yao
On 02/08/2014 03:06 PM, Linus Torvalds wrote: > On Sat, Feb 8, 2014 at 11:58 AM, Richard Yao wrote: >> >> My apologies for that. Here is the backtrace: >> >> [] p9_virtio_zc_request+0x45e/0x510 >> [] p9_client_zc_rpc.constprop.16+0xfd/0x4f0 >> [] p9_client_read+0x15d/0x240 >> [] v9fs_fid_readn+0x5

Re: [PATCH] net: rfkill-regulator: Add devicetree support.

2014-02-08 Thread Belisko Marek
On Sat, Feb 8, 2014 at 7:22 AM, Bill Fink wrote: > On Fri, 7 Feb 2014, Marek Belisko wrote: > >> Signed-off-by: NeilBrown >> Signed-off-by: Marek Belisko >> --- >> Based on Neil's patch and extend for documentation and bindings include. >> >> .../bindings/net/rfkill/rfkill-relugator.txt

[GIT PULL] pin control fixes for v3.14 take one

2014-02-08 Thread Linus Walleij
Hi Linus, here are some queued fixes for the v3.14 series, six of these are even targeted for stable. More details in the signed tag. Please pull them in! Yours, Linus Walleij The following changes since commit 38dbfb59d1175ef458d006556061adeaa8751b72: Linus 3.14-rc1 (2014-02-02 16:42:13 -0

Re: [PATCH 13/13] net: Mark functions as static in net/sunrpc/svc_xprt.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:40:54AM +0530, Rashika Kheria wrote: > Mark functions as static in net/sunrpc/svc_xprt.c because they are not > used outside this file. > > This eliminates the following warning in net/sunrpc/svc_xprt.c: > net/sunrpc/svc_xprt.c:574:5: warning: no previous prototype for

Re: agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Paul Bolle
Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]: > Hm, if this is really a regression between 3.13 and 3.14-rc1 then I > don't see any quick candidates - relevant functions in intel-gtt.c > seem unchanged. > > So probably a bisect is what we need here. Note that this could also > be due to

Re: [PATCH 02/17] x86, lto: Disable fancy hweight optimizations for LTO v2

2014-02-08 Thread Andi Kleen
On Sat, Feb 08, 2014 at 10:52:07AM -0800, H. Peter Anvin wrote: > On 02/08/2014 12:01 AM, Andi Kleen wrote: > > The fancy x86 hweight uses different compiler options for the > > hweight file. This does not work with LTO. Just disable the optimization > > with LTO > > No, I'm going to NAK this. Th

Re: [PATCH 12/13] net: Include appropriate header file in netfilter/nft_lookup.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:39:20AM +0530, Rashika Kheria wrote: > Include appropriate header file net/netfilter/nf_tables_core.h in > net/netfilter/nft_lookup.c because it has prototype declaration of > functions defined in net/netfilter/nft_lookup.c. > > This eliminates the following warning in n

Re: [PATCH 11/13] net: Move prototype declaration to header file include/net/net_namespace.h from net/ipx/af_ipx.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:37:20AM +0530, Rashika Kheria wrote: > Move prototype declaration of function to header file > include/net/net_namespace.h from net/ipx/af_ipx.c because they are used > by more than one file. > > This eliminates the following warning in net/ipx/sysctl_net_ipx.c: > net/ip

Re: [PATCH 10/13] net: Move prototype declaration to header file include/net/datalink.h from net/ipx/af_ipx.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:35:38AM +0530, Rashika Kheria wrote: > Move prototype declarations of function to header file > include/net/datalink.h from net/ipx/af_ipx.c because they are used by > more than one file. > > This eliminates the following warning in net/ipx/pe2.c: > net/ipx/pe2.c:20:24:

Re: [PATCH 09/13] net: Move prototype declaration to header file include/net/ipx.h from net/ipx/af_ipx.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:33:57AM +0530, Rashika Kheria wrote: > Move prototype declaration of functions to header file include/net/ipx.h > from net/ipx/af_ipx.c because they are used by more than one file. > > This eliminates the following warning in > net/ipx/ipx_route.c:33:19: warning: no pre

Re: [PATCH 07/13] net: Move prototype declaration to header file include/net/dn.h from net/decnet/af_decnet.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:29:55AM +0530, Rashika Kheria wrote: > Move prototype declaration of functions to header file include/net/dn.h > from net/decnet/af_decnet.c because they are used by more than one file. > > This eliminates the following warning in net/decnet/af_decnet.c: > net/decnet/sys

Re: [PATCH 08/13] net: Move prototype declaration to include/net/ipx.h from net/ipx/ipx_route.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:32:10AM +0530, Rashika Kheria wrote: > Move prototype definition of function to header file include/net/ipx.h > from net/ipx/ipx_route.c because they are used by more than one file. > > This eliminates the following warning from net/ipx/af_ipx.c: > net/ipx/af_ipx.c:193:2

Re: [PATCH 05/13] net: Mark function as static in core/filter.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:25:05AM +0530, Rashika Kheria wrote: > Mark function as static in core/filter.c because it is not used outside > this file. > > This eliminates the following warning in core/filter.c: > net/core/filter.c:48:7: warning: no previous prototype for > ‘bpf_internal_load_poin

Re: [PATCH 06/13] net: Move prototype declaration to appropriate header file from decnet/af_decnet.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:28:07AM +0530, Rashika Kheria wrote: > Move prototype declaration of functions to header file include/net/dn_route.h > from net/decnet/af_decnet.c because it is used by more than one file. > > This eliminates the following warning in net/decnet/dn_route.c: > net/decnet/d

Re: [btrfs] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038

2014-02-08 Thread Tejun Heo
Hello, David, Fengguang, Chris. On Fri, Feb 07, 2014 at 01:13:06PM -0800, David Rientjes wrote: > On Fri, 7 Feb 2014, Fengguang Wu wrote: > > > On Fri, Feb 07, 2014 at 02:13:59AM -0800, David Rientjes wrote: > > > On Fri, 7 Feb 2014, Fengguang Wu wrote: > > > > > > > [1.625020] BTRFS: selfte

[PATCH 13/13] net: Mark functions as static in net/sunrpc/svc_xprt.c

2014-02-08 Thread Rashika Kheria
Mark functions as static in net/sunrpc/svc_xprt.c because they are not used outside this file. This eliminates the following warning in net/sunrpc/svc_xprt.c: net/sunrpc/svc_xprt.c:574:5: warning: no previous prototype for ‘svc_alloc_arg’ [-Wmissing-prototypes] net/sunrpc/svc_xprt.c:615:18: warni

[PATCH 12/13] net: Include appropriate header file in netfilter/nft_lookup.c

2014-02-08 Thread Rashika Kheria
Include appropriate header file net/netfilter/nf_tables_core.h in net/netfilter/nft_lookup.c because it has prototype declaration of functions defined in net/netfilter/nft_lookup.c. This eliminates the following warning in net/netfilter/nft_lookup.c: net/netfilter/nft_lookup.c:133:12: warning: no

[PATCH 11/13] net: Move prototype declaration to header file include/net/net_namespace.h from net/ipx/af_ipx.c

2014-02-08 Thread Rashika Kheria
Move prototype declaration of function to header file include/net/net_namespace.h from net/ipx/af_ipx.c because they are used by more than one file. This eliminates the following warning in net/ipx/sysctl_net_ipx.c: net/ipx/sysctl_net_ipx.c:33:6: warning: no previous prototype for ‘ipx_register_s

Re: [PATCH 04/13] net: Mark functions as static in core/dev.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:23:45AM +0530, Rashika Kheria wrote: > Mark functions as static in core/dev.c because they are not used outside > this file. > > This eliminates the following warning in core/dev.c: > net/core/dev.c:2806:5: warning: no previous prototype for ‘__dev_queue_xmit’ > [-Wmiss

[PATCH v3 6/8] cgroup: remove cgroup->name

2014-02-08 Thread Tejun Heo
cgroup->name handling became quite complicated over time involving dedicated struct cgroup_name for RCU protection. Now that cgroup is on kernfs, we can drop all of it and simply use kernfs_name/path() and friends. Replace cgroup->name and all related code with kernfs name/path constructs. * Rei

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Linus Torvalds
On Sat, Feb 8, 2014 at 11:58 AM, Richard Yao wrote: > > My apologies for that. Here is the backtrace: > > [] p9_virtio_zc_request+0x45e/0x510 > [] p9_client_zc_rpc.constprop.16+0xfd/0x4f0 > [] p9_client_read+0x15d/0x240 > [] v9fs_fid_readn+0x50/0xa0 > [] v9fs_file_readn+0x10/0x20 > [] v9fs_file_re

Re: [ath5k-devel] [PATCH] ath5k: Remove AHB bus support.

2014-02-08 Thread Paul Bolle
Luis R. Rodriguez schreef op ma 13-05-2013 om 10:43 [-0700]: > NACK, looking forward to the linux-mips patches, in the future however > we want to avoid these type of placeholder patches. This thread was (likely) started when I submitted this patch (to remove AHB bus support) during the v3.10 deve

Re: agp/intel: can't ioremap flush page - no chipset flushing

2014-02-08 Thread Daniel Vetter
On Sat, Feb 8, 2014 at 8:06 PM, Paul Bolle wrote: > 0) Booting v3.14-rc1 on an (outdated) ThinkPad X41 triggers a kernel > error: > pci :00:02.0: can't ioremap flush page - no chipset flushing > > That is this pci device: > lspci | grep 00:02.0 > 00:02.0 VGA compatible controller

[PATCH 10/13] net: Move prototype declaration to header file include/net/datalink.h from net/ipx/af_ipx.c

2014-02-08 Thread Rashika Kheria
Move prototype declarations of function to header file include/net/datalink.h from net/ipx/af_ipx.c because they are used by more than one file. This eliminates the following warning in net/ipx/pe2.c: net/ipx/pe2.c:20:24: warning: no previous prototype for ‘make_EII_client’ [-Wmissing-prototypes]

Re: [PATCH 03/13] net: Include appropriate header file in caif/cfsrvl.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:21:51AM +0530, Rashika Kheria wrote: > Include appropriate header file net/caif/caif_dev.h in caif/cfsrvl.c > because it has prototype declaration of functions defined in > caif/cfsrvl.c. > > This eliminates the following warning in caif/cfsrvl.c: > net/caif/cfsrvl.c:198

Re: [PATCH 02/13] net: Include appropriate header file in caif/caif_dev.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:19:43AM +0530, Rashika Kheria wrote: > Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c > because it has prototype declarations of function defined in > caif/caif_dev.c. > > This eliminates the following file in caif/caif_dev.c: > net/caif/caif_dev.

Re: [PATCH 01/13] net: Mark function as static in 9p/client.c

2014-02-08 Thread Josh Triplett
On Sun, Feb 09, 2014 at 01:17:21AM +0530, Rashika Kheria wrote: > Mark function as static in net/9p/client.c because it is not used > outside this file. > > This eliminates the following warning in net/9p/client.c: > net/9p/client.c:207:18: warning: no previous prototype for ‘p9_fcall_alloc’ > [-

[PATCH 09/13] net: Move prototype declaration to header file include/net/ipx.h from net/ipx/af_ipx.c

2014-02-08 Thread Rashika Kheria
Move prototype declaration of functions to header file include/net/ipx.h from net/ipx/af_ipx.c because they are used by more than one file. This eliminates the following warning in net/ipx/ipx_route.c:33:19: warning: no previous prototype for ‘ipxrtr_lookup’ [-Wmissing-prototypes] net/ipx/ipx_ro

[PATCH 08/13] net: Move prototype declaration to include/net/ipx.h from net/ipx/ipx_route.c

2014-02-08 Thread Rashika Kheria
Move prototype definition of function to header file include/net/ipx.h from net/ipx/ipx_route.c because they are used by more than one file. This eliminates the following warning from net/ipx/af_ipx.c: net/ipx/af_ipx.c:193:23: warning: no previous prototype for ‘ipxitf_find_using_net’ [-Wmissing-

[PATCH 07/13] net: Move prototype declaration to header file include/net/dn.h from net/decnet/af_decnet.c

2014-02-08 Thread Rashika Kheria
Move prototype declaration of functions to header file include/net/dn.h from net/decnet/af_decnet.c because they are used by more than one file. This eliminates the following warning in net/decnet/af_decnet.c: net/decnet/sysctl_net_decnet.c:354:6: warning: no previous prototype for ‘dn_register_s

[PATCH 06/13] net: Move prototype declaration to appropriate header file from decnet/af_decnet.c

2014-02-08 Thread Rashika Kheria
Move prototype declaration of functions to header file include/net/dn_route.h from net/decnet/af_decnet.c because it is used by more than one file. This eliminates the following warning in net/decnet/dn_route.c: net/decnet/dn_route.c:629:5: warning: no previous prototype for ‘dn_route_rcv’ [-Wmis

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Richard Yao
On 02/08/2014 02:45 PM, Linus Torvalds wrote: > On Sat, Feb 8, 2014 at 11:12 AM, Richard Yao wrote: > And what's the backtrace that gets mentioned - but not quoted - for > the horrible 9p crap? So that we can see who the guilty party is that > thinks that it's somehow ok to pass module addresses o

screen goes blank when loading gma500_gfx (atom D2500)

2014-02-08 Thread Michael Tokarev
Hello. Today I rebooted my router into a new kernel and noticed that the screen goes blank after booting the system (initial bootup messages are visible). After some debugging it turns out that the screen goes blank when loading gma500_gfx module. This is an intel D2500CC motherboard with Atom D

[PATCH 05/13] net: Mark function as static in core/filter.c

2014-02-08 Thread Rashika Kheria
Mark function as static in core/filter.c because it is not used outside this file. This eliminates the following warning in core/filter.c: net/core/filter.c:48:7: warning: no previous prototype for ‘bpf_internal_load_pointer_neg_helper’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria ---

[PATCH 04/13] net: Mark functions as static in core/dev.c

2014-02-08 Thread Rashika Kheria
Mark functions as static in core/dev.c because they are not used outside this file. This eliminates the following warning in core/dev.c: net/core/dev.c:2806:5: warning: no previous prototype for ‘__dev_queue_xmit’ [-Wmissing-prototypes] net/core/dev.c:4640:5: warning: no previous prototype for ‘

[PATCH 03/13] net: Include appropriate header file in caif/cfsrvl.c

2014-02-08 Thread Rashika Kheria
Include appropriate header file net/caif/caif_dev.h in caif/cfsrvl.c because it has prototype declaration of functions defined in caif/cfsrvl.c. This eliminates the following warning in caif/cfsrvl.c: net/caif/cfsrvl.c:198:6: warning: no previous prototype for ‘caif_free_client’ [-Wmissing-protot

[PATCH 02/13] net: Include appropriate header file in caif/caif_dev.c

2014-02-08 Thread Rashika Kheria
Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c because it has prototype declarations of function defined in caif/caif_dev.c. This eliminates the following file in caif/caif_dev.c: net/caif/caif_dev.c:303:6: warning: no previous prototype for ‘caif_enroll_dev’ [-Wmissing-pr

[PATCH 01/13] net: Mark function as static in 9p/client.c

2014-02-08 Thread Rashika Kheria
Mark function as static in net/9p/client.c because it is not used outside this file. This eliminates the following warning in net/9p/client.c: net/9p/client.c:207:18: warning: no previous prototype for ‘p9_fcall_alloc’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria --- net/9p/client.c |

Re: mm: shm: hang in shmem_fallocate

2014-02-08 Thread Sasha Levin
On 12/15/2013 11:01 PM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next, I've noticed that quite often there's a hang happening inside shmem_fallocate. There are several processes stuck trying to acquire inode->i_mutex (for more than 2 minute

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-08 Thread Linus Torvalds
On Sat, Feb 8, 2014 at 11:12 AM, Richard Yao wrote: > 9p-virtio needs is_vmalloc_or_module_addr exported before a patch can be > merged to prevent the virtio zero-copy routines from triggering a > hypervisor page fault when loading kernel modules: > > https://groups.google.com/forum/#!topic/linux.

Re: That greedy Linux VM cache

2014-02-08 Thread Igor Podlesny
On 3 February 2014 18:55, Michal Hocko wrote: > [Adding linux-mm to the CC] [...] > This means that the page has to be written back in order to be dropped. > How much dirty memory you have (comparing to the total size of the page > cache)? Not too many. May be you missed that part, but I sai

Re: [PATCH] Revert ds1wm.c from "w1: hold bus_mutex in netlink and search"

2014-02-08 Thread David Fries
This reverts ds1wm.c from commit d3a8a9dbb903c73a7ec2deae4c9b7d74b6834f4c. Of the three files changed ds1wm.c ds2490.c and w1_netlink.c, it turns out ds1wm.c was locking bus_mutex, but inside the loop and I missed it. Reverting ds1wm.c to the previous version. Signed-off-by: David Fries Reported-

Re: [PATCH v2] SUNRPC: Allow one callback request to be received from two sk_buff

2014-02-08 Thread Sergei Shtylyov
Hello. On 08-02-2014 6:29, shaobingqing wrote: In current code, there only one struct rpc_rqst is prealloced. If one callback request is received from two sk_buff, the xprt_alloc_bc_request would be execute two times with the same transport->xid. The first time xprt_alloc_bc_request will alloc

[PATCH 0/2] Attention by Linus Torvalds needed to export symbol he wrote

2014-02-08 Thread Richard Yao
Dear Linus, Loading kernel modules off 9p-virtio in a Linux guest causes VM termination because of a page fault in unmapped memory, so I wrote a patch to fix it. Dave Miller initially accepted it, but then rejected it because it calls an unexported symbol from a kernel module, which breaks the bui

Re: REGRESSION f54b311142a92ea2e42598e347b84e1655caf8e3 tcp auto corking slows down iSCSI file system creation by factor of 70 [WAS: 4 TB VMFS creation takes 15 minutes vs 26 seconds]

2014-02-08 Thread Eric Dumazet
On Sat, 2014-02-08 at 18:15 +0100, Thomas Glanzmann wrote: > The iSCSI target uses one function to send all outbound data. So in > order to do it right every function that is sending data in multiple > chunks need to mark it correctly. Of course someone could also do some > wild guessing and sayin

[PATCH 2/2] 9p/trans_virtio.c: Fix broken zero-copy on vmalloc() buffers

2014-02-08 Thread Richard Yao
The 9p-virtio transport does zero copy on things larger than 1024 bytes in size. It accomplishes this by returning the physical addresses of pages to the virtio-pci device. At present, the translation is usually a bit shift. However, that approach produces an invalid page address when we read/writ

  1   2   3   >