Hit divide-by-0 in vmpressure_work_fn(): checking vmpr-scanned before
taking the lock is not enough, we must check scanned afterwards too.
Signed-off-by: Hugh Dickins hu...@google.com
Cc: sta...@vger.kernel.org
---
mm/vmpressure.c |3 +++
1 file changed, 3 insertions(+)
---
This patch proposes to remove the IRQF_DISABLED flag from ia64 architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/ia64/kernel/irq_ia64.c | 4
arch/ia64/kernel/mca.c | 6 --
This patch proposes to remove the IRQF_DISABLED flag from FRV architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
This second version of the patch removes unless structure
member initializations (.flags = 0)
Signed-off-by: Michael Opdenacker
On 08/30/2013 10:10 AM, jean-philippe francois wrote:
2013/8/30 Christian Hoffmann chrmhoffm...@gmail.com:
This also went to: linaro-ker...@lists.linaro.org
Hi,
current linaro kernel on 13.07 (3.10.1.0-1-linaro-omap) shows stack below.
System is generally quite unstable. Light usage
This patch proposes to remove the IRQF_DISABLED flag from x86 architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
x86/xen support code will be addressed in a separate patch.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
This patch proposes to remove the IRQF_DISABLED flag from x86/xen
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/x86/xen/smp.c | 10 +-
arch/x86/xen/spinlock.c | 2 +-
This patch proposes to remove the IRQF_DISABLED flag from
drivers/net/ethernet/broadcom/bcm63xx_enet.c
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
drivers/net/ethernet/broadcom/bcm63xx_enet.c | 8
This patch proposes to remove the IRQF_DISABLED flag from Davinci code ;)
It's a NOOP since 2.6.35, and will be removed one day
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/arm/mach-davinci/board-da830-evm.c | 2 +-
On Fri, 2013-09-06 at 10:56 -0700, Linus Torvalds wrote:
On Thu, Sep 5, 2013 at 7:24 PM, Benjamin Herrenschmidt
b...@kernel.crashing.org wrote:
* A bunch of endian fixes ! We don't have full LE support yet in that
release but this contains a lot of fixes all over arch/powerpc to use the
This patch proposes to remove the IRQF_DISABLED flag from OMAP code
It's a NOOP since 2.6.35, and will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/arm/mach-omap1/fpga.c | 3 +--
arch/arm/mach-omap1/pm.c | 1 -
And this time also attached...
On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote:
Hi
On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote:
On Fri, Sep 6, 2013 at 5:58 PM,
Hi
On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote:
On Fri, Sep 6, 2013 at 5:58 PM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
The patch still had problems so I'd revert it and wii bits
This patch proposes to remove the IRQF_DISABLED flag from mn10300 architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/mn10300/kernel/cevt-mn10300.c | 2 +-
This patch proposes to remove the IRQF_DISABLED flag from sparc architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/sparc/include/asm/floppy_64.h | 2 +-
arch/sparc/kernel/ldc.c|
When 8042 internal data buffer is full, the driver
erroneously decides that the controller is not present.
i8042_flush returns the number of flushed bytes, which is
in 0 - I8042_BUFFER_SIZE range inclusive. Therefore, i8042_flush
has no way to indicate an error. Moreover i8042_controller_check
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less the same but, with a really big thanks to Vladimir Davydov and
Parallels, the development of fsck has been started and we have now
the
Added pramfs documentation.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
Documentation/filesystems/pramfs.txt | 177 ++
Documentation/filesystems/xip.txt|2 +
MAINTAINERS |9 ++
3 files changed, 188
Add a flag to x86 arch to know if a set_memory_{rw|ro} is supported.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
arch/Kconfig |3 +++
arch/x86/Kconfig |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index
On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote:
Hi
On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote:
On Fri, Sep 6, 2013 at 5:58 PM, Dmitry Torokhov
Export xip_file_fault to modules.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
include/linux/fs.h |2 ++
mm/filemap_xip.c |3 ++-
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 3b4cd82..1f61e07 100644
---
Added include files.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/pram.h | 283 ++
include/linux/pram_fs.h | 48 +++
include/uapi/linux/Kbuild|1 +
include/uapi/linux/magic.h |1 +
Add inode operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/inode.c | 907 +
1 files changed, 907 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/inode.c
diff --git a/fs/pramfs/inode.c
Add super block operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/super.c | 994 +
1 files changed, 994 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/super.c
diff --git a/fs/pramfs/super.c
Add file operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/file.c | 417 ++
1 files changed, 417 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/file.c
diff --git a/fs/pramfs/file.c
Add file operations for dirs.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/dir.c | 226 +++
1 files changed, 226 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/dir.c
diff --git a/fs/pramfs/dir.c
Add inode operations for dirs.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/namei.c | 391 +
1 files changed, 391 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/namei.c
diff --git a/fs/pramfs/namei.c
Add block allocation operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/balloc.c | 160
1 files changed, 160 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/balloc.c
diff --git a/fs/pramfs/balloc.c
Add ioctl operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/ioctl.c | 127 +
1 files changed, 127 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/ioctl.c
diff --git a/fs/pramfs/ioctl.c
Add xip operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/xip.c | 119 +++
fs/pramfs/xip.h | 33 +++
2 files changed, 152 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/xip.c
create
Add symlink operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/symlink.c | 76 +++
1 files changed, 76 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/symlink.c
diff --git a/fs/pramfs/symlink.c
Add extended attributes block description tree.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/desctree.c | 181 ++
fs/pramfs/desctree.h | 44
2 files changed, 225 insertions(+), 0 deletions(-)
create mode
Add extended attributes.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/xattr.c | 1118
fs/pramfs/xattr.h | 92
fs/pramfs/xattr_security.c | 80
fs/pramfs/xattr_trusted.c | 65 +++
Add write protection.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/wprotect.c | 39 ++
fs/pramfs/wprotect.h | 144 ++
2 files changed, 183 insertions(+), 0 deletions(-)
create mode 100644
Add acl operations.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/acl.c | 415 +++
fs/pramfs/acl.h | 85 +++
2 files changed, 500 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/acl.c
create mode
Add test module.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/pramfs/pramfs_test.c | 47 +++
1 files changed, 47 insertions(+), 0 deletions(-)
create mode 100644 fs/pramfs/pramfs_test.c
diff --git a/fs/pramfs/pramfs_test.c
Add Kconfig and makefile.
Signed-off-by: Marco Stornelli marco.storne...@gmail.com
---
fs/Kconfig |6 +++-
fs/Makefile|1 +
fs/pramfs/Kconfig | 72
fs/pramfs/Makefile | 14 ++
4 files changed, 91
Hi
On Sat, Sep 7, 2013 at 10:24 AM, Benjamin Tissoires
benjamin.tissoi...@gmail.com wrote:
On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote:
Hi
On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov
dmitry.torok...@gmail.com wrote:
On Fri, Sep 06, 2013 at 06:00:29PM
Hi,
I was wondering why I cannot see processes that were started from SGID
programs:
$ grep ^proc /proc/mounts
proc /proc proc rw,nosuid,nodev,noexec,relatime,hidepid=2 0 0
$ ls -n `which ssh-agent`
-rwxr-sr-x 1 0 103 132748 Feb 8 2013 /usr/bin/ssh-agent
$
Hi Dave,
On 09/04/2013 11:50 PM, Dave Jones wrote:
Haven't seen this before.
Tree based on v3.11-3104-gf357a82
BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:25479]
Modules linked in: sctp snd_seq_dummy fuse dlci rfcomm tun bnep hidp ipt_ULOG
nfnetlink can_raw can_bcm
Linus,
please pull form:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git for-linus
to receive UML updates for the 3.12 merge window.
This pile contains mostly fixes and improvements for issues identified
by Richard W. M. Jones while adding UML as backend to libguestfs.
Thanks,
Paul, All,
On 2013-09-06 10:30 -0700, Paul E. McKenney spake thusly:
[--SNIP--]
I also tried using Kconfig if:
if SMP
config NR_CPUS_REALLY
int Fixed version of NR_CPUS
default NR_CPUS
endif
if !SMP
config NR_CPUS_REALLY
int Fixed version of NR_CPUS
default 1
All,
A previously stable solid system Core2 upgraded from 3.9.2 to
3.11 is now showing oops's more than every 24 hours.
Would appreciate any advice on how to begin to help debug this
as it appears to be deep in areas of the kernel I'm unfamiliar
with (I generally just tickle drivers)
TIA,
This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/h8300/kernel/timer/itu.c | 2 +-
arch/h8300/kernel/timer/timer16.c | 2
On Sat, Sep 7, 2013 at 11:15 AM, Michael Opdenacker
michael.opdenac...@free-electrons.com wrote:
This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from microblaze
architecture
code. It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com
---
arch/microblaze/kernel/timer.c | 2 +-
1 file changed, 1 insertion(+), 1
Hi
On Sat, Sep 7, 2013 at 11:20 AM, Benjamin Tissoires
benjamin.tissoi...@gmail.com wrote:
On 07/09/13 10:57, David Herrmann wrote:
Hi
On Sat, Sep 7, 2013 at 10:24 AM, Benjamin Tissoires
I'm not particularly in favor of adding semantic between ABS_MISC and
ABS_MT_SLOT. We already did that
On Sat, Sep 7, 2013 at 11:08 AM, Ian Jeffray i...@jeffray.co.uk wrote:
All,
A previously stable solid system Core2 upgraded from 3.9.2 to
3.11 is now showing oops's more than every 24 hours.
Would appreciate any advice on how to begin to help debug this
as it appears to be deep in areas of
b3af11afe06a (x86: get rid of pt_regs argument of iopl(2)) dropped
PTREGSCALL which was also the last user of save_rest. Drop that
now-unused function too.
Cc: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: Borislav Petkov b...@suse.de
---
arch/x86/kernel/entry_64.S | 15 ---
1 file
Patch against Linus' latest git, fixing bug 59841 reported at
https://bugzilla.kernel.org/show_bug.cgi?id=59841
The Intel HD Graphics 4000 PCI display controller id 0x0166 appears to
return an incorrect edp bpp value 16 instead of the correct 24. This
patch adds a quirk for the controller.
Patch against Linus' latest git, fixing bug 59841 reported at
https://bugzilla.kernel.org/show_bug.cgi?id=59841 for the cases where
a quirk has not been added to the kernel for specific hardware.
At least one Intel HD Graphics 4000 PCI display controller hardware with
PCI id 0x0166 appears to
Hi Tom
On Fri, Sep 6, 2013 at 1:49 PM, Tom Gundersen t...@jklm.no wrote:
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen t...@jklm.no
Cc: Stephen Warren swar...@wwwdotorg.org
Cc: David Herrmann dh.herrm...@gmail.com
---
Hi,
Sorry for the resend, got the ml
On Fri, Sep 6, 2013 at 8:50 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote:
On Fri, Sep 6, 2013 at 7:30 PM, Paul E. McKenney
paul...@linux.vnet.ibm.com wrote:
Furthermore, it seems only hexagon, metag, mips, and x86 set NR_CPUS to 1
if !SMP. On other architectures, NR_CPUS is not defined
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen t...@jklm.no
Acked-by: Stephen Warren swar...@wwwdotorg.org
Cc: David Herrmann dh.herrm...@gmail.com
---
v2: also print smem_len as requested by David
drivers/video/simplefb.c | 8
1 file changed, 8
Hello list,
I intend to upgrade my own disc and partition cloning program by using
splice. When running splice-cp.c from current git on my average dualcore
hardware with kernel 3.10 I found that copying 1G files with splice is
about twice as fast as using plain vanilla cp.
However I have
Hi Tony,
On Wednesday 04 of September 2013 10:59:09 Tony Lindgren wrote:
* Haojian Zhuang haojian.zhu...@linaro.org [130903 20:11]:
We can see that it'll try to find static mapping. What's the static
mapping? If we define iotable in machine driver, we have the static
mapping, just like
September, 2013
RESEARCH ARTICLES PUBLICATION
We are inviting you to submit your research articles to our journal
publication service. Science Journal Publication is a broad-base open
access journal publisher. We cover all areas of scientific researches,
humanities, social sciences and
On Friday 06 of September 2013 13:01:15 Stephen Warren wrote:
On 09/06/2013 12:53 AM, Tero Kristo wrote:
On 09/05/2013 11:30 PM, Stephen Warren wrote:
...
1)
At least for large SoCs (rather than e.g. a simple clock generator
chip/crystal with 1 or 2 outputs), clock drivers need a
Hi Peter,
We are glad to report some measurable performance improvements by your
commit
commit 7d9ffa8961482232d964173cccba6e14d2d543b2
Author: Peter Zijlstra pet...@infradead.org
Date: Thu Jul 4 12:56:46 2013 +0800
sched: Micro-optimize the smart wake-affine logic
Smart
Hi
On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote:
Hi guys,
With current git (v3.11-5058-g57d7309) I get the following oops:
[5.434312] [ cut here ]
[5.434318] WARNING: CPU: 2 PID: 199 at arch/x86/mm/ioremap.c:171
On 07.09.2013 06:19, Hillf Danton wrote:
If it works after reverting commit,
3eaba51cd399f5362a9fd9ebd5fb8b625b454271
drm/i915: Don't call encoder's get_config unless encoder is active
Hmm, after reverting 3eaba51cd399f5362a9fd9ebd5fb8b625b454271 I still see:
[ 2.259897]
Hi all,
While fuzzing with trinity inside a KVM tools guest, running latest -next
kernel, I've
stumbled on the following:
[ 418.311956] [ cut here ]
[ 418.312449] WARNING: CPU: 6 PID: 4178 at lib/debugobjects.c:260
debug_print_object+0x8d/0xb0()
[ 418.313243]
On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote:
On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote:
Hi guys,
With current git (v3.11-5058-g57d7309) I get the following oops:
[5.434312] [ cut here ]
[5.434318] WARNING:
Hi
On Sat, Sep 7, 2013 at 3:45 PM, Tom Gundersen t...@jklm.no wrote:
On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote:
On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote:
Hi guys,
With current git (v3.11-5058-g57d7309) I get the following oops:
[
On Sat, Sep 7, 2013 at 1:43 PM, Tom Gundersen t...@jklm.no wrote:
+ dev_info(pdev-dev, framebuffer at 0x%lx, 0x%lx bytes, mapped to
0x%p\n,
+info-fix.smem_start, (unsigned long)
info-fix.smem_len,
Please drop the cast, and use 0x%x. __u32 is unsigned int
This is similar to the output printed by efifb.
Signed-off-by: Tom Gundersen t...@jklm.no
Acked-by: Stephen Warren swar...@wwwdotorg.org
Cc: David Herrmann dh.herrm...@gmail.com
---
v2: also print smem_len, as requested by David
v3: don't cast, as requested by Geert
drivers/video/simplefb.c | 8
There is no need to setup this IPI kicker if we are never going
to use the paravirtualized ticketlock mechanism.
Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com
---
arch/x86/xen/spinlock.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git
This reverts commit 70dd4998cb85f0ecd6ac892cc7232abefa432efb.
Now that the bugs have been resolved we can re-enable the
PV ticketlock implementation under PVHVM Xen guests.
Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com
---
arch/x86/xen/spinlock.c | 20
1
The xen_lock_spinning has a check for the kicker interrupts
and if it is not initialised it will spin normally (not enter
the slowpath).
But for PVHVM case we would initialise the kicker interrupt
before the CPU came online. This meant that if the booting
CPU used a spinlock and went in the
After a bit of false starts, lots of debugging, and tons of help from Stefano
and
David on how event mechanism is suppose to work I am happy to present a set
of bug-fixes that make PV ticketlocks work under Xen PVHVM with Linux v3.12.
v3.12 has now thanks to commit
Before this patch we would patch all of the pv_lock_ops sites
using alternative assembler. Then later in the bootup cycle
change the unlock_kick and lock_spinning to the Xen specific -
without re patching.
That meant that for the core of the kernel we would be running
with the baremetal version
As we are piggybacking on the generic ticketlock structs
and these old structures are not needed anymore.
Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com
---
arch/x86/xen/spinlock.c | 18 --
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git
On 9/6/13 1:40 PM, Adrian Hunter wrote:
Ensure the id_pos is correct when perf_evlist__open()
is used.
The commit log should reference 7556257 and breakage of 'kvm stat live';
helps identify patches when backporting.
Other than that this patch fixes the problem.
Tested-by and Acked-by
On 9/6/13 1:40 PM, Adrian Hunter wrote:
Manipulating the sample_type of an evsel requires
the use of:
perf_evsel__set_sample_bit()
and perf_evsel__reset_sample_bit()
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
Tested-by and Acked-by David Ahern dsah...@gmail.com
--
To
Hi Tom
On Sat, Sep 7, 2013 at 3:52 PM, David Herrmann dh.herrm...@gmail.com wrote:
Hi
On Sat, Sep 7, 2013 at 3:45 PM, Tom Gundersen t...@jklm.no wrote:
On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote:
It seems to be unrelated to the x86-sysfb changes. The WARN_ON
On Fri, Sep 06, 2013 at 04:20:50PM -0700, Kees Cook wrote:
Hi,
I've tracked down a race condition and ref counting problem in the
crypto API internals. We've been seeing it under Chrome OS, but it
seems it's not isolated to just us:
On Sat, Sep 07, 2013 at 10:29:15AM +0200, Marco Stornelli wrote:
+static int pram_readlink(struct dentry *dentry, char __user *buffer, int
buflen)
+{
+ struct inode *inode = dentry-d_inode;
+ struct super_block *sb = inode-i_sb;
+ u64 block;
+ char *blockp;
+
+ block
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli
marco.storne...@gmail.com wrote:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less the same but, with a really big thanks to Vladimir
On Sat, Sep 07, 2013 at 10:22:36AM +0200, Marco Stornelli wrote:
+int pram_add_link(struct dentry *dentry, struct inode *inode)
+{
+ struct inode *dir = dentry-d_parent-d_inode;
+ struct pram_inode *pidir, *pi, *pitail = NULL;
+ u64 tail_ino, prev_ino;
+
+ const char *name =
On Sat, Sep 07, 2013 at 10:23:42AM +0200, Marco Stornelli wrote:
+static int pram_rmdir(struct inode *dir, struct dentry *dentry)
+{
+ struct inode *inode = dentry-d_inode;
+ struct pram_inode *pi;
+ int err = -ENOTEMPTY;
+
+ if (!inode)
+ return -ENOENT;
+
+
register/unregister_ftrace_command() are only ever called from __init
functions, so can themselves be made __init.
Also make register_snapshot_cmd() __init for the same reason.
Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com
---
include/linux/ftrace.h | 4 ++--
kernel/trace/ftrace.c |
Hi,
This is v9 of the trace event triggers patchset. This version
addresses the comments and feedback from Steve Rostedt on v8.
v9:
- changed the comments in ftrace_syscall_enter/exit to reflect that
the tracepoint handlers are inside rcu_read_lock_sched() rather
than just
Provide a basic overview of trace event triggers and document the
available trigger commands, along with a few simple examples.
Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com
---
Documentation/trace/events.txt | 207 +
1 file changed, 207
The original SOFT_DISABLE patches didn't add support for soft disable
of syscall events; this adds it and paves the way for future patches
allowing triggers to be added to syscall events, since triggers are
built on top of SOFT_DISABLE.
Add an array of ftrace_event_file pointers indexed by
Add 'enable_event' and 'disable_event' event_command commands.
enable_event and disable_event event triggers are added by the user
via these commands in a similar way and using practically the same
syntax as the analagous 'enable_event' and 'disable_event' ftrace
function commands, but instead of
Add 'snapshot' event_command. snapshot event triggers are added by
the user via this command in a similar way and using practically the
same syntax as the analogous 'snapshot' ftrace function command, but
instead of writing to the set_ftrace_filter file, the snapshot event
trigger is written to
Add a generic event_command.set_trigger_filter() op implementation and
have the current set of trigger commands use it - this essentially
gives them all support for filters.
Syntactically, filters are supported by adding 'if filter' just
after the command, in which case only events matching the
The trace event filters are still tied to event calls rather than
event files, which means you don't get what you'd expect when using
filters in the multibuffer case:
Before:
# echo 'count 65536'
/sys/kernel/debug/tracing/events/syscalls/sys_enter_read/filter
# cat
Add 'stacktrace' event_command. stacktrace event triggers are added
by the user via this command in a similar way and using practically
the same syntax as the analogous 'stacktrace' ftrace function command,
but instead of writing to the set_ftrace_filter file, the stacktrace
event trigger is
Add a 'trigger' file for each trace event, enabling 'trace event
triggers' to be set for trace events.
'trace event triggers' are patterned after the existing 'ftrace
function triggers' implementation except that triggers are written to
per-event 'trigger' files instead of to a single file such
Add 'traceon' and 'traceoff' event_command commands. traceon and
traceoff event triggers are added by the user via these commands in a
similar way and using practically the same syntax as the analagous
'traceon' and 'traceoff' ftrace function commands, but instead of
writing to the
Hello.
I noticed that 3.11 and current linux.git do not boot (they hang before
printing the Linux version 3.10.0-rc7-00026-g040a0a3 line) when built with
CONFIG_DEBUG_MUTEXES=y using gcc (GCC) 3.3.5 (Debian 1:3.3.5-13). They boot OK
when built with the same config using gcc (Ubuntu/Linaro
Signed-off-by: Azat Khuzhin a3at.m...@gmail.com
---
fs/btrfs/volumes.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1d1b595..124228e 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -644,7 +644,7 @@ static int
Il 07/09/2013 16:41, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:29:15AM +0200, Marco Stornelli wrote:
+static int pram_readlink(struct dentry *dentry, char __user *buffer, int
buflen)
+{
+ struct inode *inode = dentry-d_inode;
+ struct super_block *sb = inode-i_sb;
+ u64
Il 07/09/2013 17:01, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:22:36AM +0200, Marco Stornelli wrote:
+int pram_add_link(struct dentry *dentry, struct inode *inode)
+{
+ struct inode *dir = dentry-d_parent-d_inode;
+ struct pram_inode *pidir, *pi, *pitail = NULL;
+ u64
Il 07/09/2013 17:08, Al Viro ha scritto:
On Sat, Sep 07, 2013 at 10:23:42AM +0200, Marco Stornelli wrote:
+static int pram_rmdir(struct inode *dir, struct dentry *dentry)
+{
+ struct inode *inode = dentry-d_inode;
+ struct pram_inode *pi;
+ int err = -ENOTEMPTY;
+
+ if
Il 07/09/2013 16:58, richard -rw- weinberger ha scritto:
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli
marco.storne...@gmail.com wrote:
Hi all,
this is an attempt to include pramfs in mainline. At the moment pramfs
has been included in LTSI kernel. Since last review the code is more
or less
The time spent by a CPU under a given frequency is stored in jiffies unit
in the cpu var cpufreq_stats_table-time_in_state[i], i being the index of
the frequency.
This is what is displayed in the following file on the right column:
cat
On Sat, Sep 7, 2013 at 12:31 AM, David Herrmann dh.herrm...@gmail.com wrote:
The bug only occurs for multi-touch devices (their ABS_* bits are
0x1f), that's why I didn't see it happening during my tests..
It definitely affects keyboards too. That's how I noticed it. That is
with the logitech
On Fri, Sep 6, 2013 at 11:58 PM, Knut Petersen
knut_peter...@t-online.de wrote:
Someone might be interested ... kernel
2e032852245b3dcfe5461d7353e34eb6da095ccf.
[0.00] Linux version 3.11.0-main+ (k...@linux-ktth.site) (gcc
version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE
On Sat, Sep 7, 2013 at 7:39 AM, Neil Horman nhor...@tuxdriver.com wrote:
On Fri, Sep 06, 2013 at 04:20:50PM -0700, Kees Cook wrote:
Hi,
I've tracked down a race condition and ref counting problem in the
crypto API internals. We've been seeing it under Chrome OS, but it
seems it's not
1 - 100 of 538 matches
Mail list logo