On Mon, Apr 20, 2015 at 01:54:56PM +0200, Quentin Casasnovas wrote:
On Tue, Apr 14, 2015 at 11:25:43AM +0200, Quentin Casasnovas wrote:
Phil and I found out a problem with commit:
7e860a6e7aa6 (cdc-acm: add sanity checks)
Any comment on v2?
I can't do anything with any patches
On Fri, 17 Apr 2015, Andy Lutomirski wrote:
On 04/16/2015 11:20 AM, Vince Weaver wrote:
Probably a better change would have been to add 2 to mean per-process
and make that the default setting. Probably too late to fix that now.
Good point. I wish you'd thought of that sooner :(
I'm announcing the release of the 3.19.5 kernel.
All users of the 3.19 kernel series must upgrade.
The updated 3.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.19.y
and can be browsed at the normal kernel.org git web browser:
diff --git a/Makefile b/Makefile
index 2ef20781ad25..633b5f0f11a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 19
-SUBLEVEL = 4
+SUBLEVEL = 5
EXTRAVERSION =
NAME = Diseased Newt
diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
index
diff --git a/Makefile b/Makefile
index f09e19d2cc4f..b40845e11b84 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 14
-SUBLEVEL = 38
+SUBLEVEL = 39
EXTRAVERSION =
NAME = Remembering Coco
diff --git a/arch/arc/kernel/signal.c b/arch/arc/kernel/signal.c
index
I'm announcing the release of the 3.14.39 kernel.
All users of the 3.14 kernel series must upgrade.
The updated 3.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.14.y
and can be browsed at the normal kernel.org git web
On Mon, Apr 20, 2015 at 5:21 AM, Mark Brown broo...@kernel.org wrote:
On Sat, Apr 18, 2015 at 01:07:07PM -0700, Kevin Cernekee wrote:
On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown broo...@kernel.org wrote:
Someone trying to use the atmel_wm8904 driver with something other than
a wm8904
This patch makes the following functions to use ERR_PTR() and related
macros to pass the appropriate error code through returned pointers:
smk_parse_smack()
smk_import_entry()
smk_fetch()
It also makes all the other functions that use them to handle the
error cases properly. This ways correct
On Mon, Apr 20, 2015 at 3:45 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
JFYI, when comparing v4.0[1] to v4.0-rc7[3], the summaries are:
- build errors: +7/-2
+
/home/kisskb/slave/src/Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c:
error: impossible register constraint in
My Pengutronix address is not valid anymore, redirect people to the Pengutronix
kernel team.
Reported-by: Harald Geyer har...@ccbib.org
Signed-off-by: Wolfram Sang w...@the-dreams.de
Acked-by: Robert Schwebel r.schwe...@pengutronix.de
---
These patches shall go via the individual subsystem trees.
My Pengutronix address is not valid anymore, redirect people to the Pengutronix
kernel team.
Reported-by: Harald Geyer har...@ccbib.org
Signed-off-by: Wolfram Sang w...@the-dreams.de
Acked-by: Robert Schwebel r.schwe...@pengutronix.de
---
These patches shall go via the individual subsystem trees.
On Thu, Apr 16, 2015 at 02:21:10PM -0700, Stephen Hemminger wrote:
On Thu, 16 Apr 2015 09:43:24 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Wed, Apr 15, 2015 at 09:59:34AM -0700, Stephen Hemminger wrote:
The driver already supported INTX interrupts but had no in kernel
function
Add pm_qos_cancel_request_lazy() which is convenient for
contexts that may not sleep.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
include/linux/pm_qos.h | 2 ++
kernel/power/qos.c | 20
2 files changed, 22 insertions(+)
diff --git
On 2015-04-20 at 08:13:17 +0200, Yoshinori Sato ys...@users.sourceforge.jp
wrote:
[...]
diff --git a/arch/h8300/include/asm/pgtable.h
b/arch/h8300/include/asm/pgtable.h
new file mode 100644
index 000..8341db6
--- /dev/null
+++ b/arch/h8300/include/asm/pgtable.h
@@ -0,0 +1,49 @@
Em Sat, Apr 18, 2015 at 10:45:36PM +0200, Jiri Olsa escreveu:
On Sat, Apr 18, 2015 at 02:56:00PM -0400, Jérémie Galarneau wrote:
On Sat, Apr 18, 2015 at 11:50 AM, Jiri Olsa jo...@kernel.org wrote:
From: Wang Nan wangn...@huawei.com
Some parameters of syscall tracepoints named as 'nr',
On Mon, 20 Apr 2015, Tomeu Vizoso wrote:
On 17 April 2015 at 19:30, Alan Stern st...@rowland.harvard.edu wrote:
On Fri, 17 Apr 2015, Laurent Pinchart wrote:
Hi Tomeu,
Thank you for the patch.
On Friday 17 April 2015 17:24:49 Tomeu Vizoso wrote:
Introduce a new per-device flag
-Original Message-
From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com]
Sent: Monday, April 20, 2015 2:40 AM
To: KY Srinivasan
Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org;
de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;
jasow...@redhat.com
Hi Daniel,
I'm traveling and at a conference this week - let me take a look at this
next chance I get, but yeah, that ftrace_trigger_soft_disabled() path is
a legal path but obviously when called in the case of a NULL rec, things
aren't going to work. Probably a bug in my code somewhere - will
On Sun, Apr 19, 2015 at 07:59:31PM -0700, Gbenga Adalumo wrote:
Fix coding style errors found by checkpatch.pl tool
What errors? Be specific.
--
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
Paul,
Thanks your commnets!:-)
在 2015年04月20日 17:26, Paul Bolle 写道:
On Sun, 2015-04-19 at 18:44 +0800, Caesar Wang wrote:
--- a/arch/arm/mach-rockchip/Makefile
+++ b/arch/arm/mach-rockchip/Makefile
+obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
PM_GENERIC_DOMAINS is a bool symbol, so
On Mon, Apr 20, 2015 at 03:28:32AM +, Kweh, Hock Leong wrote:
Regarding the 'reboot require' status, is it critical to have a 1 to 1 status
match
with the capsule upload binary? Is it okay to have one sysfs file note to
tell the
overall status (for example: 10 capsule binaries uploaded
Hi Linus,
this is the remaining part of kbuild stuff for v4.1-rc1:
- One wew coccinelle script and a clarification of the proposed fix
in bugon.coccinelle
- CONFIG_KERNEL_LZ4 support for extract-ikconfig
Michal
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:
To analyze the kvm exits with perf, we will need to map the exit codes
with the exit reasons. Such a mapping exists today in
trace_book3s.h. But its not exported to tools like perf.
This patch moves these kvm exit reasons and their mapping from
arch/powerpc/kvm/trace_book3s.h to
On Mon 06-04-15 15:58:01, Tejun Heo wrote:
Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback)
and the role of the separation is unclear. For cgroup support for
writeback IOs, a bdi will be updated to host multiple wb's where each
wb serves writeback IOs of a different cgroup
On Mon, Apr 20, 2015 at 02:28:16PM +0200, Rasmus Villemoes wrote:
gcc 5 supports the option -mskip-rax-setup to avoid emitting the
two-byte instruction xor %eax,%eax before a vararg function
call. Clearing %eax is redundant in the kernel, since no callee
expects any floating point arguments,
On Mon 06-04-15 15:58:03, Tejun Heo wrote:
Writeback operations will now be per wb (bdi_writeback) instead of
bdi. Replace the relevant bdi references in symbol names and comments
with wb. This patch is purely cosmetic and doesn't make any
functional changes.
It's good you made things
Hi Sascha,
Thank you for the comments.
On Mon, Apr 20, 2015 at 11:45:41AM +0200, Sascha Hauer wrote:
On Tue, Apr 14, 2015 at 10:39:11PM -0700, Nicolin Chen wrote:
The SDMA on imx6sx has a few DMA event remapping configurations
inside the GPR (General Purpose Register) of that SoC. When
On Fri, Feb 27, 2015 at 05:16:56PM +0100, Wolfram Sang wrote:
This tool allows to construct and concat multiple I2C messages into one
single transfer. Its aim is to test I2C master controllers, and so there
is no SMBus fallback.
Signed-off-by: Wolfram Sang w...@the-dreams.de
---
I've
On Mon, 20 Apr 2015, Ramneek Mehresh wrote:
This is the wrong way to connect platform-private data with the
ehci_hcd structure. The right way is to use an ehci_driver_overrides
structure, like in ehci-omap.c and quite a few other EHCI platform
drivers.
Hi Alan, I checked
* Brown, Len len.br...@intel.com wrote:
What's the cutoff for 'modern hardware' - which CPUs stopped requiring
the delay?
This is the topic of ongoing research, and I'm not ready to send
the patch setting a new default until I've heard back from a few more HW
people.
Every system
On Mon, 20 Apr 2015 19:20:48 +0200
Peter Zijlstra pet...@infradead.org wrote:
+ */
+ if (preempt_count() PREEMPT_ACTIVE)
+ enqueue_pushable_task_preempted(rq, p);
+ else
+ enqueue_pushable_task(rq, p);
+ }
}
This
On Mon, 20 Apr 2015, David Vrabel wrote:
On 20/04/15 12:07, Chen Baozi wrote:
On Mon, Apr 20, 2015 at 11:53:47AM +0100, David Vrabel wrote:
On 20/04/15 11:48, Chen Baozi wrote:
Make sure that xen_swiotlb_init allocates buffers that is DMA capable.
Signed-off-by: Chen Baozi
On 04/19/2015 11:42 PM, Lee Jones wrote:
On Fri, 17 Apr 2015, York Sun wrote:
Resend to LKML
Lee,
This question is actually more about MFD. Can you point me to the possible
causes for my failure below?
It's hard to tell exactly without code, but it looks like you're
trying to
On Mon, Apr 20, 2015 at 05:02:31PM +0200, Jan Kara wrote:
Maybe bdi_wb_destroy() would be somewhat more descriptive than
bdi_wb_exit()? Otherwise the patch looks good to me. You can add:
Reviewed-by: Jan Kara j...@suse.cz
Hmmm... maybe, I don't know. I feel weird matching up destroy with
On Mon, Apr 20, 2015 at 03:02:03PM +0200, Jens Wiklander wrote:
It appeared to me this driver was copying TPM's old architecture,
which is very much known to be broken.
The struct tee_device holds a shared memory pool from which shared
memory objects are allocated. These shared memory
On Mon, Apr 20, 2015 at 10:09:03AM -0700, Paul E. McKenney wrote:
The sysfs knob might be nice, but as far as I know nobody has been
complaining about it.
Besides, we already have the rcutree.kthread_prio= kernel-boot parameter.
So how about if the Kconfig parameter selects either
On Fri, 2015-04-17 at 16:27 -0400, Havoc Pennington wrote:
Hi,
On Fri, Apr 17, 2015 at 3:27 PM, James Bottomley
james.bottom...@hansenpartnership.com wrote:
This is why I think kdbus is a bad idea: it solidifies as a linux kernel
API something which runs counter to granular OS
On Mon, Apr 20, 2015 at 05:09:50PM +0200, Jan Kara wrote:
On Mon 06-04-15 15:58:02, Tejun Heo wrote:
Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback)
and the role of the separation is unclear. For cgroup support for
writeback IOs, a bdi will be updated to host multiple
The patchset below gets rid of recursion in pathname resolution.
As the result, stack footprint of fs/namei.c stuff doesn't depend upon
the symlink nesting anymore and is much less than the worst cases in
mainline - as the matter of fact, it's around the footprint mainline gets
with just
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 61 +++--
1 file changed, 23 insertions(+), 38 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 4c6ce01f..a1f6271 100644
---
On Mon, Apr 20, 2015 at 05:40:50PM +0200, Jan Kara wrote:
This patch makes inode_to_bdi() and sb_is_blkdev_sb() that the
function calls inline. blockdev_superblock and noop_backing_dev_info
are EXPORT_GPL'd to allow the inline functions to be used from
modules.
I somewhat hate making
From: NeilBrown ne...@suse.de
The only thing any -put_link() function did with the
nameidata was to call nd_get_link() to get the link name.
So now just pass the link name directly.
This allows us to make nd_get_link() completely local to
namei.c.
Suggested-by: Al Viro v...@zeniv.linux.org.uk
From: NeilBrown ne...@suse.de
task_struct currently contains two ad-hoc members for use by
the VFS: link_count and total_link_count.
These are only interesting to fs/namei.c, so exposing them
explicitly is poor layering.
This patches replaces those with a single pointer to 'struct
nameidata'.
On Mon, Apr 20, 2015 at 08:20:44AM +0200, Jens Wiklander wrote:
I'm not sure I understand what you mean. This function is a building
block for the TEE driver to supply whatever interface is needed for user
space. For a Global Platform like TEE it will typically have support for
On Mon, 20 Apr 2015 20:09:04 +0200
Ingo Molnar mi...@kernel.org wrote:
So the disadvantage is that if a boot default is wrong, we'll hear
about it eventually and can fix/improve it.
If a sysctl knob is wrong, people will just 'tune' it and forget to
propagate it to the kernel proper (why
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
drivers/staging/lustre/lustre/llite/symlink.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/lustre/lustre/llite/symlink.c
From: Mateusz Kulikowski mateusz.kulikow...@gmail.com
Date: Sun, 19 Apr 2015 23:39:37 +0200
Some drivers require copying unaligned ethernet addresses.
Using memcpy() causes checkpatch warnings and may cause
regressions (someone will fix alignment of packed structure)
Signed-off-by: Mateusz
On Mon, 20 Apr 2015, Ivan T. Ivanov wrote:
On Mon, 2015-04-20 at 10:14 -0400, Alan Stern wrote:
On Mon, 20 Apr 2015, Ivan T. Ivanov wrote:
Hi Alan,
Perhaps I have to resend this patch with updated commit
message? Are they any other obstacles?
Instead of submitting this
On Monday 20 April 2015 16:56:00 Catalin Marinas wrote:
On Fri, Apr 17, 2015 at 05:49:44PM +0200, Arnd Bergmann wrote:
On Friday 17 April 2015 15:46:57 Catalin Marinas wrote:
On Fri, Apr 17, 2015 at 02:17:32PM +0100, Arnd Bergmann wrote:
| typedef unsigned short __kernel_mode_t;
* Steven Rostedt rost...@goodmis.org wrote:
On Mon, Apr 20, 2015 at 10:09:03AM -0700, Paul E. McKenney wrote:
The sysfs knob might be nice, but as far as I know nobody has been
complaining about it.
Besides, we already have the rcutree.kthread_prio= kernel-boot
parameter. So how
From: Sowmini Varadhan sowmini.varad...@oracle.com
Date: Sun, 19 Apr 2015 13:13:29 -0400
This patchset has fixes for 2 architectures
- Part 1: x86_64 warnings generated by sparse
- Part 2: allmodconfig build error for powerpc, identified by Guenter Roeck.
Series applied, thank you.
--
To
From: NeilBrown ne...@suse.de
No -inode_follow_link() methods use the nameidata arg, and
it is about to become private to namei.c.
So remove from all inode_follow_link() functions.
Signed-off-by: NeilBrown ne...@suse.de
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c
From: Al Viro v...@zeniv.linux.org.uk
don't bother with separate variables for link and cookie in trailing
symlink loops; use nd-stack[0] for that. That makes *all* callers
of put_link() (and follow_link()) operate on nd-stack[nd-depth].link
and nd-stack[nd-depth].cookie. Trim the argument
From: Al Viro v...@zeniv.linux.org.uk
reduce the number of returns in there - turn all places
where it returns zero into goto OK and places where it
returns non-zero into goto Err. The only non-trivial
detail is that all breaks in the loop are guaranteed
to be with non-zero err.
Signed-off-by:
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 40 +---
1 file changed, 17 insertions(+), 23 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 4b98f4b..975918f 100644
--- a/fs/namei.c
+++
From: Al Viro v...@zeniv.linux.org.uk
absolutely straightforward now - the only variables we need to preserve
across the recursive call are name, link and cookie, and recursion depth
is limited (and can is equal to nd-depth). So arrange an array of
triples to hold instances of those and be done
From: Al Viro v...@zeniv.linux.org.uk
Deal with skipping leading slashes before what used to be the
recursive call. That way we can get rid of that goto completely.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
From: Al Viro v...@zeniv.linux.org.uk
All remaining callers of the former are preceded by the latter
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 21 ++---
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index
From: Yan, Zheng zheng.z@intel.com
When the PEBS interrupt threshold is larger than one record and the
machine supports multiple PEBS events, the records of these events are
mixed up and we need to demultiplex them.
Demuxing the records is hard because the hardware is deficient. The
hardware
From: Yan, Zheng zheng.z@intel.com
When a fixed period is specified, this patch make perf use the PEBS
auto reload mechanism. This makes normal profiling faster, because
it avoids one costly MSR write in the PMI handler.
However, the reset value will be loaded by hardware assist. There is a
From: Yan, Zheng zheng.z@intel.com
move codes that setup PEBS sample data to separate function.
Signed-off-by: Yan, Zheng zheng.z@intel.com
Signed-off-by: Kan Liang kan.li...@intel.com
---
arch/x86/kernel/cpu/perf_event_intel_ds.c | 95 +--
1 file changed, 52
On Mon 06-04-15 15:58:04, Tejun Heo wrote:
Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback)
and the role of the separation is unclear. For cgroup support for
writeback IOs, a bdi will be updated to host multiple wb's where each
wb serves writeback IOs of a different cgroup
Hi,
On 20/04/15 16:40, Randy Dunlap wrote:
On 04/19/15 22:45, Stephen Rothwell wrote:
Hi all,
Please do not add any v4.2 material to your linux-next included trees
until after v4.1-rc1 is released.
Changes since 20150415:
on i386:
ERROR: __divdi3 [fs/gfs2/gfs2.ko] undefined!
These
On Mon, 2015-04-20 at 10:37 -0500, Dinh Nguyen wrote:
On Thu, Apr 16, 2015 at 5:54 PM, Rob Herring robherri...@gmail.com wrote:
+arm-soc
On Thu, Apr 16, 2015 at 5:49 PM, Joe Perches j...@perches.com wrote:
Change the .dts file permissions from 755 to 644.
Signed-off-by: Joe Perches
On 4/20/15 10:16 AM, Michael Wang wrote:
On 04/20/2015 04:00 PM, Steve Wise wrote:
On 4/20/2015 3:40 AM, Michael Wang wrote:
[snip]
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 6805e3e..e4999f6 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@
On Sun, Apr 19, 2015 at 12:17 PM, Davidlohr Bueso d...@stgolabs.net wrote:
Naturally, this can cause spurious wakeups. However there is core code
that cannot handle them afaict, and furthermore tglx does have the point
that other events can already trigger them anyway.
Indeed. We need to make
Jens Axboe ax...@kernel.dk writes:
On 04/20/2015 09:09 AM, Jeff Moyer wrote:
Hi, Jens,
This flag was introduced under the auspices that the nvme blk-mq
conversion would make use of it. That never materialized. Are there
still plans to make use of it? If not, I'd like to get rid of it.
On Mon, Apr 20, 2015 at 06:45:53PM +0300, Andrey Ryabinin wrote:
commit 47933ad41a86 (arch: Introduce smp_load_acquire(),
smp_store_release())
allowed only 4- and 8-byte smp_load_acquire, smp_store_release.
So 1- and 2-byte cases weren't implemented in arm64.
Later commit 536fa402221f
From: Guenter Roeck li...@roeck-us.net
Date: Sun, 19 Apr 2015 22:17:21 -0700
The debug option is intended for all _other_ architectures, to
ensure that changes made for those don't break alpha/s390
builds. alpha/s390 have ARCH_NEEDS_WEAK_PER_CPU and don't need the
debug option.
Ironically
On Sat, 18 Apr 2015 19:05:42 -0700
Paul E. McKenney paul...@linux.vnet.ibm.com wrote:
Real-time priority to use for RCU worker threads
(RCU_KTHREAD_PRIO) [0] (NEW)
Indeed, Linus complained about this one. ;-)
:-) Yes, it's an essentially unanswerable question.
On Mon, Apr 20, 2015 at 10:52:28AM -0400, Steven Rostedt wrote:
On Mon, 20 Apr 2015 16:22:47 +0800
Xunlei Pang xlp...@126.com wrote:
static inline void enqueue_pushable_task(struct rq *rq, struct task_struct
*p)
{
}
@@ -1506,8 +1526,21 @@ static void put_prev_task_rt(struct rq
On Mon, 2015-04-20 at 16:57 +0200, Peter Zijlstra wrote:
Haha, you dug that out did you ;-)
Does this patch on its own actually help anything? Back when I wrote
that there was the vague hope it would actually help some of the
client-server ping-pong workloads, where the client does sync
Shaohua Li s...@fb.com writes:
Previous post of the patch is lost, so I repost. This is helpful, for
example, using scsi-mq for a sata drive.
plug is still helpful for workload with IO merge, but it can be harmful
otherwise especially with multiple hardware queues, as there is (supposed) no
On Mon, 20 Apr 2015 10:09:03 -0700
Paul E. McKenney paul...@linux.vnet.ibm.com wrote:
On Mon, Apr 20, 2015 at 11:35:54AM -0500, Clark Williams wrote:
On Sat, 18 Apr 2015 19:05:42 -0700
Paul E. McKenney paul...@linux.vnet.ibm.com wrote:
Real-time priority to use for RCU worker
On Fri, 2015-04-17 at 15:49 +0200, Greg Kroah-Hartman wrote:
On Thu, Apr 16, 2015 at 09:42:31AM +, Kweh, Hock Leong wrote:
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Wednesday, April 15, 2015 9:19 PM
On Wed, Apr 15, 2015 at
* Namhyung Kim namhy...@kernel.org wrote:
As the --children option changes the output of perf report (and perf
top) it sometimes confuses users. Add more words and examples to help
understanding of the option's behavior - and how to disable it ;-).
Nice! :-)
+++
From: NeilBrown ne...@suse.de
ovl_follow_link current calls -put_link on an error path.
However -put_link is about to change in a way that it will be
impossible to call it from ovl_follow_link.
So rearrange the code to avoid the need for that error path.
Specifically: move the kmalloc() call
From: Al Viro v...@zeniv.linux.org.uk
a) instead of storing the symlink body (via nd_set_link()) and returning
an opaque pointer later passed to -put_link(), -follow_link() _stores_
that opaque pointer (via nd_pin_link()) and returns the symlink body.
Returning ERR_PTR() on error, NULL on jump
From: Al Viro v...@zeniv.linux.org.uk
same story as the previous commit
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 37 +++--
1 file changed, 15 insertions(+), 22 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index a8d6751..425986a 100644
From: Al Viro v...@zeniv.linux.org.uk
seriously improves the stack *and* I-cache footprint...
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index f1ec430..80edea9 100644
---
From: Al Viro v...@zeniv.linux.org.uk
What we do after the second walk_component() + put_link() + depth
decrement in there is exactly equivalent to what's done right
after the first walk_component(). Easy to verify and not at all
surprising, seeing that there we have just walked the last
From: Al Viro v...@zeniv.linux.org.uk
move the stack of saved states out of link_path_walk() stack frame to
that of callers, put a reference to it into struct nameidata as
nd-stack, move nd-saved_names[] elements in there.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 35
From: Al Viro v...@zeniv.linux.org.uk
Pull the block after the if-else in the end of what used to be do-while
body into all branches there. We are almost done with the massage...
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 19 +--
1 file changed, 13
From: Al Viro v...@zeniv.linux.org.uk
... it does nothing if nd-last_type is LAST_BIND.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 6e6630c..5366b6d 100644
---
From: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 61 -
1 file changed, 32 insertions(+), 29 deletions(-)
diff --git a/fs/namei.c b/fs/namei.c
index 5366b6d..86d54e5 100644
---
From: Al Viro v...@zeniv.linux.org.uk
... and strip __always_inline from follow_link() - remaining callers
don't need that.
Now link_path_walk() recursion is a direct one.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
fs/namei.c | 26 ++
1 file changed, 22
From: Al Viro v...@zeniv.linux.org.uk
If we get ERR_PTR() from get_link(), we are guaranteed to get err != 0
when we break out of do-while, so we are going to hit if (err) return err;
shortly after it. Pull that into the if (IS_ERR(s)) body.
Signed-off-by: Al Viro v...@zeniv.linux.org.uk
---
* Dirk Gouders d...@gouders.net wrote:
For example on Gentoo systems where _FORTIFY_SOURCE is set by default,
`make -C tools/perf' fails, because of the macro being redefined.
Fix that by a feature-check analogous to tools/perf/config/Makefile.
Signed-off-by: Dirk Gouders
Hello, Jan.
On Mon, Apr 20, 2015 at 05:32:24PM +0200, Jan Kara wrote:
@@ -454,9 +451,9 @@ EXPORT_SYMBOL(bdi_init);
void bdi_destroy(struct backing_dev_info *bdi)
{
- bdi_wb_shutdown(bdi);
-
- WARN_ON(!list_empty(bdi-work_list));
+ /* make sure nobody finds us on the
From: NeilBrown ne...@suse.de
Now that current-nameidata is available, nd_set_link() can
use that directly, so 'nd' doesn't need to be passed through
-follow_link.
As a result of this change, 'nameidata' is almost entirely
local to namei.c. It is only exposed externally as an opaque struct
From: Al Viro v...@zeniv.linux.org.uk
Calling conventions for -follow_link() are rather unfortunate. It
would be better to have it return ERR_PTR(error) on error, NULL on
jumps and link body for normal symlinks. What we currently return
(opaque pointer used by -put_link() once we are done)
On Mon, 20 Apr 2015, York Sun wrote:
On 04/19/2015 11:42 PM, Lee Jones wrote:
On Fri, 17 Apr 2015, York Sun wrote:
Resend to LKML
Lee,
This question is actually more about MFD. Can you point me to the possible
causes for my failure below?
It's hard to tell exactly
-Original Message-
From: Mehresh Ramneek-B31383
Sent: Monday, April 20, 2015 10:05 PM
To: 'Alan Stern'
Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; ba...@ti.com;
gre...@linuxfoundation.org
Subject: RE: [PATCH 2/9][v2]usb:fsl:otg: Add support to add/remove usb
host
On Mon, 20 Apr 2015 17:52:40 +0200
Dongsu Park dongsu.p...@profitbricks.com wrote:
On 20.04.2015 21:12, Ming Lei wrote:
On Mon, Apr 20, 2015 at 4:07 PM, Dongsu Park
dongsu.p...@profitbricks.com wrote:
Hi Ming,
On 18.04.2015 00:23, Ming Lei wrote:
Does anyone have an idea?
If you don't care about sampling and only care about totals, then you
can just open the events concurrently *without* grouping them, as I
stated previously.
perf record doesn't really support that. We need some group reader
that runs regularly. The best choice for the leader is a CPU sample
On 17/04/2015 22:18, Marcelo Tosatti wrote:
The bug which this is fixing is very rare, have no memory of a report.
In fact, its even difficult to create a synthetic reproducer.
But then why was the task migration notifier even in Jeremy's original
code for Xen? Was it supposed to work even
Hi Dudley.
Just a minor commit message nit. Thanks!
On Sun, Apr 19, 2015 at 10:43 PM, Dudley Du d...@cypress.com wrote:
Fix update suspend scareate always set to max 1000 issue, the root cause is
s/scareate/scanrate
the missed using max_t as min_t.
TEST=test on Chromebook.
Signed-off-by:
On 4/20/2015 4:33 AM, Michael Wang wrote:
Use raw management helpers to reform IB-core cm.
Cc: Hal Rosenstock h...@dev.mellanox.co.il
Cc: Steve Wise sw...@opengridcomputing.com
Cc: Tom Talpey t...@talpey.com
Cc: Jason Gunthorpe jguntho...@obsidianresearch.com
Cc: Doug Ledford
On Mon, Apr 20, 2015 at 10:00:42AM -0700, Benson Leung wrote:
Hi Dudley.
Just a minor commit message nit. Thanks!
On Sun, Apr 19, 2015 at 10:43 PM, Dudley Du d...@cypress.com wrote:
Fix update suspend scareate always set to max 1000 issue, the root cause is
s/scareate/scanrate
the
There appears to be no formal statement of what pv_irq_ops.save_fl() is
supposed to return precisely. Native returns the full flags, while lguest and
Xen only return the Interrupt Flag, and both have comments by the
implementations stating that only the Interrupt Flag is looked at. This may
have
1201 - 1300 of 1478 matches
Mail list logo